upgrade pytest to 5.0.1 with dependencies
This commit is contained in:
parent
0d6a884bf9
commit
041ff498d0
3
dev-python/asynctest/Manifest
Normal file
3
dev-python/asynctest/Manifest
Normal file
@ -0,0 +1,3 @@
|
||||
DIST asynctest-0.13.0.tar.gz 42301 BLAKE2B c175b759188a5aaeb782ae56f11a24f8f15aca9c703e2bf1964a8d8ab885de0759208fd483e555c309ced196c8d8bd23a5777e589cb8bd218cb4d38a05303526 SHA512 f98a9a330c3e4024373d74ea1899ec74f8242be58856d9a4c0910d397cbf15c1bd2deb2531cf78fd7bfe7d2aa4abad8b404bbb9eaee4b721c9e317ec5ec4a955
|
||||
EBUILD asynctest-0.13.0.ebuild 762 BLAKE2B 206e792c604e334bc7f97f9ce8026620491c6a97418a653d34bbf8fedd65113493bb98dafc2ef672d8c93e3f671a99a388d3a625bf7d436983791f1f78443fa5 SHA512 122baf8aa96a1249f5f2f1b402f39cc475464b61fb80bbc9f3fba2989c19dee7f8c6f686447749a8cf5547baa8e6c9c1e0defeb8778250e09e48887eaf9c4da7
|
||||
MISC metadata.xml 465 BLAKE2B f3eb301e8b3e125785ed5c6a742212278862babb410dd0161fa820d1190f3695ca8bd5202bde169e4e3417a4b48f2afdc8c87980bc378d45cfdd92f6e6798753 SHA512 5dc1d510050d2f8cc99eba95bb9a3eca2cc1262fcfc1c4d3a13cd501b935623d99cf4a9d7474a1eb1489fe1f9ed5c53a74fc41f9a11487bb54352e26d530503c
|
||||
30
dev-python/asynctest/asynctest-0.13.0.ebuild
Normal file
30
dev-python/asynctest/asynctest-0.13.0.ebuild
Normal file
@ -0,0 +1,30 @@
|
||||
# Copyright 1999-2019 Gentoo Authors Andreas Billmeier b (at) edevau.net
|
||||
# Distributed under the terms of the GNU General Public License v3.0
|
||||
|
||||
EAPI="7"
|
||||
|
||||
PYTHON_COMPAT=( python3_{5,6,7} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Enhance the standard unittest package with features for testing asyncio libraries"
|
||||
HOMEPAGE="https://github.com/Martiusweb/asynctest/ https://pypi.org/project/asynctest/"
|
||||
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache 2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="${REDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
python_test() {
|
||||
nosetests --verbose || die
|
||||
py.test -v -v || die
|
||||
}
|
||||
16
dev-python/asynctest/metadata.xml
Normal file
16
dev-python/asynctest/metadata.xml
Normal file
@ -0,0 +1,16 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer>
|
||||
<email>b@edevau.net</email>
|
||||
<name>Andreas Billmeier</name>
|
||||
</maintainer>
|
||||
<herd>python</herd>
|
||||
<upstream>
|
||||
<remote-id type="pypi">asynctest</remote-id>
|
||||
<maintainer status="unknown">
|
||||
<email>martius@martiusweb.net</email>
|
||||
<name>Martin Richard</name>
|
||||
</maintainer>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
3
dev-python/codecov/Manifest
Normal file
3
dev-python/codecov/Manifest
Normal file
@ -0,0 +1,3 @@
|
||||
DIST codecov-2.0.15.tar.gz 11352 BLAKE2B 1f2fcf44b577ba914d86391530d619247bbe9383a203c74fa567c700f4d806dec11e2ae5ea70f814f6fe1c6dee12990b632d7409bc6f41568084690ec1f9063b SHA512 8e4242c26e765df12eb467c5af625c41f34e5776776015a9df4ca7fd810e07f65200e3b4dcc536682bf3144ac97680d6b8f4d2fc285340f73c82fb648938110d
|
||||
EBUILD codecov-2.0.15.ebuild 769 BLAKE2B 6535dd54fe6e11a512f5fc191d03f1b0958c3039c38978bf03944c8384becff8b6c7c90cf04d6ecdf74a85ecdf7e521e4c100688b0662b4a502d75513a2221fa SHA512 2912cdffb4541eb6ba72a32efc2fc7644f300db3520d7780876a5414024aec8840e6b7630611aceaca4f6184b83e281a2bbe2b6dbaa8fe3e6aa973af6877281a
|
||||
MISC metadata.xml 451 BLAKE2B 3201f624358497f926a2974c797cdca9e344be27d4df0e07b0fa34fb276e487a346370b178923a03bc16aa9d2b1446922bc206edc471c47a6b408420c225702f SHA512 cc1d265ad9fa5a26a68849ee1be963269ca7159ae2452976e7eecd10623e7303e945f546fe1ad0e9d3ab833bb33fd602627a749b8063d542d871f68bb4dde966
|
||||
30
dev-python/codecov/codecov-2.0.15.ebuild
Normal file
30
dev-python/codecov/codecov-2.0.15.ebuild
Normal file
@ -0,0 +1,30 @@
|
||||
# Copyright 1999-2019 Gentoo Authors Andreas Billmeier b (at) edevau.net
|
||||
# Distributed under the terms of the GNU General Public License v3.0
|
||||
|
||||
EAPI="7"
|
||||
|
||||
PYTHON_COMPAT=( python3_{5,6,7} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Hosted coverage reports for Github, Bitbucket and Gitlab"
|
||||
HOMEPAGE="http://github.com/codecov/codecov-python https://pypi.org/project/codecov/"
|
||||
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="http://www.apache.org/licenses/LICENSE-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="${REDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
python_test() {
|
||||
nosetests --verbose || die
|
||||
py.test -v -v || die
|
||||
}
|
||||
16
dev-python/codecov/metadata.xml
Normal file
16
dev-python/codecov/metadata.xml
Normal file
@ -0,0 +1,16 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer>
|
||||
<email>b@edevau.net</email>
|
||||
<name>Andreas Billmeier</name>
|
||||
</maintainer>
|
||||
<herd>python</herd>
|
||||
<upstream>
|
||||
<remote-id type="pypi">codecov</remote-id>
|
||||
<maintainer status="unknown">
|
||||
<email>hello@codecov.io</email>
|
||||
<name>@codecov</name>
|
||||
</maintainer>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@ -1,3 +1,5 @@
|
||||
DIST pytest-cov-2.6.1.tar.gz 35307 BLAKE2B 11974ff70ed5609d7db3c4c35f5b528b0ec36b48cfaf06974a090127706e0964841347592ac3f1e086f46800857ee10c05404045b6a4b467ffa278c2ee1e1957 SHA512 2dfd16e013d8bfbe5d14990f419291b651dd11560328a7e59b5449016d51b17f84d4ee3866fda866c3530389d206b1c4c67c84b23f097281c3963ffd19ea8caa
|
||||
DIST pytest-cov-2.7.1.tar.gz 42121 BLAKE2B 4136a1ad33bad35b0d8f161be15b33ddaab69e68cf34f1db6d3a92ad31b84da18ea2051d2ad67e006acbe5dd2a49032fa78b8a564d97b23ca283eb0563e9e77c SHA512 dbdaa8b1ed7b97885671b1bd46234df51552754913603e93c4e0caa2f1e09c7efba84908d49bdad459348a989ec4efaa97567a51a7ccb38c5d4e37a0d9f97ca7
|
||||
EBUILD pytest-cov-2.6.1.ebuild 677 BLAKE2B 94707fcc2ba6de639377ca0abb33b071c9843e5f3d404d943c66a6c0f6c68fa51a33a40c80f7ac724a84fc4f886d526c84353a16661caba2aa99d1bfd807bc74 SHA512 5941c0968b6297d4e812333a72ec54627bd002844c578a3ec3e28e42c719d8a586b23d6b458415907e366e8318677442cb080144b7bfd41cb8d6eb80325cd83d
|
||||
MISC metadata.xml 252 BLAKE2B 507e0ddc9d50b879ff374b903b142f85d020dfd6c486aba2af84fe082c878e780edbb79188ae10104d57db0eb775c86814cc8c06891a3854c9da840a4d377050 SHA512 9470ac9c8a5a4f80e3f767e7aa198addc7b21866c63b2a310e9f41ce65817672fb77423117bdd619e99cb62322025aeadf50717e23eafabf99080fcc106820af
|
||||
EBUILD pytest-cov-2.7.1.ebuild 714 BLAKE2B 86dc97b5018f6db2bc03270f181e319419c2941524629e6ff8f5f2ae29fa3ae45aef331633bed98cdcf83701cc3e2a21b112820787d783783e6a104bf876e108 SHA512 11d4b0625d30e0e6e03b48013831d882abdd87616f1d3b4b65d02cc327165832eb437330a259b438fbed8705d03b043ba8f3c21c44433b214fcedb45fd8034c3
|
||||
MISC metadata.xml 466 BLAKE2B e5b954d417c6766e15b1ac7bd8b080817087434de377d5a91f66fca08b3dfd0d7275b75f632876c1a8c976b596b5b4d3123f0a19eec77e9f84090d84eb409f97 SHA512 efce1bda4d2e37af40925af65d693688dd44b97fd97f8b9c1302d2b9bc05240045d0d2c0ca273cfc569dd3fb72b8ee6058720be15ffde6846689c059c388193c
|
||||
|
||||
@ -1,8 +1,16 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<maintainer>
|
||||
<email>b@edevau.net</email>
|
||||
<name>Andreas Billmeier</name>
|
||||
</maintainer>
|
||||
<herd>python</herd>
|
||||
<upstream>
|
||||
<remote-id type="pypi">pytest-cov</remote-id>
|
||||
<maintainer status="unknown">
|
||||
<email>marc.schlaich@gmail.com</email>
|
||||
<name>Marc Schlaich</name>
|
||||
</maintainer>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
||||
30
dev-python/pytest-cov/pytest-cov-2.7.1.ebuild
Normal file
30
dev-python/pytest-cov/pytest-cov-2.7.1.ebuild
Normal file
@ -0,0 +1,30 @@
|
||||
# Copyright 1999-2019 Gentoo Authors Andreas Billmeier b (at) edevau.net
|
||||
# Distributed under the terms of the GNU General Public License v3.0
|
||||
|
||||
EAPI="7"
|
||||
|
||||
PYTHON_COMPAT=( python3_{5,6,7} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Pytest plugin for measuring coverage."
|
||||
HOMEPAGE="https://github.com/pytest-dev/pytest-cov https://pypi.org/project/pytest-cov/"
|
||||
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="${REDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
python_test() {
|
||||
nosetests --verbose || die
|
||||
py.test -v -v || die
|
||||
}
|
||||
@ -2,6 +2,8 @@ AUX pytest-3.4.2-pypy-syntaxerror-offset.patch 996 BLAKE2B ff6d362d20f6432f73956
|
||||
AUX pytest-4.5.0-strip-setuptools_scm.patch 674 BLAKE2B 4eab3e26423d81614223a88a0124dc4f35892b18ecbcce34280a00774012822fced0045ac7113a50f8f88d042b88e404dbf4d8d3760140c66a48daa3da2a44c6 SHA512 d34d7c1db57804f0d1ff71f3f51c9a736592945fdf564f54c0c20c398c86f08616eb21f75d77457a71738df4d254ec3d69e46aa3378dea6f7913933bcdf45c08
|
||||
DIST pytest-4.6.3.tar.gz 949947 BLAKE2B abdf7eb69e3a2b32275174682cf80211f4875003f0a4384a0a50e4ae27966b5f032ac9d6f5a99a134267dbcbe7f2c63108e960e0bb369596ada599673d31b391 SHA512 db6e26b3b3cd34a8d116536a6897bf2037f099ad935e201e6824221ac108bc66e936bccaf17bfe7880675ccea1d3704f77eab006c86d8f7357bbe9a943ebddef
|
||||
DIST pytest-5.0.0.tar.gz 947536 BLAKE2B d52f9f87f57f777891be892784d2c259418fb8df9a33e4742b2bf0c6067ab5766dc67c1acfd957337babe01e3bde52e8163a32724ade23a829fa7e12c0d6f467 SHA512 e9538035076c55ffaded4eebd0aba0032e75dd18974c67a09899d0d22a5ab3d784f46de760633a6b06e749ff3a7a68db9fe35780327ab62d23b5902e2e488694
|
||||
DIST pytest-5.0.1.tar.gz 949744 BLAKE2B c949f0fb6bc0d1430ec7c780537f8aee8ca1ebea5f89035d882434236c6af7d431a610774dbafa93552406e38852627a9f949a6f9198a792de9371efadb4f6ff SHA512 92f5feb263a8708ef6cb8f4565688620b6bfeaef23536cfd24b9bc09515e37fdecd7fa8bcaeeb0775c0be1d8e9dcbd9a56e52f97fb13dc98116efc0056f870db
|
||||
EBUILD pytest-4.6.3.ebuild 2054 BLAKE2B 4421866033a8df11789934608511a116c06faa5aa1a2e50f450e4f13882657f65b5ad00ab4e3903da2bdbdc03a5852f668df16d68993aa85cbe68a83f3edfe97 SHA512 334e9e67905b4a5c934f4f43fd38b555547583a3321f95e51c4046e03f22b00052fa958d8e6360af437937ceccbd672fb7b8a337ed3bcfc4668065a2f132ff84
|
||||
EBUILD pytest-5.0.0.ebuild 2054 BLAKE2B 4421866033a8df11789934608511a116c06faa5aa1a2e50f450e4f13882657f65b5ad00ab4e3903da2bdbdc03a5852f668df16d68993aa85cbe68a83f3edfe97 SHA512 334e9e67905b4a5c934f4f43fd38b555547583a3321f95e51c4046e03f22b00052fa958d8e6360af437937ceccbd672fb7b8a337ed3bcfc4668065a2f132ff84
|
||||
EBUILD pytest-5.0.1.ebuild 2054 BLAKE2B 4421866033a8df11789934608511a116c06faa5aa1a2e50f450e4f13882657f65b5ad00ab4e3903da2bdbdc03a5852f668df16d68993aa85cbe68a83f3edfe97 SHA512 334e9e67905b4a5c934f4f43fd38b555547583a3321f95e51c4046e03f22b00052fa958d8e6360af437937ceccbd672fb7b8a337ed3bcfc4668065a2f132ff84
|
||||
MISC metadata.xml 309 BLAKE2B f29391c5f96f44f6329d3665346a5d46ecb4a86d103ae8008769af86126756e76bfa89cfe462e9c219e5f70b64013f662d020c7a2f6015d8cadd0eb25a7614eb SHA512 ba53c13ac716488e3e5dadf5dcfcb697dc9bb13f89e9d0fb98b9a5a6e36cafeeb64d1348008f42497117bf46fb6f3bc288c10a68c4d5ab53c9c02a3ae61b594f
|
||||
|
||||
67
dev-python/pytest/pytest-5.0.1.ebuild
Normal file
67
dev-python/pytest/pytest-5.0.1.ebuild
Normal file
@ -0,0 +1,67 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{5,6,7} pypy{,3} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Simple powerful testing with Python"
|
||||
HOMEPAGE="http://pytest.org/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="test"
|
||||
|
||||
# When bumping, please check setup.py for the proper py version
|
||||
PY_VER="1.5.0"
|
||||
|
||||
# pathlib2 has been added to stdlib before py3.6, but pytest needs __fspath__
|
||||
# support, which only came in py3.6.
|
||||
RDEPEND="
|
||||
>=dev-python/atomicwrites-1.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/attrs-17.4.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/more-itertools-4.0.0[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep 'dev-python/pathlib2[${PYTHON_USEDEP}]' python2_7 python3_5 )
|
||||
>=dev-python/pluggy-0.11[${PYTHON_USEDEP}]
|
||||
<dev-python/pluggy-1
|
||||
>=dev-python/py-${PY_VER}[${PYTHON_USEDEP}]
|
||||
>=dev-python/setuptools-40[${PYTHON_USEDEP}]
|
||||
dev-python/six[${PYTHON_USEDEP}]
|
||||
dev-python/wcwidth[${PYTHON_USEDEP}]
|
||||
virtual/python-funcsigs[${PYTHON_USEDEP}]"
|
||||
|
||||
# flake cause a number of tests to fail
|
||||
DEPEND="${RDEPEND}
|
||||
test? (
|
||||
>=dev-python/hypothesis-3.56[${PYTHON_USEDEP}]
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' -2)
|
||||
dev-python/requests[${PYTHON_USEDEP}]
|
||||
!!dev-python/flaky
|
||||
)"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-4.5.0-strip-setuptools_scm.patch"
|
||||
)
|
||||
|
||||
python_prepare_all() {
|
||||
grep -qF "py>=${PY_VER}" setup.py || die "Incorrect dev-python/py dependency"
|
||||
|
||||
# Something in the ebuild environment causes this to hang/error.
|
||||
# https://bugs.gentoo.org/598442
|
||||
rm testing/test_pdb.py || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# In v4.1.1, pytest started being picky about its own verbosity options.
|
||||
# running pytest on itself with -vv made 3 tests fail. This is why we don't
|
||||
# have it below.
|
||||
"${EPYTHON}" "${BUILD_DIR}"/lib/pytest.py --lsof -rfsxX \
|
||||
|| die "tests failed with ${EPYTHON}"
|
||||
}
|
||||
3
dev-python/requests-mock/Manifest
Normal file
3
dev-python/requests-mock/Manifest
Normal file
@ -0,0 +1,3 @@
|
||||
DIST requests-mock-1.6.0.tar.gz 50766 BLAKE2B c8a89e44926e5241e051038513f601352f2289fbe086fd623dd3b720d970eb47b0806b1738ff83bab00269f71ac9014ead68e0c2aeb9cd0e5b810221112cb2ae SHA512 0271fb55270541a9c0ee549fe1599f1bcc1dcd8fe10d51fb40858a331d13b4ffba2440745b2344f751ac8dd808ee0581b075fff2bfde46f1b57cf65b53e13a55
|
||||
EBUILD requests-mock-1.6.0.ebuild 726 BLAKE2B 2411671d3f9d371953b16b82b03edbd3385457ad29e4367b06a4069dd0cdb444ccf54bbf0c8807009ed48624c269445bb76eca7ad3f967aaa2c6c959b5a08062 SHA512 5400701cb2bf8536500881647ed45fbccd41f7309dd1392450950f16dc89366f2c3da06091b2d3a21d3d2369fb9e316693c6744f5966a7294c20b1eb5cdf74fe
|
||||
MISC metadata.xml 466 BLAKE2B b7ea6352520c6fef1936e9beb9df698ddc7fdf04074af6580f06194d3b84f3404b7907d4c05d4e2adec9757cf56c6fbcd09c58ea9aa7d22e60aed061cc59c438 SHA512 1f727ffd53b8b4bd9350cfcc1592c1d9b85f9e3c9e58f2a373ceb125f8d0cc6f894070def1403a0fb4ca65864eb037cdf8e8823ee0cae82b0c00a0ee16736e5c
|
||||
16
dev-python/requests-mock/metadata.xml
Normal file
16
dev-python/requests-mock/metadata.xml
Normal file
@ -0,0 +1,16 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer>
|
||||
<email>b@edevau.net</email>
|
||||
<name>Andreas Billmeier</name>
|
||||
</maintainer>
|
||||
<herd>python</herd>
|
||||
<upstream>
|
||||
<remote-id type="pypi">requests-mock</remote-id>
|
||||
<maintainer status="unknown">
|
||||
<email>jamielennox@gmail.com</email>
|
||||
<name>Jamie Lennox</name>
|
||||
</maintainer>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
30
dev-python/requests-mock/requests-mock-1.6.0.ebuild
Normal file
30
dev-python/requests-mock/requests-mock-1.6.0.ebuild
Normal file
@ -0,0 +1,30 @@
|
||||
# Copyright 1999-2019 Gentoo Authors Andreas Billmeier b (at) edevau.net
|
||||
# Distributed under the terms of the GNU General Public License v3.0
|
||||
|
||||
EAPI="7"
|
||||
|
||||
PYTHON_COMPAT=( python3_{5,6,7} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Mock out responses from the requests package"
|
||||
HOMEPAGE="https://requests-mock.readthedocs.io/ https://pypi.org/project/requests-mock/"
|
||||
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="${REDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
python_test() {
|
||||
nosetests --verbose || die
|
||||
py.test -v -v || die
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user