fix pyalmond test DEPS

This commit is contained in:
2020-09-06 18:02:22 +02:00
committed by Andreas Billmeier
parent aca09f1e0e
commit 80d7c04ab9
4 changed files with 46 additions and 10 deletions

View File

@@ -1,3 +1,5 @@
DIST pyalmond-0.0.2.tar.gz 6898 BLAKE2B af5a18311bcc26a797a80b55610e76c0ce22e1dbef27714aab0463594709456bf5c296bad06e897494154aceebb28702900cbc608a73c712790b186302beb724 SHA512 5edc809cc0ba47a4e0fe1b39cf8ba80d8f151156227bd3abd09751d0b2e48ea4cfebc4a9feaf32c38fbd05797fde22a321f3939cb4e8df5b4f329206a4282fc9
EBUILD pyalmond-0.0.2.ebuild 1022 BLAKE2B 2450483e587b664c144f0541381096a0133c146ced35d167ae4d85ed891db77724377692a6d5d3831d5dc5abd62e230085e220fe58ff89a216ca2a00d5fe0500 SHA512 8ded1e06bb5d07905266d1b1d0aec94db5f2dbfb2d14cf932da85163886fffbe548152bf01405ae083e5d3d53b4a110f597726401437c2fb9266d97cbe755909
DIST pyalmond-0.0.3.tar.gz 3543 BLAKE2B 9985e59a831fad92a88422d27d9746518e64f3f06b719b5bf474d0ad5897053130f02a97a8f6a4847fededbbcf7bc44037a5b1e9310c990b819be337d51ccad7 SHA512 38537b9e4e20a62f962bbd99800b25e497675590aa0b8511db02873c4602e2bda4c39998de463e73e5072bd78cc6bd49d9afaa155b9c754a9219d84783dac9e5
EBUILD pyalmond-0.0.2.ebuild 881 BLAKE2B 6c165c93ff8b4ff2af18a36504451fa28618515d0072acdcdfd1bbba3b8fe7e52ca19f1cd887560f12df0c95dd8572c832ac59689a3fc5eb94fe94aed946d46d SHA512 d2a8659c34426a4966f5f1feda8bb7b11427fe24ff2b60868897aca6ee14f81e9167c854b5a0a80c5aa9d606ea2c43544a5110410d53e5dcec9f60655d9c35fa
EBUILD pyalmond-0.0.3.ebuild 881 BLAKE2B 6c165c93ff8b4ff2af18a36504451fa28618515d0072acdcdfd1bbba3b8fe7e52ca19f1cd887560f12df0c95dd8572c832ac59689a3fc5eb94fe94aed946d46d SHA512 d2a8659c34426a4966f5f1feda8bb7b11427fe24ff2b60868897aca6ee14f81e9167c854b5a0a80c5aa9d606ea2c43544a5110410d53e5dcec9f60655d9c35fa
MISC metadata.xml 462 BLAKE2B f537c517b6a18b016c80c5c9a96817b3a834a72596ebfecf0a0885ccc39f3e829b9857315c5064e7a2dda74a84914c425344b86ff40d4ff95d44b69e61dde6df SHA512 6e32f2f600b5abb6fbd8f4a7fdb57a95d1ee272d59a22c614fc1ca569529f3cb9875a0edea31726a008f8f4761b052df3f9a14b5dec85c15f16321be8fa7899b

View File

@@ -3,31 +3,29 @@
EAPI="7"
PYTHON_COMPAT=( python3_{6,7,8} )
PYTHON_COMPAT=( python3_{6..8} )
inherit distutils-r1
DESCRIPTION="Python module to talk to the Web Almond API."
HOMEPAGE="https://github.com/stanford-oval/pyalmond https://pypi.org/project/pyalmond/"
#SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
SRC_URI="https://github.com/stanford-oval/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
LICENSE="BSD-3-Clause"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
# aiohttp>=3.6.2,<4.0.0
DOCS="README.md"
RDEPEND=">=dev-python/aiohttp-3.6.2[${PYTHON_USEDEP}]
<dev-python/aiohttp-4[${PYTHON_USEDEP}]"
DEPEND="${REDEPEND}
RDEPEND="dev-python/aiohttp[${PYTHON_USEDEP}]"
BDEPEND="${REDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/nose[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]
dev-python/pytest-asyncio[${PYTHON_USEDEP}]
dev-python/python-coveralls[${PYTHON_USEDEP}]
dev-python/coveralls[${PYTHON_USEDEP}]
dev-python/pytest-cov[${PYTHON_USEDEP}]
)"

View File

@@ -0,0 +1,35 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
PYTHON_COMPAT=( python3_{6..8} )
inherit distutils-r1
DESCRIPTION="Python module to talk to the Web Almond API."
HOMEPAGE="https://github.com/stanford-oval/pyalmond https://pypi.org/project/pyalmond/"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="BSD-3-Clause"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
DOCS="README.md"
RDEPEND="dev-python/aiohttp[${PYTHON_USEDEP}]"
BDEPEND="${REDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/nose[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]
dev-python/pytest-asyncio[${PYTHON_USEDEP}]
dev-python/coveralls[${PYTHON_USEDEP}]
dev-python/pytest-cov[${PYTHON_USEDEP}]
)"
python_test() {
nosetests --verbose || die
py.test -v -v || die
}