public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pdm-backend/
Date: Mon, 26 Jun 2023 04:51:50 +0000 (UTC)	[thread overview]
Message-ID: <1687755105.e4df75540f1207ea20a691fa4f8c021fbcf4e324.mgorny@gentoo> (raw)

commit:     e4df75540f1207ea20a691fa4f8c021fbcf4e324
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 26 04:25:51 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Jun 26 04:51:45 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4df7554

dev-python/pdm-backend: Bump to 2.1.1

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/pdm-backend/Manifest                 |  1 +
 dev-python/pdm-backend/pdm-backend-2.1.1.ebuild | 71 +++++++++++++++++++++++++
 2 files changed, 72 insertions(+)

diff --git a/dev-python/pdm-backend/Manifest b/dev-python/pdm-backend/Manifest
index 7b9f1f0a4237..02aa46e5a5df 100644
--- a/dev-python/pdm-backend/Manifest
+++ b/dev-python/pdm-backend/Manifest
@@ -1 +1,2 @@
 DIST pdm-backend-2.1.0.gh.tar.gz 134050 BLAKE2B 941795a8e108442d8ab651cee2c87f72d01c55e16634d9028f6e6300576ae7c67eaff90cbd6bcd4e24131ddabe92626583cbaf3af1807fd03490650d85653376 SHA512 999940464a467e5a8a6cb232cb8602846461cf7e146256be5f745743e47bfeab7b2b8157dc49ba7b03cff46051d080efe2097c450cfab037e0594ffa5fc3802b
+DIST pdm-backend-2.1.1.gh.tar.gz 134089 BLAKE2B a92d29b3d5f32e0bfbf407f354ba672922feb833ad2078857244a40fac7be210c5ba93810d6db7c0edd7fe874f7c9bcb9bd902dde5aa255c2b682855c9a00eed SHA512 710a574822beffad0ff3e812afa69a13878ada8ec10092d4c2f47c37345118dc972ea12fef7b26a835e9d76c774134dfad6fb77902c1755df072ef5acc7160a4

diff --git a/dev-python/pdm-backend/pdm-backend-2.1.1.ebuild b/dev-python/pdm-backend/pdm-backend-2.1.1.ebuild
new file mode 100644
index 000000000000..af9e6d47c21b
--- /dev/null
+++ b/dev-python/pdm-backend/pdm-backend-2.1.1.ebuild
@@ -0,0 +1,71 @@
+# Copyright 2022-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=standalone
+PYTHON_COMPAT=( python3_{10..12} pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="A PEP 517 backend for PDM that supports PEP 621 metadata"
+HOMEPAGE="
+	https://pypi.org/project/pdm-backend/
+	https://github.com/pdm-project/pdm-backend/
+"
+SRC_URI="
+	https://github.com/pdm-project/pdm-backend/archive/${PV}.tar.gz
+		-> ${P}.gh.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+
+RDEPEND="
+	>=dev-python/packaging-22.0[${PYTHON_USEDEP}]
+	>=dev-python/pyproject-metadata-0.7.1[${PYTHON_USEDEP}]
+	>=dev-python/tomli-w-1.0.0[${PYTHON_USEDEP}]
+
+	$(python_gen_cond_dep '
+		>=dev-python/tomli-2.0.1[${PYTHON_USEDEP}]
+	' 3.{9..10})
+	$(python_gen_cond_dep '
+		>=dev-python/importlib-metadata-3.6[${PYTHON_USEDEP}]
+	' 3.9)
+"
+BDEPEND="
+	${RDEPEND}
+	test? (
+		dev-python/setuptools[${PYTHON_USEDEP}]
+		dev-vcs/git
+	)
+"
+# setuptools are used to build C extensions
+RDEPEND+="
+	dev-python/setuptools[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest
+
+src_prepare() {
+	rm -r src/pdm/backend/_vendor || die
+	find -name '*.py' -exec sed \
+		-e 's:from pdm\.backend\._vendor\.:from :' \
+		-e 's:from pdm\.backend\._vendor ::' \
+		-e 's:import pdm\.backend\._vendor\.:import :' \
+		-i {} + || die
+	distutils-r1_src_prepare
+}
+
+src_compile() {
+	# this must not be set during src_test()
+	local -x PDM_BUILD_SCM_VERSION=${PV}
+	distutils-r1_src_compile
+}
+
+src_test() {
+	git config --global user.email "test@example.com" || die
+	git config --global user.name "Test User" || die
+	distutils-r1_src_test
+}


             reply	other threads:[~2023-06-26  4:51 UTC|newest]

Thread overview: 59+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-26  4:51 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-09-28 13:35 [gentoo-commits] repo/gentoo:master commit in: dev-python/pdm-backend/ Michał Górny
2024-09-28 13:11 Michał Górny
2024-09-22  3:02 Michał Górny
2024-09-21  7:41 Michał Górny
2024-08-03  6:37 Michał Górny
2024-08-03  6:24 Michał Górny
2024-07-20  9:01 Michał Górny
2024-07-20  7:39 Arthur Zamarin
2024-07-16  5:30 Michał Górny
2024-07-06  6:35 Michał Górny
2024-07-06  6:26 Sam James
2024-07-05 18:41 Arthur Zamarin
2024-07-05 16:29 Arthur Zamarin
2024-06-19  4:36 Michał Górny
2024-06-13 10:31 Michał Górny
2024-06-13  5:18 Sam James
2024-06-13  4:54 Sam James
2024-06-12 18:19 Michał Górny
2024-06-12 10:33 Arthur Zamarin
2024-06-12  8:42 Jakov Smolić
2024-06-12  7:05 Arthur Zamarin
2024-06-12  6:51 Sam James
2024-06-12  6:50 Arthur Zamarin
2024-05-13 18:45 Michał Górny
2024-05-04 12:00 Sam James
2024-05-04 12:00 Sam James
2024-05-04 11:38 Sam James
2024-05-04 11:38 Sam James
2024-05-04 10:01 Arthur Zamarin
2024-05-04  7:55 Arthur Zamarin
2024-05-04  7:32 Arthur Zamarin
2024-05-01 11:48 Michał Górny
2024-05-01  4:06 Michał Górny
2024-04-18  5:34 Michał Górny
2024-04-15 12:19 Michał Górny
2024-01-13 10:04 Michał Górny
2024-01-13  9:38 Arthur Zamarin
2023-12-27 13:00 Michał Górny
2023-12-06 17:57 Ionen Wolkens
2023-11-24 21:53 Sam James
2023-11-16 17:17 Arthur Zamarin
2023-11-16 16:22 Sam James
2023-11-15 17:40 Sam James
2023-11-15 16:45 Arthur Zamarin
2023-11-15 16:34 Arthur Zamarin
2023-11-15 16:34 Arthur Zamarin
2023-11-15 15:55 Michał Górny
2023-10-08 17:48 Michał Górny
2023-08-30  3:15 Michał Górny
2023-08-09  3:09 Michał Górny
2023-07-24 11:32 Michał Górny
2023-07-19 11:10 Michał Górny
2023-07-13  5:28 Michał Górny
2023-07-12  4:04 Michał Górny
2023-06-27  3:54 Michał Górny
2023-06-23  6:17 Michał Górny
2023-06-08 10:21 Michał Górny
2023-06-03  6:48 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=1687755105.e4df75540f1207ea20a691fa4f8c021fbcf4e324.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