dev-python/pdm-pep517: Bump to 1.0.2

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2022-07-10 08:33:39 +02:00
parent 7e7eb93aa3
commit 5f9b34e5bc
2 changed files with 59 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST pdm-pep517-1.0.1.gh.tar.gz 307357 BLAKE2B f833179b0ea011c4304625f08d3eca85b17163d4af6144f72e6faa2fe1091f9607f53ae051fca4e837009c3132ad6f06ae69cc5288ca8731ffb1ff2ef555d0d0 SHA512 7d90829a351e95f7b53f53d356a60cb170036059f5e6311df46989253b33f126f384a93cd6aa22c95b1ec7aa501e13773ccafabbb41e5237e84537b73dc43f58
DIST pdm-pep517-1.0.2.gh.tar.gz 307938 BLAKE2B 711cc77c4ec4a3002557b5537c931215254d6fd724bf80f5457750100d55aba580b0f5fdbf8b17a31e5b02b42a94b62bc72eb99693fb59c3ab76364666b51b15 SHA512 bb827a6130299acab18714c7380f81fa530b95e3bc1e78bca810c116472269f050df45d04ef69d90a1ad96dd6bc965a50edc01bc9c429b96eefb76d62c66b8ae

View File

@@ -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 ~arm64 ~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
}