diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-03-23 18:45:51 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-03-23 18:45:51 +0000 |
commit | 3bd958e646e508a3e80f5fb28f44384eed671f5d (patch) | |
tree | 59c64eff7f35adeaabe15243171164094a9c23e1 /dev-python/pdm-pep517 | |
parent | c8c3804588db08dae281504dd79ef71741cd8dc3 (diff) |
gentoo auto-resync : 23:03:2023 - 18:45:51
Diffstat (limited to 'dev-python/pdm-pep517')
-rw-r--r-- | dev-python/pdm-pep517/Manifest | 2 | ||||
-rw-r--r-- | dev-python/pdm-pep517/pdm-pep517-1.1.3.ebuild | 63 |
2 files changed, 65 insertions, 0 deletions
diff --git a/dev-python/pdm-pep517/Manifest b/dev-python/pdm-pep517/Manifest index 268311284894..17eb25af33ea 100644 --- a/dev-python/pdm-pep517/Manifest +++ b/dev-python/pdm-pep517/Manifest @@ -1,3 +1,5 @@ DIST pdm-pep517-1.1.2.gh.tar.gz 231983 BLAKE2B b2225da24f52d4d2c1a903db57f000a1fb2ba8435083d956ff740d272ee2fa8f00cf001673e32800fc0437ae2d1016cac661fda24f8b5f34c83a342fd3e8c353 SHA512 8f6140492ef8323044f01887895e6664019092f964e1fae3a829bcefb3d5d9c9223ef163183899681270f95b4a3a517951b7e44629ec3f37598c04ccbb221cac +DIST pdm-pep517-1.1.3.gh.tar.gz 232038 BLAKE2B 8d7e4cbd439c8cd5fd541043da93fcee4737d47c27ce049743c0944bff66b4784b00e3650e088e1ddfabcdfd4398e5fe90f3029a8353d91cc4b11ec8625d44eb SHA512 ed29b2c5a2030ceb103eb9df3d399efa316c02fb97b2000d770591c9f1abe0adeabf1cbdb9b5863dc82a1adfb67dd6385c362963145779fbf63dd39e0ff533f0 EBUILD pdm-pep517-1.1.2-r1.ebuild 1499 BLAKE2B 45092f6ce97e05b56dbc7642b4d5b06c647fce542ac44b8b4e52b75aa682910657640c14bc1109c198224c68a7cff907bf8af0f2b5683721db487834635fd579 SHA512 1396db9ce8e75e56635b0c29ef2948d041b4b0e7781cbe05c392527468ef8ba207e438064b75500009c757922ede5e47b35182ee2520b46a2e7d02debd5d39f6 +EBUILD pdm-pep517-1.1.3.ebuild 1501 BLAKE2B 11459fa3a49f3393a632d02396605e381a074ebd4176f5812501867f015939d5adf7697b10c87f02cc5d5feef15cd32e2d20ba96e6a183e816b97daa02e8be68 SHA512 8b430651bed6b2d995286abdc11d0825a4f8014e2d878b59520c26138c636e8e88acbf5e4c5219f62c2d314ed839e2ee7e80d0bb06177741e9adec4c25425417 MISC metadata.xml 401 BLAKE2B bd202e8cb137f8c6d74d4706e9e4aed7fc8a10825f68d8fec1814c26a58a2ae14208e1256a6826209019b6066f9b96d94a108e1a48c368261886357b7c20893b SHA512 dedab34ff5a645536807de7c3c616e11846d22c7aebf8446d88fb8c3a5c0edc6e97c2a3b25874ab7413b9b6ac6c0734df54e252ee1c55bc1b698883aa1f1552b diff --git a/dev-python/pdm-pep517/pdm-pep517-1.1.3.ebuild b/dev-python/pdm-pep517/pdm-pep517-1.1.3.ebuild new file mode 100644 index 000000000000..0e5c54867e4a --- /dev/null +++ b/dev-python/pdm-pep517/pdm-pep517-1.1.3.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.3-r2[${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 +} |