summaryrefslogtreecommitdiff
path: root/dev-python/pdm-backend
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-07-12 10:31:55 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-07-12 10:31:55 +0100
commiteb3ae345f026de053870dfa589779989d300ebef (patch)
tree1bea6ba3fbb1dca4db8c0cf9d9025d1e3e26f96a /dev-python/pdm-backend
parent0e24de4e7c207a09710001af8230df7892eb73d4 (diff)
gentoo auto-resync : 12:07:2023 - 10:31:55
Diffstat (limited to 'dev-python/pdm-backend')
-rw-r--r--dev-python/pdm-backend/Manifest2
-rw-r--r--dev-python/pdm-backend/pdm-backend-2.1.3.ebuild71
2 files changed, 73 insertions, 0 deletions
diff --git a/dev-python/pdm-backend/Manifest b/dev-python/pdm-backend/Manifest
index 7121613321a3..0cd5ea3725dd 100644
--- a/dev-python/pdm-backend/Manifest
+++ b/dev-python/pdm-backend/Manifest
@@ -1,7 +1,9 @@
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
DIST pdm-backend-2.1.2.gh.tar.gz 134069 BLAKE2B 425a43c7a7e47209caeec8fd44fde9734c9a79af5703fc668858f655b0783dbfaf934344a3e5f6b85fa59fe3122d2212890c1da615f331a5529e2619ee45c42f SHA512 a0d61ead5761d5c4558d486bed0249ec7fdcb9f48eac00ba87a97b8c32e28bf6ebe1d2ec840b049440864b68df997285c446922d6712226f4bd458f291567d00
+DIST pdm-backend-2.1.3.gh.tar.gz 134133 BLAKE2B 5bead9ac6b5bf2da9479afc923875991ab7de556a15a14584d98bb7c3dcb34788d2f7284c588a29881898536b3a7e9238d75674f75291a0a1acf4c73483c0b5b SHA512 75b13af45636af34e91dcf6e10c0699433dc5fe65a7697dfa68a74af4802c7d4ced97ee4808763660f22556bc53a0bdb71fa04be4340050ec5baf75b3af6e97c
EBUILD pdm-backend-2.1.0.ebuild 1678 BLAKE2B 758d71baef496bf948a4b321d35afa4b5c785cbb665ac316108e7c4f7baca93ab378ecf3efce02389d3fad4af4b1f1f8c21d6c85f350dd43c19950adad11da75 SHA512 ac17fe5600e4fd8eadc8d8b53898bf0fd06d6d8b41f1ebaf59312e423add858d452a996d5274fa9741ff823f27d28522ba3e9161f08fd2ba6b48efbec4bc309c
EBUILD pdm-backend-2.1.1.ebuild 1678 BLAKE2B 758d71baef496bf948a4b321d35afa4b5c785cbb665ac316108e7c4f7baca93ab378ecf3efce02389d3fad4af4b1f1f8c21d6c85f350dd43c19950adad11da75 SHA512 ac17fe5600e4fd8eadc8d8b53898bf0fd06d6d8b41f1ebaf59312e423add858d452a996d5274fa9741ff823f27d28522ba3e9161f08fd2ba6b48efbec4bc309c
EBUILD pdm-backend-2.1.2.ebuild 1678 BLAKE2B 758d71baef496bf948a4b321d35afa4b5c785cbb665ac316108e7c4f7baca93ab378ecf3efce02389d3fad4af4b1f1f8c21d6c85f350dd43c19950adad11da75 SHA512 ac17fe5600e4fd8eadc8d8b53898bf0fd06d6d8b41f1ebaf59312e423add858d452a996d5274fa9741ff823f27d28522ba3e9161f08fd2ba6b48efbec4bc309c
+EBUILD pdm-backend-2.1.3.ebuild 1678 BLAKE2B 758d71baef496bf948a4b321d35afa4b5c785cbb665ac316108e7c4f7baca93ab378ecf3efce02389d3fad4af4b1f1f8c21d6c85f350dd43c19950adad11da75 SHA512 ac17fe5600e4fd8eadc8d8b53898bf0fd06d6d8b41f1ebaf59312e423add858d452a996d5274fa9741ff823f27d28522ba3e9161f08fd2ba6b48efbec4bc309c
MISC metadata.xml 402 BLAKE2B ac579efc6fd41e67d00ccbba4831c85eed6f5e4341b17533f60c95b666d8a457a5ed683440028c876b8d638fff59af97c5087612b7817dd1a9bd8b9f74cdda0a SHA512 77766986547445c26c7de4bd1d4fb495f8c22e1844fd5b4835b1cabc4aa503a36eae84460e4fceca2f71a87d5f4fc83593b33fda9ae8cafd75f74618d60476cd
diff --git a/dev-python/pdm-backend/pdm-backend-2.1.3.ebuild b/dev-python/pdm-backend/pdm-backend-2.1.3.ebuild
new file mode 100644
index 000000000000..af9e6d47c21b
--- /dev/null
+++ b/dev-python/pdm-backend/pdm-backend-2.1.3.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
+}