dev-python/shellingham: New package, v1.5.0

Signed-off-by: Martin Mokry <martin-kokos@protonmail.com>
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Martin Mokry
2023-04-07 16:01:24 +02:00
committed by Michał Górny
parent e32dcacf09
commit a438cecf00
3 changed files with 46 additions and 0 deletions
+1
View File
@@ -0,0 +1 @@
DIST shellingham-1.5.0.gh.tar.gz 21078 BLAKE2B 94469e640b6827312d5efde90916d41d4c33c24738e0dfb5c80aff8d16b858936e6b0d2f90dd5d69ee3b5698196df1c4e475685279eb978b7dd0afba67fa5d5d SHA512 2f73acdb30da499493bb79a3db24133f5bcb88d4d755387a81bc04ec30fe91ca44761d7d49fe793495b09f1c34ff59ef320a1e001cf5628ddc62885c05466076
+13
View File
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM 'https://www.gentoo.org/dtd/metadata.dtd'>
<pkgmetadata>
<maintainer type="project">
<email>python@gentoo.org</email>
<name>Python</name>
</maintainer>
<stabilize-allarches/>
<upstream>
<remote-id type="pypi">shellingham</remote-id>
<remote-id type="github">sarugaku/shellingham</remote-id>
</upstream>
</pkgmetadata>
@@ -0,0 +1,32 @@
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{9..11} )
inherit distutils-r1 pypi
DESCRIPTION="Tool to Detect Surrounding Shell"
HOMEPAGE="
https://github.com/sarugaku/shellingham/
https://pypi.org/project/shellingham/
"
# Missing tests in PYPI distribution so we use the GH package
SRC_URI="
https://github.com/sarugaku/shellingham/archive/${PV}.tar.gz
-> ${P}.gh.tar.gz
"
LICENSE="ISC"
SLOT="0"
KEYWORDS="~amd64"
DEPEND="
test? (
dev-python/pytest-mock[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest