dev-python/pipx: new package, add 1.2.0

Signed-off-by: Cédric Krier <cedk@gentoo.org>
This commit is contained in:
Cédric Krier
2023-07-15 23:05:13 +02:00
parent 56426e6d86
commit 9805484204
3 changed files with 47 additions and 0 deletions

1
dev-python/pipx/Manifest Normal file
View File

@@ -0,0 +1 @@
DIST pipx-1.2.0.gh.tar.gz 405655 BLAKE2B 04e796cde0609e6191a18bd835c4aa5faa1e149898a1507dd6ca46f956320f0b45df87c7be13a089510def9f8eb5e8b9a8e45630c186f52a8a39b7316d517e6a SHA512 3563b986ecb80a57dab6a811f3c9d952f50647b530ceacdb4103bcc16f14b53602040b102830354c3b9a3518e095045a6e3bfd8fc5499cf25b6061d30b19cd6c

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>cedk@gentoo.org</email>
<name>Cédric Krier</name>
</maintainer>
<upstream>
<remote-id type="pypi">pipx</remote-id>
<remote-id type="github">pypa/pipx</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,34 @@
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=hatchling
PYTHON_COMPAT=( python3_{10..12} )
inherit distutils-r1
DESCRIPTION="Install and Run Python Applications in Isolated Environments"
HOMEPAGE="
https://pypi.org/project/pipx/
https://pypa.github.io/pipx/
"
# no tests in sdist
SRC_URI="https://github.com/pypa/pipx/archive/${PV}.tar.gz -> ${P}.gh.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
>=dev-python/argcomplete-1.9.4[${PYTHON_USEDEP}]
>=dev-python/packaging-20.0[${PYTHON_USEDEP}]
>=dev-python/userpath-1.6.0[${PYTHON_USEDEP}]
"
PROPERTIES="test_network"
RESTRICT="test"
distutils_enable_tests pytest
python_test() {
epytest --net-pypiserver
}