mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-08 22:52:59 -04:00
dev-python/shtab: new package, add 1.6.5
Signed-off-by: Takuya Wakazono <pastalian46@gmail.com>
This commit is contained in:
1
dev-python/shtab/Manifest
Normal file
1
dev-python/shtab/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST shtab-1.6.5.tar.gz 45808 BLAKE2B 6a8bd4daa5d67c42f082e15641953365c4d6d5098bfd374f5059eeeb4e442b4d65a71039794a2f7b1b1e3826a5d6bfdc1b9edc5aa1adac4d2876fee20d084979 SHA512 09a18f98ea8d79add677e54def88b245860bf0066ad38c3d954f56a75dff598aa5fa60e0a9626b8d27d2d5aa3edce2076ba97dfdf026625a8582a256c04dacb5
|
||||
10
dev-python/shtab/files/shtab-1.6.5-pyproject.patch
Normal file
10
dev-python/shtab/files/shtab-1.6.5-pyproject.patch
Normal file
@@ -0,0 +1,10 @@
|
||||
Set a default build-backend.
|
||||
--- a/pyproject.toml
|
||||
+++ b/pyproject.toml
|
||||
@@ -1,5 +1,6 @@
|
||||
[build-system]
|
||||
requires = ["setuptools>=42", "wheel", "setuptools_scm[toml]>=3.4"]
|
||||
+build-backend = "setuptools.build_meta"
|
||||
|
||||
[tool.setuptools_scm]
|
||||
write_to = "shtab/_dist_ver.py"
|
||||
12
dev-python/shtab/metadata.xml
Normal file
12
dev-python/shtab/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>pastalian46@gmail.com</email>
|
||||
<name>Takuya Wakazono</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">iterative/shtab</remote-id>
|
||||
<remote-id type="pypi">shtab</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
30
dev-python/shtab/shtab-1.6.5.ebuild
Normal file
30
dev-python/shtab/shtab-1.6.5.ebuild
Normal file
@@ -0,0 +1,30 @@
|
||||
# Copyright 2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{11..12} )
|
||||
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="Automagic shell tab completion for Python CLI applications"
|
||||
HOMEPAGE="
|
||||
https://github.com/iterative/shtab
|
||||
https://pypi.org/project/shtab/
|
||||
"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
BDEPEND="dev-python/setuptools-scm[${PYTHON_USEDEP}]"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${P}-pyproject.patch" )
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_test() {
|
||||
# Disable pytest-cov
|
||||
epytest -o addopts=
|
||||
}
|
||||
Reference in New Issue
Block a user