summaryrefslogtreecommitdiff
path: root/dev-python/tqdm
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-12-15 18:09:03 +0000
committerV3n3RiX <venerix@redcorelinux.org>2019-12-15 18:09:03 +0000
commit7bc9c63c9da678a7e6fceb095d56c634afd22c56 (patch)
tree4a67d50a439e9af63947e5f8b6ba3719af98b6c9 /dev-python/tqdm
parentb284a3168fa91a038925d2ecf5e4791011ea5e7d (diff)
gentoo resync : 15.12.2019
Diffstat (limited to 'dev-python/tqdm')
-rw-r--r--dev-python/tqdm/Manifest6
-rw-r--r--dev-python/tqdm/tqdm-4.33.0.ebuild3
-rw-r--r--dev-python/tqdm/tqdm-4.40.0.ebuild60
-rw-r--r--dev-python/tqdm/tqdm-9999.ebuild26
4 files changed, 83 insertions, 12 deletions
diff --git a/dev-python/tqdm/Manifest b/dev-python/tqdm/Manifest
index bfd33eede150..add5550a2a6b 100644
--- a/dev-python/tqdm/Manifest
+++ b/dev-python/tqdm/Manifest
@@ -1,6 +1,8 @@
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
EBUILD tqdm-4.23.3.ebuild 677 BLAKE2B f3f71e02105b6d4c0a6b83721f50f2b70db1a582531bdbbb7785a1187da9692ce089f96d81d71fa909a8b8f16bd939882660583343f9ae613327c223cd48a293 SHA512 c4cdd7e8b753bbf59782fc7a13f626207253d5a486eb22b91a32c9c6a19d4bdb516461d0d8c11b8b35753b1989bacb71372633c7af4cc0d81565ad4b18aadeaa
-EBUILD tqdm-4.33.0.ebuild 1198 BLAKE2B b924fc5cd5da4cf969f7b677fc983d0bf478324cb519ba7a820c7b94381910fb7d2c3718803f218020ff4357833e3edb8f8b573dabe74d8eea99bc9c3da910d4 SHA512 5e793e6a8c1a348aeb6628dde2990f533dce500e45020e51beb7a3b49e8762e1421d35356a5700022741c5b355c4ae6fa7a99a2ab6c38514565e68f1a25d9af9
-EBUILD tqdm-9999.ebuild 1198 BLAKE2B b924fc5cd5da4cf969f7b677fc983d0bf478324cb519ba7a820c7b94381910fb7d2c3718803f218020ff4357833e3edb8f8b573dabe74d8eea99bc9c3da910d4 SHA512 5e793e6a8c1a348aeb6628dde2990f533dce500e45020e51beb7a3b49e8762e1421d35356a5700022741c5b355c4ae6fa7a99a2ab6c38514565e68f1a25d9af9
+EBUILD tqdm-4.33.0.ebuild 1238 BLAKE2B fa7e498184f860bbd5d9e705292bdc1879860834c0514ed9bf630dfc72938e00ffdb3317caec36b50fd6ab6b7e97585ae33ecf48686e6bee44a8721bbf450cfa SHA512 555652476ef689ba78116b220e737d3b484b12da2bb89b13619a71ef79bb55a77466da7d75aa624f250e3aff47afc765eef71750441af97fdce789cfb3ae6a68
+EBUILD tqdm-4.40.0.ebuild 1337 BLAKE2B 80c41e2eecee4920f62f58ab0f44dbd5d886323720865cdb5121b71e7c1bd2dfd8f350b9466c5fcfc9fc383cdbc8a918217084d74119f6b47f880af7217abfb4 SHA512 9b991085ada05e7d50b1c4331b7c4ad0dc05dd8cc5dcac14e6c6649e9d7136576ced16b1b763b225b69340e9c77f16bd2679dedfb6c6a85bebca963b34661607
+EBUILD tqdm-9999.ebuild 1337 BLAKE2B 80c41e2eecee4920f62f58ab0f44dbd5d886323720865cdb5121b71e7c1bd2dfd8f350b9466c5fcfc9fc383cdbc8a918217084d74119f6b47f880af7217abfb4 SHA512 9b991085ada05e7d50b1c4331b7c4ad0dc05dd8cc5dcac14e6c6649e9d7136576ced16b1b763b225b69340e9c77f16bd2679dedfb6c6a85bebca963b34661607
MISC metadata.xml 710 BLAKE2B 9495d9ce29f39e1594574e1ec2986becc8601f2ef1a30b9b13019d5711d0b75e84285e7cc04e2a47b96deee20b6bce8b15cb562e47edfaa77216afbac248e493 SHA512 bd4dd0763d6c332200c07e4c43830839e99b84ed7d2cebf4a2315a2a152ea7a0b2944a2976e8cd6a29d54adc185161380d13e26cfa689ab2bd48ef2f90395c7a
diff --git a/dev-python/tqdm/tqdm-4.33.0.ebuild b/dev-python/tqdm/tqdm-4.33.0.ebuild
index 9a0b9b8ea059..832cf02c5bbe 100644
--- a/dev-python/tqdm/tqdm-4.33.0.ebuild
+++ b/dev-python/tqdm/tqdm-4.33.0.ebuild
@@ -12,7 +12,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 ~x86"
+ KEYWORDS="~amd64 ~hppa ~sparc ~x86"
fi
DESCRIPTION="Add a progress meter to your loops in a second"
@@ -21,6 +21,7 @@ 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}]"
diff --git a/dev-python/tqdm/tqdm-4.40.0.ebuild b/dev-python/tqdm/tqdm-4.40.0.ebuild
new file mode 100644
index 000000000000..78874a4508fc
--- /dev/null
+++ b/dev-python/tqdm/tqdm-4.40.0.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( pypy{,3} python{2_7,3_{5,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="~amd64 ~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-9999.ebuild b/dev-python/tqdm/tqdm-9999.ebuild
index 9a0b9b8ea059..78874a4508fc 100644
--- a/dev-python/tqdm/tqdm-9999.ebuild
+++ b/dev-python/tqdm/tqdm-9999.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-PYTHON_COMPAT=( pypy{,3} python{2_7,3_{5,6,7}} )
+PYTHON_COMPAT=( pypy{,3} python{2_7,3_{5,6,7,8}} )
inherit distutils-r1
@@ -12,7 +12,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 ~x86"
+ KEYWORDS="~amd64 ~sparc ~x86"
fi
DESCRIPTION="Add a progress meter to your loops in a second"
@@ -20,20 +20,28 @@ HOMEPAGE="https://github.com/tqdm/tqdm"
LICENSE="MIT"
SLOT="0"
-IUSE="examples test"
+IUSE="examples"
-# Uses pkg_resources
RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
-BDEPEND="
- dev-python/setuptools[${PYTHON_USEDEP}]
- test? ( dev-python/nose[${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 -I 'tests_perf.py' \
+ nosetests tqdm -v --ignore 'tests_perf.py' \
|| die "tests failed with ${EPYTHON}"
}