mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
dev-python/strip-hints: New package
Needed as a dependency to www-servers/copyparty Signed-off-by: Esteve Varela Colominas <esteve.varela@gmail.com>
This commit is contained in:
1
dev-python/strip-hints/Manifest
Normal file
1
dev-python/strip-hints/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST strip-hints-0.1.13.gh.tar.gz 24743 BLAKE2B 1c448fb1b22ef69dcacdc47c9bf0bb623b5726fb82779779e140659f28d9a9b57ef70e6b8d8dbb2c15863ba04e5f5261f50672fe7b01223de40f00a93ac18b04 SHA512 61b364492578420e89de1bdf6ea18ac622cd2ce49d0691864ad531cee6e8b44684bf1d2ab487403455607f9d8b1da1373fb686962ddad57330e0fbd44adb6b47
|
||||
12
dev-python/strip-hints/metadata.xml
Normal file
12
dev-python/strip-hints/metadata.xml
Normal file
@@ -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>esteve.varela@gmail.com</email>
|
||||
<name>Esteve Varela Colominas</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="pypi">strip-hints</remote-id>
|
||||
<remote-id type="github">abarker/strip-hints</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
26
dev-python/strip-hints/strip-hints-0.1.13.ebuild
Normal file
26
dev-python/strip-hints/strip-hints-0.1.13.ebuild
Normal file
@@ -0,0 +1,26 @@
|
||||
# Copyright 2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{11..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
|
||||
}
|
||||
Reference in New Issue
Block a user