* [gentoo-commits] repo/gentoo:master commit in: dev-python/pep621/, dev-python/pep621/files/
@ 2022-06-12 6:06 Sam James
0 siblings, 0 replies; 2+ messages in thread
From: Sam James @ 2022-06-12 6:06 UTC (permalink / raw
To: gentoo-commits
commit: 187111ee9b11e368b3e267f96c3f39014b245ac6
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 12 06:04:36 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jun 12 06:05:33 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=187111ee
dev-python/pep621: drop 0.4.0
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-python/pep621/Manifest | 1 -
.../files/pep621-0.4.0-fix-tests-packaging.patch | 31 ----------------------
dev-python/pep621/pep621-0.4.0.ebuild | 26 ------------------
3 files changed, 58 deletions(-)
diff --git a/dev-python/pep621/Manifest b/dev-python/pep621/Manifest
index dc67f098edcc..8cd1da62ad92 100644
--- a/dev-python/pep621/Manifest
+++ b/dev-python/pep621/Manifest
@@ -1,2 +1 @@
-DIST pep621-0.4.0.gh.tar.gz 12772 BLAKE2B d2b725e8d36e4ea29d544b63a8d4ab3a155f9822b3087406460bf24982eeb7b6860c724cbbc885bc27d4a4cb9c0f1208a2dde074988984fe76a5ccce1d71812e SHA512 e48ba90ffd6c6bb548438a6372b614ccc5188e1523a32b876e47b4fd6e9e1eafb94509cb40c4e7dadd03d221c38d67b83fe202a6367b72af1afaa0ac1506bd43
DIST pep621-0.5.0.gh.tar.gz 13816 BLAKE2B 8f5613c1279539116e99b6f319b687a08160360109e1ed71d5bc6c0434ee316ef7c0b7109d6769a03452a41c1b258765c849fe416b4632b4ba25990b6b3702aa SHA512 66cd447a01d0d01ab37611415bd620517600af667d7179a2696f763ae031c013393c8145ebd33f27b43629659333effa58596a02dfc5c217935c90475250b822
diff --git a/dev-python/pep621/files/pep621-0.4.0-fix-tests-packaging.patch b/dev-python/pep621/files/pep621-0.4.0-fix-tests-packaging.patch
deleted file mode 100644
index 210bdaba6c3a..000000000000
--- a/dev-python/pep621/files/pep621-0.4.0-fix-tests-packaging.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-https://github.com/FFY00/python-pep621/commit/1691b64e51d47afb084742958d69755e21b0767e
-
-From: =?UTF-8?q?Filipe=20La=C3=ADns?= <lains@riseup.net>
-Date: Wed, 26 Jan 2022 15:49:32 +0000
-Subject: [PATCH] tests: fix tests for new pypa/packaging version
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Signed-off-by: Filipe Laíns <lains@riseup.net>
---- a/tests/test_standard_metadata.py
-+++ b/tests/test_standard_metadata.py
-@@ -231,7 +231,7 @@
- (
- 'Field `project.dependencies` contains an invalid PEP 508 requirement '
- 'string `definitely not a valid PEP 508 requirement!` '
-- '(`Parse error at "\'not a va\'": Expected stringEnd`)'
-+ '(`Parse error at "\'not a va\'": Expected string_end`)'
- ),
- ),
- # optional-dependencies
-@@ -284,7 +284,7 @@
- (
- 'Field `project.optional-dependencies.test` contains an invalid '
- 'PEP 508 requirement string `definitely not a valid PEP 508 requirement!` '
-- '(`Parse error at "\'not a va\'": Expected stringEnd`)'
-+ '(`Parse error at "\'not a va\'": Expected string_end`)'
- ),
- ),
- # requires-python
-
diff --git a/dev-python/pep621/pep621-0.4.0.ebuild b/dev-python/pep621/pep621-0.4.0.ebuild
deleted file mode 100644
index 9f0fa12b1d9f..000000000000
--- a/dev-python/pep621/pep621-0.4.0.ebuild
+++ /dev/null
@@ -1,26 +0,0 @@
-# Copyright 2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{8..11} pypy3 )
-
-inherit distutils-r1
-
-DESCRIPTION="PEP 621 metadata parsing"
-HOMEPAGE="https://pypi.org/project/pep621/ https://github.com/FFY00/python-pep621/"
-SRC_URI="https://github.com//FFY00/python-pep621/archive/${PV}.tar.gz -> ${P}.gh.tar.gz"
-S="${WORKDIR}"/python-${P}
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64"
-
-RDEPEND="dev-python/packaging[${PYTHON_USEDEP}]"
-
-PATCHES=(
- "${FILESDIR}"/${P}-fix-tests-packaging.patch
-)
-
-distutils_enable_tests pytest
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pep621/, dev-python/pep621/files/
@ 2022-06-12 6:06 Sam James
0 siblings, 0 replies; 2+ messages in thread
From: Sam James @ 2022-06-12 6:06 UTC (permalink / raw
To: gentoo-commits
commit: 445f4455bcf7e82c0b6213f6beeef7ec8480ff3b
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 12 06:02:57 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jun 12 06:05:32 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=445f4455
dev-python/pep621: add 0.5.0
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-python/pep621/Manifest | 1 +
.../files/pep621-0.5.0-no-install-tests.patch | 13 +++++++++++
dev-python/pep621/pep621-0.5.0.ebuild | 26 ++++++++++++++++++++++
3 files changed, 40 insertions(+)
diff --git a/dev-python/pep621/Manifest b/dev-python/pep621/Manifest
index 8330c1cf2523..dc67f098edcc 100644
--- a/dev-python/pep621/Manifest
+++ b/dev-python/pep621/Manifest
@@ -1 +1,2 @@
DIST pep621-0.4.0.gh.tar.gz 12772 BLAKE2B d2b725e8d36e4ea29d544b63a8d4ab3a155f9822b3087406460bf24982eeb7b6860c724cbbc885bc27d4a4cb9c0f1208a2dde074988984fe76a5ccce1d71812e SHA512 e48ba90ffd6c6bb548438a6372b614ccc5188e1523a32b876e47b4fd6e9e1eafb94509cb40c4e7dadd03d221c38d67b83fe202a6367b72af1afaa0ac1506bd43
+DIST pep621-0.5.0.gh.tar.gz 13816 BLAKE2B 8f5613c1279539116e99b6f319b687a08160360109e1ed71d5bc6c0434ee316ef7c0b7109d6769a03452a41c1b258765c849fe416b4632b4ba25990b6b3702aa SHA512 66cd447a01d0d01ab37611415bd620517600af667d7179a2696f763ae031c013393c8145ebd33f27b43629659333effa58596a02dfc5c217935c90475250b822
diff --git a/dev-python/pep621/files/pep621-0.5.0-no-install-tests.patch b/dev-python/pep621/files/pep621-0.5.0-no-install-tests.patch
new file mode 100644
index 000000000000..1a1591e4e402
--- /dev/null
+++ b/dev-python/pep621/files/pep621-0.5.0-no-install-tests.patch
@@ -0,0 +1,13 @@
+--- a/setup.cfg
++++ b/setup.cfg
+@@ -26,6 +26,10 @@ install_requires =
+ packaging>=19.0
+ python_requires = >=3.7
+
++[options.packages.find]
++exclude =
++ tests
++
+ [options.extras_require]
+ test =
+ pytest>=6.2.4
diff --git a/dev-python/pep621/pep621-0.5.0.ebuild b/dev-python/pep621/pep621-0.5.0.ebuild
new file mode 100644
index 000000000000..6a5392341f1f
--- /dev/null
+++ b/dev-python/pep621/pep621-0.5.0.ebuild
@@ -0,0 +1,26 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..11} pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="PEP 621 metadata parsing"
+HOMEPAGE="https://pypi.org/project/pep621/ https://github.com/FFY00/python-pep621/"
+SRC_URI="https://github.com//FFY00/python-pep621/archive/${PV}.tar.gz -> ${P}.gh.tar.gz"
+S="${WORKDIR}"/python-pyproject-metadata-${PV}
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="dev-python/packaging[${PYTHON_USEDEP}]"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.5.0-no-install-tests.patch
+)
+
+distutils_enable_tests pytest
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-06-12 6:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-12 6:06 [gentoo-commits] repo/gentoo:master commit in: dev-python/pep621/, dev-python/pep621/files/ Sam James
-- strict thread matches above, loose matches on Subject: below --
2022-06-12 6:06 Sam James
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox