dev-python/shtab: new package, add 1.6.5

Signed-off-by: Takuya Wakazono <pastalian46@gmail.com>
This commit is contained in:
Takuya Wakazono
2024-02-08 01:08:51 +09:00
parent 3097565be3
commit c7f3d0c234
4 changed files with 53 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST shtab-1.6.5.tar.gz 45808 BLAKE2B 6a8bd4daa5d67c42f082e15641953365c4d6d5098bfd374f5059eeeb4e442b4d65a71039794a2f7b1b1e3826a5d6bfdc1b9edc5aa1adac4d2876fee20d084979 SHA512 09a18f98ea8d79add677e54def88b245860bf0066ad38c3d954f56a75dff598aa5fa60e0a9626b8d27d2d5aa3edce2076ba97dfdf026625a8582a256c04dacb5

View 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"

View 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>

View 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=
}