Files
guru/dev-python/strip-hints/strip-hints-0.2.0.ebuild
T
David Roman 59f98117e4 */*: disable py3.12 && remove dead impls
Disable py3.12 except for packages which only had py3.12 in PYTHON_COMPAT

Signed-off-by: David Roman <stkw0@disroot.org>
Part-of: https://codeberg.org/gentoo/guru/pulls/161
2026-11-03 14:42:49 +01:00

27 lines
694 B
Bash

# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{13..15} )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1 edo
DESCRIPTION="Function and command-line program to strip Python type hints"
HOMEPAGE="https://pypi.org/project/strip-hints
https://github.com/abarker/strip-hints"
# Using github tarball due to missing tests in pypi archive
MY_PV="8e55ffaddcc8c8a0fc968729718e0c6abe2b71e9"
SRC_URI="https://github.com/abarker/strip-hints/archive/${MY_PV}.tar.gz -> ${P}.gh.tar.gz"
S="${WORKDIR}/${PN}-${MY_PV}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
python_test() {
cd test || die
edo ./run_tests.bash
}