dev-python/bitstring: Remove old

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2023-05-23 18:15:37 +02:00
parent 8476820a3d
commit dd7ba35e0e
2 changed files with 0 additions and 43 deletions
-1
View File
@@ -1,2 +1 @@
DIST bitstring-4.0.2.tar.gz 211208 BLAKE2B 75ba6de71ac1a4ea384aad38405ccef21a101c641ee244096d67aad9b46315ee5dab9099b928e3300772c6f15637d4b54899c0a40f6a7ab4e48cfa1c66f310ab SHA512 11d7cddc7372ef9dac92d97df6e9972d7e75e4b02ad1e777357bea667e096beb405871b6cc9baa0522e2251278ad8c11a34724932efb2593fccf572857a608ce
DIST bitstring-bitstring-4.0.1.gh.tar.gz 413983 BLAKE2B a4b424d2c139b34ce5ea81522486d0e42d82a06cfc64ce664505a2c1f1a626939b57b1755642220e2fb4219ead3a2a368006878ea05bdae59a638948b24e8b8c SHA512 f036a042f83c70b830f987114e7eb54754145296c60cd6486f398247a069c50588f3c86395a849a99e3c9b94364f1fcf4fedf4b59b80f03b6aecb38d992f5490
@@ -1,42 +0,0 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{9..11} )
inherit distutils-r1
MY_P=${PN}-${P}
DESCRIPTION="A pure Python module for creation and analysis of binary data"
HOMEPAGE="
https://github.com/scott-griffiths/bitstring/
https://pypi.org/project/bitstring/
"
SRC_URI="
https://github.com/scott-griffiths/${PN}/archive/${P}.tar.gz
-> ${MY_P}.gh.tar.gz
"
S=${WORKDIR}/${MY_P}
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ~arm ~arm64 x86"
distutils_enable_tests unittest
src_prepare() {
[[ ${PV} != 4.0.1 ]] && die "Remove the hack!"
cat >> pyproject.toml <<-EOF
[build-system]
build-backend = "setuptools.build_meta"
EOF
distutils-r1_src_prepare
}
src_test() {
cd tests || die
distutils-r1_src_test
}