diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-10-09 00:04:30 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-10-09 00:04:30 +0100 |
commit | 94ead5b3c01213a82c9b72a2df165452421db42b (patch) | |
tree | 8a48ed4d21de4204607288d00e68a671bef1e8f8 /dev-python/pdm-backend | |
parent | 418459f7de9eb29d6db8b61681f39c467d9600e1 (diff) |
gentoo auto-resync : 09:10:2023 - 00:04:30
Diffstat (limited to 'dev-python/pdm-backend')
-rw-r--r-- | dev-python/pdm-backend/Manifest | 2 | ||||
-rw-r--r-- | dev-python/pdm-backend/pdm-backend-2.1.7.ebuild | 68 |
2 files changed, 70 insertions, 0 deletions
diff --git a/dev-python/pdm-backend/Manifest b/dev-python/pdm-backend/Manifest index 859c23ac2521..566a687a3303 100644 --- a/dev-python/pdm-backend/Manifest +++ b/dev-python/pdm-backend/Manifest @@ -1,7 +1,9 @@ DIST pdm-backend-2.1.4.gh.tar.gz 134278 BLAKE2B 38e52761d54cab96727d5015e41de76cd6d7eb6dbd02829ed2ddeeb2e2d64d42a0eb6bb09e055362e1dd181d9e7781ed9f9abcb2f96de342cd5780e1f21a8708 SHA512 4833819f8828f5e2ff204ca18478704d8d66c977c747f9b550dc1ecfee57a8adbfcddaea6dded8d8ea0c0e0c7745e0704e12acae30d183cb27cf4c1fad331791 DIST pdm-backend-2.1.5.gh.tar.gz 134316 BLAKE2B 9337990b4ed009e506f0eee82e9f8d50fc281dbf917dc964daf75230a4c2b9cc5bf0748afe9aa7b5b6f9036249b87ec338b129136b2fd92619c12000e77a7663 SHA512 867c36a9381f4e6a2c81f2d987ce33953eaf78a43b4fa03df54f78b6c9cfe645a1ae4f3dd1a514e0d14208ad7fc75af954fa46be3c8b4b54c7ac7e16eead5aaf DIST pdm-backend-2.1.6.gh.tar.gz 134376 BLAKE2B 338ac4cd18d932d65e1ef123b81761707e8d602e8d0f171e26d849535a42e7f79f1b2828f8bedb775674d7a530329aa2dc3c5fe2f9c7e9042fc5ac36da5a0360 SHA512 c0f6278451efb242f0e9585d8298f8f73a0944cd462bac31d0528edf96f51b53ee7efbc58486daf8fdbcac8430e8bf6bc7869e9e455796a87e58d265789eb0de +DIST pdm-backend-2.1.7.gh.tar.gz 134479 BLAKE2B e559792b53310d6c159ed0cfae6fd9332bbdebfe0efaa9aae7e149b4800b7231e1561723b6aebb4cd722bc47c5a8c9f13180dfe96607a08a9a5c0fba530c9098 SHA512 d47b814b427799d8b2d106b4721c770fd703143cac5de819d74c47d4808f9130bd5835d5fafe41ab3bb17abfedeb770c8863a9cb9a7c8aba0ef9315f5308e6b3 EBUILD pdm-backend-2.1.4.ebuild 1584 BLAKE2B e76dce5a084dd9370711efb1fd154d2d04c54b87cc675e46d7eb87c1eb2c4f5f90228762b132d4d0a5babda0c608a9d0e3a3f343a3416c4cdbe7dadd055a0971 SHA512 bbe15247a370fc03ac66f50eb21e5c63cb562cb1b338bb24619c6618445d05d01476fced1fe8eb83c35c61d0ccb9130b4910a7729ea2c1bb9bf647f99e13873c EBUILD pdm-backend-2.1.5.ebuild 1584 BLAKE2B e76dce5a084dd9370711efb1fd154d2d04c54b87cc675e46d7eb87c1eb2c4f5f90228762b132d4d0a5babda0c608a9d0e3a3f343a3416c4cdbe7dadd055a0971 SHA512 bbe15247a370fc03ac66f50eb21e5c63cb562cb1b338bb24619c6618445d05d01476fced1fe8eb83c35c61d0ccb9130b4910a7729ea2c1bb9bf647f99e13873c EBUILD pdm-backend-2.1.6.ebuild 1584 BLAKE2B e76dce5a084dd9370711efb1fd154d2d04c54b87cc675e46d7eb87c1eb2c4f5f90228762b132d4d0a5babda0c608a9d0e3a3f343a3416c4cdbe7dadd055a0971 SHA512 bbe15247a370fc03ac66f50eb21e5c63cb562cb1b338bb24619c6618445d05d01476fced1fe8eb83c35c61d0ccb9130b4910a7729ea2c1bb9bf647f99e13873c +EBUILD pdm-backend-2.1.7.ebuild 1584 BLAKE2B e76dce5a084dd9370711efb1fd154d2d04c54b87cc675e46d7eb87c1eb2c4f5f90228762b132d4d0a5babda0c608a9d0e3a3f343a3416c4cdbe7dadd055a0971 SHA512 bbe15247a370fc03ac66f50eb21e5c63cb562cb1b338bb24619c6618445d05d01476fced1fe8eb83c35c61d0ccb9130b4910a7729ea2c1bb9bf647f99e13873c MISC metadata.xml 402 BLAKE2B ac579efc6fd41e67d00ccbba4831c85eed6f5e4341b17533f60c95b666d8a457a5ed683440028c876b8d638fff59af97c5087612b7817dd1a9bd8b9f74cdda0a SHA512 77766986547445c26c7de4bd1d4fb495f8c22e1844fd5b4835b1cabc4aa503a36eae84460e4fceca2f71a87d5f4fc83593b33fda9ae8cafd75f74618d60476cd diff --git a/dev-python/pdm-backend/pdm-backend-2.1.7.ebuild b/dev-python/pdm-backend/pdm-backend-2.1.7.ebuild new file mode 100644 index 000000000000..2e31060b91df --- /dev/null +++ b/dev-python/pdm-backend/pdm-backend-2.1.7.ebuild @@ -0,0 +1,68 @@ +# 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.10) +" +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 +} |