commit: 9805484204d60e61e64d879465b5a02debca66db Author: Cédric Krier <cedk <AT> gentoo <DOT> org> AuthorDate: Sat Jul 15 21:05:13 2023 +0000 Commit: Cédric Krier <cedk <AT> gentoo <DOT> org> CommitDate: Sat Jul 15 21:06:02 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98054842
dev-python/pipx: new package, add 1.2.0 Signed-off-by: Cédric Krier <cedk <AT> gentoo.org> 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(+) diff --git a/dev-python/pipx/Manifest b/dev-python/pipx/Manifest new file mode 100644 index 000000000000..2262bb04ec1c --- /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 000000000000..9d7f8d31d438 --- /dev/null +++ b/dev-python/pipx/metadata.xml @@ -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>c...@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> 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 000000000000..05620f297c16 --- /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 +}