[gentoo-commits] repo/gentoo:master commit in: dev-python/xdis/
commit: f14e28b7c9d713933fd81e1758ea27b0eb9429de Author: Michał Górny gentoo org> AuthorDate: Thu Feb 6 06:59:52 2020 + Commit: Michał Górny gentoo org> CommitDate: Thu Feb 6 07:08:29 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f14e28b7 dev-python/xdis: Remove py2 Signed-off-by: Michał Górny gentoo.org> dev-python/xdis/xdis-3.3.1.ebuild | 2 +- dev-python/xdis/xdis-3.6.0.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-python/xdis/xdis-3.3.1.ebuild b/dev-python/xdis/xdis-3.3.1.ebuild index 580eeb1baf9..bd3f3c0554f 100644 --- a/dev-python/xdis/xdis-3.3.1.ebuild +++ b/dev-python/xdis/xdis-3.3.1.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=6 -PYTHON_COMPAT=( python2_7 python3_6) +PYTHON_COMPAT=( python3_6) inherit distutils-r1 diff --git a/dev-python/xdis/xdis-3.6.0.ebuild b/dev-python/xdis/xdis-3.6.0.ebuild index 52d5f330a6c..2e7b6918205 100644 --- a/dev-python/xdis/xdis-3.6.0.ebuild +++ b/dev-python/xdis/xdis-3.6.0.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=6 -PYTHON_COMPAT=( python2_7 python3_6) +PYTHON_COMPAT=( python3_6) inherit distutils-r1
[gentoo-commits] repo/gentoo:master commit in: dev-python/xdis/files/, dev-python/xdis/
commit: 2d072693f0f2d998c0394bcd1d80d894329a2687 Author: Michał Górny gentoo org> AuthorDate: Sat Jan 6 13:51:22 2018 + Commit: Michał Górny gentoo org> CommitDate: Sat Jan 6 14:13:24 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d072693 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(-) diff --git a/dev-python/xdis/Manifest b/dev-python/xdis/Manifest index e5535b33e74..b320871bc57 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 560f58b7611..000 --- 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 f1ec7b951a7..000 --- 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
[gentoo-commits] repo/gentoo:master commit in: dev-python/xdis/
commit: 1e2080999d337bd7d0a52cb09ae91e3653839371 Author: Brian Dolbec gentoo org> AuthorDate: Fri Nov 10 18:47:45 2017 + Commit: Brian Dolbec gentoo org> CommitDate: Fri Nov 10 18:48:18 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e208099 dev-python/xdis: Version bump Package-Manager: Portage-2.3.6, Repoman-2.3.3 dev-python/xdis/Manifest | 1 + dev-python/xdis/xdis-3.6.0.ebuild | 43 +++ 2 files changed, 44 insertions(+) diff --git a/dev-python/xdis/Manifest b/dev-python/xdis/Manifest index fdbbf311623..99d68e04aa4 100644 --- a/dev-python/xdis/Manifest +++ b/dev-python/xdis/Manifest @@ -1,3 +1,4 @@ DIST xdis-3.2.4.tar.gz 127507 SHA256 b311253b97a321ab45625089a729ccbf8bcb1319a8c4c0167b719f81c081543c SHA512 6c9274e10f2a41ab4a173c8ae4462374fc7ab444a589ab572172550d0f5284906f7d9c9cf4a640f163f6012d17f40bc5e1c36e5963f8b6106a9c37e420027a97 WHIRLPOOL 5a0910f04e3d9ec70129d5d3b659fe06034e7a6298692d2a776f2616a8b895a539efa7f96972b2adc6986c2475e697552ea071d33bdd22c60bb1e0fec1950dd4 DIST xdis-3.3.0.tar.gz 146531 SHA256 32eeb690e9376ad404c1fb18c1f87a09345f9beca31cee1ea8f21dd0f0dcaa07 SHA512 ebd7656c04d5583243eae4442409bde910146f7c5f6b66d58933d4b62818345401523428a596f00cca31a9d6fcd2eea877da57ab3e796dc04c92842456454b3c WHIRLPOOL 784c88d905d47d22a0d0ffb0206f57250f535abce9df6b02be16492c47ffe199ebf5f900eb3199e0be2b89a1d96f951971de5ba8ae33be57013870c1e25f828f DIST xdis-3.3.1.tar.gz 154152 SHA256 d6e5439269a2abe1fa71ac4cb670ac6dfc9e18a09e0c4acb2f6457f0542d5383 SHA512 93b1a092ae7790e84dfd8dc4128659d48be85c4e00d9914bbd748fad5ec4246bbfc6c19a5c5de366f4bd6d91847dad4ce3c1c3affe8f7608652f2f6e343650e1 WHIRLPOOL d137511eb788cdb43ef5e9165415fb4c7fa4885b9e293d4da7a7c4360e0dad7b00c8ea8df299161cff539a9f7a390d8b39ff6c5697804862259717d54c21f38b +DIST xdis-3.6.0.tar.gz 144766 SHA256 3ea226c201f4be86000b1d09f8585c2de39757325d0b686e3fb14a7dad21c832 SHA512 8b45ccd6976204004f27ee5b1a9da9b29ec0e28f4b462d862be5a1238d3ebd4a5d6f3df5607f3e2f037d80b2d3ae77ec4246ab1aa0671466c1e07e3a65453f3b WHIRLPOOL 156874ee1918eab2e096aa36be0bafd87a32d843d76875bf4eea9366b22616a8aa93610bb959e5ab47f74627f0abc4144a8be345ccf3550858138a860121e793 diff --git a/dev-python/xdis/xdis-3.6.0.ebuild b/dev-python/xdis/xdis-3.6.0.ebuild new file mode 100644 index 000..587faf12da9 --- /dev/null +++ b/dev-python/xdis/xdis-3.6.0.ebuild @@ -0,0 +1,43 @@ +# 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; +# bad pypi source tarball - test failures +#SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" +SRC_URI="https://github.com/rocky/python-xdis/archive/release-${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +RDEPEND=">=dev-python/six-1.10.0[${PYTHON_USEDEP}] + dev-python/click[${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-3.3.0-remove-pytest-runner-dep.patch" +) + +S="${WORKDIR}/python-xdis-release-${PV}" + +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" \ + esetup.py test || die "Tests failed under ${EPYTHON}" +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/xdis/
commit: 4382c7bb67464274b25ab146cf3e3c799ae51635 Author: Brian Dolbec gentoo org> AuthorDate: Fri Nov 10 18:46:33 2017 + Commit: Brian Dolbec gentoo org> CommitDate: Fri Nov 10 18:48:18 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4382c7bb dev-python/xdis: Fix bug 596510 xdis-3.3.1 Apply xdis-3.3.0-remove-pytest-runner-dep.patch as it is not required for install nor for tests. Package-Manager: Portage-2.3.6, Repoman-2.3.3 dev-python/xdis/xdis-3.3.1.ebuild | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dev-python/xdis/xdis-3.3.1.ebuild b/dev-python/xdis/xdis-3.3.1.ebuild index 6d44417a780..85750f5bc90 100644 --- a/dev-python/xdis/xdis-3.3.1.ebuild +++ b/dev-python/xdis/xdis-3.3.1.ebuild @@ -25,9 +25,9 @@ DEPEND=" ) " -#PATCHES=( "${FILESDIR}/xdis-test_magic_bytes_error.patch" -# "${FILESDIR}/xdis-3.3.0-remove-pytest-runner-dep.patch" -#) +PATCHES=( + "${FILESDIR}/xdis-3.3.0-remove-pytest-runner-dep.patch" +) python_test() { # Need to rm any pyc files to prevent test failures.
[gentoo-commits] repo/gentoo:master commit in: dev-python/xdis/
commit: 6f7a1335f6d60479503433ecfd79c788366aa82a Author: Brian Dolbec gentoo org> AuthorDate: Fri Jun 9 17:58:43 2017 + Commit: Brian Dolbec gentoo org> CommitDate: Fri Jun 9 18:18:47 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f7a1335 dev-python/xdis: Version bump Package-Manager: Portage-2.3.6_p2, Repoman-2.3.2_p70 dev-python/xdis/Manifest | 1 + dev-python/xdis/xdis-3.3.1.ebuild | 41 +++ 2 files changed, 42 insertions(+) diff --git a/dev-python/xdis/Manifest b/dev-python/xdis/Manifest index 934aff0fec8..fdbbf311623 100644 --- a/dev-python/xdis/Manifest +++ b/dev-python/xdis/Manifest @@ -1,2 +1,3 @@ DIST xdis-3.2.4.tar.gz 127507 SHA256 b311253b97a321ab45625089a729ccbf8bcb1319a8c4c0167b719f81c081543c SHA512 6c9274e10f2a41ab4a173c8ae4462374fc7ab444a589ab572172550d0f5284906f7d9c9cf4a640f163f6012d17f40bc5e1c36e5963f8b6106a9c37e420027a97 WHIRLPOOL 5a0910f04e3d9ec70129d5d3b659fe06034e7a6298692d2a776f2616a8b895a539efa7f96972b2adc6986c2475e697552ea071d33bdd22c60bb1e0fec1950dd4 DIST xdis-3.3.0.tar.gz 146531 SHA256 32eeb690e9376ad404c1fb18c1f87a09345f9beca31cee1ea8f21dd0f0dcaa07 SHA512 ebd7656c04d5583243eae4442409bde910146f7c5f6b66d58933d4b62818345401523428a596f00cca31a9d6fcd2eea877da57ab3e796dc04c92842456454b3c WHIRLPOOL 784c88d905d47d22a0d0ffb0206f57250f535abce9df6b02be16492c47ffe199ebf5f900eb3199e0be2b89a1d96f951971de5ba8ae33be57013870c1e25f828f +DIST xdis-3.3.1.tar.gz 154152 SHA256 d6e5439269a2abe1fa71ac4cb670ac6dfc9e18a09e0c4acb2f6457f0542d5383 SHA512 93b1a092ae7790e84dfd8dc4128659d48be85c4e00d9914bbd748fad5ec4246bbfc6c19a5c5de366f4bd6d91847dad4ce3c1c3affe8f7608652f2f6e343650e1 WHIRLPOOL d137511eb788cdb43ef5e9165415fb4c7fa4885b9e293d4da7a7c4360e0dad7b00c8ea8df299161cff539a9f7a390d8b39ff6c5697804862259717d54c21f38b diff --git a/dev-python/xdis/xdis-3.3.1.ebuild b/dev-python/xdis/xdis-3.3.1.ebuild new file mode 100644 index 000..6d44417a780 --- /dev/null +++ b/dev-python/xdis/xdis-3.3.1.ebuild @@ -0,0 +1,41 @@ +# 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}" +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/xdis/
commit: 22828d3af7a49acfc3637377d49128a75dcfeb1e Author: Brian Dolbec gentoo org> AuthorDate: Sun Dec 25 16:03:39 2016 + Commit: Brian Dolbec gentoo org> CommitDate: Wed Jan 4 04:48:18 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22828d3a dev-python/xdis: Version bump, license change Package-Manager: Portage-2.3.3_p7, Repoman-2.3.1 dev-python/xdis/Manifest | 1 + dev-python/xdis/xdis-3.2.4.ebuild | 46 +++ 2 files changed, 47 insertions(+) diff --git a/dev-python/xdis/Manifest b/dev-python/xdis/Manifest index edb9cae..d32e9cf 100644 --- a/dev-python/xdis/Manifest +++ b/dev-python/xdis/Manifest @@ -1,2 +1,3 @@ DIST xdis-2.3.1.tar.gz 69207 SHA256 9b28426a5b476b6740b83063604de7ef4af8b721a5da5894145fbae8921d25ae SHA512 5015914a13296d04e71050c2e916fd5770bfe8bba1f92bf3c64bca06365ea7547cbb216d7cfca19fdcef60af3943fa4ba4e7c27895b1da9c6240daf990051927 WHIRLPOOL c30ae717289c73069efbdb70cdd6388bb009e945c967de53b159aa2f8a606cdca8e28b265b4da56b7f77ab01b8a415b8d8d8b7e1b972370121ab86b18d8921e7 DIST xdis-3.2.3.tar.gz 126710 SHA256 2e11b7dfafc02ce28da15f1d1bed327384ec34333d4a03e76cee8c1840897a5e SHA512 ce4e2ad09c1d13b2ab35b931ceedb8d08ec2f81dc2a34f50f854e6a4aca5efe857b56d6c2f1dbd73ae12d4ec9e2b0cc8e20c08873e87e4b0ca80fac229cebe06 WHIRLPOOL 1f553c3c57df5419b42ef6c94f7b78b5cbac14615d2d4066234420acd925b83df851332485a16ec8cace9ee5182b21b5bc1fc2fad7199ff4d6f17ce7de189cdb +DIST xdis-3.2.4.tar.gz 127507 SHA256 b311253b97a321ab45625089a729ccbf8bcb1319a8c4c0167b719f81c081543c SHA512 6c9274e10f2a41ab4a173c8ae4462374fc7ab444a589ab572172550d0f5284906f7d9c9cf4a640f163f6012d17f40bc5e1c36e5963f8b6106a9c37e420027a97 WHIRLPOOL 5a0910f04e3d9ec70129d5d3b659fe06034e7a6298692d2a776f2616a8b895a539efa7f96972b2adc6986c2475e697552ea071d33bdd22c60bb1e0fec1950dd4 diff --git a/dev-python/xdis/xdis-3.2.4.ebuild b/dev-python/xdis/xdis-3.2.4.ebuild new file mode 100644 index ..d14069b --- /dev/null +++ b/dev-python/xdis/xdis-3.2.4.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +PYTHON_COMPAT=( python2_7 python3_{4,5} 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}] + ) +" + +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}" +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/xdis/
commit: 099ba4c8985a900edee70fcbc1a151142f92d02f Author: Brian Dolbec gentoo org> AuthorDate: Sun Nov 13 18:59:22 2016 + Commit: Brian Dolbec gentoo org> CommitDate: Sun Nov 13 19:35:50 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=099ba4c8 dev-python/xdis: Version bump Package-Manager: portage-2.3.2_p3 dev-python/xdis/Manifest | 1 + dev-python/xdis/xdis-3.2.3.ebuild | 46 +++ 2 files changed, 47 insertions(+) diff --git a/dev-python/xdis/Manifest b/dev-python/xdis/Manifest index 26bdabf..edb9cae 100644 --- a/dev-python/xdis/Manifest +++ b/dev-python/xdis/Manifest @@ -1 +1,2 @@ DIST xdis-2.3.1.tar.gz 69207 SHA256 9b28426a5b476b6740b83063604de7ef4af8b721a5da5894145fbae8921d25ae SHA512 5015914a13296d04e71050c2e916fd5770bfe8bba1f92bf3c64bca06365ea7547cbb216d7cfca19fdcef60af3943fa4ba4e7c27895b1da9c6240daf990051927 WHIRLPOOL c30ae717289c73069efbdb70cdd6388bb009e945c967de53b159aa2f8a606cdca8e28b265b4da56b7f77ab01b8a415b8d8d8b7e1b972370121ab86b18d8921e7 +DIST xdis-3.2.3.tar.gz 126710 SHA256 2e11b7dfafc02ce28da15f1d1bed327384ec34333d4a03e76cee8c1840897a5e SHA512 ce4e2ad09c1d13b2ab35b931ceedb8d08ec2f81dc2a34f50f854e6a4aca5efe857b56d6c2f1dbd73ae12d4ec9e2b0cc8e20c08873e87e4b0ca80fac229cebe06 WHIRLPOOL 1f553c3c57df5419b42ef6c94f7b78b5cbac14615d2d4066234420acd925b83df851332485a16ec8cace9ee5182b21b5bc1fc2fad7199ff4d6f17ce7de189cdb diff --git a/dev-python/xdis/xdis-3.2.3.ebuild b/dev-python/xdis/xdis-3.2.3.ebuild new file mode 100644 index ..fa8818d --- /dev/null +++ b/dev-python/xdis/xdis-3.2.3.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +PYTHON_COMPAT=( python2_7 python3_{4,5} 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="MIT" +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}] + ) +" + +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}" +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/xdis/
commit: dc49084ca0705816c68226d633cfe0a046668f51 Author: Brian Dolbec gentoo org> AuthorDate: Sun Nov 13 18:09:49 2016 + Commit: Brian Dolbec gentoo org> CommitDate: Sun Nov 13 19:35:43 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc49084c dev-python/xdis: Fix setup.py unconditional test dep bug 596510 Fix metadata.py pypi id Package-Manager: portage-2.3.2_p3 dev-python/xdis/metadata.xml | 2 +- dev-python/xdis/xdis-2.3.1.ebuild | 5 + 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/dev-python/xdis/metadata.xml b/dev-python/xdis/metadata.xml index 2cb4b24..d8d220e 100644 --- a/dev-python/xdis/metadata.xml +++ b/dev-python/xdis/metadata.xml @@ -14,7 +14,7 @@ r...@dustyfeet.com Rocky Bernstein - spark_parser + xdis 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 e017b93..b44fc17 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 }
[gentoo-commits] repo/gentoo:master commit in: dev-python/xdis/
commit: 92f37c4e83c597c8f0fe1aa1b757ad961525424b Author: Brian Dolbec gentoo org> AuthorDate: Sat Oct 22 01:23:51 2016 + Commit: Brian Dolbec gentoo org> CommitDate: Sat Oct 22 01:25:58 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92f37c4e dev-python/xdis: Fix metadata.xml email address typo Package-Manager: portage-2.3.2 dev-python/xdis/metadata.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/xdis/metadata.xml b/dev-python/xdis/metadata.xml index b836acc..2cb4b24 100644 --- a/dev-python/xdis/metadata.xml +++ b/dev-python/xdis/metadata.xml @@ -2,7 +2,7 @@ http://www.gentoo.org/dtd/metadata.dtd;> - dol-...@gentoo.org + dol...@gentoo.org Primary maintainer
[gentoo-commits] repo/gentoo:master commit in: dev-python/xdis/
commit: a4d38d745f765d1a71b01a061aeb8a7c495fd9d0 Author: Brian Dolbec gentoo org> AuthorDate: Wed Oct 5 23:34:35 2016 + Commit: Brian Dolbec gentoo org> CommitDate: Fri Oct 7 18:11:13 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4d38d74 dev-python/xdis: New package, dep of dev-python/uncompyle6 Package-Manager: portage-2.3.1_p8 dev-python/xdis/Manifest | 1 + dev-python/xdis/metadata.xml | 25 dev-python/xdis/xdis-2.3.1.ebuild | 41 +++ 3 files changed, 67 insertions(+) diff --git a/dev-python/xdis/Manifest b/dev-python/xdis/Manifest new file mode 100644 index ..26bdabf --- /dev/null +++ b/dev-python/xdis/Manifest @@ -0,0 +1 @@ +DIST xdis-2.3.1.tar.gz 69207 SHA256 9b28426a5b476b6740b83063604de7ef4af8b721a5da5894145fbae8921d25ae SHA512 5015914a13296d04e71050c2e916fd5770bfe8bba1f92bf3c64bca06365ea7547cbb216d7cfca19fdcef60af3943fa4ba4e7c27895b1da9c6240daf990051927 WHIRLPOOL c30ae717289c73069efbdb70cdd6388bb009e945c967de53b159aa2f8a606cdca8e28b265b4da56b7f77ab01b8a415b8d8d8b7e1b972370121ab86b18d8921e7 diff --git a/dev-python/xdis/metadata.xml b/dev-python/xdis/metadata.xml new file mode 100644 index ..b836acc --- /dev/null +++ b/dev-python/xdis/metadata.xml @@ -0,0 +1,25 @@ + +http://www.gentoo.org/dtd/metadata.dtd;> + + + dol-...@gentoo.org + Primary maintainer + + + pyt...@gentoo.org + Python + + + + r...@dustyfeet.com + Rocky Bernstein + + spark_parser + + This Python module allows you to disassemble bytecode from + different versions of Python than you are running on. It can marshal + load Python bytecodes from different versions of Python. The + command-line routine pydisasm will show disassembly output using Python + 3.5 disassembly conventions + + diff --git a/dev-python/xdis/xdis-2.3.1.ebuild b/dev-python/xdis/xdis-2.3.1.ebuild new file mode 100644 index ..f97ccb2 --- /dev/null +++ b/dev-python/xdis/xdis-2.3.1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +PYTHON_COMPAT=( python2_7 python3_{3,4,5} 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="MIT" +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/mock[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + ) +" + +python_prepare_all() { + # Remove the 3.3 specific code from being run + rm -R "test_unit/3.3" || die + distutils-r1_python_prepare_all +} + +python_test() { + 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}" +}