From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/packaging/
Date: Mon, 6 Jan 2020 14:04:32 +0000 (UTC) [thread overview]
Message-ID: <1578319442.63cd764018cd5264c5a66950b1bac15f2ad25b7e.mgorny@gentoo> (raw)
commit: 63cd764018cd5264c5a66950b1bac15f2ad25b7e
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 6 13:33:14 2020 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Jan 6 14:04:02 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63cd7640
dev-python/packaging: Bump to 20.0
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/packaging/Manifest | 1 +
dev-python/packaging/packaging-20.0.ebuild | 51 ++++++++++++++++++++++++++++++
2 files changed, 52 insertions(+)
diff --git a/dev-python/packaging/Manifest b/dev-python/packaging/Manifest
index 02e07d81b46..4c2bfd6ac7b 100644
--- a/dev-python/packaging/Manifest
+++ b/dev-python/packaging/Manifest
@@ -1,3 +1,4 @@
DIST packaging-16.8.tar.gz 44706 BLAKE2B 6443f05d3745eb6c4cc3d51fccfb1afcfa207ac12498be4d15cd0f5c52c80435f8ea513589e8aec671cf88b10cc8c98555e7cac7fe9a1e0c67f4625fce83f80f SHA512 d1a7b65472c7c02dd758f0c469d6c6aeea34de7b798613f7fcdf45fcccbeba1e9085cab113fa89b392a60f758f8747d13b1c265c809566990c22e61ca8db49bb
DIST packaging-18.0.tar.gz 48018 BLAKE2B 3c7082a6cd6ba697f8b2c036062c7020b3b6417ba5492abee3b57b6a14bd8895168f6d6ab385458d08561fdf37230eb9d79ce82a8eae7dd16dc4951d679f917f SHA512 9f7cab9bdd756cc49192379b8381f81d218d3201e071498f2f6fd0307b1c46ad1a8c8b9d4f27e62d5f469eb05603a57be54deb8a5e0dbc2cf542e436a7127b34
DIST packaging-19.2.tar.gz 59110 BLAKE2B 8098538b8f48f4ff478eb13f3f4384d08c246b8a99711a48b2f412deaecd85faf13e24fd910a7a262c3407c5eb54939cd926e31e6f802deed0e28e0a92dfdb86 SHA512 af7312a85292f577d3e6e57154f10fb380bbdee749344ba4b226a09f22bf5ca664ed63c62cd5b4dea0be5eb5cff5c17ad04415aab8c925fa90dcae2e1c6dee5a
+DIST packaging-20.0.tar.gz 72663 BLAKE2B 39fe2c52389978d1c6d7a0a0044b549a96fd386f83ece2dac65090b8ea55193fb2334102523c5119ef29050655d81bc015e3b02c6589088ef6f5bc8e97f3aa04 SHA512 f7d99700d27d5aebbb3343f1de6ee9ce1372750b805c55a40d1a1fbeb6cfcfe2184875db56de175c6cd46e17f1567c30a39d5527870902c3c69168d025447587
diff --git a/dev-python/packaging/packaging-20.0.ebuild b/dev-python/packaging/packaging-20.0.ebuild
new file mode 100644
index 00000000000..cbdf1bd9438
--- /dev/null
+++ b/dev-python/packaging/packaging-20.0.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python2_7 python3_{6,7,8} pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="Core utilities for Python packages"
+HOMEPAGE="https://github.com/pypa/packaging https://pypi.org/project/packaging/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+SLOT="0"
+LICENSE="|| ( Apache-2.0 BSD-2 )"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ >=dev-python/pyparsing-2.1.10[${PYTHON_USEDEP}]
+ dev-python/six[${PYTHON_USEDEP}]
+"
+DEPEND="
+ test? (
+ dev-python/pretend[${PYTHON_USEDEP}]
+ dev-python/pytest[${PYTHON_USEDEP}]
+ )
+"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-16.8-distutils.patch"
+)
+
+python_test() {
+ pytest --capture=no --strict -vv || die
+}
+
+pkg_preinst() {
+ # https://bugs.gentoo.org/585146
+ cd "${HOME}" || die
+
+ _cleanup() {
+ local pyver=$("${PYTHON}" -c "from distutils.sysconfig import get_python_version; print(get_python_version())")
+ local egginfo="${ROOT}$(python_get_sitedir)/${P}-py${pyver}.egg-info"
+ if [[ -d ${egginfo} ]]; then
+ rm -rv "${egginfo}" || die "Failed to remove egg-info directory"
+ fi
+ }
+ python_foreach_impl _cleanup
+}
next reply other threads:[~2020-01-06 14:05 UTC|newest]
Thread overview: 121+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-06 14:04 Michał Górny [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-06-10 1:52 [gentoo-commits] repo/gentoo:master commit in: dev-python/packaging/ Michał Górny
2024-03-11 4:10 Michał Górny
2024-02-20 9:09 Michał Górny
2024-02-20 7:42 Sam James
2024-02-04 20:11 Sam James
2023-11-24 13:42 Michał Górny
2023-11-01 20:37 Arthur Zamarin
2023-10-02 4:46 Michał Górny
2023-07-24 12:49 Michał Górny
2023-05-23 16:15 Michał Górny
2023-05-23 15:57 Arthur Zamarin
2023-04-13 6:04 Michał Górny
2023-02-24 18:12 Arthur Zamarin
2023-02-09 5:56 Michał Górny
2023-02-03 12:32 Michał Górny
2023-01-09 8:09 Michał Górny
2022-02-28 21:56 Michał Górny
2022-02-28 10:08 Jakov Smolić
2022-02-04 10:27 Michał Górny
2022-01-26 11:32 Michał Górny
2022-01-03 22:30 Michał Górny
2022-01-03 19:23 Jakov Smolić
2021-12-04 4:04 Sam James
2021-11-18 9:16 Michał Górny
2021-10-29 11:52 Michał Górny
2021-09-27 6:59 Michał Górny
2021-08-07 14:52 Michał Górny
2021-08-07 14:43 Sam James
2021-07-03 21:46 Michał Górny
2021-05-05 17:05 Michał Górny
2021-03-02 8:33 Michał Górny
2021-03-02 1:38 Sam James
2021-02-06 14:20 Sam James
2021-02-06 14:15 Sam James
2021-01-30 9:19 Michał Górny
2020-12-31 1:17 Sam James
2020-12-27 16:31 Fabian Groffen
2020-12-20 11:52 Mikle Kolyada
2020-12-12 9:09 Michał Górny
2020-11-28 19:59 Michał Górny
2020-11-28 8:43 Michał Górny
2020-09-20 15:38 Michał Górny
2020-07-09 13:01 Michał Górny
2020-07-09 13:01 Michał Górny
2020-05-25 16:16 Michał Górny
2020-05-20 7:18 Michał Górny
2020-05-04 11:35 Michał Górny
2020-04-20 10:16 Agostino Sarubbo
2020-04-16 8:06 Mart Raudsepp
2020-04-13 17:21 Agostino Sarubbo
2020-04-08 20:53 Sergei Trofimovich
2020-04-08 9:51 Agostino Sarubbo
2020-04-08 9:50 Agostino Sarubbo
2020-04-08 9:48 Agostino Sarubbo
2020-04-08 9:47 Agostino Sarubbo
2020-04-06 17:54 Sergei Trofimovich
2020-03-20 15:05 Michał Górny
2020-03-20 14:17 Agostino Sarubbo
2020-03-07 11:06 Agostino Sarubbo
2020-03-07 11:03 Agostino Sarubbo
2020-03-07 10:58 Agostino Sarubbo
2020-03-07 10:54 Agostino Sarubbo
2020-03-07 10:50 Agostino Sarubbo
2020-03-07 9:44 Agostino Sarubbo
2020-03-07 8:59 Agostino Sarubbo
2020-03-07 8:25 Agostino Sarubbo
2020-03-06 13:43 Michał Górny
2020-01-25 5:47 Michał Górny
2020-01-06 14:04 Michał Górny
2019-12-02 2:48 Aaron Bauman
2019-11-16 11:02 Michał Górny
2019-11-15 12:13 Michał Górny
2019-11-15 12:13 Michał Górny
2019-11-15 12:13 Michał Górny
2019-11-15 12:13 Michał Górny
2018-12-30 9:32 Tim Harder
2018-06-25 18:45 Tim Harder
2018-01-11 19:43 Mike Frysinger
2017-05-18 20:00 Michael Weber
2017-05-18 19:14 Michael Weber
2017-05-16 13:05 Agostino Sarubbo
2017-05-12 17:56 Tobias Klausmann
2017-05-12 14:55 Agostino Sarubbo
2017-05-06 17:20 Agostino Sarubbo
2017-05-06 11:17 Jeroen Roovers
2017-05-06 7:28 Markus Meier
2017-05-05 14:10 Agostino Sarubbo
2017-03-09 15:54 Michael Haubenwallner
2017-01-31 16:14 Mike Gilbert
2017-01-29 17:15 Fabian Groffen
2017-01-25 4:57 Tim Harder
2016-10-30 16:10 Matt Thode
2016-09-24 14:44 Mike Gilbert
2016-04-03 21:02 Manuel Rüger
2016-02-28 17:39 David Seifert
2016-02-28 17:39 David Seifert
2016-02-23 9:22 Justin Lecher
2016-02-22 10:36 Justin Lecher
2016-02-10 8:27 Justin Lecher
2016-02-08 18:40 Justin Lecher
2016-01-26 16:38 Justin Lecher
2016-01-20 15:36 Justin Lecher
2015-12-07 18:33 Mike Frysinger
2015-11-22 8:38 Markus Meier
2015-11-22 5:38 Jeroen Roovers
2015-11-19 10:25 Agostino Sarubbo
2015-11-16 15:01 Agostino Sarubbo
2015-11-05 11:52 Agostino Sarubbo
2015-11-04 16:09 Agostino Sarubbo
2015-11-04 15:50 Agostino Sarubbo
2015-11-02 13:12 Agostino Sarubbo
2015-11-02 13:09 Agostino Sarubbo
2015-10-10 18:49 Mikle Kolyada
2015-09-29 20:50 Markus Meier
2015-09-22 17:36 Tobias Klausmann
2015-09-08 8:16 Joshua Kinard
2015-09-06 5:20 Jeroen Roovers
2015-08-28 11:25 Justin Lecher
2015-08-25 8:10 Justin Lecher
2015-08-24 10:12 Justin Lecher
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=1578319442.63cd764018cd5264c5a66950b1bac15f2ad25b7e.mgorny@gentoo \
--to=mgorny@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