From: "Louis Sautier" <sbraz@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/tqdm/
Date: Tue, 13 Aug 2019 23:20:01 +0000 (UTC) [thread overview]
Message-ID: <1565738349.0ad5994c619a0d086d4b62217a4f044fdd1b3b47.sbraz@gentoo> (raw)
commit: 0ad5994c619a0d086d4b62217a4f044fdd1b3b47
Author: Louis Sautier <sbraz <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 13 23:11:21 2019 +0000
Commit: Louis Sautier <sbraz <AT> gentoo <DOT> org>
CommitDate: Tue Aug 13 23:19:09 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ad5994c
dev-python/tqdm: sync live ebuild with 4.33.0
Package-Manager: Portage-2.3.71, Repoman-2.3.16
Signed-off-by: Louis Sautier <sbraz <AT> gentoo.org>
dev-python/tqdm/tqdm-9999.ebuild | 49 ++++++++++++++++++++++++++++++++--------
1 file changed, 40 insertions(+), 9 deletions(-)
diff --git a/dev-python/tqdm/tqdm-9999.ebuild b/dev-python/tqdm/tqdm-9999.ebuild
index b269ad3ec5c..9a0b9b8ea05 100644
--- a/dev-python/tqdm/tqdm-9999.ebuild
+++ b/dev-python/tqdm/tqdm-9999.ebuild
@@ -3,19 +3,50 @@
EAPI=7
-PYTHON_COMPAT=( python{2_7,3_5,3_6,3_7} )
+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
+}
next reply other threads:[~2019-08-13 23:20 UTC|newest]
Thread overview: 159+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-13 23:20 Louis Sautier [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-02-20 17:09 [gentoo-commits] repo/gentoo:master commit in: dev-python/tqdm/ Michał Górny
2024-12-14 10:57 Michał Górny
2024-12-14 10:30 Arthur Zamarin
2024-11-25 4:02 Michał Górny
2024-11-23 8:17 Michał Górny
2024-11-23 8:15 Arthur Zamarin
2024-11-16 8:19 Michał Górny
2024-11-16 8:09 Michał Górny
2024-11-07 6:45 Michał Górny
2024-10-28 18:15 Michał Górny
2024-08-24 9:05 Arthur Zamarin
2024-08-04 2:48 Michał Górny
2024-05-17 8:14 Michał Górny
2024-05-17 8:11 Michał Górny
2024-05-03 3:42 Michał Górny
2024-03-02 9:41 Michał Górny
2024-03-02 9:39 Michał Górny
2024-02-11 3:35 Michał Górny
2023-09-11 14:17 Michał Górny
2023-09-11 12:45 Arthur Zamarin
2023-08-10 12:52 Michał Górny
2023-08-10 2:53 Michał Górny
2023-08-09 3:09 Michał Górny
2023-08-06 0:12 Benda XU
2023-06-01 14:37 Michał Górny
2023-04-05 8:17 Michał Górny
2023-04-05 7:20 Arthur Zamarin
2023-03-04 4:50 Michał Górny
2022-10-05 10:44 Michał Górny
2022-10-05 7:54 Jakov Smolić
2022-09-04 16:22 Michał Górny
2022-05-19 12:34 Michał Górny
2022-05-06 13:30 Michał Górny
2022-05-06 11:58 Arthur Zamarin
2022-04-04 7:43 Michał Górny
2022-03-31 14:08 Michał Górny
2022-03-31 14:02 Jakov Smolić
2022-03-24 10:20 Michał Górny
2022-02-28 8:28 Michał Górny
2022-02-04 12:04 Michał Górny
2021-11-19 9:07 Sam James
2021-10-24 5:13 Arthur Zamarin
2021-09-25 22:00 Michał Górny
2021-09-25 19:53 Sam James
2021-09-20 21:19 Michał Górny
2021-09-05 6:35 Michał Górny
2021-09-05 6:02 Sam James
2021-08-24 6:59 Michał Górny
2021-08-07 14:43 Sam James
2021-07-28 23:38 Marek Szuba
2021-07-07 6:33 Michał Górny
2021-07-03 6:21 Michał Górny
2021-07-03 1:28 Sam James
2021-06-12 21:02 Michał Górny
2021-05-25 5:13 Michał Górny
2021-05-06 11:03 Michał Górny
2021-05-06 9:57 Sam James
2021-04-06 7:22 Michał Górny
2021-04-05 18:00 Michał Górny
2021-03-30 11:10 Michał Górny
2021-03-30 9:27 Sam James
2021-03-25 19:09 Michał Górny
2021-03-25 14:23 Sam James
2021-03-14 22:39 Michał Górny
2021-03-14 22:33 Sam James
2021-03-05 21:06 Michał Górny
2021-02-25 20:00 Michał Górny
2021-02-22 11:36 David Seifert
2021-02-19 9:04 Michał Górny
2021-02-19 3:57 Sam James
2021-02-19 3:33 Sam James
2021-02-18 9:18 Michał Górny
2021-02-10 22:50 Michał Górny
2021-02-09 18:48 Michał Górny
2021-01-25 20:43 Michał Górny
2021-01-25 14:29 Michał Górny
2021-01-25 14:06 Sam James
2021-01-11 9:21 Michał Górny
2021-01-10 9:38 Michał Górny
2021-01-02 16:55 Michał Górny
2021-01-02 16:55 Michał Górny
2020-12-31 8:50 Michał Górny
2020-12-31 1:17 Sam James
2020-12-25 18:49 Michał Górny
2020-12-21 20:38 Michał Górny
2020-12-21 20:35 Sam James
2020-12-05 9:24 Michał Górny
2020-11-28 14:21 Sam James
2020-11-28 8:43 Michał Górny
2020-11-26 8:26 Michał Górny
2020-11-26 5:56 Sam James
2020-11-22 11:51 Michał Górny
2020-11-21 20:54 Michał Górny
2020-11-16 16:36 Michał Górny
2020-11-02 10:34 Michał Górny
2020-10-25 20:40 Michał Górny
2020-10-21 22:51 Michał Górny
2020-10-18 19:19 Sam James
2020-10-18 19:10 Thomas Deutschmann
2020-10-08 21:30 Michał Górny
2020-10-07 18:37 Michał Górny
2020-09-18 15:53 Michał Górny
2020-09-13 7:13 Michał Górny
2020-09-09 0:11 Sam James
2020-08-22 7:13 Michał Górny
2020-08-04 13:48 Michał Górny
2020-08-03 7:48 Michał Górny
2020-07-30 20:41 Michał Górny
2020-07-30 1:08 Sam James
2020-07-30 0:20 Sam James
2020-07-29 10:20 Michał Górny
2020-07-25 8:31 Michał Górny
2020-07-19 15:18 Sam James
2020-07-17 5:56 Michał Górny
2020-07-14 14:23 Sam James
2020-07-14 11:24 Sam James
2020-07-06 19:01 Michał Górny
2020-07-05 8:36 Sergei Trofimovich
2020-07-02 6:34 Agostino Sarubbo
2020-07-01 12:21 Michał Górny
2020-06-29 6:53 Michał Górny
2020-06-29 6:33 Michał Górny
2020-06-10 8:11 Michał Górny
2020-06-03 13:45 Michał Górny
2020-06-01 20:30 Michał Górny
2020-05-31 10:04 Sergei Trofimovich
2020-05-30 14:37 Michał Górny
2020-05-30 11:51 Michał Górny
2020-05-26 20:03 Michał Górny
2020-04-05 13:36 Sebastian Pipping
2020-03-17 2:09 Matt Turner
2020-03-04 5:01 Michał Górny
2020-02-11 19:50 Agostino Sarubbo
2020-02-11 19:43 Agostino Sarubbo
2020-02-06 21:11 Sergei Trofimovich
2019-12-09 20:06 Sergei Trofimovich
2019-12-04 22:28 Patrick McLean
2019-12-04 19:44 Sergei Trofimovich
2019-08-13 23:20 Louis Sautier
2019-08-13 23:20 Louis Sautier
2019-08-13 23:20 Louis Sautier
2019-08-13 4:29 Joonas Niilola
2018-07-11 13:17 Mikle Kolyada
2018-07-02 0:49 Thomas Deutschmann
2018-06-28 8:15 Agostino Sarubbo
2018-06-26 18:16 Pacho Ramos
2018-06-26 18:16 Pacho Ramos
2018-05-17 22:02 Patrice Clement
2018-03-24 7:58 Tim Harder
2018-03-24 7:58 Tim Harder
2017-12-07 18:19 Manuel Rüger
2017-06-28 4:02 Sebastien Fabbro
2017-03-02 10:47 Agostino Sarubbo
2017-02-27 8:24 Agostino Sarubbo
2016-12-02 21:54 Patrice Clement
2016-09-04 18:06 Manuel Rüger
2016-09-04 14:02 David Seifert
2016-09-01 21:29 David Seifert
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1565738349.0ad5994c619a0d086d4b62217a4f044fdd1b3b47.sbraz@gentoo \
--to=sbraz@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox