From fc637fb28da700da71ec2064d65ca5a7a31b9c6c Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 18 Aug 2019 18:16:17 +0100 Subject: gentoo resync : 18.08.2019 --- dev-python/tqdm/Manifest | 6 +++-- dev-python/tqdm/metadata.xml | 2 ++ dev-python/tqdm/tqdm-4.33.0.ebuild | 52 ++++++++++++++++++++++++++++++++++++++ dev-python/tqdm/tqdm-9999.ebuild | 51 +++++++++++++++++++++++++++++-------- 4 files changed, 99 insertions(+), 12 deletions(-) create mode 100644 dev-python/tqdm/tqdm-4.33.0.ebuild (limited to 'dev-python/tqdm') diff --git a/dev-python/tqdm/Manifest b/dev-python/tqdm/Manifest index c29f065b1cb4..bfd33eede150 100644 --- a/dev-python/tqdm/Manifest +++ b/dev-python/tqdm/Manifest @@ -1,4 +1,6 @@ DIST tqdm-4.23.3.tar.gz 75941 BLAKE2B 9e5810765e8f7ea4f54b0f93f453d278d5ad4b1710f1476a6f00ff2e513789585e97dcd5a8331fe69d3593b18affd50bf9bf51cbaed29ecd68d4efad9318aa31 SHA512 40c853b7cf7611ba2ef7652417c0d42ea4392f5ea9cbe319dbb9e3dd063594e5c637fb5d13f77935fb9a034d395b28fa9480fec1c6cca1852644add4ac18cce8 +DIST tqdm-4.33.0.tar.gz 121571 BLAKE2B f4ee73cfa710462e148f6034ac69144d845d216bd97e16a78bc1f1ed5d658b6cd695d07aa1ea6ec93e2e747ab8fc52263a580c01516d1f111dcb5766b019925d SHA512 de86a2dc2c5f887b9671ee01e7c05820375b0ef83dec92f17da4d944dd02cbf96a133fd9d349ba5f9c75af70e7b87110a9a7ad3293c7eb81e49ed6ea288ba73c EBUILD tqdm-4.23.3.ebuild 677 BLAKE2B f3f71e02105b6d4c0a6b83721f50f2b70db1a582531bdbbb7785a1187da9692ce089f96d81d71fa909a8b8f16bd939882660583343f9ae613327c223cd48a293 SHA512 c4cdd7e8b753bbf59782fc7a13f626207253d5a486eb22b91a32c9c6a19d4bdb516461d0d8c11b8b35753b1989bacb71372633c7af4cc0d81565ad4b18aadeaa -EBUILD tqdm-9999.ebuild 444 BLAKE2B 6c576084bce3b189d33a46a1df66bcce98f1046bc0807891edb53ad5abc200b4ea921975c3f7fc53633413ceb0872699054e8dcca02423dd20c7a74ad61b5f2a SHA512 7e56301c0cca9ef88f87d0d39b673d25676e99bc225b5d183ec8eb7b68f2b46121b33ce412fcb0a766b12b5d3dc08d16accfa03945f57d372d27407537a265ef -MISC metadata.xml 611 BLAKE2B 508436ed86075ea93acdfda799c34f6b05b38ed48c77e5673cbb11d1b424be1a0b98be584ecdf4544848ffd0061dcab39d24bb67d2d0ef631d295d8f91d02cd5 SHA512 62ef0673bcb397648689769eac6e735f5de8a3df69d41e63a04b2e9b79cef3fea64c2183ab9bc83827dd7d1e1f982b0decb17ebaee96bbf4928bd9a545fac29c +EBUILD tqdm-4.33.0.ebuild 1198 BLAKE2B b924fc5cd5da4cf969f7b677fc983d0bf478324cb519ba7a820c7b94381910fb7d2c3718803f218020ff4357833e3edb8f8b573dabe74d8eea99bc9c3da910d4 SHA512 5e793e6a8c1a348aeb6628dde2990f533dce500e45020e51beb7a3b49e8762e1421d35356a5700022741c5b355c4ae6fa7a99a2ab6c38514565e68f1a25d9af9 +EBUILD tqdm-9999.ebuild 1198 BLAKE2B b924fc5cd5da4cf969f7b677fc983d0bf478324cb519ba7a820c7b94381910fb7d2c3718803f218020ff4357833e3edb8f8b573dabe74d8eea99bc9c3da910d4 SHA512 5e793e6a8c1a348aeb6628dde2990f533dce500e45020e51beb7a3b49e8762e1421d35356a5700022741c5b355c4ae6fa7a99a2ab6c38514565e68f1a25d9af9 +MISC metadata.xml 710 BLAKE2B 9495d9ce29f39e1594574e1ec2986becc8601f2ef1a30b9b13019d5711d0b75e84285e7cc04e2a47b96deee20b6bce8b15cb562e47edfaa77216afbac248e493 SHA512 bd4dd0763d6c332200c07e4c43830839e99b84ed7d2cebf4a2315a2a152ea7a0b2944a2976e8cd6a29d54adc185161380d13e26cfa689ab2bd48ef2f90395c7a diff --git a/dev-python/tqdm/metadata.xml b/dev-python/tqdm/metadata.xml index 39c0d0d24421..2f3b93b1ba5d 100644 --- a/dev-python/tqdm/metadata.xml +++ b/dev-python/tqdm/metadata.xml @@ -14,6 +14,8 @@ any iterator with "tqdm(iterator)", and you're done! + tqdm tqdm/tqdm + https://github.com/tqdm/tqdm/issues diff --git a/dev-python/tqdm/tqdm-4.33.0.ebuild b/dev-python/tqdm/tqdm-4.33.0.ebuild new file mode 100644 index 000000000000..9a0b9b8ea059 --- /dev/null +++ b/dev-python/tqdm/tqdm-4.33.0.ebuild @@ -0,0 +1,52 @@ +# 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}} ) + +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 ~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" + +# 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-9999.ebuild b/dev-python/tqdm/tqdm-9999.ebuild index 8e669e8670df..9a0b9b8ea059 100644 --- a/dev-python/tqdm/tqdm-9999.ebuild +++ b/dev-python/tqdm/tqdm-9999.ebuild @@ -1,21 +1,52 @@ # Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 -PYTHON_COMPAT=( python{2_7,3_5,3_6} ) +PYTHON_COMPAT=( pypy{,3} python{2_7,3_{5,6,7}} ) -inherit distutils-r1 git-r3 +inherit distutils-r1 -DESCRIPTION="Add a progress meter to your loops in a second." +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 ~x86" +fi + +DESCRIPTION="Add a progress meter to your loops in a second" HOMEPAGE="https://github.com/tqdm/tqdm" -SRC_URI="" -EGIT_REPO_URI="https://github.com/tqdm/tqdm" LICENSE="MIT" SLOT="0" -KEYWORDS="" -IUSE="" +IUSE="examples 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 +} -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" -RDEPEND="" +python_install_all() { + if use examples; then + dodoc -r examples + docompress -x /usr/share/doc/${PF}/examples + fi + distutils-r1_python_install_all +} -- cgit v1.2.3