diff options
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.4.ebuild | 71 |
2 files changed, 73 insertions, 0 deletions
diff --git a/dev-python/pdm-backend/Manifest b/dev-python/pdm-backend/Manifest index 0cd5ea3725dd..b647c4cba34f 100644 --- a/dev-python/pdm-backend/Manifest +++ b/dev-python/pdm-backend/Manifest @@ -2,8 +2,10 @@ DIST pdm-backend-2.1.0.gh.tar.gz 134050 BLAKE2B 941795a8e108442d8ab651cee2c87f72 DIST pdm-backend-2.1.1.gh.tar.gz 134089 BLAKE2B a92d29b3d5f32e0bfbf407f354ba672922feb833ad2078857244a40fac7be210c5ba93810d6db7c0edd7fe874f7c9bcb9bd902dde5aa255c2b682855c9a00eed SHA512 710a574822beffad0ff3e812afa69a13878ada8ec10092d4c2f47c37345118dc972ea12fef7b26a835e9d76c774134dfad6fb77902c1755df072ef5acc7160a4 DIST pdm-backend-2.1.2.gh.tar.gz 134069 BLAKE2B 425a43c7a7e47209caeec8fd44fde9734c9a79af5703fc668858f655b0783dbfaf934344a3e5f6b85fa59fe3122d2212890c1da615f331a5529e2619ee45c42f SHA512 a0d61ead5761d5c4558d486bed0249ec7fdcb9f48eac00ba87a97b8c32e28bf6ebe1d2ec840b049440864b68df997285c446922d6712226f4bd458f291567d00 DIST pdm-backend-2.1.3.gh.tar.gz 134133 BLAKE2B 5bead9ac6b5bf2da9479afc923875991ab7de556a15a14584d98bb7c3dcb34788d2f7284c588a29881898536b3a7e9238d75674f75291a0a1acf4c73483c0b5b SHA512 75b13af45636af34e91dcf6e10c0699433dc5fe65a7697dfa68a74af4802c7d4ced97ee4808763660f22556bc53a0bdb71fa04be4340050ec5baf75b3af6e97c +DIST pdm-backend-2.1.4.gh.tar.gz 134278 BLAKE2B 38e52761d54cab96727d5015e41de76cd6d7eb6dbd02829ed2ddeeb2e2d64d42a0eb6bb09e055362e1dd181d9e7781ed9f9abcb2f96de342cd5780e1f21a8708 SHA512 4833819f8828f5e2ff204ca18478704d8d66c977c747f9b550dc1ecfee57a8adbfcddaea6dded8d8ea0c0e0c7745e0704e12acae30d183cb27cf4c1fad331791 EBUILD pdm-backend-2.1.0.ebuild 1678 BLAKE2B 758d71baef496bf948a4b321d35afa4b5c785cbb665ac316108e7c4f7baca93ab378ecf3efce02389d3fad4af4b1f1f8c21d6c85f350dd43c19950adad11da75 SHA512 ac17fe5600e4fd8eadc8d8b53898bf0fd06d6d8b41f1ebaf59312e423add858d452a996d5274fa9741ff823f27d28522ba3e9161f08fd2ba6b48efbec4bc309c EBUILD pdm-backend-2.1.1.ebuild 1678 BLAKE2B 758d71baef496bf948a4b321d35afa4b5c785cbb665ac316108e7c4f7baca93ab378ecf3efce02389d3fad4af4b1f1f8c21d6c85f350dd43c19950adad11da75 SHA512 ac17fe5600e4fd8eadc8d8b53898bf0fd06d6d8b41f1ebaf59312e423add858d452a996d5274fa9741ff823f27d28522ba3e9161f08fd2ba6b48efbec4bc309c EBUILD pdm-backend-2.1.2.ebuild 1678 BLAKE2B 758d71baef496bf948a4b321d35afa4b5c785cbb665ac316108e7c4f7baca93ab378ecf3efce02389d3fad4af4b1f1f8c21d6c85f350dd43c19950adad11da75 SHA512 ac17fe5600e4fd8eadc8d8b53898bf0fd06d6d8b41f1ebaf59312e423add858d452a996d5274fa9741ff823f27d28522ba3e9161f08fd2ba6b48efbec4bc309c EBUILD pdm-backend-2.1.3.ebuild 1678 BLAKE2B 758d71baef496bf948a4b321d35afa4b5c785cbb665ac316108e7c4f7baca93ab378ecf3efce02389d3fad4af4b1f1f8c21d6c85f350dd43c19950adad11da75 SHA512 ac17fe5600e4fd8eadc8d8b53898bf0fd06d6d8b41f1ebaf59312e423add858d452a996d5274fa9741ff823f27d28522ba3e9161f08fd2ba6b48efbec4bc309c +EBUILD pdm-backend-2.1.4.ebuild 1678 BLAKE2B 758d71baef496bf948a4b321d35afa4b5c785cbb665ac316108e7c4f7baca93ab378ecf3efce02389d3fad4af4b1f1f8c21d6c85f350dd43c19950adad11da75 SHA512 ac17fe5600e4fd8eadc8d8b53898bf0fd06d6d8b41f1ebaf59312e423add858d452a996d5274fa9741ff823f27d28522ba3e9161f08fd2ba6b48efbec4bc309c MISC metadata.xml 402 BLAKE2B ac579efc6fd41e67d00ccbba4831c85eed6f5e4341b17533f60c95b666d8a457a5ed683440028c876b8d638fff59af97c5087612b7817dd1a9bd8b9f74cdda0a SHA512 77766986547445c26c7de4bd1d4fb495f8c22e1844fd5b4835b1cabc4aa503a36eae84460e4fceca2f71a87d5f4fc83593b33fda9ae8cafd75f74618d60476cd diff --git a/dev-python/pdm-backend/pdm-backend-2.1.4.ebuild b/dev-python/pdm-backend/pdm-backend-2.1.4.ebuild new file mode 100644 index 000000000000..af9e6d47c21b --- /dev/null +++ b/dev-python/pdm-backend/pdm-backend-2.1.4.ebuild @@ -0,0 +1,71 @@ +# 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.{9..10}) + $(python_gen_cond_dep ' + >=dev-python/importlib-metadata-3.6[${PYTHON_USEDEP}] + ' 3.9) +" +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 +} |