From 2d072693f0f2d998c0394bcd1d80d894329a2687 Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Sat, 6 Jan 2018 14:51:22 +0100 Subject: dev-python/xdis: Clean old up --- dev-python/xdis/Manifest | 2 - .../xdis/files/xdis-test_magic_bytes_error.patch | 24 ----------- dev-python/xdis/xdis-3.2.4.ebuild | 47 ---------------------- dev-python/xdis/xdis-3.3.0.ebuild | 41 ------------------- 4 files changed, 114 deletions(-) delete mode 100644 dev-python/xdis/files/xdis-test_magic_bytes_error.patch delete mode 100644 dev-python/xdis/xdis-3.2.4.ebuild delete mode 100644 dev-python/xdis/xdis-3.3.0.ebuild (limited to 'dev-python/xdis') diff --git a/dev-python/xdis/Manifest b/dev-python/xdis/Manifest index e5535b33e74c..b320871bc57d 100644 --- a/dev-python/xdis/Manifest +++ b/dev-python/xdis/Manifest @@ -1,4 +1,2 @@ -DIST xdis-3.2.4.tar.gz 127507 BLAKE2B 9d9534b47159beed6f86ec5a2446764725dffb13db21de25bea0bf1917c1ddbe633eb955598ab689f353b7ce3e2a4cf86b13902b3042285f91eb48b73913a599 SHA512 6c9274e10f2a41ab4a173c8ae4462374fc7ab444a589ab572172550d0f5284906f7d9c9cf4a640f163f6012d17f40bc5e1c36e5963f8b6106a9c37e420027a97 -DIST xdis-3.3.0.tar.gz 146531 BLAKE2B 1773aa48faf56f6a88843fa0c1eb55e5cd364fd53e3f8238492b353ca6f61e654ef1f3c17be755aae3f74075e9d20fb74f78db53b4eba584f74f0b926a983647 SHA512 ebd7656c04d5583243eae4442409bde910146f7c5f6b66d58933d4b62818345401523428a596f00cca31a9d6fcd2eea877da57ab3e796dc04c92842456454b3c DIST xdis-3.3.1.tar.gz 154152 BLAKE2B e0997fb8bbc66cc3f019ee6855cbf9ae9f594698c989a0a1b9d0b08f03bb3fbf0ad44ca0292202674c8a8a8d92ce5d6e669dd01194567766262ce44bb154d631 SHA512 93b1a092ae7790e84dfd8dc4128659d48be85c4e00d9914bbd748fad5ec4246bbfc6c19a5c5de366f4bd6d91847dad4ce3c1c3affe8f7608652f2f6e343650e1 DIST xdis-3.6.0.tar.gz 144766 BLAKE2B e9a33443d42ff71194180f0bb20423783107d4b1e3d6c364b824011d916041500048345cac4853d1ebb6363edf8df542b0363650bba42e187986f50c9696051f SHA512 8b45ccd6976204004f27ee5b1a9da9b29ec0e28f4b462d862be5a1238d3ebd4a5d6f3df5607f3e2f037d80b2d3ae77ec4246ab1aa0671466c1e07e3a65453f3b diff --git a/dev-python/xdis/files/xdis-test_magic_bytes_error.patch b/dev-python/xdis/files/xdis-test_magic_bytes_error.patch deleted file mode 100644 index 560f58b7611e..000000000000 --- a/dev-python/xdis/files/xdis-test_magic_bytes_error.patch +++ /dev/null @@ -1,24 +0,0 @@ -From 8aa4a91d664380395f08b0ccd4aa944d53a21e55 Mon Sep 17 00:00:00 2001 -From: Brian Dolbec -Date: Mon, 27 Mar 2017 18:13:00 -0700 -Subject: [PATCH] test_unit/test_magic.py: Add python-3.5.3 magic - ---- - xdis/magics.py | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/xdis/magics.py b/xdis/magics.py -index 6a58040..571f0ea 100755 ---- a/xdis/magics.py -+++ b/xdis/magics.py -@@ -103,6 +103,7 @@ versions = { - int2magic(3300): '3.4a4+', # more changes to __qualname__ computation - int2magic(3310): '3.4rc2', # alter __qualname__ computation - int2magic(3350): '3.5', # 3.5.0, 3.5.1, 3.5.2 -+ int2magic(3351): '3.5.3', # 3.5.3 - int2magic(3361): '3.6.0a1', # 3.6.0a1 - int2magic(3370): '3.6.0a1+1', # 3.6.0a? - int2magic(3370): '3.6.0a1+2', # --- -2.12.1 - diff --git a/dev-python/xdis/xdis-3.2.4.ebuild b/dev-python/xdis/xdis-3.2.4.ebuild deleted file mode 100644 index f1ec7b951a7f..000000000000 --- a/dev-python/xdis/xdis-3.2.4.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy) - -inherit distutils-r1 - -DESCRIPTION="Python cross-version byte-code disassembler and marshal routines" -HOMEPAGE="https://github.com/rocky/python-xdis/ https://pypi.python.org/pypi/xdis" -SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="test" - -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}] - ) -" - -PATCHES=( "${FILESDIR}/xdis-test_magic_bytes_error.patch" ) - -python_prepare_all() { - # Fix an unconditional test only dep - sed \ - -e "s/setup_requires/tests_require/" \ - -i setup.py - distutils-r1_python_prepare_all -} - -python_test() { - # Need to rm any pyc files to prevent test failures. - rm -R "${S}"/test/__pycache__ - PYTHONPATH="${S}/test:${S}/test_unit:${BUILD_DIR}/lib" \ - py.test -v || die "Tests failed under ${EPYTHON}" - cd test - PYTHONPATH="${S}/test:${BUILD_DIR}/lib" \ - ${EPYTHON} test_pyenvlib.py --verify --simple --compile || die \ - "Tests failed under ${EPYTHON}" -} diff --git a/dev-python/xdis/xdis-3.3.0.ebuild b/dev-python/xdis/xdis-3.3.0.ebuild deleted file mode 100644 index 9885cf155d48..000000000000 --- a/dev-python/xdis/xdis-3.3.0.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy) - -inherit distutils-r1 - -DESCRIPTION="Python cross-version byte-code disassembler and marshal routines" -HOMEPAGE="https://github.com/rocky/python-xdis/ https://pypi.python.org/pypi/xdis" -SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="test" - -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}] - ) -" - -PATCHES=( "${FILESDIR}/xdis-test_magic_bytes_error.patch" - "${FILESDIR}/xdis-3.3.0-remove-pytest-runner-dep.patch" -) - -python_test() { - # Need to rm any pyc files to prevent test failures. - rm -R "${S}"/test/__pycache__ - PYTHONPATH="${S}/test:${S}/test_unit:${BUILD_DIR}/lib" \ - py.test -v || die "Tests failed under ${EPYTHON}" - cd test - PYTHONPATH="${S}/test:${BUILD_DIR}/lib" \ - ${EPYTHON} test_pyenvlib.py --verify --simple --compile || die \ - "Tests failed under ${EPYTHON}" -} -- cgit v1.2.3-65-gdbad