From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/virtualenv/, dev-python/virtualenv/files/
Date: Thu, 28 May 2020 08:00:10 +0000 (UTC) [thread overview]
Message-ID: <1590652799.1f49fbe42e6def41260981fd420f2bbd471fa02b.mgorny@gentoo> (raw)
commit: 1f49fbe42e6def41260981fd420f2bbd471fa02b
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue May 26 15:18:26 2020 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu May 28 07:59:59 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f49fbe4
dev-python/virtualenv: Port to py39
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
.../virtualenv/files/virtualenv-20.0.21-py39.patch | 27 ++++++++++++++++++++++
dev-python/virtualenv/virtualenv-16.7.10.ebuild | 2 +-
dev-python/virtualenv/virtualenv-20.0.21.ebuild | 6 ++++-
3 files changed, 33 insertions(+), 2 deletions(-)
diff --git a/dev-python/virtualenv/files/virtualenv-20.0.21-py39.patch b/dev-python/virtualenv/files/virtualenv-20.0.21-py39.patch
new file mode 100644
index 00000000000..221cc734d26
--- /dev/null
+++ b/dev-python/virtualenv/files/virtualenv-20.0.21-py39.patch
@@ -0,0 +1,27 @@
+From a8717bf6ac3375d7f26738189c32e3bae04d280a Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Bern=C3=A1t=20G=C3=A1bor?= <bgabor8@bloomberg.net>
+Date: Fri, 22 May 2020 12:41:32 +0100
+Subject: [PATCH] Add 3.9 on Linux to the test suite (#1839)
+
+---
+ azure-pipelines.yml | 10 ++++++----
+ setup.cfg | 3 ++-
+ tests/integration/test_zipapp.py | 2 ++
+ tests/unit/activation/test_xonsh.py | 3 +++
+ tests/unit/discovery/test_py_spec.py | 2 ++
+ tox.ini | 2 +-
+ 6 files changed, 16 insertions(+), 6 deletions(-)
+
+diff --git a/tests/unit/discovery/test_py_spec.py b/tests/unit/discovery/test_py_spec.py
+index 445412773..52154f14c 100644
+--- a/tests/unit/discovery/test_py_spec.py
++++ b/tests/unit/discovery/test_py_spec.py
+@@ -95,6 +95,8 @@ def _version_not_satisfies_pairs():
+ for o in [1, -1]:
+ temp = copy(sat_ver)
+ temp[patch] += o
++ if temp[patch] < 0:
++ continue
+ sat = ".".join(str(i) for i in temp)
+ target.add((req, sat))
+ return sorted(target)
diff --git a/dev-python/virtualenv/virtualenv-16.7.10.ebuild b/dev-python/virtualenv/virtualenv-16.7.10.ebuild
index 17e73c44a3f..72bbf587452 100644
--- a/dev-python/virtualenv/virtualenv-16.7.10.ebuild
+++ b/dev-python/virtualenv/virtualenv-16.7.10.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-PYTHON_COMPAT=( python{2_7,3_{6,7,8}} pypy3 )
+PYTHON_COMPAT=( python{2_7,3_{6,7,8,9}} pypy3 )
DISTUTILS_USE_SETUPTOOLS=manual
inherit distutils-r1
diff --git a/dev-python/virtualenv/virtualenv-20.0.21.ebuild b/dev-python/virtualenv/virtualenv-20.0.21.ebuild
index a2cafd2f792..598bd3439d0 100644
--- a/dev-python/virtualenv/virtualenv-20.0.21.ebuild
+++ b/dev-python/virtualenv/virtualenv-20.0.21.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-PYTHON_COMPAT=( python{2_7,3_{6,7,8}} pypy3 )
+PYTHON_COMPAT=( python{2_7,3_{6,7,8,9}} pypy3 )
DISTUTILS_USE_SETUPTOOLS=manual
inherit distutils-r1
@@ -58,6 +58,10 @@ distutils_enable_sphinx docs \
dev-python/towncrier
distutils_enable_tests pytest
+PATCHES=(
+ "${FILESDIR}"/${P}-py39.patch
+)
+
src_prepare() {
# we don't have xonsh
rm tests/unit/activation/test_xonsh.py || die
next reply other threads:[~2020-05-28 8:00 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-28 8:00 Michał Górny [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-12-10 17:39 [gentoo-commits] repo/gentoo:master commit in: dev-python/virtualenv/, dev-python/virtualenv/files/ Michał Górny
2021-10-23 11:11 Michał Górny
2020-07-19 17:18 Michał Górny
2017-05-03 7:37 Michał Górny
2016-01-17 15:23 Justin Lecher
2015-11-23 10:05 Justin Lecher
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1590652799.1f49fbe42e6def41260981fd420f2bbd471fa02b.mgorny@gentoo \
--to=mgorny@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox