summaryrefslogtreecommitdiff
path: root/dev-python/pdm-pep517
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/pdm-pep517')
-rw-r--r--dev-python/pdm-pep517/Manifest2
-rw-r--r--dev-python/pdm-pep517/pdm-pep517-1.0.5.ebuild58
2 files changed, 60 insertions, 0 deletions
diff --git a/dev-python/pdm-pep517/Manifest b/dev-python/pdm-pep517/Manifest
index 47dc011664ad..3e072ca649fd 100644
--- a/dev-python/pdm-pep517/Manifest
+++ b/dev-python/pdm-pep517/Manifest
@@ -1,3 +1,5 @@
DIST pdm-pep517-1.0.4.gh.tar.gz 314677 BLAKE2B dc6fad5bf6bd4aa6d9d490c6fb1df0d1a1543ae93f90ac4d53bbd515de6f6582a4fd032cc5c67aeebf71755fec6aac3b5a462a18eb08087c6a4da279e3c989ad SHA512 4edd016873c054f20efc39b8a044c2ff5dee70509c45ba1227e6982043dabb5ed0353afef4af73c88106ffe5a2c27f569077448fb27a0d58169710d2c6573c2f
+DIST pdm-pep517-1.0.5.gh.tar.gz 314932 BLAKE2B 5a0adce25de4aaa1d57d859223a3632c01f31d9be947384c9a1707fcb413f0a1d1434c9c6bee868ee0c668fa89cc78ef6d4831a4a2b1150607bc5f8173e61cd9 SHA512 e5cde819476187f4ad5caaa0dddb9409fbefb241e0548fb4ad9df4722de3c7b532aba969b399afade0bfd3d774ee5cdcd3bc9ece3a5ebfb2d5a2a6f3280a6ab5
EBUILD pdm-pep517-1.0.4.ebuild 1309 BLAKE2B c2c29ad327bed8054de90d8be424dce64baef3dcc76fad1a3516166b9d189d907b3dbf0d342120f7575671adea9b3c2d2d4c129fcc1fc116300e590673ccca2c SHA512 4a9cf172f4a931fe130ae95eca978031fc931bf8821e0a67c65521bae94b76b1bb4736e8b7bc0fab5e41e0da083e76e196844c7db6c9e3b602febfa4b34ec53c
+EBUILD pdm-pep517-1.0.5.ebuild 1310 BLAKE2B e6a8fa64a13b0369a7951479ca8417f2a06232b3d7f2ff99eb81250a5c09f71f7f769477f34d45737ffdc340bc6da6ace23f2a86fd6aceffc40001dcae5a4dd9 SHA512 c77a0526f4797346a2f55e7bdc5eee41f47e021935ca83afbf948fd8f088a48eaec9b86beea655b3c449d1a4f79f02f3b9f724669f84f5fe7f2719d76ce5c5c6
MISC metadata.xml 400 BLAKE2B 0882adff4040585d2881a8712b035a5204909639f80f637526b793fd9e31e9d6cda6119cc069d8ff2e768b9d5807eab16bc27bfd35beb5a613722afead2d8b0c SHA512 484e17561642cf1d26d61a1d95554614b9e77b1ee985cba61ad35dad9c9470d0f64e99385200b8eb7e2cdd5e1427cf7835d6e39c10dece1fb90dd6e81cd15d91
diff --git a/dev-python/pdm-pep517/pdm-pep517-1.0.5.ebuild b/dev-python/pdm-pep517/pdm-pep517-1.0.5.ebuild
new file mode 100644
index 000000000000..1d4b03ff9e34
--- /dev/null
+++ b/dev-python/pdm-pep517/pdm-pep517-1.0.5.ebuild
@@ -0,0 +1,58 @@
+# 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..11} 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 ~arm ~arm64 ~ppc64 ~riscv ~x86"
+
+RDEPEND="
+ >=dev-python/cerberus-1.3.4[${PYTHON_USEDEP}]
+ dev-python/license-expression[${PYTHON_USEDEP}]
+ >=dev-python/packaging-21.0[${PYTHON_USEDEP}]
+ >=dev-python/tomli-2[${PYTHON_USEDEP}]
+ dev-python/tomli-w[${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
+}