From b590c8d7572b727d565cc0b8ff660d43569845de Mon Sep 17 00:00:00 2001 From: root Date: Fri, 12 Jun 2026 19:09:37 -0500 Subject: Adding metadata --- dev-python/sh/Manifest | 2 ++ dev-python/sh/metadata.xml | 24 ++++++++++++++++++++++++ dev-python/sh/sh-2.2.2.ebuild | 27 +++++++++++++++++++++++++++ 3 files changed, 53 insertions(+) create mode 100644 dev-python/sh/Manifest create mode 100644 dev-python/sh/metadata.xml create mode 100644 dev-python/sh/sh-2.2.2.ebuild (limited to 'dev-python/sh') diff --git a/dev-python/sh/Manifest b/dev-python/sh/Manifest new file mode 100644 index 000000000000..7122f34e65a1 --- /dev/null +++ b/dev-python/sh/Manifest @@ -0,0 +1,2 @@ +DIST sh-2.2.2.tar.gz 345866 BLAKE2B dcbfcb257b1c1e7ea57f41aa4207b5d16506c134f503a967f99102ce44ac10b1681369325ebefbb5b64e47b26f52a65bdac3fbd5e89071f321caf72e5a2fd056 SHA512 7235aac25d5f88320f27cf0f5a87ab4e8585e3585aea21d87e927745cf8e255067d0557f865695956b947fe084b28cd5d8ce97102e77cfc9483b39a9eaae23d7 +DIST sh-2.2.2.tar.gz.provenance 8914 BLAKE2B a9fe9bb740afc42ddbc405755ffde393be7fc147866a39960f819ee7809a8dfcd71f6fc0f26d4ffede5d573b58c1b22cec455521b078d5fab033448c76cf4717 SHA512 3823987428e4751c43539eaa5815396722a9c0dff5770a080a6697f5295b0500dcf25c48f7e80b9634eccaae57cfe4fabd0749f24200b7aa1433e0710092ef0e diff --git a/dev-python/sh/metadata.xml b/dev-python/sh/metadata.xml new file mode 100644 index 000000000000..1c5f7da374f2 --- /dev/null +++ b/dev-python/sh/metadata.xml @@ -0,0 +1,24 @@ + + + + + chutzpah@gentoo.org + Patrick McLean + + + python@gentoo.org + Python + + + sh (previously pbs) is a full-fledged subprocess interface + for Python 2.6 - 3.2 that allows you to call any program + as if it were a function: + + from sh import ifconfig + print ifconfig("eth0") + + sh is not a collection of system commands implemented in Python. + + + baldeagleos-repo + diff --git a/dev-python/sh/sh-2.2.2.ebuild b/dev-python/sh/sh-2.2.2.ebuild new file mode 100644 index 000000000000..2e392ecd304c --- /dev/null +++ b/dev-python/sh/sh-2.2.2.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYPI_VERIFY_REPO=https://github.com/amoffat/sh +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Python subprocess interface" +HOMEPAGE=" + https://github.com/amoffat/sh/ + https://pypi.org/project/sh/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" + +distutils_enable_tests unittest + +python_test() { + local -x SH_TESTS_RUNNING=1 + eunittest -p "*_test.py" +} -- cgit v1.3.1