summaryrefslogtreecommitdiff
path: root/dev-python/strip-hints
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/strip-hints')
-rw-r--r--dev-python/strip-hints/Manifest1
-rw-r--r--dev-python/strip-hints/strip-hints-0.2.0.ebuild26
2 files changed, 27 insertions, 0 deletions
diff --git a/dev-python/strip-hints/Manifest b/dev-python/strip-hints/Manifest
index dd3a0eff5a19..6fa5a3df8363 100644
--- a/dev-python/strip-hints/Manifest
+++ b/dev-python/strip-hints/Manifest
@@ -1 +1,2 @@
DIST strip-hints-0.1.13.gh.tar.gz 24743 BLAKE2B 1c448fb1b22ef69dcacdc47c9bf0bb623b5726fb82779779e140659f28d9a9b57ef70e6b8d8dbb2c15863ba04e5f5261f50672fe7b01223de40f00a93ac18b04 SHA512 61b364492578420e89de1bdf6ea18ac622cd2ce49d0691864ad531cee6e8b44684bf1d2ab487403455607f9d8b1da1373fb686962ddad57330e0fbd44adb6b47
+DIST strip-hints-0.2.0.gh.tar.gz 24743 BLAKE2B 1c448fb1b22ef69dcacdc47c9bf0bb623b5726fb82779779e140659f28d9a9b57ef70e6b8d8dbb2c15863ba04e5f5261f50672fe7b01223de40f00a93ac18b04 SHA512 61b364492578420e89de1bdf6ea18ac622cd2ce49d0691864ad531cee6e8b44684bf1d2ab487403455607f9d8b1da1373fb686962ddad57330e0fbd44adb6b47
diff --git a/dev-python/strip-hints/strip-hints-0.2.0.ebuild b/dev-python/strip-hints/strip-hints-0.2.0.ebuild
new file mode 100644
index 000000000000..9453248fa9e6
--- /dev/null
+++ b/dev-python/strip-hints/strip-hints-0.2.0.ebuild
@@ -0,0 +1,26 @@
+# Copyright 2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{13..14} )
+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
+}