dev-python/pbs-installer: Major revamp, enable pypy3.11

Use PyPI source distribution -- given that there are no tests, there
is zero reason to use GitHub here.  Fix dependencies.  Add PyPy3.11
support.  Run import checks.

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2025-10-15 08:23:26 +02:00
parent ae6bde074c
commit e6be07febc
2 changed files with 33 additions and 0 deletions

View File

@@ -4,3 +4,5 @@ DIST pbs-installer-2025.09.02.gh.tar.gz 92711 BLAKE2B cccc8fe0ac98bf423ff4aec1fb
DIST pbs-installer-2025.09.18.gh.tar.gz 92694 BLAKE2B 06f1641c26d2ed545b93886b6ae11953a4e283191909fc6b1534b6d5878cd2d19ea5fcd3653ec7b13603f08c6a3250d1586b4bd28f9369e1555aefb4651b2a09 SHA512 379f0647459f10507a1741ab1c82eee8ba05fc664d90c898ea1bab315061fc88eb8a22af73d8027247f679d9bf4dd26121887a77178615c9f67b6fa1749313c7
DIST pbs-installer-2025.10.07.gh.tar.gz 94098 BLAKE2B af4bc8cd06f65f591f7f681d57cd2b7fb93df309853d0becc5606920e86cfb3caaba15a8c8f6f6f0c787d5cd78a3065616638f4cc5d0cb2de596b09ee9205169 SHA512 3fd9da55a34f2f1df105ce8b5fa00f5f5e8b9a35bf59fec017f2089d7756ba9dabe146885abd4b0401877bc1749616df0509d38bd83a53c0b67816e92477b87e
DIST pbs-installer-2025.10.10.gh.tar.gz 96641 BLAKE2B baa508106956df9a5305a15d1e202e2b3fbb9ff82d1e25d0d34798eb233fdfa2a67e2e6777081487ab7a6e5757eb22ba39ddac7a31eaaf83137aef476e5c1166 SHA512 d8d9403b592b536ca1bc7dc73efe30e9de961e4e9711e6f39afb4c4c6485a26377fd3ec63f22a382ded5ffcef6334b7c8f5ba52a5ef6f229d3c5e82d7488aaf9
DIST pbs_installer-2025.10.10.tar.gz 62929 BLAKE2B db9d10f819a93ed8bebaa409f847a2bd4fd052d1582a0746f0a0fda3db69c710c8350df541a55a3ac9c8041c8c5c0a37bae7ba40fe57125b0ad36555e8472799 SHA512 545582365be4b167c7087977e0b706bd6db31742551fcfcefecb0b8fbcf992838ced9315a24a8f5034a29b1cf65b232c7b46c5dca31c14079d64dbf227684a22
DIST pbs_installer-2025.10.10.tar.gz.provenance 9417 BLAKE2B fab923988b1175ad6db5ed1a4e32dd487d755fbbc359cbbd50186cd1c282fed2a658962b055256e98cd74170a90b32e591c31aab8ea31e9e677dc59f546a2171 SHA512 d78ddcd590364ed15b8a2b1cc97fa0edc560248c76f226e698a8a6f1257e288441eba6f5d331d25c63f3b2158f026570df773294060b11724124330ddb17838e

View File

@@ -0,0 +1,31 @@
# Copyright 2024-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=pdm-backend
PYPI_VERIFY_REPO=https://github.com/frostming/pbs-installer
PYTHON_COMPAT=( pypy3_11 python3_{11..14} )
inherit distutils-r1 pypi
DESCRIPTION="Installer for Python Build Standalone"
HOMEPAGE="
https://pypi.org/project/pbs-installer/
https://github.com/frostming/pbs-installer/
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"
# httpx is needed to download builds
# zstandard is needed to install them
RDEPEND="
<dev-python/httpx-1[${PYTHON_USEDEP}]
>=dev-python/httpx-0.27.0[${PYTHON_USEDEP}]
>=dev-python/zstandard-0.21.0[${PYTHON_USEDEP}]
"
EPYTEST_PLUGINS=( pytest-import-check )
distutils_enable_tests import-check