dev-python/pytest-virtualenv: Version bump to 1.7.0
authorPatrick McLean <patrick.mclean@sony.com>
Sat, 23 Nov 2019 04:34:00 +0000 (20:34 -0800)
committerPatrick McLean <chutzpah@gentoo.org>
Sat, 23 Nov 2019 04:34:00 +0000 (20:34 -0800)
Also add RESTRICT="!test? ( test )"

Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-2.3.79, Repoman-2.3.18
Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
dev-python/pytest-virtualenv/Manifest
dev-python/pytest-virtualenv/pytest-virtualenv-1.2.11.ebuild
dev-python/pytest-virtualenv/pytest-virtualenv-1.7.0.ebuild [new file with mode: 0644]

index 12cb8d540df0dee5e2a3a28a3d7824720e643353..de67e14fca822ba9689e77cca8579990b7771150 100644 (file)
@@ -1 +1,2 @@
 DIST pytest-virtualenv-1.2.11.tar.gz 9528 BLAKE2B 2ddcba76f89d207e8efaac8d59c6c1209fb9557fcfad586e1226b70d49ed8093aab602149335d23d497b0674e606d00d289fc291dd721aa7470f12ec221b5f61 SHA512 317ef8717f0ad4da6d38167f1f0dd65b6f1b3bd08bd1361fe6a27e6e422cd9fab62f3fac3848082bb24411505ecd41495fc1cbedb970d43945c8f6f8cfbbdf41
+DIST pytest-virtualenv-1.7.0.tar.gz 15767 BLAKE2B 5ee65aff72c50c8facef682827f58a8053d658aa072f3a69d50d13335dda2da37ffc29af009b52a50349647a4a38e149ba1b9847115fc4b4c4f54f063198b14f SHA512 0463ebf44ae18ee50a60e421a22aaaf0e34f827ec8f21c8f0dc79cbdc253748f9d1e5b33e4f418b52f0d8fd45990e162bb6410686ebe9fdc02650c286901d474
index 75e402ea41f05868cbd7473daae3277ed06c249f..6b52cfbc679a73e33624e3c0ceff274c7a2602c2 100644 (file)
@@ -30,6 +30,7 @@ DEPEND="
                dev-python/mock[${PYTHON_USEDEP}]
        )
 "
+RESTRICT="!test? ( test )"
 
 python_test() {
        esetup.py test
diff --git a/dev-python/pytest-virtualenv/pytest-virtualenv-1.7.0.ebuild b/dev-python/pytest-virtualenv/pytest-virtualenv-1.7.0.ebuild
new file mode 100644 (file)
index 0000000..0f53a35
--- /dev/null
@@ -0,0 +1,34 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python{2_7,3_{5,6,7}} pypy{,3} )
+
+inherit distutils-r1
+
+DESCRIPTION="Virtualenv fixture for py.test"
+HOMEPAGE="https://github.com/manahl/pytest-plugins https://pypi.org/project/pytest-virtualenv/"
+SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~mips ~s390 ~sparc ~x86"
+IUSE="test"
+
+RDEPEND="
+       dev-python/pytest-fixture-config[${PYTHON_USEDEP}]
+       dev-python/pytest-shutil[${PYTHON_USEDEP}]
+       dev-python/pytest[${PYTHON_USEDEP}]
+       dev-python/setuptools[${PYTHON_USEDEP}]
+       dev-python/virtualenv[${PYTHON_USEDEP}]
+"
+BDEPEND="
+       dev-python/setuptools[${PYTHON_USEDEP}]
+       test? (
+               ${RDEPEND}
+               dev-python/mock[${PYTHON_USEDEP}]
+       )
+"
+RESTRICT="!test? ( test )"
+
+distutils_enable_tests setup.py