From: "Louis Sautier" <sbraz@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/jaraco-classes/
Date: Tue, 31 Dec 2019 15:18:36 +0000 (UTC) [thread overview]
Message-ID: <1577805504.ac5756ba15027d02094d1ac87dbd741d9610c74c.sbraz@gentoo> (raw)
commit: ac5756ba15027d02094d1ac87dbd741d9610c74c
Author: Louis Sautier <sbraz <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 31 15:16:38 2019 +0000
Commit: Louis Sautier <sbraz <AT> gentoo <DOT> org>
CommitDate: Tue Dec 31 15:18:24 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac5756ba
dev-python/jaraco-classes: bump to 3.1.0, drops Py<3.6
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Louis Sautier <sbraz <AT> gentoo.org>
dev-python/jaraco-classes/Manifest | 1 +
.../jaraco-classes/jaraco-classes-3.1.0.ebuild | 60 ++++++++++++++++++++++
2 files changed, 61 insertions(+)
diff --git a/dev-python/jaraco-classes/Manifest b/dev-python/jaraco-classes/Manifest
index eec9dfdc7d6..83382769cd6 100644
--- a/dev-python/jaraco-classes/Manifest
+++ b/dev-python/jaraco-classes/Manifest
@@ -1 +1,2 @@
DIST jaraco.classes-2.0.tar.gz 9911 BLAKE2B aa5e5c90f16c9536239ed61e6dccbc426244c98a33a944de32239bd42a0a4944e5df3529cfd525e05cf276a4a4b028edcec734006b549053ac8817032f52b2ea SHA512 83c9a570f951ef6c3708243dce6397cfbfe963db5920550ac807878a69860b34831af5f277f956fd0b327d85462676fd6386a22d6d97c7616e01ca81d7ace694
+DIST jaraco.classes-3.1.0.tar.gz 11616 BLAKE2B 5b438f7582a9a93ca4fc97a71725c1fe3275e4bfb48f5e06b549f7ac8fb6900262165b1ad0638114d3a8d11c10f449b7930d4c2d66fa928665aaff820af88937 SHA512 697d892a01c4e8ad83f57e69dcd744f976cea67fa3efcd55b10eda02f6bf1916162c0fa952d0d711e62f62fdff62740ee55a93be9fc46ebd4ab22416092f0ff6
diff --git a/dev-python/jaraco-classes/jaraco-classes-3.1.0.ebuild b/dev-python/jaraco-classes/jaraco-classes-3.1.0.ebuild
new file mode 100644
index 00000000000..1d8913bc1a2
--- /dev/null
+++ b/dev-python/jaraco-classes/jaraco-classes-3.1.0.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+# Tests fail with pypy
+PYTHON_COMPAT=( pypy3 python3_{6,7,8} )
+
+inherit distutils-r1
+
+MY_PN="${PN/-/.}"
+DESCRIPTION="Classes used by other projects by developer jaraco"
+HOMEPAGE="https://github.com/jaraco/jaraco.classes"
+SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc64 ~sparc ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ >=dev-python/namespace-jaraco-2[${PYTHON_USEDEP}]
+ dev-python/six[${PYTHON_USEDEP}]
+"
+DEPEND="
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ test? (
+ ${RDEPEND}
+ >=dev-python/pytest-2.8[${PYTHON_USEDEP}]
+ )
+"
+
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+distutils_enable_sphinx docs \
+ ">=dev-python/jaraco-packaging-3.2" \
+ ">=dev-python/rst-linker-1.9"
+
+python_prepare_all() {
+ # avoid a setuptools_scm dependency
+ sed -i "s:use_scm_version=True:version='${PV}':" setup.py || die
+ sed -r -i "s:setuptools_scm[[:space:]]*([><=]{1,2}[[:space:]]*[0-9.a-zA-Z]+)[[:space:]]*::" \
+ setup.cfg || die
+
+ distutils-r1_python_prepare_all
+}
+
+python_test() {
+ # Avoid ImportMismatchError, override pytest options to skip flake8
+ pytest -vv "${BUILD_DIR}"/lib --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-12-31 15:18 UTC|newest]
Thread overview: 74+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-12-31 15:18 Louis Sautier [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-05-08 19:10 [gentoo-commits] repo/gentoo:master commit in: dev-python/jaraco-classes/ Michał Górny
2025-02-15 7:12 Michał Górny
2024-10-14 12:42 Michał Górny
2024-07-01 6:18 Arthur Zamarin
2024-05-08 18:31 Michał Górny
2024-04-20 9:48 Michał Górny
2024-04-20 9:45 Michał Górny
2024-03-31 19:07 Arthur Zamarin
2024-02-24 9:50 Michał Górny
2024-02-24 9:49 Michał Górny
2024-02-08 4:22 Michał Górny
2023-08-11 19:08 Michał Górny
2023-08-11 19:03 Arthur Zamarin
2023-07-09 3:26 Michał Górny
2023-05-23 15:42 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
2022-11-03 19:41 Arthur Zamarin
2022-11-03 19:27 Arthur Zamarin
2022-09-27 2:04 Michał Górny
2022-08-29 10:37 Michał Górny
2022-08-13 10:57 Arthur Zamarin
2022-08-13 10:53 Arthur Zamarin
2022-07-13 8:10 Michał Górny
2022-06-10 4:18 Michał Górny
2022-06-10 3:09 Sam James
2022-05-09 20:38 Michał Górny
2022-05-09 15:01 Michał Górny
2022-04-25 18:41 Sam James
2022-02-07 21:15 James Le Cuirot
2022-02-04 12:04 Michał Górny
2021-07-28 23:38 Marek Szuba
2021-05-06 14:44 Michał Górny
2021-03-25 19:09 Michał Górny
2021-03-25 14:23 Sam James
2021-02-24 22:30 Michał Górny
2021-02-24 22:05 Sam James
2021-02-21 20:12 Louis Sautier
2021-01-25 8:09 Michał Górny
2020-11-28 14:21 Sam James
2020-11-28 14:21 Sam James
2020-09-20 15:38 Michał Górny
2020-09-06 17:35 Sam James
2020-07-28 17:28 Sergei Trofimovich
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-05-27 7:16 Michał Górny
2020-05-16 11:25 Mikle Kolyada
2020-02-08 11:33 Sergei Trofimovich
2020-01-05 12:48 Sergei Trofimovich
2019-12-12 2:19 Georgy Yakovlev
2019-12-08 23:31 Sergei Trofimovich
2019-12-04 19:44 Sergei Trofimovich
2019-11-27 12:59 Mikle Kolyada
2019-11-25 12:35 Michał Górny
2019-11-25 7:56 Patrick McLean
2019-11-22 0:20 Patrick McLean
2019-07-02 21:58 Louis Sautier
2019-04-17 18:07 Aaron Bauman
2018-07-24 21:22 Louis Sautier
2018-06-25 10:40 Jason Zaman
2018-06-12 8:46 Patrice Clement
2018-06-12 8:46 Patrice Clement
2017-06-17 17:24 Agostino Sarubbo
2017-06-17 15:36 Agostino Sarubbo
2016-06-27 12:49 Göktürk Yüksek
2016-06-27 12:49 Göktürk Yüksek
2016-01-20 14:45 Patrice Clement
2015-12-29 13:58 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=1577805504.ac5756ba15027d02094d1ac87dbd741d9610c74c.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