diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-12 19:09:37 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-12 19:09:37 -0500 |
| commit | b590c8d7572b727d565cc0b8ff660d43569845de (patch) | |
| tree | 06f7a4102ea4e845df8b66660f252920d52952f9 /dev-python/sh | |
| parent | 24f9cbfc4c34fdb6a6e03311674414e881ceab47 (diff) | |
| download | baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.gz baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.xz baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.zip | |
Adding metadata
Diffstat (limited to 'dev-python/sh')
| -rw-r--r-- | dev-python/sh/Manifest | 2 | ||||
| -rw-r--r-- | dev-python/sh/metadata.xml | 24 | ||||
| -rw-r--r-- | dev-python/sh/sh-2.2.2.ebuild | 27 |
3 files changed, 53 insertions, 0 deletions
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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>chutzpah@gentoo.org</email> + <name>Patrick McLean</name> + </maintainer> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <longdescription lang="en"> + 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. + </longdescription> + <stabilize-allarches /> + <origin>baldeagleos-repo</origin> +</pkgmetadata> 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" +} |
