mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-python/xdis: Remove redundant versions
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST xdis-3.3.1.tar.gz 154152 BLAKE2B e0997fb8bbc66cc3f019ee6855cbf9ae9f594698c989a0a1b9d0b08f03bb3fbf0ad44ca0292202674c8a8a8d92ce5d6e669dd01194567766262ce44bb154d631 SHA512 93b1a092ae7790e84dfd8dc4128659d48be85c4e00d9914bbd748fad5ec4246bbfc6c19a5c5de366f4bd6d91847dad4ce3c1c3affe8f7608652f2f6e343650e1
|
||||
DIST xdis-3.6.0.tar.gz 144766 BLAKE2B e9a33443d42ff71194180f0bb20423783107d4b1e3d6c364b824011d916041500048345cac4853d1ebb6363edf8df542b0363650bba42e187986f50c9696051f SHA512 8b45ccd6976204004f27ee5b1a9da9b29ec0e28f4b462d862be5a1238d3ebd4a5d6f3df5607f3e2f037d80b2d3ae77ec4246ab1aa0671466c1e07e3a65453f3b
|
||||
|
||||
@@ -1,42 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
PYTHON_COMPAT=( python3_6)
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python cross-version byte-code disassembler and marshal routines"
|
||||
HOMEPAGE="https://github.com/rocky/python-xdis/ https://pypi.org/project/xdis/"
|
||||
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( 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-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}"
|
||||
}
|
||||
Reference in New Issue
Block a user