From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pdm-pep517/
Date: Wed, 26 Jan 2022 05:25:02 +0000 (UTC) [thread overview]
Message-ID: <1643174699.99732736d62a82b0e238d1e00949871418d1b2d9.mgorny@gentoo> (raw)
commit: 99732736d62a82b0e238d1e00949871418d1b2d9
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 25 21:38:01 2022 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Jan 26 05:24:59 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99732736
dev-python/pdm-pep517: Unbundle dependencies
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/pdm-pep517/pdm-pep517-0.10.1-r1.ebuild | 65 +++++++++++++++++++++++
1 file changed, 65 insertions(+)
diff --git a/dev-python/pdm-pep517/pdm-pep517-0.10.1-r1.ebuild b/dev-python/pdm-pep517/pdm-pep517-0.10.1-r1.ebuild
new file mode 100644
index 000000000000..425f36257281
--- /dev/null
+++ b/dev-python/pdm-pep517/pdm-pep517-0.10.1-r1.ebuild
@@ -0,0 +1,65 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=standalone
+PYTHON_COMPAT=( python3_{8..10} pypy3 )
+inherit distutils-r1
+
+DESCRIPTION="A PEP 517 backend for PDM that supports PEP 621 metadata"
+HOMEPAGE="
+ https://pypi.org/project/pdm-pep517/
+ https://github.com/pdm-project/pdm-pep517/
+"
+SRC_URI="
+ https://github.com/pdm-project/pdm-pep517/archive/${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+ >=dev-python/cerberus-1.3.4[${PYTHON_USEDEP}]
+ >=dev-python/packaging-21.0[${PYTHON_USEDEP}]
+ >=dev-python/toml-0.10.2[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ ${RDEPEND}
+ test? (
+ dev-vcs/git
+ )
+"
+# setuptools are used to build C extensions
+RDEPEND+="
+ dev-python/setuptools[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest
+
+src_prepare() {
+ rm -r pdm/pep517/_vendor || die
+ find -name '*.py' -exec sed \
+ -e 's:from pdm\.pep517\._vendor\.:from :' \
+ -e 's:from pdm\.pep517\._vendor ::' \
+ -i {} + || die
+ distutils-r1_src_prepare
+}
+
+src_test() {
+ git config --global user.email "test@example.com" || die
+ git config --global user.name "Test User" || die
+ distutils-r1_src_test
+}
+
+python_test() {
+ local EPYTEST_DESELECT=()
+ if [[ ${EPYTHON} == pypy3 ]]; then
+ EPYTEST_DESELECT+=(
+ tests/test_wheel.py::test_override_tags_in_wheel_filename
+ )
+ fi
+ epytest
+}
next reply other threads:[~2022-01-26 5:25 UTC|newest]
Thread overview: 66+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-26 5:25 Michał Górny [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-12-06 17:57 [gentoo-commits] repo/gentoo:master commit in: dev-python/pdm-pep517/ Ionen Wolkens
2023-11-30 15:59 Ionen Wolkens
2023-06-12 6:01 Arthur Zamarin
2023-06-11 19:34 Arthur Zamarin
2023-06-11 19:21 Arthur Zamarin
2023-06-11 19:08 Arthur Zamarin
2023-06-11 19:06 Arthur Zamarin
2023-06-11 18:58 Arthur Zamarin
2023-06-11 18:57 Arthur Zamarin
2023-05-30 16:28 Michał Górny
2023-05-16 5:24 Michał Górny
2023-05-15 20:24 Arthur Zamarin
2023-04-13 6:32 Michał Górny
2023-04-13 5:45 Sam James
2023-04-13 3:52 Sam James
2023-04-13 2:57 Sam James
2023-04-12 4:49 Michał Górny
2023-04-12 4:24 Sam James
2023-04-12 2:36 Sam James
2023-04-11 19:17 WANG Xuerui
2023-03-23 16:36 Michał Górny
2023-02-25 6:06 Michał Górny
2023-02-24 21:13 Sam James
2023-02-10 6:52 Michał Górny
2023-02-10 6:52 Michał Górny
2023-02-08 6:27 Michał Górny
2023-01-31 11:55 Michał Górny
2023-01-31 11:55 Michał Górny
2023-01-31 11:22 Michał Górny
2023-01-31 0:11 Patrick McLean
2023-01-30 6:59 Michał Górny
2022-12-25 17:33 Michał Górny
2022-11-25 20:36 Arthur Zamarin
2022-11-25 19:11 Sam James
2022-11-25 5:14 Michał Górny
2022-11-05 17:11 Agostino Sarubbo
2022-10-24 5:14 Michał Górny
2022-10-17 19:47 Sam James
2022-10-07 7:03 Michał Górny
2022-10-05 5:53 Arthur Zamarin
2022-09-07 5:03 Michał Górny
2022-09-06 21:12 Sam James
2022-08-07 8:11 Michał Górny
2022-07-30 2:33 Sam James
2022-07-29 10:12 Arthur Zamarin
2022-07-10 11:25 Michał Górny
2022-07-10 11:25 Michał Górny
2022-07-03 19:14 Arthur Zamarin
2022-06-25 17:01 Arthur Zamarin
2022-06-24 20:45 Jakov Smolić
2022-06-16 8:06 Michał Górny
2022-06-08 19:40 Michał Górny
2022-05-17 6:54 Michał Górny
2022-05-16 13:24 Michał Górny
2022-05-02 19:17 Arthur Zamarin
2022-04-11 16:07 Michał Górny
2022-04-02 9:46 Michał Górny
2022-04-01 12:27 Michał Górny
2022-03-15 16:12 Michał Górny
2022-02-11 21:18 Michał Górny
2022-02-09 9:39 Michał Górny
2022-01-28 8:54 Michał Górny
2022-01-26 21:27 Jakov Smolić
2022-01-24 22:14 Michał Górny
2022-01-16 17:53 Michał Górny
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=1643174699.99732736d62a82b0e238d1e00949871418d1b2d9.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