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/virtualenv | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-python/virtualenv')
-rw-r--r-- | dev-python/virtualenv/Manifest | 6 | ||||
-rw-r--r-- | dev-python/virtualenv/files/virtualenv-12.1.1-skip-broken-test.patch | 19 | ||||
-rw-r--r-- | dev-python/virtualenv/metadata.xml | 12 | ||||
-rw-r--r-- | dev-python/virtualenv/virtualenv-15.1.0.ebuild | 49 | ||||
-rw-r--r-- | dev-python/virtualenv/virtualenv-16.0.0.ebuild | 49 |
5 files changed, 135 insertions, 0 deletions
diff --git a/dev-python/virtualenv/Manifest b/dev-python/virtualenv/Manifest new file mode 100644 index 000000000000..5d15616c75ae --- /dev/null +++ b/dev-python/virtualenv/Manifest @@ -0,0 +1,6 @@ +AUX virtualenv-12.1.1-skip-broken-test.patch 542 BLAKE2B 8c924cafcc0ee78b3101d55a58db8f352f793fb873a2d82b00b13a41fea9b556d90613a8df1b4a86939b22573542d2187366a9e551ed3090c62d6bc4566779c7 SHA512 9517f2efccb3cd177370cf66ea12244a39e762aae64e9bd412fc05af087648066deaf62d381b52a0eee1487c82109df4bd463599eaa641890c32eec48b694f25 +DIST virtualenv-15.1.0.tar.gz 1865011 BLAKE2B aa460d9188189bf44557417a3a878f4f58d6c4a66fda2da5dd9a69e2ec04a8be6b5cf125160b1f00b4a32803dbf8231a006974499e9110101cac5e522d82eaae SHA512 46c313fe855483cf42def0ddb319df7513bb00ea2c1570efaf1236b4e0074df40d574f3858a3d3760db988b9021ca2046c40a355cc5a3ae32a2802d6120bf255 +DIST virtualenv-16.0.0.tar.gz 1968312 BLAKE2B efc25f7c12335bb8619c3de125af3693d73afc5e7ff4edf1afa95227360ab4d0eb2ffb574b9bb36de26a2bda65b1f06009308fef48b12a81050bbc1f4ab852e9 SHA512 aed6eff9b85107072c321b37c1725987d474caf615734ab40d8d1fa60f2635be1a1919a47fbd211127e38cf1c4002548c778df29fc56d45a4570b31906c0ee54 +EBUILD virtualenv-15.1.0.ebuild 1235 BLAKE2B 2a2e2e1c5ffb29500777984c1b7959b060048309ed13f0ea080c5aa43676dec5548ef50f8d7a8dbf55320d3a93e90ec0077d746ffe4c7865a4705384964db903 SHA512 0a312b9526c342da33355edfbe17c33bf1ac859de8a61830ff5cdbe951d7c0c9f0105df40343fbdf2955eaf7aac1baff7cff8df4cdfd45d544c0244106937898 +EBUILD virtualenv-16.0.0.ebuild 1245 BLAKE2B 5e0a13f9a04a942eb0cb43d50e87d3120f161cc04a5ea4add49a453939850a24c6a0364a9445de156f31ae570e9677a70b5e81c11b1f910443da3c4245f925a3 SHA512 07c66d581592e99b8a34d94c7a2e7339c1909aa9a5e22925b7e294572a825f816416bea297dd142787ba2dc2703b342f19e72f3cb48409b11d1feafc1a84f247 +MISC metadata.xml 380 BLAKE2B 9a15805179f82d4e5c60aeb56191e690f9fe9260e34d9b4e0b893a51522fdc61246f02b20c1b55084709e06d6ce53b2e6436947aa178e2d413a923102d7ee125 SHA512 b6385fef70c6988548a00e6987bf5004979d139ad6c501d3f7b739bacef06eafa39a40bee8cc2d1164e01bb425f131aeea13f4b58ed6e75d66773a4f1c1df824 diff --git a/dev-python/virtualenv/files/virtualenv-12.1.1-skip-broken-test.patch b/dev-python/virtualenv/files/virtualenv-12.1.1-skip-broken-test.patch new file mode 100644 index 000000000000..5c14c3e22850 --- /dev/null +++ b/dev-python/virtualenv/files/virtualenv-12.1.1-skip-broken-test.patch @@ -0,0 +1,19 @@ +--- virtualenv-12.1.1/tests/test_virtualenv.py ++++ virtualenv-12.1.1/tests/test_virtualenv.py +@@ -6,6 +6,7 @@ + import tempfile + import pytest + import platform # noqa ++import unittest + + from mock import patch, Mock + +@@ -126,7 +127,7 @@ + shutil.rmtree(tmp_virtualenv) + + +-@pytest.mark.skipif("platform.python_implementation() == 'PyPy'") ++@unittest.skip("Running create environment while testing is broken") + def test_always_copy_option(): + """Should be no symlinks in directory tree""" + tmp_virtualenv = tempfile.mkdtemp() diff --git a/dev-python/virtualenv/metadata.xml b/dev-python/virtualenv/metadata.xml new file mode 100644 index 000000000000..6c60307811d3 --- /dev/null +++ b/dev-python/virtualenv/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">virtualenv</remote-id> + <remote-id type="github">pypa/virtualenv</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/virtualenv/virtualenv-15.1.0.ebuild b/dev-python/virtualenv/virtualenv-15.1.0.ebuild new file mode 100644 index 000000000000..d6f1fca73824 --- /dev/null +++ b/dev-python/virtualenv/virtualenv-15.1.0.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy{,3} ) + +inherit distutils-r1 + +DESCRIPTION="Virtual Python Environment builder" +HOMEPAGE=" + https://virtualenv.pypa.io/en/stable/ + https://pypi.org/project/virtualenv/ + https://github.com/pypa/virtualenv/ +" +SRC_URI="https://github.com/pypa/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris ~amd64-fbsd" +SLOT="0" +IUSE="doc test" + +RDEPEND="" +DEPEND="${RDEPEND} + >=dev-python/setuptools-19.6.2[${PYTHON_USEDEP}] + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + )" + +DOCS=( docs/index.rst docs/changes.rst ) + +PATCHES=( + "${FILESDIR}"/${PN}-12.1.1-skip-broken-test.patch +) + +python_compile_all() { + use doc && emake -C docs html +} + +python_test() { + py.test -v -v || die "Tests fail with ${EPYTHON}" +} + +python_install_all() { + use doc && local HTML_DOCS=( docs/_build/html/. ) + distutils-r1_python_install_all +} diff --git a/dev-python/virtualenv/virtualenv-16.0.0.ebuild b/dev-python/virtualenv/virtualenv-16.0.0.ebuild new file mode 100644 index 000000000000..b43ff98f5d16 --- /dev/null +++ b/dev-python/virtualenv/virtualenv-16.0.0.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy{,3} ) + +inherit distutils-r1 + +DESCRIPTION="Virtual Python Environment builder" +HOMEPAGE=" + https://virtualenv.pypa.io/en/stable/ + https://pypi.org/project/virtualenv/ + https://github.com/pypa/virtualenv/ +" +SRC_URI="https://github.com/pypa/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +SLOT="0" +IUSE="doc test" + +RDEPEND="" +DEPEND="${RDEPEND} + >=dev-python/setuptools-19.6.2[${PYTHON_USEDEP}] + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + )" + +DOCS=( docs/index.rst docs/changes.rst ) + +PATCHES=( + "${FILESDIR}"/${PN}-12.1.1-skip-broken-test.patch +) + +python_compile_all() { + use doc && emake -C docs html +} + +python_test() { + py.test -v -v || die "Tests fail with ${EPYTHON}" +} + +python_install_all() { + use doc && local HTML_DOCS=( docs/_build/html/. ) + distutils-r1_python_install_all +} |