mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-12 08:33:15 -04:00
dev-python/pdm: treeclean duplicate
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
@@ -1 +0,0 @@
|
||||
DIST pdm-2.7.1.tar.gz 3060384 BLAKE2B b8d848099cf9a72dab98546422ef9aaec32841b73086923817d0da9d7218856f49a21b189134161269f4dc13025fd7b42c577a5f4ca502750cd9b584255622f2 SHA512 51eadc7f8b026cdecdfb45732fcb3145f822a2b0b8b9ebb6fc42f3824d1f56ac6fb37c77e84f50af5bfc949262e596d633c4bf30d7cd5d88b13fd9c9a2f19485
|
||||
@@ -1,18 +0,0 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>falbrechtskirchinger@gmail.com</email>
|
||||
<name>Florian Albrechtskirchinger</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="pypi">pdm</remote-id>
|
||||
<remote-id type="github">pdm-project/pdm</remote-id>
|
||||
<maintainer>
|
||||
<name>Frost Ming</name>
|
||||
<email>mianghong@gmail.com</email>
|
||||
</maintainer>
|
||||
<doc>https://pdm.fming.dev</doc>
|
||||
<changelog>https://pdm.fming.dev/latest/dev/changelog/</changelog>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -1,75 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=pdm-backend
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
|
||||
inherit bash-completion-r1 distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="Modern Python package and dependency manager supporting latest PEP standards"
|
||||
HOMEPAGE="
|
||||
https://github.com/pdm-project/pdm/
|
||||
https://pypi.org/project/pdm/
|
||||
"
|
||||
|
||||
LICENSE="MIT"
|
||||
KEYWORDS="~amd64"
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/blinker[${PYTHON_USEDEP}]
|
||||
dev-python/certifi[${PYTHON_USEDEP}]
|
||||
dev-python/urllib3[${PYTHON_USEDEP}]
|
||||
dev-python/packaging[${PYTHON_USEDEP}]
|
||||
dev-python/platformdirs[${PYTHON_USEDEP}]
|
||||
dev-python/rich[${PYTHON_USEDEP}]
|
||||
dev-python/virtualenv[${PYTHON_USEDEP}]
|
||||
dev-python/pyproject-hooks[${PYTHON_USEDEP}]
|
||||
dev-python/requests-toolbelt[${PYTHON_USEDEP}]
|
||||
>=dev-python/unearth-0.9.0[${PYTHON_USEDEP}]
|
||||
dev-python/findpython[${PYTHON_USEDEP}]
|
||||
dev-python/tomlkit[${PYTHON_USEDEP}]
|
||||
dev-python/shellingham[${PYTHON_USEDEP}]
|
||||
dev-python/python-dotenv[${PYTHON_USEDEP}]
|
||||
dev-python/resolvelib[${PYTHON_USEDEP}]
|
||||
dev-python/installer[${PYTHON_USEDEP}]
|
||||
dev-python/cachecontrol[${PYTHON_USEDEP}]
|
||||
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/tomli[${PYTHON_USEDEP}]
|
||||
' 3.10)
|
||||
"
|
||||
BDEPEND="
|
||||
${RDEPEND}
|
||||
test? (
|
||||
dev-python/pytest-mock[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-rerunfailures[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-httpserver[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_compile_all() {
|
||||
PDM_CHECK_UPDATE=0 "${EPYTHON}" -m pdm completion bash > completion.bash || die
|
||||
PDM_CHECK_UPDATE=0 "${EPYTHON}" -m pdm completion zsh > completion.zsh || die
|
||||
}
|
||||
|
||||
python_test() {
|
||||
epytest -m "not network"
|
||||
|
||||
# clear saved python version
|
||||
rm -f .pdm-python
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
|
||||
newbashcomp completion.bash pdm
|
||||
|
||||
insinto /usr/share/zsh/site-functions
|
||||
newins completion.zsh _pdm
|
||||
}
|
||||
Reference in New Issue
Block a user