diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-01-30 08:57:14 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-01-30 08:57:14 +0000 |
commit | 552fc3ba95eab5c2c1a8b2b55ab432a1019739a0 (patch) | |
tree | adad36adc624e114d5b985e392ac40a7b94d8ac6 /dev-python/pdm-pep517 | |
parent | 61966498b463d88a09132a9a22c68c0c37159e41 (diff) |
gentoo auto-resync : 30:01:2023 - 08:57:13
Diffstat (limited to 'dev-python/pdm-pep517')
-rw-r--r-- | dev-python/pdm-pep517/Manifest | 4 | ||||
-rw-r--r-- | dev-python/pdm-pep517/metadata.xml | 2 | ||||
-rw-r--r-- | dev-python/pdm-pep517/pdm-pep517-1.1.0.ebuild | 63 |
3 files changed, 67 insertions, 2 deletions
diff --git a/dev-python/pdm-pep517/Manifest b/dev-python/pdm-pep517/Manifest index 21a487bba983..65c0be86850c 100644 --- a/dev-python/pdm-pep517/Manifest +++ b/dev-python/pdm-pep517/Manifest @@ -1,3 +1,5 @@ DIST pdm-pep517-1.0.6.gh.tar.gz 315755 BLAKE2B 7b221d9ddc9683521e901177cafd2ffd2908af4acbe083b4a7d6525a81ece64d3768331135451d45ffc5c40c67c8c72802d75d52fdf85fa89a13f30110436a13 SHA512 5aeef3179d508d2acaedf4b99df41e64b26537120e586a01870651d2b379e2e5a1bf42934ee28a4b285cb83fe10ead073408b6b7d022ca1f55653533d12a2da1 +DIST pdm-pep517-1.1.0.gh.tar.gz 315971 BLAKE2B 679cdd14633a5d745be4dcb215986386464dbdcc91a69a7aaec4910cca7a6c1f65dab8e1a4710715873fae9b0fd07732e8df8a4859155864df330bfda7bfd120 SHA512 b12eeaf294556cdf79e4dc5bfd1d0dc57df64ed632ae678b00452f62b6d48eaf8b7f9437a8f7eec9ecc779d4da3155f3c4923fcdba814cbd1a4575e8f79cecd4 EBUILD pdm-pep517-1.0.6.ebuild 1355 BLAKE2B a36195f9598e578dac5f64133db42000b0f454ddc4c5b7c41abebc3748eac5455f6ccef92df97d71dc7017be0f202a11b33f8bd86dcd562156c176e6dd458d1f SHA512 cae63525e28ba461025c339a27bbc01fdc1fe705f4f4336940bd691bf1018b2517a518a6b84d5e6f295254f718209906689943447ea35e780b031b9dedbdc022 -MISC metadata.xml 400 BLAKE2B 0882adff4040585d2881a8712b035a5204909639f80f637526b793fd9e31e9d6cda6119cc069d8ff2e768b9d5807eab16bc27bfd35beb5a613722afead2d8b0c SHA512 484e17561642cf1d26d61a1d95554614b9e77b1ee985cba61ad35dad9c9470d0f64e99385200b8eb7e2cdd5e1427cf7835d6e39c10dece1fb90dd6e81cd15d91 +EBUILD pdm-pep517-1.1.0.ebuild 1496 BLAKE2B 77be5b9feb0cac4b41b02cc8256d87f58ea41708a105ab7b52de28ab829017cce1c57404e3998dff933bf005b59f8ee59f1d69410116c8e8c1d990c035156a8c SHA512 bf373200a9377672f1b8b5a5b8e1c1e13f7c6db4ddbf32121360d42fead49943745c918fed85ae0bb8bc7e004bfe555b256f63a98a78f7b2a27547d2bb80e890 +MISC metadata.xml 401 BLAKE2B bd202e8cb137f8c6d74d4706e9e4aed7fc8a10825f68d8fec1814c26a58a2ae14208e1256a6826209019b6066f9b96d94a108e1a48c368261886357b7c20893b SHA512 dedab34ff5a645536807de7c3c616e11846d22c7aebf8446d88fb8c3a5c0edc6e97c2a3b25874ab7413b9b6ac6c0734df54e252ee1c55bc1b698883aa1f1552b diff --git a/dev-python/pdm-pep517/metadata.xml b/dev-python/pdm-pep517/metadata.xml index f00d2775021c..8de62c6cc043 100644 --- a/dev-python/pdm-pep517/metadata.xml +++ b/dev-python/pdm-pep517/metadata.xml @@ -8,6 +8,6 @@ <stabilize-allarches/> <upstream> <remote-id type="pypi">pdm-pep517</remote-id> - <remote-id type="github">pdm-project/pdm-pep517</remote-id> + <remote-id type="github">pdm-project/pdm-backend</remote-id> </upstream> </pkgmetadata> diff --git a/dev-python/pdm-pep517/pdm-pep517-1.1.0.ebuild b/dev-python/pdm-pep517/pdm-pep517-1.1.0.ebuild new file mode 100644 index 000000000000..438b25782acb --- /dev/null +++ b/dev-python/pdm-pep517/pdm-pep517-1.1.0.ebuild @@ -0,0 +1,63 @@ +# 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_{9..11} pypy3 ) + +inherit distutils-r1 + +# upstream has renamed the repo but the legacy branch is still published +# as pdm-pep517, sigh +MY_P=pdm-backend-${PV} +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-backend/ +" +SRC_URI=" + https://github.com/pdm-project/pdm-backend/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +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*[${PYTHON_USEDEP}] + >=dev-python/tomli-2[${PYTHON_USEDEP}] + dev-python/tomli-w[${PYTHON_USEDEP}] +" +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 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 +} |