From: "Louis Sautier" <sbraz@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/jaraco-collections/
Date: Wed, 3 Jul 2019 23:36:31 +0000 (UTC) [thread overview]
Message-ID: <1562196984.d06aef13b23be539a5a459b1ac07d1ed4dcacc37.sbraz@gentoo> (raw)
commit: d06aef13b23be539a5a459b1ac07d1ed4dcacc37
Author: Louis Sautier <sbraz <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 3 22:00:57 2019 +0000
Commit: Louis Sautier <sbraz <AT> gentoo <DOT> org>
CommitDate: Wed Jul 3 23:36:24 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d06aef13
dev-python/jaraco-collections: bump to 2.0, switches to pkgutil
Remove PDEPEND on dev-python/jaraco-text and make it a normal dependency
because it no longer requires dev-python/jaraco-collections since v3.0.
Package-Manager: Portage-2.3.67, Repoman-2.3.16
Signed-off-by: Louis Sautier <sbraz <AT> gentoo.org>
dev-python/jaraco-collections/Manifest | 1 +
.../jaraco-collections-2.0.ebuild | 60 ++++++++++++++++++++++
2 files changed, 61 insertions(+)
diff --git a/dev-python/jaraco-collections/Manifest b/dev-python/jaraco-collections/Manifest
index c921c88e0bc..dbfc06ca2a2 100644
--- a/dev-python/jaraco-collections/Manifest
+++ b/dev-python/jaraco-collections/Manifest
@@ -1,2 +1,3 @@
DIST jaraco.collections-1.5.3.tar.gz 11669 BLAKE2B 2dbcac99edf28f4544e354724f8d95c0cbcdd793b33bcf892b403e72410f3b5b72b6eae62a49f0e56991cfb19b4ad5da0e95a3327f11fe5ae885e9a0029a92be SHA512 6e1fa88b468b9d971a7a302ebfdf8b9762404c2fdc1b003eee6653704b9f385f0f2e0c84ac075bdc81f8693195781cc5532c4adb31bcabd87974624a14e287ed
DIST jaraco.collections-1.6.0.tar.gz 11991 BLAKE2B 8f8b3da18641d6348a28ef3792afabd504771f31f1de17ebb621aff493cbb7357e11d49d8b3f4ab4fc7b9a662986d10a90d20734cd802c6d34be1d169390aa96 SHA512 9bd472b51668129f12fabb90b86ed929e135a17217bc850d67d945a786d1952cf1f11b0cd8f5d4ae16b3b19ac35cf87e0584df622877185362e93ba3915dbe6b
+DIST jaraco.collections-2.0.tar.gz 15102 BLAKE2B 61fa35070b2342f95b3e6e571417ab2cd62be439250d8f2077b379316488a4af62d943248bad80d0a72d9aab3010c6982fb4a51fa4ddc574ab72943e37ddeb6b SHA512 1cc3482bddf6647b7fd183f091db7fe89e9ad1ac416716a918626134835837c2ed29d533bc00052a514d64c94343a070b9b501984b3dcc5caac87066d9c335cf
diff --git a/dev-python/jaraco-collections/jaraco-collections-2.0.ebuild b/dev-python/jaraco-collections/jaraco-collections-2.0.ebuild
new file mode 100644
index 00000000000..d8aefffd077
--- /dev/null
+++ b/dev-python/jaraco-collections/jaraco-collections-2.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=( python{2_7,3_{5,6,7}} )
+
+inherit distutils-r1
+
+MY_PN="${PN/-/.}"
+DESCRIPTION="Models and classes to supplement the stdlib collections module"
+HOMEPAGE="https://github.com/jaraco/jaraco.collections"
+SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc test"
+
+RDEPEND="
+ >=dev-python/namespace-jaraco-2[${PYTHON_USEDEP}]
+ dev-python/jaraco-classes[${PYTHON_USEDEP}]
+ dev-python/jaraco-text[${PYTHON_USEDEP}]
+ >=dev-python/six-1.7.0[${PYTHON_USEDEP}]
+"
+DEPEND="
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ >=dev-python/setuptools_scm-1.15.0[${PYTHON_USEDEP}]
+ doc? (
+ >=dev-python/jaraco-packaging-3.2[${PYTHON_USEDEP}]
+ >=dev-python/rst-linker-1.9[${PYTHON_USEDEP}]
+ dev-python/sphinx[${PYTHON_USEDEP}]
+ )
+ test? (
+ ${RDEPEND}
+ >=dev-python/pytest-2.8[${PYTHON_USEDEP}]
+ )
+"
+
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+python_compile_all() {
+ if use doc; then
+ sphinx-build docs docs/_build/html || die
+ HTML_DOCS=( docs/_build/html/. )
+ fi
+}
+
+python_test() {
+ # Override pytest options to skip flake8
+ PYTHONPATH=. pytest -vv --override-ini="addopts=--doctest-modules" \
+ || die "tests failed with ${EPYTHON}"
+}
+
+# https://wiki.gentoo.org/wiki/Project:Python/Namespace_packages#File_collisions_between_pkgutil-style_packages
+python_install() {
+ rm "${BUILD_DIR}"/lib/jaraco/__init__.py || die
+ # note: eclass may default to --skip-build in the future
+ distutils-r1_python_install --skip-build
+}
next reply other threads:[~2019-07-03 23:36 UTC|newest]
Thread overview: 107+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-07-03 23:36 Louis Sautier [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-10-16 17:53 [gentoo-commits] repo/gentoo:master commit in: dev-python/jaraco-collections/ Michał Górny
2024-09-28 11:31 Michał Górny
2024-09-28 11:05 Arthur Zamarin
2024-09-19 12:38 Fabian Groffen
2024-09-16 21:10 Eli Schwartz
2024-08-26 4:23 Michał Górny
2024-07-11 20:55 James Le Cuirot
2024-06-29 15:54 Andreas K. Hüttel
2024-05-11 17:02 Michał Górny
2024-04-27 11:01 Michał Górny
2024-04-27 11:00 Michał Górny
2024-04-13 5:35 Arthur Zamarin
2024-04-07 6:09 Arthur Zamarin
2024-04-06 10:07 Arthur Zamarin
2024-03-21 17:00 Arthur Zamarin
2023-12-30 14:40 Michał Górny
2023-12-30 14:25 Arthur Zamarin
2023-12-10 6:45 Michał Górny
2023-07-05 8:14 Michał Górny
2023-07-05 8:01 Arthur Zamarin
2023-06-26 4:51 Michał Górny
2023-06-02 8:28 Michał Górny
2023-05-27 9:44 Arthur Zamarin
2023-04-28 15:41 Michał Górny
2023-04-28 14:38 Arthur Zamarin
2023-04-07 4:19 Michał Górny
2023-03-29 6:03 Michał Górny
2023-03-29 6:03 Michał Górny
2023-03-23 16:36 Michał Górny
2023-03-21 16:45 Michał Górny
2023-02-12 19:05 Michał Górny
2023-02-07 9:26 Michał Górny
2023-01-03 2:53 WANG Xuerui
2022-12-25 17:33 Michał Górny
2022-11-25 13:58 Michał Górny
2022-11-25 13:52 Arthur Zamarin
2022-11-18 15:14 Arthur Zamarin
2022-11-07 5:54 Michał Górny
2022-10-30 6:39 Michał Górny
2022-10-23 18:37 Arthur Zamarin
2022-10-22 14:54 Michał Górny
2022-09-10 18:28 Arthur Zamarin
2022-09-08 5:19 Sam James
2022-08-29 10:37 Michał Górny
2022-08-17 19:40 Arthur Zamarin
2022-08-17 18:45 Sam James
2022-07-14 18:34 Arthur Zamarin
2022-06-16 9:23 Michał Górny
2022-06-16 9:10 Jakov Smolić
2022-05-13 16:31 Arthur Zamarin
2022-05-13 16:31 Arthur Zamarin
2022-02-03 21:34 Michał Górny
2022-02-03 21:01 Arthur Zamarin
2022-01-31 11:07 Michał Górny
2022-01-06 19:05 Arthur Zamarin
2022-01-03 17:49 Arthur Zamarin
2021-10-03 19:27 Michał Górny
2021-10-03 18:48 Sam James
2021-09-02 17:05 Marek Szuba
2021-08-12 5:21 Michał Górny
2021-05-06 14:44 Michał Górny
2021-05-06 11:03 Michał Górny
2021-05-06 9:57 Sam James
2021-03-29 7:46 Michał Górny
2021-03-15 8:45 Michał Górny
2021-03-15 0:07 Sam James
2021-03-02 8:25 Michał Górny
2021-03-02 1:36 Sam James
2021-03-02 1:01 Michał Górny
2021-02-11 8:40 Michał Górny
2020-12-28 8:36 Michał Górny
2020-09-21 15:30 Michał Górny
2020-07-13 23:13 Sam James
2020-07-06 11:57 Michał Górny
2020-07-05 15:16 Michał Górny
2020-06-29 13:40 Agostino Sarubbo
2020-06-22 19:05 Mart Raudsepp
2020-06-21 11:18 Michał Górny
2020-06-21 11:18 Michał Górny
2020-06-04 14:06 Michał Górny
2020-05-30 20:33 Sergei Trofimovich
2020-05-30 16:20 Michał Górny
2020-04-28 19:23 Mart Raudsepp
2020-03-31 7:38 Georgy Yakovlev
2020-03-26 22:39 Patrick McLean
2020-02-05 15:29 Michał Górny
2019-12-31 14:14 Louis Sautier
2019-12-31 14:14 Louis Sautier
2019-10-14 13:19 Louis Sautier
2018-10-18 19:04 Louis Sautier
2018-10-18 19:04 Louis Sautier
2018-07-28 22:50 Louis Sautier
2018-06-25 10:40 Jason Zaman
2018-06-24 0:05 Louis Sautier
2018-06-24 0:05 Louis Sautier
2017-06-17 17:24 Agostino Sarubbo
2017-06-17 15:36 Agostino Sarubbo
2016-09-16 5:37 Göktürk Yüksek
2016-09-16 5:37 Göktürk Yüksek
2016-08-07 20:43 Patrice Clement
2016-08-07 20:43 Patrice Clement
2016-07-17 1:03 Göktürk Yüksek
2016-07-17 1:03 Göktürk Yüksek
2016-02-19 11:05 Ian Delaney
2016-02-19 11:05 Ian Delaney
2015-12-30 9:52 Ian Delaney
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=1562196984.d06aef13b23be539a5a459b1ac07d1ed4dcacc37.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