From 09abaf880cd5b1ca2d0d7c320780f91fb3a0428f Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 3 Dec 2023 10:59:06 +0000 Subject: gentoo auto-resync : 03:12:2023 - 10:59:05 --- dev-python/pipx/pipx-1.3.1.ebuild | 42 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 dev-python/pipx/pipx-1.3.1.ebuild (limited to 'dev-python/pipx/pipx-1.3.1.ebuild') diff --git a/dev-python/pipx/pipx-1.3.1.ebuild b/dev-python/pipx/pipx-1.3.1.ebuild new file mode 100644 index 000000000000..01daa9316fba --- /dev/null +++ b/dev-python/pipx/pipx-1.3.1.ebuild @@ -0,0 +1,42 @@ +# 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/platformdirs-2.1[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/tomli[${PYTHON_USEDEP}] + ' 3.10) + >=dev-python/userpath-1.9.0[${PYTHON_USEDEP}] +" + +PROPERTIES="test_network" +RESTRICT="test" +distutils_enable_tests pytest + +python_test() { + epytest --net-pypiserver +} -- cgit v1.2.3