From 9805484204d60e61e64d879465b5a02debca66db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Sat, 15 Jul 2023 23:05:13 +0200 Subject: [PATCH] dev-python/pipx: new package, add 1.2.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Cédric Krier --- dev-python/pipx/Manifest | 1 + dev-python/pipx/metadata.xml | 12 +++++++++++ dev-python/pipx/pipx-1.2.0.ebuild | 34 +++++++++++++++++++++++++++++++ 3 files changed, 47 insertions(+) create mode 100644 dev-python/pipx/Manifest create mode 100644 dev-python/pipx/metadata.xml create mode 100644 dev-python/pipx/pipx-1.2.0.ebuild diff --git a/dev-python/pipx/Manifest b/dev-python/pipx/Manifest new file mode 100644 index 0000000000000..2262bb04ec1c3 --- /dev/null +++ b/dev-python/pipx/Manifest @@ -0,0 +1 @@ +DIST pipx-1.2.0.gh.tar.gz 405655 BLAKE2B 04e796cde0609e6191a18bd835c4aa5faa1e149898a1507dd6ca46f956320f0b45df87c7be13a089510def9f8eb5e8b9a8e45630c186f52a8a39b7316d517e6a SHA512 3563b986ecb80a57dab6a811f3c9d952f50647b530ceacdb4103bcc16f14b53602040b102830354c3b9a3518e095045a6e3bfd8fc5499cf25b6061d30b19cd6c diff --git a/dev-python/pipx/metadata.xml b/dev-python/pipx/metadata.xml new file mode 100644 index 0000000000000..9d7f8d31d4383 --- /dev/null +++ b/dev-python/pipx/metadata.xml @@ -0,0 +1,12 @@ + + + + + cedk@gentoo.org + Cédric Krier + + + pipx + pypa/pipx + + diff --git a/dev-python/pipx/pipx-1.2.0.ebuild b/dev-python/pipx/pipx-1.2.0.ebuild new file mode 100644 index 0000000000000..05620f297c167 --- /dev/null +++ b/dev-python/pipx/pipx-1.2.0.ebuild @@ -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 +}