diff options
author | Michał Górny <mgorny@gentoo.org> | 2019-12-17 13:22:47 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2019-12-17 14:16:49 +0100 |
commit | 769e08c3032a7eebbcb125481c5a4e3cbd598281 (patch) | |
tree | 5785809f69eaa2be565bca4e32fb608d00f7e18b /dev-python/virtualenv | |
parent | dev-python/hypothesis: Bump to 4.55.2 (diff) | |
download | gentoo-769e08c3032a7eebbcb125481c5a4e3cbd598281.tar.gz gentoo-769e08c3032a7eebbcb125481c5a4e3cbd598281.tar.bz2 gentoo-769e08c3032a7eebbcb125481c5a4e3cbd598281.zip |
dev-python/virtualenv: Bump to 16.7.9
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/virtualenv')
-rw-r--r-- | dev-python/virtualenv/Manifest | 1 | ||||
-rw-r--r-- | dev-python/virtualenv/virtualenv-16.7.9.ebuild | 60 |
2 files changed, 61 insertions, 0 deletions
diff --git a/dev-python/virtualenv/Manifest b/dev-python/virtualenv/Manifest index e1cb4ab10617..4abcbd351a80 100644 --- a/dev-python/virtualenv/Manifest +++ b/dev-python/virtualenv/Manifest @@ -2,3 +2,4 @@ DIST virtualenv-15.1.0.tar.gz 1865011 BLAKE2B aa460d9188189bf44557417a3a878f4f58 DIST virtualenv-16.0.0.tar.gz 1968312 BLAKE2B efc25f7c12335bb8619c3de125af3693d73afc5e7ff4edf1afa95227360ab4d0eb2ffb574b9bb36de26a2bda65b1f06009308fef48b12a81050bbc1f4ab852e9 SHA512 aed6eff9b85107072c321b37c1725987d474caf615734ab40d8d1fa60f2635be1a1919a47fbd211127e38cf1c4002548c778df29fc56d45a4570b31906c0ee54 DIST virtualenv-16.7.7.tar.gz 5113918 BLAKE2B b8189a2fa2c76f5571ff8964e644971ea3a2b7ba924eae860eb41789e3bfdb01096eca4a338a5b9634698ba4920a3ea77a5ea734dd7c6997317661ee3e7ee6f5 SHA512 d39af559c79e1a254bd6aa9a6f20db858867f858dd8cbe44141692166e7ab60bfce6f666250113cca33180a157bc65015c14ec554df335f73c1134120974d2a0 DIST virtualenv-16.7.8.tar.gz 5116520 BLAKE2B 3a81583695abfa92193f5ffb769546abe4b8f736280bc85bca8c3f5b17c6a5ce4ed83ac2e0ee283b457bd1ce433554bfc515452cb075f4693fe0d127d2eb042b SHA512 fbecf6d0a3cb27e8b88d9063567813fbbbeda95cd6bd626cd612020c6733db762f24119ac1205aa82fcdfd0a69a8a5a084295278895fdd51a3b145aa30860206 +DIST virtualenv-16.7.9.tar.gz 5116740 BLAKE2B 10b77c4d74d3b1be60d567caf60b48274893777313d7151350df1d8a7d86d7cbd299c6c04734cbad134512e2ea05f5bc694648b6e9307019ffd9b91f7d0cdaf5 SHA512 d7379941e299c44beba30eaab68d5f1a6650f767b24f95d5e8abd05c1529dca4c1423113a41ff42690bb2b2bd4fe05c3e47a8fed4f9df0972188f6c77034436b diff --git a/dev-python/virtualenv/virtualenv-16.7.9.ebuild b/dev-python/virtualenv/virtualenv-16.7.9.ebuild new file mode 100644 index 000000000000..bb85f78d9a37 --- /dev/null +++ b/dev-python/virtualenv/virtualenv-16.7.9.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +# pypy{,3} dropped until test deps are tested/updated +PYTHON_COMPAT=( python{2_7,3_{5,6,7,8}} 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-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +SLOT="0" +IUSE="test" +RESTRICT="!test? ( test )" + +BDEPEND=">=dev-python/setuptools-19.6.2[${PYTHON_USEDEP}] + test? ( + >=dev-python/pip-19.3.1-r1[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pypiserver[${PYTHON_USEDEP}] + dev-python/pytest-localserver[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] + dev-python/wheel[${PYTHON_USEDEP}] + )" + +DOCS=( docs/index.rst docs/changes.rst ) + +PATCHES=( + "${FILESDIR}/virtualenv-16.7.7-tests.patch" + + # disable tests that need internet access + "${FILESDIR}/virtualenv-16.7.7-tests-internet.patch" + + # test fixes for pypy + "${FILESDIR}/virtualenv-16.7.8-tests-pypy.patch" +) + +distutils_enable_sphinx docs \ + dev-python/sphinx_rtd_theme \ + dev-python/towncrier + +python_test() { + cp "${S}"/LICENSE.txt "${BUILD_DIR}"/lib || \ + die "Could not copy LICENSE.txt with ${EPYTHON}" + + pytest -vv tests || die "Tests fail with ${EPYTHON}" +} |