summaryrefslogtreecommitdiff
path: root/dev-python/tqdm
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-01-08 11:28:34 +0000
committerV3n3RiX <venerix@redcorelinux.org>2021-01-08 11:28:34 +0000
commit24fd814c326e282c4321965c31f341dad77e270d (patch)
tree033d63b33c21a3209964ab56005bb9bdd523630d /dev-python/tqdm
parent129160ec854dca4c3fedb5bcfbcb56930371da0f (diff)
gentoo resync : 08.01.2021
Diffstat (limited to 'dev-python/tqdm')
-rw-r--r--dev-python/tqdm/Manifest5
-rw-r--r--dev-python/tqdm/metadata.xml2
-rw-r--r--dev-python/tqdm/tqdm-4.55.1.ebuild (renamed from dev-python/tqdm/tqdm-9999.ebuild)35
3 files changed, 18 insertions, 24 deletions
diff --git a/dev-python/tqdm/Manifest b/dev-python/tqdm/Manifest
index 530c88ef808f..9c43e8c5a147 100644
--- a/dev-python/tqdm/Manifest
+++ b/dev-python/tqdm/Manifest
@@ -1,6 +1,7 @@
DIST tqdm-4.54.0.tar.gz 178664 BLAKE2B 68d0f054b2c95079e13ad9df3e9467f48925311151e5eed94795d3fab232301da99c2704daafd80f748037a467d25416913f0921d6b7c44d725c5ed6861fe347 SHA512 dbb2a61df848ebd84ab805134b7e7297e1cf7626abaa830a08159ce7b1852eba40a6a7f2cc7c8445294a184bbfbd69bf08430371f3e2d71f6a622a271ba49e95
DIST tqdm-4.55.0.tar.gz 161594 BLAKE2B 890bbb47db356678be2c3edd893d70b085f5bc8fefbf87f12ba8c69fe14ac523a1eed6e335fb84f2ff43b2b0fea901411f8a72b24212cb2ad5ef4955ec8f2df5 SHA512 84062f7d2a109e4067e0868990b6e53578c7c2ec2b81a0cbdc980c91d2d82a8bda37e0c9688777fcf14cc80b7ddf7b28b7a5acfe37608e37903fe45908103913
+DIST tqdm-4.55.1.tar.gz 161638 BLAKE2B 0149269f1ea854589647deb4ddd7415748924942ecc03d5fd6231470e5df959c1b8034d4d8416d83aa0a43ad1fafed15789f7ebaac12e5d525a7fe0bee88752a SHA512 82a6d3d8e10d4c46e40e03e557febe9f7cac3cc01c01c9e29b20cf8f2adcc7370829fe5d4497ff0edb506bf38b9ec14de86377d1bbd9b8b9e57687d951ae683f
EBUILD tqdm-4.54.0.ebuild 1130 BLAKE2B be03c0c9e9bed758d0a04fb4d2cdad760ead9dfe3ff94d3508582dd70fbe3fdb26a2bfc2dc0528f47289a4757544ccfdc4d65f3c9d5c86cb830d3b5dd3e56238 SHA512 4b93d83f7c5f9f32d563ba4e578aab6ab30b80404a2f093cbdb418ffd65ccc2660d5fff0311c441c5a948debb230c0a35e3e791ee392bd542b39cbb0ad4f6738
EBUILD tqdm-4.55.0.ebuild 1138 BLAKE2B f7ac9812c91b2490729892e257dfbc0a573b0915486cadaa1e0fb28b924797c91ad69c3741ff342be24a5f1ce903c54b16fe5cb6a206520bfd3ffa4574d4ca80 SHA512 6015b3906b0a3a300b3dda84d09221309b2e931d9afbc4dc28334117ca2e0e0b4d2d9aaea639d480c39c00fb7627e12bde919399a89282ac5d092ecdcbf7de98
-EBUILD tqdm-9999.ebuild 1326 BLAKE2B 984897423b7a16d82725c544ff1efa1984545d9438ce8e857eb9f0170cbbc18337c18d7d4af30dbe9a462948bef89c6bea81c74ee2590e4f3955d308649f5086 SHA512 a16afed262e1155ad2eff7ea87b4974d4632bb62ec42761902f9648509093857fd28e7878816f9f8bef2245643453feacc0a0d50454baaf5ea8e7e42538928ef
-MISC metadata.xml 827 BLAKE2B 58d9989c380867ec71e25ccd9bb5818de73112978d422a30bae0230ae1b87af04e3e999d6dc5480303b0caea284ec1387497371d5698e63c65bd07b5ecd8c07e SHA512 a1a68e4bad52c71f46664563338b2ea5273d603a914bee55ce427f23ac6bd29a452a0a6dc8375ce9f4bd77f2b9386972cfb6719aced4964d9b9793cd0aa2e270
+EBUILD tqdm-4.55.1.ebuild 1193 BLAKE2B d0966368358544f98714e9c8d88e52f6933a4aec5eec16b0a336cdb31368b9da7ca4f79f7fa14016b3e7ba19a72074c137a2cde7b147ac2f2c08e425c2f987eb SHA512 b92db33202d0163dea498a9b760736c1b07aff12e3f9b42478919afe1fa26cc605c21a6a240c4d467cae069b5f3d624b5dd11e311faf8214bb789c69f2c7dfa8
+MISC metadata.xml 830 BLAKE2B ed76068aa9a8f70bd4bf045dab72dddba06f795a3c4ffefed09317c5e82b1b74cc322be2b8e7beaddd4a40653ae3f629d9584b56648c6c13d82f7bbcd6a20d26 SHA512 9e7f241bd25cd8e6cfa001dd6210a634b665dea8adea4c5d3d96e47cfb1d481be3393fc6a3148ae02dd5cf02c13ebcb39bf2235875f5ab662ef1bcf1cd4201ef
diff --git a/dev-python/tqdm/metadata.xml b/dev-python/tqdm/metadata.xml
index 62d174ed4d27..3625874f6b11 100644
--- a/dev-python/tqdm/metadata.xml
+++ b/dev-python/tqdm/metadata.xml
@@ -2,7 +2,7 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
- <email>chr@chymera.eu</email>
+ <email>gentoo@chymera.eu</email>
<name>Horea Christian</name>
</maintainer>
<maintainer type="project">
diff --git a/dev-python/tqdm/tqdm-9999.ebuild b/dev-python/tqdm/tqdm-4.55.1.ebuild
index f8988f331138..81b4fb498481 100644
--- a/dev-python/tqdm/tqdm-9999.ebuild
+++ b/dev-python/tqdm/tqdm-4.55.1.ebuild
@@ -1,9 +1,10 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-PYTHON_COMPAT=( pypy3 python3_{6,7,8} )
+DISTUTILS_USE_SETUPTOOLS=rdepend
+PYTHON_COMPAT=( pypy3 python3_{7..9} )
inherit distutils-r1
@@ -12,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="~amd64 ~sparc ~x86"
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x64-macos"
fi
DESCRIPTION="Add a progress meter to your loops in a second"
@@ -22,33 +23,25 @@ LICENSE="MIT"
SLOT="0"
IUSE="examples"
-RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
-BDEPEND="${RDEPEND}"
+BDEPEND="
+ dev-python/setuptools_scm[${PYTHON_USEDEP}]
+ dev-python/toml[${PYTHON_USEDEP}]
+ test? (
+ dev-python/pytest-asyncio[${PYTHON_USEDEP}]
+ )"
-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
-}
+distutils_enable_tests pytest
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}"
+ pytest -vv --ignore 'tests/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
+ distutils-r1_python_install
}
python_install_all() {