diff options
author | Brian Dolbec <dolsen@gentoo.org> | 2016-11-13 10:09:49 -0800 |
---|---|---|
committer | Brian Dolbec <dolsen@gentoo.org> | 2016-11-13 11:35:43 -0800 |
commit | dc49084ca0705816c68226d633cfe0a046668f51 (patch) | |
tree | 6d3c9dacee35f3f7b5d1e5d9461077fd1d701eb2 /dev-python | |
parent | sys-kernel/git-sources: Linux patch 4.9-rc5 (diff) | |
download | gentoo-dc49084ca0705816c68226d633cfe0a046668f51.tar.gz gentoo-dc49084ca0705816c68226d633cfe0a046668f51.tar.bz2 gentoo-dc49084ca0705816c68226d633cfe0a046668f51.zip |
dev-python/xdis: Fix setup.py unconditional test dep bug 596510
Fix metadata.py pypi id
Package-Manager: portage-2.3.2_p3
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/xdis/metadata.xml | 2 | ||||
-rw-r--r-- | dev-python/xdis/xdis-2.3.1.ebuild | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/dev-python/xdis/metadata.xml b/dev-python/xdis/metadata.xml index 2cb4b24cce1f..d8d220e85926 100644 --- a/dev-python/xdis/metadata.xml +++ b/dev-python/xdis/metadata.xml @@ -14,7 +14,7 @@ <email>rb@dustyfeet.com</email> <name>Rocky Bernstein</name> </maintainer> - <remote-id type="pypi">spark_parser</remote-id> + <remote-id type="pypi">xdis</remote-id> </upstream> <longdescription>This Python module allows you to disassemble bytecode from different versions of Python than you are running on. It can marshal diff --git a/dev-python/xdis/xdis-2.3.1.ebuild b/dev-python/xdis/xdis-2.3.1.ebuild index e017b93dd306..b44fc1758e35 100644 --- a/dev-python/xdis/xdis-2.3.1.ebuild +++ b/dev-python/xdis/xdis-2.3.1.ebuild @@ -20,6 +20,7 @@ RDEPEND=">=dev-python/six-1.10.0[${PYTHON_USEDEP}]" DEPEND=" dev-python/setuptools[${PYTHON_USEDEP}] test? ( + >=dev-python/nose-1.0[${PYTHON_USEDEP}] dev-python/mock[${PYTHON_USEDEP}] dev-python/pytest[${PYTHON_USEDEP}] ) @@ -28,6 +29,10 @@ DEPEND=" python_prepare_all() { # Remove the 3.3 specific code from being run rm -R "test_unit/3.3" || die + # Remove an unconditional test only dep + sed \ + -e "s/setup_requires/tests_require/" \ + -i setup.py distutils-r1_python_prepare_all } |