re-add tqdm-4.49.0 from main repo archive, dropped, but still needed

This commit is contained in:
Andreas Billmeier 2020-11-27 20:47:13 +01:00 committed by Andreas Billmeier
parent 3ce933f755
commit 905008bfdc
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
4 changed files with 77 additions and 0 deletions

View File

@ -1,6 +1,7 @@
2020-11-27
* update roombapy-1.6.2, now uses pyproject.toml
* update poetry-core-1.0.0
* re-add tqdm-4.49.0 from main repo archive, dropped, but still needed
2020-11-25
* bump HATasmota-0.1.1

3
dev-python/tqdm/Manifest Normal file
View File

@ -0,0 +1,3 @@
DIST tqdm-4.49.0.tar.gz 151935 BLAKE2B 790e2912a402795af9aba2e4db80cf41a7cb08267dad5946d89b4d9fb8b8c7a1dd65f33dcaf315bbe82862c0c2934b2dd2b8cee894c592d5a61ac61dd8c5126f SHA512 44197eb09b90551eb66c8b2e0dc97f6864fc91654465e7d478ece6ecd610242d8e378c6814f9d3e1cf05b2db1aa533743535051ad456ec5ef6d477be906ee217
EBUILD tqdm-4.49.0.ebuild 1324 BLAKE2B 2b8486f5732dab05928a461aae1d86f1ba63eab9cb9546b39243a7de9db6a4ad5bcadbac19cdb2614329848816cdb47f1dd25d6bc2ac870c8dbc68cac406ae43 SHA512 5a8e146ac5df40e3289afbb8af6dfa3501951278dd470a2cccdfaee4bd683445296f0c1311aafa4dc316e45af15529fdc922875fa0c4b29a1bd0ae4692c6cb30
MISC metadata.xml 453 BLAKE2B 9daf22c86d274bcfc05e77535040535595993817d861c1ac3c200192d2d5f745548f3d4608a7d43b4c2f4d5d43a14ff95e2a26781e41f90731ef75bcbc805447 SHA512 b3308cc1e0db51a9d4d663b65556e0a8cdf20dece9fb0f47bfa0ed53fbeaa202926c9360027eb9024174de685d508038bb891ab2a3909a9b0e00972a3baa57ba

View File

@ -0,0 +1,15 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>b@edevau.net</email>
<name>Andreas Billmeier</name>
</maintainer>
<upstream>
<remote-id type="pypi">tqdm</remote-id>
<maintainer status="unknown">
<email>python.tqdm@gmail.com</email>
<name>tqdm developers</name>
</maintainer>
</upstream>
</pkgmetadata>

View File

@ -0,0 +1,58 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DISTUTILS_USE_SETUPTOOLS=rdepend
PYTHON_COMPAT=( pypy3 python3_{6,7,8,9} )
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="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 sparc 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
}