commit:     a438cecf00717458f1a8c790370191cbe7fdfd54
Author:     Martin Mokry <martin-kokos <AT> users <DOT> noreply <DOT> github 
<DOT> com>
AuthorDate: Tue Mar 28 18:45:55 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Apr  7 14:01:24 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a438cecf

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

Signed-off-by: Martin Mokry <martin-kokos <AT> protonmail.com>
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/shellingham/Manifest                 |  1 +
 dev-python/shellingham/metadata.xml             | 13 ++++++++++
 dev-python/shellingham/shellingham-1.5.0.ebuild | 32 +++++++++++++++++++++++++
 3 files changed, 46 insertions(+)

diff --git a/dev-python/shellingham/Manifest b/dev-python/shellingham/Manifest
new file mode 100644
index 000000000000..8fe740232d11
--- /dev/null
+++ b/dev-python/shellingham/Manifest
@@ -0,0 +1 @@
+DIST shellingham-1.5.0.gh.tar.gz 21078 BLAKE2B 
94469e640b6827312d5efde90916d41d4c33c24738e0dfb5c80aff8d16b858936e6b0d2f90dd5d69ee3b5698196df1c4e475685279eb978b7dd0afba67fa5d5d
 SHA512 
2f73acdb30da499493bb79a3db24133f5bcb88d4d755387a81bc04ec30fe91ca44761d7d49fe793495b09f1c34ff59ef320a1e001cf5628ddc62885c05466076

diff --git a/dev-python/shellingham/metadata.xml 
b/dev-python/shellingham/metadata.xml
new file mode 100644
index 000000000000..aed35119921c
--- /dev/null
+++ b/dev-python/shellingham/metadata.xml
@@ -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>[email protected]</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>

diff --git a/dev-python/shellingham/shellingham-1.5.0.ebuild 
b/dev-python/shellingham/shellingham-1.5.0.ebuild
new file mode 100644
index 000000000000..be6e6357e080
--- /dev/null
+++ b/dev-python/shellingham/shellingham-1.5.0.ebuild
@@ -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

Reply via email to