dev-python/tqdm: drop olds, change SRC_URI

Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
2023-07-11 20:57:14 +02:00
committed by Andreas Billmeier
parent a7be6f0bf6
commit 201f4dfc43
3 changed files with 5 additions and 69 deletions

View File

@@ -1,5 +1,3 @@
DIST tqdm-4.49.0.tar.gz 151935 BLAKE2B 790e2912a402795af9aba2e4db80cf41a7cb08267dad5946d89b4d9fb8b8c7a1dd65f33dcaf315bbe82862c0c2934b2dd2b8cee894c592d5a61ac61dd8c5126f SHA512 44197eb09b90551eb66c8b2e0dc97f6864fc91654465e7d478ece6ecd610242d8e378c6814f9d3e1cf05b2db1aa533743535051ad456ec5ef6d477be906ee217
DIST tqdm-4.64.0.tar.gz 169499 BLAKE2B a6b9587a366c026716c63af4358ddba693b52be3490a161071bc750fffcd50429bc639255635d96c950a130d9fe994dc2abc98f3fbaf0a0c344140c8ae972596 SHA512 84d243b86ea3665e915e6a79e7887a4d0487b166971d211e34229b7a46429f4e4f5808c03f24420b20fb85d274e1e6b36ed852af99c5c9d177c8ce71f0ce0c17
EBUILD tqdm-4.49.0-r1.ebuild 1283 BLAKE2B 1c67551edda6baacef7676182af438e679b5601dd91e0845302f06286e4f3e0c9b3209a45815b314711c8b40f60c29aa788353353440498f726b0b668b9b364b SHA512 460641757b8a880ce6597d438f0ac0101328fd505f46fe668fa1747e2e420d76da58b87472e1823c7689ed07aa12bae265f006d492fd6407109572de3bb55e19
EBUILD tqdm-4.64.0.ebuild 965 BLAKE2B 10fc9fb89318f88a6b325284c8e2ce85ef788d0564a84afb15c73907f8c9c5c8b15cdfa491036723a99625e4628e206590fc7e0ba0d26e50029231227b1cdb6c SHA512 6f6d1a227d1fbff3f2b0cc69566051d54e4a351a568adc6267a2128463f9a20c1804678f46682451fbb17da5b7ff1bad2c0fc0a03fea4d910374b64480660cfc
EBUILD tqdm-4.64.0.ebuild 915 BLAKE2B b4d54b59850dc39cf3a8cde9047e71d523c0f03c2fafd7c34bce14b371cd038b6f70680773841cb364ea74ec3de840cc8597b4b64437797bfb212dcc458b5944 SHA512 0bc8f6d84ab50d57db09a5c0ff31ae83ecaaeb2a42f3b28e67e8ebf906b9ee674985fefe2b7e60d5ef5fe7ebe1fcd8961c16b235c83e72647119ed10f087f46e
MISC metadata.xml 504 BLAKE2B 1850923c89b64586b6a0108994f65b2e78e98fdb803fd5fd819511744bc3149ba1e6c870fcd44185e8ca0c7da158ca5c3e56b9638c09c7e77e0904041182c3ee SHA512 f285c5d962f30558c131092a2cfe2b64bab35584920dffb5ac5f99ebc917e6ff60fa388910306e9125e4ccb7e9dd3f295f09b875b7642e0e29e1b18467a13625

View File

@@ -1,58 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_SETUPTOOLS=rdepend
PYTHON_COMPAT=( python3_{9..11} )
inherit distutils-r1
if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/tqdm/tqdm"
else
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
KEYWORDS="amd64 arm arm64 x86"
fi
DESCRIPTION="Add a progress meter to your loops in a second"
HOMEPAGE="https://github.com/tqdm/tqdm"
LICENSE="MIT"
SLOT="0"
IUSE="examples"
distutils_enable_tests nose
python_prepare_all() {
sed -r \
-e "s:'nose'(,[[:space:]]*|)::" \
-e "s:'flake8'(,[[:space:]]*|)::" \
-e "s:'coverage'(,[[:space:]]*|)::" \
-i setup.py
distutils-r1_python_prepare_all
}
python_test() {
# tests_main.py requires the package to be installed
distutils_install_for_testing
# Skip unpredictable performance tests
nosetests tqdm -v --ignore 'tests_perf.py' \
|| die "tests failed with ${EPYTHON}"
}
python_install() {
doman "${BUILD_DIR}"/lib/tqdm/tqdm.1
rm "${BUILD_DIR}"/lib/tqdm/tqdm.1 || die
distutils-r1_python_install --skip-build
}
python_install_all() {
if use examples; then
dodoc -r examples
docompress -x "/usr/share/doc/${PF}/examples"
fi
distutils-r1_python_install_all
}

View File

@@ -1,19 +1,15 @@
# Copyright 1999-2022 Gentoo Authors
# 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} )
PYTHON_COMPAT=( python3_{10..12} )
inherit bash-completion-r1 distutils-r1
inherit bash-completion-r1 distutils-r1 pypi
DESCRIPTION="Add a progress meter to your loops in a second"
HOMEPAGE="
https://github.com/tqdm/tqdm/
https://pypi.org/project/tqdm/
"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
HOMEPAGE="https://github.com/tqdm/tqdm/ https://pypi.org/project/tqdm/"
LICENSE="MIT"
SLOT="0"