From 3cf7c3ef441822c889356fd1812ebf2944a59851 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 25 Aug 2020 10:45:55 +0100 Subject: gentoo resync : 25.08.2020 --- dev-python/tqdm/Manifest | 21 +++------- dev-python/tqdm/files/tqdm-4.46.0-py39.patch | 42 ------------------- dev-python/tqdm/metadata.xml | 1 + dev-python/tqdm/tqdm-4.23.3.ebuild | 30 -------------- dev-python/tqdm/tqdm-4.33.0.ebuild | 53 ------------------------ dev-python/tqdm/tqdm-4.40.0.ebuild | 60 --------------------------- dev-python/tqdm/tqdm-4.45.0.ebuild | 60 --------------------------- dev-python/tqdm/tqdm-4.46.0.ebuild | 62 ---------------------------- dev-python/tqdm/tqdm-4.46.1.ebuild | 58 -------------------------- dev-python/tqdm/tqdm-4.47.0.ebuild | 4 +- dev-python/tqdm/tqdm-4.48.2.ebuild | 58 ++++++++++++++++++++++++++ dev-python/tqdm/tqdm-9999.ebuild | 2 +- 12 files changed, 67 insertions(+), 384 deletions(-) delete mode 100644 dev-python/tqdm/files/tqdm-4.46.0-py39.patch delete mode 100644 dev-python/tqdm/tqdm-4.23.3.ebuild delete mode 100644 dev-python/tqdm/tqdm-4.33.0.ebuild delete mode 100644 dev-python/tqdm/tqdm-4.40.0.ebuild delete mode 100644 dev-python/tqdm/tqdm-4.45.0.ebuild delete mode 100644 dev-python/tqdm/tqdm-4.46.0.ebuild delete mode 100644 dev-python/tqdm/tqdm-4.46.1.ebuild create mode 100644 dev-python/tqdm/tqdm-4.48.2.ebuild (limited to 'dev-python/tqdm') diff --git a/dev-python/tqdm/Manifest b/dev-python/tqdm/Manifest index 4f60f8701729..734f729b8c9f 100644 --- a/dev-python/tqdm/Manifest +++ b/dev-python/tqdm/Manifest @@ -1,17 +1,6 @@ -AUX tqdm-4.46.0-py39.patch 1637 BLAKE2B de3dbafba500055cd292b2e24d16e089febf518881fc46369526fd641290489941199260c3018e266fb2fa91e4909947d11a23d1a0e29633fc5d2bd67fcb24c9 SHA512 0278d09ca22d97e5d2ceebc97ed4bf3500e8474910990cc9aebb46c9f1ab158d157a73847a041951863cae3fb36d1a32800e49ccd671a874486c3ee74da3cf62 -DIST tqdm-4.23.3.tar.gz 75941 BLAKE2B 9e5810765e8f7ea4f54b0f93f453d278d5ad4b1710f1476a6f00ff2e513789585e97dcd5a8331fe69d3593b18affd50bf9bf51cbaed29ecd68d4efad9318aa31 SHA512 40c853b7cf7611ba2ef7652417c0d42ea4392f5ea9cbe319dbb9e3dd063594e5c637fb5d13f77935fb9a034d395b28fa9480fec1c6cca1852644add4ac18cce8 -DIST tqdm-4.33.0.tar.gz 121571 BLAKE2B f4ee73cfa710462e148f6034ac69144d845d216bd97e16a78bc1f1ed5d658b6cd695d07aa1ea6ec93e2e747ab8fc52263a580c01516d1f111dcb5766b019925d SHA512 de86a2dc2c5f887b9671ee01e7c05820375b0ef83dec92f17da4d944dd02cbf96a133fd9d349ba5f9c75af70e7b87110a9a7ad3293c7eb81e49ed6ea288ba73c -DIST tqdm-4.40.0.tar.gz 129225 BLAKE2B 85030c11bdba6c1d6da461e3c648bae6ae173577fb18986e3153badd73a28352f807782759aa52ed082d7ee0c13dc5f850c1da563ee5892f6bf5e8f49c48c7ee SHA512 1c326d98130c79f614cea502723e4202baa57b7b4639e208133cb464785e4a8d4eaa9d262ea484246d45e5eb8f21994e7ecf3fd6ef0f4966f9049fc8013d7442 -DIST tqdm-4.45.0.tar.gz 140990 BLAKE2B 8699b3a820859406e9bbafaaa48ba1b418e3083898d2b6c3401078996dd03431db259d5ad8a377226a50b80513ef0fc55bdaf2b67fc4a2bdd490bc5fdc04d681 SHA512 7b35f86205c6581ede9bdb0788e7f55be525c3f0f77952803046661c6a7a6cd3c15ed0323376ecedb5cddace1b32a41fee1932033dcaa49f9096dc3b9b674f10 -DIST tqdm-4.46.0.tar.gz 144312 BLAKE2B 93b902d9a362e658f244f3c1b15a3496425cb3e401adf291dc0a9c7c0bd551baa1171a753be8d1c3b877d2cd3ab25e81dddbd8492668d0b0f6ca3cb47d13be1c SHA512 ccdfce4d273e78ced172fc3edb24ac038465169f7b765e7bf779831ef3d0dc72c648c5fb165aba02e0c6dc86c5d0ea3d93d5530b642ddd84e3d284c7354739cf -DIST tqdm-4.46.1.tar.gz 144383 BLAKE2B 4d72bfbf0c225c779ae2c9bf405f9effdb69cfe7862325b12e8408c17a03b7a87f9cf0d055de598a67132861114c89b237d0ad2509302e452cc67ce9aa34fa48 SHA512 de8710ceb44b6caa073aaa3c9dca281880d752d1b542a3dd87a54884478a185c35ab1969c6cb7242e30ee0511f967cde7bd4fa83a8d4f8c58d3e95ad2bf3bfc6 DIST tqdm-4.47.0.tar.gz 145749 BLAKE2B 77a5efec763a8e58e071ee571077ee0db72d9243308592519ecd2c38f60d6b621fd7362dd87bdd0759a39f25c19cc3cc889e9a8376dc658ed565ca7e19fc68cd SHA512 4023988cef757f43a6f59f7eddc8f40246cbca4994cea91dbb4a788385c0706f376f4c0fd5c8c47146c10eb8c52be2c9d4855b7bea0a5036162c55447aac95d7 -EBUILD tqdm-4.23.3.ebuild 673 BLAKE2B b49a8fdad4ee136a4b5149ab39a852d748c0a9f357587490fd272d37743ce530ed2b69fa8cd87a8ed657d26c0669c2e038d484afb7279ec3460562d281b0063c SHA512 2eb6fa8f796289073d92c07b6e7af8e7441d83bd32a01ac2a0d3dc8b530d1c796777ead4502cc6734b81adae01d8c0a496bff147cde268fe2d5223c4a8ad448a -EBUILD tqdm-4.33.0.ebuild 1233 BLAKE2B 06c019bae07709c13627ec3b47c00c2745041b604d15a1f84445ab82cd82990506a61ce6c2d44cf9d84c4b1b2c5772ee6b03a4252af7035ac33fc4e6816d5ca1 SHA512 007d81a3e948d9b02e57a501d96ee8bfe8763bdbe5fa89d21332880873dc459cf184f3ffc3a9edf6b2b8b46933ae45d1e07b32b649c8d5ba15cfadf374bf2814 -EBUILD tqdm-4.40.0.ebuild 1350 BLAKE2B 27dc08ff9bdfdb52222d625e442202eed0f2673a3e4c7e2640f6ab113fb5da118616bb08b69f5050eca5c17dcd6bfd1389c4dd17b7c8b20fd137e69c22b6e5c4 SHA512 b81e0ea43e76d9d3ae9440328d69c6998a3f76f788ac68be9d4ca81051ae9b15d0ba6b3cd4af4c02144ed781e52cb28de009bf03445f6a9810039380c480dc1b -EBUILD tqdm-4.45.0.ebuild 1355 BLAKE2B 309811522c518dc0a6cbcd598409bd0c3d69efc9f8ed6a47ade2a9ddc6df4a99b116dd5c02de0b8a1609f07b605ac8180d34ad81fa9156a998c12864ad03c5f0 SHA512 63e1762eb5508d99acab3d6ea25a45b5f9fba1d8b04d8aa9f0e16af7a2deafeca3db3fc8dadc527466a34ced5900b931a1360dd428c19e1fd9c594ff12fe1ec4 -EBUILD tqdm-4.46.0.ebuild 1382 BLAKE2B 4c22605d67ffa9f686148c836e55d696adf92a9c8ef16e5c6aeee371b5f232996673a33f179638b429e1ebb2d6870cdc6b4332ac5ae2eb4e3b5b522c062d9d7c SHA512 312a694be69f171f8b07be4c718bdd1955c95366b3adbdc16de2694353b1d2e92b68e948add38bba57092a8bada6d25bebb90b7ad289974d86278da1d727fba0 -EBUILD tqdm-4.46.1.ebuild 1338 BLAKE2B 0cd1d07f26f209430d54ca22e7f46f7184ee2acaddea6ad537076e5254c245a36bb3463b19d2d0d8bae75b1cad9fa5e7038cf4d1059b58ad57500f61fc1c48fa SHA512 c60c54ab192bcf45d49e561c01885591432ed6d385e8ae3092039102b6771bff1a86169953a38db5cb25c1d640df51d4871de8429fdafc56c10e2ec3c17f4bed -EBUILD tqdm-4.47.0.ebuild 1338 BLAKE2B 0cd1d07f26f209430d54ca22e7f46f7184ee2acaddea6ad537076e5254c245a36bb3463b19d2d0d8bae75b1cad9fa5e7038cf4d1059b58ad57500f61fc1c48fa SHA512 c60c54ab192bcf45d49e561c01885591432ed6d385e8ae3092039102b6771bff1a86169953a38db5cb25c1d640df51d4871de8429fdafc56c10e2ec3c17f4bed -EBUILD tqdm-9999.ebuild 1332 BLAKE2B c372057e509aec0113bf1fb8c8fefc3280f569e543c4f4d524bfdd1d6e52e78d5127edd3ba41d4e773e864f81da752d36d231a9ba909581c8f03f49128d882ec SHA512 560ccebe59bc49c9fcc04d9982e245a70d8d90cd3a571201f9a91c2a3fc91e2a096aaa55947646fc62e0fd2796df187de58647a39d0a9baa780a41fb69860836 -MISC metadata.xml 803 BLAKE2B 459df7dc960e21c114e5e688d60ade18cf4e2280fe7a55794d7097e8371c6daf3cc0bfad74ddf418684e2941ca97bdfde695e1398fddedbea10c65d962a1fec2 SHA512 673f0bc8c48f3d0c24d79304e6ac32e8da06d3004fdb7bb57f0b2db93ec555f9237812a894290b0999152e7fd5e1baadb43f45e0835bb6da7b2ca98f2e3aa85e +DIST tqdm-4.48.2.tar.gz 148978 BLAKE2B 2423a3d23b86ec6b535a2157d0fbaea6921f95873fb2507a08ff57de0fdcf8fcbfb030210393f5410437ee9977da3ad2011f07a866b3f91a057e338082325976 SHA512 849e4dad4bd0819b328e906af8a8f7acf2ebfd559c9ae3ebf822bc64c1b1a5c96e44b9b69d3dedf6387c44cf9eed559f1377ea29f71fadfc8f056c52685425e9 +EBUILD tqdm-4.47.0.ebuild 1324 BLAKE2B 2b8486f5732dab05928a461aae1d86f1ba63eab9cb9546b39243a7de9db6a4ad5bcadbac19cdb2614329848816cdb47f1dd25d6bc2ac870c8dbc68cac406ae43 SHA512 5a8e146ac5df40e3289afbb8af6dfa3501951278dd470a2cccdfaee4bd683445296f0c1311aafa4dc316e45af15529fdc922875fa0c4b29a1bd0ae4692c6cb30 +EBUILD tqdm-4.48.2.ebuild 1332 BLAKE2B dee2de91c08d69b94b0918389669970cde86b12f61c54a4bdd5260960e6d24047d2dd355d8937ea0c53cababb85a983288a6b576cf143108f5a437f4c18a9716 SHA512 5ea2d7ef53c758a13d19f815455fc04041695d62aa75c7446591c5974a7636b0a73dc413547f2f665365bc58f0122f4cea0b1f14c5694d583ff0667160383b92 +EBUILD tqdm-9999.ebuild 1326 BLAKE2B 984897423b7a16d82725c544ff1efa1984545d9438ce8e857eb9f0170cbbc18337c18d7d4af30dbe9a462948bef89c6bea81c74ee2590e4f3955d308649f5086 SHA512 a16afed262e1155ad2eff7ea87b4974d4632bb62ec42761902f9648509093857fd28e7878816f9f8bef2245643453feacc0a0d50454baaf5ea8e7e42538928ef +MISC metadata.xml 827 BLAKE2B 58d9989c380867ec71e25ccd9bb5818de73112978d422a30bae0230ae1b87af04e3e999d6dc5480303b0caea284ec1387497371d5698e63c65bd07b5ecd8c07e SHA512 a1a68e4bad52c71f46664563338b2ea5273d603a914bee55ce427f23ac6bd29a452a0a6dc8375ce9f4bd77f2b9386972cfb6719aced4964d9b9793cd0aa2e270 diff --git a/dev-python/tqdm/files/tqdm-4.46.0-py39.patch b/dev-python/tqdm/files/tqdm-4.46.0-py39.patch deleted file mode 100644 index 0734aa83b96f..000000000000 --- a/dev-python/tqdm/files/tqdm-4.46.0-py39.patch +++ /dev/null @@ -1,42 +0,0 @@ -From aeb52044ca29f37f1f98ee5a4f9ad774d557771e Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= -Date: Tue, 26 May 2020 21:43:05 +0200 -Subject: [PATCH] Fix error due to missing sys.setcheckinterval in py3.9 - -Python 3.9 finally removed sys.setcheckinterval(). While the package -apparently tried to account for that, the logic is flawed and the second -getattr() raises an AttributeError even if its result is never used. -This caused tests to fail: - - File "/tmp/tqdm/tqdm/tests/tests_tqdm.py", line 126, in pretest - getattr(sys, 'setswitchinterval', getattr(sys, 'setcheckinterval'))(100) - AttributeError: module 'sys' has no attribute 'setcheckinterval' - -Refactor the code into a try/except construct that does not execute -the setcheckinterval() branch unless setswitchinterval() is actually -missing. While at it, scale the arguments a bit -- the current version -used either 100 instructions or 100 seconds that were rather of very -different magnitudes. ---- - tqdm/tests/tests_tqdm.py | 5 ++++- - 1 file changed, 4 insertions(+), 1 deletion(-) - -diff --git a/tqdm/tests/tests_tqdm.py b/tqdm/tests/tests_tqdm.py -index a2dac52..5f322e6 100644 ---- a/tqdm/tests/tests_tqdm.py -+++ b/tqdm/tests/tests_tqdm.py -@@ -123,7 +123,10 @@ def cpu_timify(t, timer=None): - - def pretest(): - # setcheckinterval is deprecated -- getattr(sys, 'setswitchinterval', getattr(sys, 'setcheckinterval'))(100) -+ try: -+ sys.setswitchinterval(1) -+ except AttributeError: -+ sys.setcheckinterval(100) - - if getattr(tqdm, "_instances", False): - n = len(tqdm._instances) --- -2.26.2 - diff --git a/dev-python/tqdm/metadata.xml b/dev-python/tqdm/metadata.xml index d109a0ebe957..62d174ed4d27 100644 --- a/dev-python/tqdm/metadata.xml +++ b/dev-python/tqdm/metadata.xml @@ -17,6 +17,7 @@ Instantly make your loops show a progress meter - just wrap any iterator with "tqdm(iterator)", and you're done! + tqdm tqdm/tqdm diff --git a/dev-python/tqdm/tqdm-4.23.3.ebuild b/dev-python/tqdm/tqdm-4.23.3.ebuild deleted file mode 100644 index 292ecf6c3149..000000000000 --- a/dev-python/tqdm/tqdm-4.23.3.ebuild +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python{2_7,3_6} ) - -inherit distutils-r1 - -DESCRIPTION="Add a progress meter to your loops in a second" -HOMEPAGE="https://github.com/tqdm/tqdm" -SRC_URI="https://github.com/tqdm/tqdm/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="examples" - -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" -RDEPEND="${DEPEND}" - -src_prepare() { - sed -i -e "s#man/man1#share/man/man1#" setup.py || die - distutils-r1_src_prepare -} - -python_install_all() { - use examples && dodoc -r examples - distutils-r1_python_install_all -} diff --git a/dev-python/tqdm/tqdm-4.33.0.ebuild b/dev-python/tqdm/tqdm-4.33.0.ebuild deleted file mode 100644 index 92d9aba08cee..000000000000 --- a/dev-python/tqdm/tqdm-4.33.0.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( pypy3 python{2_7,3_{6,7}} ) - -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 ~hppa ~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 test" -RESTRICT="!test? ( test )" - -# Uses pkg_resources -RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" -BDEPEND=" - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( dev-python/nose[${PYTHON_USEDEP}] ) -" - -python_test() { - # tests_main.py requires the package to be installed - distutils_install_for_testing - # Skip unpredictable performance tests - nosetests tqdm -v -I '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 -} diff --git a/dev-python/tqdm/tqdm-4.40.0.ebuild b/dev-python/tqdm/tqdm-4.40.0.ebuild deleted file mode 100644 index f3355f39eb43..000000000000 --- a/dev-python/tqdm/tqdm-4.40.0.ebuild +++ /dev/null @@ -1,60 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( pypy3 python{2_7,3_{6,7,8}} ) - -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 ~arm64 ~hppa ~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" - -RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" -BDEPEND="${RDEPEND}" - -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 -} diff --git a/dev-python/tqdm/tqdm-4.45.0.ebuild b/dev-python/tqdm/tqdm-4.45.0.ebuild deleted file mode 100644 index 2c4a44d12e74..000000000000 --- a/dev-python/tqdm/tqdm-4.45.0.ebuild +++ /dev/null @@ -1,60 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( pypy3 python{2_7,3_{6,7,8}} ) - -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 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" - -RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" -BDEPEND="${RDEPEND}" - -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 -} diff --git a/dev-python/tqdm/tqdm-4.46.0.ebuild b/dev-python/tqdm/tqdm-4.46.0.ebuild deleted file mode 100644 index 0c1a502ea5fe..000000000000 --- a/dev-python/tqdm/tqdm-4.46.0.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# 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 python{2_7,3_{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 - -PATCHES=( - "${FILESDIR}"/${P}-py39.patch -) - -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 -} diff --git a/dev-python/tqdm/tqdm-4.46.1.ebuild b/dev-python/tqdm/tqdm-4.46.1.ebuild deleted file mode 100644 index 563276f5d141..000000000000 --- a/dev-python/tqdm/tqdm-4.46.1.ebuild +++ /dev/null @@ -1,58 +0,0 @@ -# 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 python{2_7,3_{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 -} diff --git a/dev-python/tqdm/tqdm-4.47.0.ebuild b/dev-python/tqdm/tqdm-4.47.0.ebuild index 563276f5d141..a51d15b84f05 100644 --- a/dev-python/tqdm/tqdm-4.47.0.ebuild +++ b/dev-python/tqdm/tqdm-4.47.0.ebuild @@ -4,7 +4,7 @@ EAPI=7 DISTUTILS_USE_SETUPTOOLS=rdepend -PYTHON_COMPAT=( pypy3 python{2_7,3_{6,7,8,9}} ) +PYTHON_COMPAT=( pypy3 python3_{6,7,8,9} ) inherit distutils-r1 @@ -13,7 +13,7 @@ if [[ ${PV} == 9999 ]]; then 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" + KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 sparc x86" fi DESCRIPTION="Add a progress meter to your loops in a second" diff --git a/dev-python/tqdm/tqdm-4.48.2.ebuild b/dev-python/tqdm/tqdm-4.48.2.ebuild new file mode 100644 index 000000000000..27373f57ea4f --- /dev/null +++ b/dev-python/tqdm/tqdm-4.48.2.ebuild @@ -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 +} diff --git a/dev-python/tqdm/tqdm-9999.ebuild b/dev-python/tqdm/tqdm-9999.ebuild index c55f5112880f..f8988f331138 100644 --- a/dev-python/tqdm/tqdm-9999.ebuild +++ b/dev-python/tqdm/tqdm-9999.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( pypy3 python{2_7,3_{6,7,8}} ) +PYTHON_COMPAT=( pypy3 python3_{6,7,8} ) inherit distutils-r1 -- cgit v1.2.3