diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-python/subprocess32 | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-python/subprocess32')
-rw-r--r-- | dev-python/subprocess32/Manifest | 4 | ||||
-rw-r--r-- | dev-python/subprocess32/files/subprocess32-3.2.7-sandbox-test-fix.patch | 14 | ||||
-rw-r--r-- | dev-python/subprocess32/metadata.xml | 12 | ||||
-rw-r--r-- | dev-python/subprocess32/subprocess32-3.2.7.ebuild | 23 |
4 files changed, 53 insertions, 0 deletions
diff --git a/dev-python/subprocess32/Manifest b/dev-python/subprocess32/Manifest new file mode 100644 index 000000000000..db55f779a77d --- /dev/null +++ b/dev-python/subprocess32/Manifest @@ -0,0 +1,4 @@ +AUX subprocess32-3.2.7-sandbox-test-fix.patch 672 BLAKE2B fbc99c70cef17dd1a0e1e7f08952a63911802c3827a4e0c5859d65563e7308fd766bb88b689465c288375a40411b6875a9bdbefad108ba9162f4b9501e8beecf SHA512 cdfa5b9ee56df54c2d122624815e472f9dd13e101a8d221adb48d21b1f7cd0ff3187d69f91c0ed7f164ee69348ffedde22a1d32a101d1eade85d6882ad47b6d0 +DIST subprocess32-3.2.7.tar.gz 54240 BLAKE2B 0f7fc0db765c809b29b5e0bed6e17da85884d7952d3cb546adc36cbec764f9b817f1a1c0219c6910d90d53f78038171e3e250b964bff3bfead0a54a580f2ff5f SHA512 d897d6a48824991e2a63ea417ca15222f28c3a4117c9bba8cbb4eceabfba9769acce1166aafa7aee8a025d6ebe7e133ce0dd617f90cb07e11bdb73dc1e21dec6 +EBUILD subprocess32-3.2.7.ebuild 587 BLAKE2B f69e81134ec46dc6b5895f44a48a4c566658f6ede0260249f382abbacd32802f860de6917f5caf0dd374d1c01945ce338b4efd7c9ee760c79ddff105a5dd643e SHA512 7bda913d852e8392a0c4ec0c69d575ff1d9f114249a6553be79d46cc2be3e46293a27bbc03da93f23056b7205eb8738d9579bf5155a0be9fd95ae446d9e6cc3e +MISC metadata.xml 393 BLAKE2B d08d7fa6dace5a9d27aa7c6ee6df3c925d6fabe4f8a8d8f3036fce842652ef468bd2cb0a1735f841622b395569be14a8353c17aec60276b8fa7f21be5e107cc5 SHA512 0c015bdd15a504432cc6b804c66384260d2cf0b77ffbdc8af36a82e31e2c6ecf6a62c2c4d156afbaf30afcadcb3f5fdedff70b73a4c2381b5bc7fedcb5f36d4a diff --git a/dev-python/subprocess32/files/subprocess32-3.2.7-sandbox-test-fix.patch b/dev-python/subprocess32/files/subprocess32-3.2.7-sandbox-test-fix.patch new file mode 100644 index 000000000000..50e4a511fc4b --- /dev/null +++ b/dev-python/subprocess32/files/subprocess32-3.2.7-sandbox-test-fix.patch @@ -0,0 +1,14 @@ +diff --git a/test_subprocess32.py b/test_subprocess32.py +index c312949..000f7d6 100644 +--- a/test_subprocess32.py ++++ b/test_subprocess32.py +@@ -538,7 +538,8 @@ class ProcessTestCase(BaseTestCase): + [sys.executable, "-c", + 'import os; ' + 'print([k for k in os.environ.keys() ' +- ' if ("VERSIONER" not in k and "__CF" not in k)])'], ++ ' if ("VERSIONER" not in k and "__CF" not in k and ' ++ ' "LD_PRELOAD" not in k and "SANDBOX_" not in k)])'], + stdout=subprocess.PIPE, env={}) + try: + stdout, stderr = p.communicate() diff --git a/dev-python/subprocess32/metadata.xml b/dev-python/subprocess32/metadata.xml new file mode 100644 index 000000000000..d06e7b26e195 --- /dev/null +++ b/dev-python/subprocess32/metadata.xml @@ -0,0 +1,12 @@ +<?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> +</pkgmetadata> diff --git a/dev-python/subprocess32/subprocess32-3.2.7.ebuild b/dev-python/subprocess32/subprocess32-3.2.7.ebuild new file mode 100644 index 000000000000..0d41da79953f --- /dev/null +++ b/dev-python/subprocess32/subprocess32-3.2.7.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +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="amd64 ~arm ~arm64 ~ppc ppc64 x86" +IUSE="test" + +PATCHES=( "${FILESDIR}"/${P}-sandbox-test-fix.patch ) + +python_test() { + "${PYTHON}" test_subprocess32.py || die "Tests fail with ${EPYTHON}" +} |