diff options
Diffstat (limited to 'dev-python/subprocess32')
| -rw-r--r-- | dev-python/subprocess32/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/subprocess32/metadata.xml | 13 | ||||
| -rw-r--r-- | dev-python/subprocess32/subprocess32-3.5.4.ebuild | 22 |
3 files changed, 36 insertions, 0 deletions
diff --git a/dev-python/subprocess32/Manifest b/dev-python/subprocess32/Manifest new file mode 100644 index 000000000000..a7d9550cd5cb --- /dev/null +++ b/dev-python/subprocess32/Manifest @@ -0,0 +1 @@ +DIST subprocess32-3.5.4.tar.gz 97373 BLAKE2B 712b6545684fc7908a24ffae94d0967e168773a3b52a0701828ee2741255919927d24972a3c0579dadb5b187a63429d2a24e089e535bd3c41d6f48adc27b1166 SHA512 c811bdb5842d9f5ed9e51df4d13ba39045fbe98ca6e90a2c8138e68e44c2a55a2f0f3eb3e77e26caa3f88c360584912b001a0ca37ba68ac6c946c68c7a37d29a diff --git a/dev-python/subprocess32/metadata.xml b/dev-python/subprocess32/metadata.xml new file mode 100644 index 000000000000..eee3c0c888bb --- /dev/null +++ b/dev-python/subprocess32/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <upstream> + <remote-id type="pypi">subprocess32</remote-id> + <remote-id type="github">google/python-subprocess32</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-python/subprocess32/subprocess32-3.5.4.ebuild b/dev-python/subprocess32/subprocess32-3.5.4.ebuild new file mode 100644 index 000000000000..d94fbc6e13ea --- /dev/null +++ b/dev-python/subprocess32/subprocess32-3.5.4.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python2_7 ) + +inherit distutils-r1 + +DESCRIPTION="A backport of the subprocess module from Python 3.2/3.3 for use on 2.x" +HOMEPAGE="https://github.com/google/python-subprocess32" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="PSF-2" +SLOT="0" +KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ppc ppc64 ~sparc x86" +IUSE="test" +RESTRICT="!test? ( test )" + +python_test() { + "${PYTHON}" test_subprocess32.py || die "Tests fail with ${EPYTHON}" +} |
