mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-17 14:49:30 -07:00
dev-python/gpep517: Bump to 23
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
DIST gpep517-20.gh.tar.gz 29306 BLAKE2B 5799cfb351741758a3e195d0496ab1e94dbb53d938ac27e1f00a81aaeb338f058a2b33ddcc4c7b073953b77e20b3d8d729c04f00b7c43928c457590818be2ee8 SHA512 3a8782eb513bb189b6d4d10516a122fa496185960a2970445058030fccde10b841e222cce04ce3bde2c3f1e1186cb8e3f50f44e40be2fd35e7e1b91e937585b0
|
||||
DIST gpep517-22.gh.tar.gz 31344 BLAKE2B 1d7fb03dd3b71887dfd0a56a47e3e2220c75dd7f6c84887568731071eb543582ddcfa50c6e4305105ebe194252542752e8b7de673f8731bca2372759758306ff SHA512 421a681e7de79ea06fb89920dbe1e2ba58f5dcb8ecd1bb4043dea5415978621b817c212b001a64d3955a1f7b8156b6a845e2b4c64130ebefc155de20701dcbc9
|
||||
DIST gpep517-23.gh.tar.gz 31369 BLAKE2B 4c1cea22a935c21c731e8e0242f63b89200c1aa2647489f4319d0c1442897123edac1006e60c4c14636996f264000fc32213f87f0082ba906cb01fe878c94320 SHA512 f61deb134d4b39a56f6782884b87383fbe864ce0c6c7c2b53c0fe0a17019637f8d37b9c420194ba0cc6ac40dd09bd5b3518a4cabb61331a9da5c53fb2d18c660
|
||||
|
||||
54
dev-python/gpep517/gpep517-23.ebuild
Normal file
54
dev-python/gpep517/gpep517-23.ebuild
Normal file
@@ -0,0 +1,54 @@
|
||||
# Copyright 2022-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# please keep this ebuild at EAPI 8 -- sys-apps/portage dep
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=no
|
||||
PYTHON_COMPAT=( python3_{12..15} python3_{14..15}t )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A backend script to aid installing Python packages in Gentoo"
|
||||
HOMEPAGE="
|
||||
https://pypi.org/project/gpep517/
|
||||
https://github.com/gentoo/gpep517/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/gentoo/gpep517/archive/v${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz
|
||||
"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/installer-0.5.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
# 26.1 for abi3t support
|
||||
PDEPEND="
|
||||
>=dev-python/packaging-26.1[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
${PDEPEND}
|
||||
)
|
||||
"
|
||||
|
||||
EPYTEST_PLUGINS=()
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_test() {
|
||||
epytest -o tmp_path_retention_policy=all
|
||||
}
|
||||
|
||||
python_install() {
|
||||
python_domodule gpep517
|
||||
python_newscript - gpep517 <<-EOF
|
||||
#!${EPREFIX}/usr/bin/python
|
||||
import sys
|
||||
from gpep517.__main__ import main
|
||||
sys.exit(main())
|
||||
EOF
|
||||
}
|
||||
Reference in New Issue
Block a user