[gentoo-commits] repo/gentoo:master commit in: dev-python/future/, profiles/, dev-python/future/files/

2024-04-13 Thread Michał Górny
commit: abc0817f3b09a5a1fcdc33935cfe93719782d4a4
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Apr 13 14:52:28 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Apr 13 14:54:44 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=abc0817f

dev-python/future: Remove last-rited pkg

Closes: https://bugs.gentoo.org/888271
Signed-off-by: Michał Górny  gentoo.org>

 dev-python/future/Manifest |  2 -
 dev-python/future/files/future-0.18.2-py3.10.patch | 29 --
 .../future/files/future-0.18.2-py39-fileurl.patch  | 22 
 dev-python/future/files/future-0.18.2-py39.patch   | 65 --
 dev-python/future/future-0.18.3.ebuild | 46 ---
 dev-python/future/metadata.xml | 13 -
 profiles/package.deprecated|  7 ---
 profiles/package.mask  | 12 
 8 files changed, 196 deletions(-)

diff --git a/dev-python/future/Manifest b/dev-python/future/Manifest
deleted file mode 100644
index fff2affc2df3..
--- a/dev-python/future/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST future-0.18.3-tests.patch.xz 2736 BLAKE2B 
55f9f233fb65f006d2055adf8b5d5b3ab00b4cd9b9f5a78d09b3fa2c1e347ef2d8370569fa5374968bf3e84b4fcbc220ad8da1cc2b32da57c46d36050ba1440a
 SHA512 
c18434bc6efe88381aed8c86ed494352a2749c5680a52f62ae043bec70e3adb0163f91a971daa04134508d59172fe2e71ebbf694a74afce060b7fa1e7c385810
-DIST future-0.18.3.tar.gz 840896 BLAKE2B 
13172c639b0eee80581133a2d46b9fa3a38fb9c47ea6eecc8f0715782536be5965bbd153d6a6dda49d8fa9cfea29231c6cc60a4b3b3a6c0cc5406f02c494a425
 SHA512 
6de56a5aa5c5dd56a0dc5a6732c753530f9868036bd97e9d355f9ee6e1305e266a60c167de779cba93f09b5b3fae615193074caba2afe857ca7ea944532ef910

diff --git a/dev-python/future/files/future-0.18.2-py3.10.patch 
b/dev-python/future/files/future-0.18.2-py3.10.patch
deleted file mode 100644
index 65cbc8e7a40d..
--- a/dev-python/future/files/future-0.18.2-py3.10.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-From ca1362a4250b7124d9ae03506eb80a767f06e282 Mon Sep 17 00:00:00 2001
-From: Arthur Zamarin 
-Date: Fri, 20 Aug 2021 10:15:59 +0300
-Subject: [PATCH] Fix for Python3.10
-
-Signed-off-by: Arthur Zamarin 

- src/future/moves/test/support.py | 5 +
- 1 file changed, 5 insertions(+)
-
-diff --git a/src/future/moves/test/support.py 
b/src/future/moves/test/support.py
-index e9aa0f4..4ae2ffd 100644
 a/src/future/moves/test/support.py
-+++ b/src/future/moves/test/support.py
-@@ -3,6 +3,11 @@ from future.standard_library import suspend_hooks
- from future.utils import PY3
- 
- if PY3:
-+try:
-+from test.support.os_helper import *
-+from test.support.warnings_helper import *
-+except ImportError:
-+pass
- from test.support import *
- else:
- __future_module__ = True
--- 
-2.33.0
-

diff --git a/dev-python/future/files/future-0.18.2-py39-fileurl.patch 
b/dev-python/future/files/future-0.18.2-py39-fileurl.patch
deleted file mode 100644
index 71ed088edcb5..
--- a/dev-python/future/files/future-0.18.2-py39-fileurl.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-diff --git a/tests/test_future/test_urllib_toplevel.py 
b/tests/test_future/test_urllib_toplevel.py
-index 68bc4c9..923b2e8 100644
 a/tests/test_future/test_urllib_toplevel.py
-+++ b/tests/test_future/test_urllib_toplevel.py
-@@ -120,7 +120,7 @@ class urlopen_FileTests(unittest.TestCase):
- finally:
- f.close()
- self.pathname = support.TESTFN
--self.returned_obj = urlopen("file:%s" % self.pathname)
-+self.returned_obj = urlopen("file:%s" % 
urllib_parse.quote(self.pathname))
- 
- def tearDown(self):
- """Shut down the open object"""
-@@ -167,7 +167,7 @@ class urlopen_FileTests(unittest.TestCase):
- self.assertIsInstance(self.returned_obj.info(), email_message.Message)
- 
- def test_geturl(self):
--self.assertEqual(self.returned_obj.geturl(), self.pathname)
-+self.assertEqual(self.returned_obj.geturl(), 
urllib_parse.quote(self.pathname))
- 
- def test_getcode(self):
- self.assertIsNone(self.returned_obj.getcode())

diff --git a/dev-python/future/files/future-0.18.2-py39.patch 
b/dev-python/future/files/future-0.18.2-py39.patch
deleted file mode 100644
index 4524cb0c093b..
--- a/dev-python/future/files/future-0.18.2-py39.patch
+++ /dev/null
@@ -1,65 +0,0 @@
-From edda349a2d4fffa6c7f277483ccb40a66c0795b9 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= 
-Date: Mon, 10 Feb 2020 23:17:28 +0100
-Subject: [PATCH] Test fixes for Python 3.9
-
-Fixes https://github.com/PythonCharmers/python-future/issues/540
-Fixes https://github.com/PythonCharmers/python-future/issues/541

- src/future/moves/_dummy_thread.py  | 2 +-
- src/future/standard_library/__init__.py| 2 +-
- tests/test_future/test_standard_library.py | 1 -
- 

[gentoo-commits] repo/gentoo:master commit in: dev-python/future/files/, dev-python/future/

2023-06-27 Thread Michał Górny
commit: 40783e1ecef4091509c1538bb7cfdc35e0242934
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Jun 27 11:58:46 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Jun 27 11:58:46 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40783e1e

dev-python/future: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/future/Manifest |   1 -
 .../files/future-0.18.2-cve-2022-40899.patch   |  52 
 dev-python/future/files/future-0.18.2-tests.patch  | 269 -
 dev-python/future/future-0.18.2-r3.ebuild  |  46 
 4 files changed, 368 deletions(-)

diff --git a/dev-python/future/Manifest b/dev-python/future/Manifest
index d125a5c89a75..fff2affc2df3 100644
--- a/dev-python/future/Manifest
+++ b/dev-python/future/Manifest
@@ -1,3 +1,2 @@
-DIST future-0.18.2.tar.gz 829220 BLAKE2B 
68574b589bf54aa8dacbd162a54885589faa32829ccf212f50de5bf036ebd8b9aba0c13e63e80d34e507cc0dae4d8d3d47fea33433b17d2c2e6dbf6c37f66d8f
 SHA512 
91c025f7d94bcdf93df838fab67053165a414fc84e8496f92ecbb910dd55f6b6af5e360bbd051444066880c5a6877e75157bd95e150ead46e5c605930dfc50f2
 DIST future-0.18.3-tests.patch.xz 2736 BLAKE2B 
55f9f233fb65f006d2055adf8b5d5b3ab00b4cd9b9f5a78d09b3fa2c1e347ef2d8370569fa5374968bf3e84b4fcbc220ad8da1cc2b32da57c46d36050ba1440a
 SHA512 
c18434bc6efe88381aed8c86ed494352a2749c5680a52f62ae043bec70e3adb0163f91a971daa04134508d59172fe2e71ebbf694a74afce060b7fa1e7c385810
 DIST future-0.18.3.tar.gz 840896 BLAKE2B 
13172c639b0eee80581133a2d46b9fa3a38fb9c47ea6eecc8f0715782536be5965bbd153d6a6dda49d8fa9cfea29231c6cc60a4b3b3a6c0cc5406f02c494a425
 SHA512 
6de56a5aa5c5dd56a0dc5a6732c753530f9868036bd97e9d355f9ee6e1305e266a60c167de779cba93f09b5b3fae615193074caba2afe857ca7ea944532ef910

diff --git a/dev-python/future/files/future-0.18.2-cve-2022-40899.patch 
b/dev-python/future/files/future-0.18.2-cve-2022-40899.patch
deleted file mode 100644
index c7341e0d6fdb..
--- a/dev-python/future/files/future-0.18.2-cve-2022-40899.patch
+++ /dev/null
@@ -1,52 +0,0 @@
-From c91d70b34ef0402aef3e9d04364ba98509dca76f Mon Sep 17 00:00:00 2001
-From: Will Shanks 
-Date: Fri, 23 Dec 2022 13:38:26 -0500
-Subject: [PATCH] Backport fix for bpo-38804
-
-The regex http.cookiejar.LOOSE_HTTP_DATE_RE was vulnerable to regular
-expression denial of service (REDoS). The regex contained multiple
-overlapping \s* capture groups. A long sequence of spaces can trigger
-bad performance.
-
-See https://github.com/python/cpython/pull/17157 and 
https://pyup.io/posts/pyup-discovers-redos-vulnerabilities-in-top-python-packages/

- src/future/backports/http/cookiejar.py | 18 --
- 1 file changed, 12 insertions(+), 6 deletions(-)
-
-diff --git a/src/future/backports/http/cookiejar.py 
b/src/future/backports/http/cookiejar.py
-index af3ef415..0ad80a02 100644
 a/src/future/backports/http/cookiejar.py
-+++ b/src/future/backports/http/cookiejar.py
-@@ -225,10 +225,14 @@ def _str2time(day, mon, yr, hr, min, sec, tz):
-(?::(\d\d))?# optional seconds
- )? # optional clock
-\s*
--([-+]?\d{2,4}|(?![APap][Mm]\b)[A-Za-z]+)? # timezone
-+(?:
-+   ([-+]?\d{2,4}|(?![APap][Mm]\b)[A-Za-z]+) # timezone
-+   \s*
-+)?
-+(?:
-+   \(\w+\) # ASCII representation of timezone in parens.
-\s*
--(?:\(\w+\))?   # ASCII representation of timezone in parens.
--   \s*$""", re.X | re.ASCII)
-+)?$""", re.X | re.ASCII)
- def http2time(text):
- """Returns time in seconds since epoch of time represented by a string.
- 
-@@ -298,9 +302,11 @@ def http2time(text):
-   (?::?(\d\d(?:\.\d*)?))?  # optional seconds (and fractional)
-)?# optional clock
-   \s*
--   ([-+]?\d\d?:?(:?\d\d)?
--|Z|z)?   # timezone  (Z is "zero meridian", i.e. GMT)
--  \s*$""", re.X | re. ASCII)
-+   (?:
-+  ([-+]?\d\d?:?(:?\d\d)?
-+   |Z|z) # timezone  (Z is "zero meridian", i.e. GMT)
-+  \s*
-+   )?$""", re.X | re. ASCII)
- def iso2time(text):
- """
- As for http2time, but parses the ISO 8601 formats:

diff --git a/dev-python/future/files/future-0.18.2-tests.patch 
b/dev-python/future/files/future-0.18.2-tests.patch
deleted file mode 100644
index 3742adb72821..
--- a/dev-python/future/files/future-0.18.2-tests.patch
+++ /dev/null
@@ -1,269 +0,0 @@
-diff --git a/tests/test_future/test_backports.py 
b/tests/test_future/test_backports.py
-index 9eeb741..63b1afe 100644
 a/tests/test_future/test_backports.py
-+++ b/tests/test_future/test_backports.py
-@@ -87,7 +87,8 @@ class TestChainMap(unittest.TestCase):
- d['b'] = 20
- d['c'] = 30
- self.assertEqual(d.maps, [{'b':20, 'c':30}, {'a':1, 'b':2}])  # check 
internal state
--self.assertEqual(d.items(), dict(a=1, b=20, c=30).items())# check 
items/iter/getitem
-+self.assertEqual(sorted(d.items()),
-+ 

[gentoo-commits] repo/gentoo:master commit in: dev-python/future/

2023-06-27 Thread Sam James
commit: b0cd695f9d6918f9ff3f0e9532dd5b2ee79355a0
Author: Sam James  gentoo  org>
AuthorDate: Tue Jun 27 06:34:07 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jun 27 06:34:07 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0cd695f

dev-python/future: Stabilize 0.18.3 ALLARCHES, #909229

Signed-off-by: Sam James  gentoo.org>

 dev-python/future/future-0.18.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/future/future-0.18.3.ebuild 
b/dev-python/future/future-0.18.3.ebuild
index f6793f03233f..37ee871979b9 100644
--- a/dev-python/future/future-0.18.3.ebuild
+++ b/dev-python/future/future-0.18.3.ebuild
@@ -18,7 +18,7 @@ SRC_URI+=" 
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${PN}-0.18.3-
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 
sparc x86 ~amd64-linux ~x86-linux"
 
 BDEPEND="
test? (



[gentoo-commits] repo/gentoo:master commit in: dev-python/future/

2023-05-27 Thread Sam James
commit: eb29ac07463f87573200ec77b6c8443b9cb9d72a
Author: Sam James  gentoo  org>
AuthorDate: Sat May 27 11:14:13 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat May 27 11:14:13 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb29ac07

dev-python/future: fix DoubleEmptyLine

Signed-off-by: Sam James  gentoo.org>

 dev-python/future/future-0.18.3.ebuild | 1 -
 1 file changed, 1 deletion(-)

diff --git a/dev-python/future/future-0.18.3.ebuild 
b/dev-python/future/future-0.18.3.ebuild
index 208f5f8ac973..f6793f03233f 100644
--- a/dev-python/future/future-0.18.3.ebuild
+++ b/dev-python/future/future-0.18.3.ebuild
@@ -35,7 +35,6 @@ PATCHES=(
"${FILESDIR}"/${PN}-0.18.2-py3.10.patch
 )
 
-
 EPYTEST_DESELECT=(
# tests requiring network access
tests/test_future/test_requests.py



[gentoo-commits] repo/gentoo:master commit in: dev-python/future/

2023-05-27 Thread Sam James
commit: 5719804d6ff6df6f8824193b9899f460cab6eadc
Author: Haelwenn (lanodan) Monnier  hacktivis  me>
AuthorDate: Wed May 24 03:46:44 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat May 27 10:46:41 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5719804d

dev-python/future: add 0.18.3

Signed-off-by: Haelwenn (lanodan) Monnier  hacktivis.me>
Closes: https://github.com/gentoo/gentoo/pull/31151
Signed-off-by: Sam James  gentoo.org>

 dev-python/future/Manifest |  2 ++
 dev-python/future/future-0.18.3.ebuild | 47 ++
 2 files changed, 49 insertions(+)

diff --git a/dev-python/future/Manifest b/dev-python/future/Manifest
index 4d3885c3e886..d125a5c89a75 100644
--- a/dev-python/future/Manifest
+++ b/dev-python/future/Manifest
@@ -1 +1,3 @@
 DIST future-0.18.2.tar.gz 829220 BLAKE2B 
68574b589bf54aa8dacbd162a54885589faa32829ccf212f50de5bf036ebd8b9aba0c13e63e80d34e507cc0dae4d8d3d47fea33433b17d2c2e6dbf6c37f66d8f
 SHA512 
91c025f7d94bcdf93df838fab67053165a414fc84e8496f92ecbb910dd55f6b6af5e360bbd051444066880c5a6877e75157bd95e150ead46e5c605930dfc50f2
+DIST future-0.18.3-tests.patch.xz 2736 BLAKE2B 
55f9f233fb65f006d2055adf8b5d5b3ab00b4cd9b9f5a78d09b3fa2c1e347ef2d8370569fa5374968bf3e84b4fcbc220ad8da1cc2b32da57c46d36050ba1440a
 SHA512 
c18434bc6efe88381aed8c86ed494352a2749c5680a52f62ae043bec70e3adb0163f91a971daa04134508d59172fe2e71ebbf694a74afce060b7fa1e7c385810
+DIST future-0.18.3.tar.gz 840896 BLAKE2B 
13172c639b0eee80581133a2d46b9fa3a38fb9c47ea6eecc8f0715782536be5965bbd153d6a6dda49d8fa9cfea29231c6cc60a4b3b3a6c0cc5406f02c494a425
 SHA512 
6de56a5aa5c5dd56a0dc5a6732c753530f9868036bd97e9d355f9ee6e1305e266a60c167de779cba93f09b5b3fae615193074caba2afe857ca7ea944532ef910

diff --git a/dev-python/future/future-0.18.3.ebuild 
b/dev-python/future/future-0.18.3.ebuild
new file mode 100644
index ..208f5f8ac973
--- /dev/null
+++ b/dev-python/future/future-0.18.3.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{9..11} pypy3 )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Easy, clean, reliable Python 2/3 compatibility"
+HOMEPAGE="
+   https://python-future.org/
+   https://github.com/PythonCharmers/python-future/
+   https://pypi.org/project/future/
+"
+SRC_URI+=" 
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${PN}-0.18.3-tests.patch.xz;
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux"
+
+BDEPEND="
+   test? (
+   $(python_gen_cond_dep '
+   dev-python/numpy[${PYTHON_USEDEP}]
+   ' 'python*')
+   )
+"
+
+PATCHES=(
+   "${WORKDIR}"/${PN}-0.18.3-tests.patch
+   "${FILESDIR}"/${PN}-0.18.2-py39.patch
+   "${FILESDIR}"/${PN}-0.18.2-py39-fileurl.patch
+   "${FILESDIR}"/${PN}-0.18.2-py3.10.patch
+)
+
+
+EPYTEST_DESELECT=(
+   # tests requiring network access
+   tests/test_future/test_requests.py
+   
tests/test_future/test_standard_library.py::TestStandardLibraryReorganization::test_moves_urllib_request_http
+   
tests/test_future/test_standard_library.py::TestStandardLibraryReorganization::test_urllib_request_http
+)
+
+distutils_enable_tests pytest
+distutils_enable_sphinx docs dev-python/sphinx-bootstrap-theme



[gentoo-commits] repo/gentoo:master commit in: dev-python/future/

2023-03-15 Thread Michał Górny
commit: 94fefefc5e35b8a168c535f8142a75332a7169cc
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Mar 15 17:45:38 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Mar 16 03:47:55 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94fefefc

dev-python/future: Use pypi.eclass

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/future/future-0.18.2-r3.ebuild | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/dev-python/future/future-0.18.2-r3.ebuild 
b/dev-python/future/future-0.18.2-r3.ebuild
index 8701543d33f7..65a5f973d309 100644
--- a/dev-python/future/future-0.18.2-r3.ebuild
+++ b/dev-python/future/future-0.18.2-r3.ebuild
@@ -6,7 +6,7 @@ EAPI=8
 DISTUTILS_USE_PEP517=setuptools
 PYTHON_COMPAT=( python3_{9..11} pypy3 )
 
-inherit distutils-r1
+inherit distutils-r1 pypi
 
 DESCRIPTION="Easy, clean, reliable Python 2/3 compatibility"
 HOMEPAGE="
@@ -14,7 +14,6 @@ HOMEPAGE="
https://github.com/PythonCharmers/python-future/
https://pypi.org/project/future/
 "
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"



[gentoo-commits] repo/gentoo:master commit in: dev-python/future/, dev-python/future/files/

2022-12-23 Thread Michał Górny
commit: 34253f1de1ae27affcf1f7fc05440506638b9650
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Dec 24 06:33:55 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Dec 24 06:40:08 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34253f1d

dev-python/future: Patch ReDoS copied from stdlib

Bug: https://bugs.gentoo.org/888109
Signed-off-by: Michał Górny  gentoo.org>

 .../files/future-0.18.2-cve-2022-40899.patch   | 52 ++
 ...re-0.18.2-r2.ebuild => future-0.18.2-r3.ebuild} | 11 -
 2 files changed, 61 insertions(+), 2 deletions(-)

diff --git a/dev-python/future/files/future-0.18.2-cve-2022-40899.patch 
b/dev-python/future/files/future-0.18.2-cve-2022-40899.patch
new file mode 100644
index ..c7341e0d6fdb
--- /dev/null
+++ b/dev-python/future/files/future-0.18.2-cve-2022-40899.patch
@@ -0,0 +1,52 @@
+From c91d70b34ef0402aef3e9d04364ba98509dca76f Mon Sep 17 00:00:00 2001
+From: Will Shanks 
+Date: Fri, 23 Dec 2022 13:38:26 -0500
+Subject: [PATCH] Backport fix for bpo-38804
+
+The regex http.cookiejar.LOOSE_HTTP_DATE_RE was vulnerable to regular
+expression denial of service (REDoS). The regex contained multiple
+overlapping \s* capture groups. A long sequence of spaces can trigger
+bad performance.
+
+See https://github.com/python/cpython/pull/17157 and 
https://pyup.io/posts/pyup-discovers-redos-vulnerabilities-in-top-python-packages/
+---
+ src/future/backports/http/cookiejar.py | 18 --
+ 1 file changed, 12 insertions(+), 6 deletions(-)
+
+diff --git a/src/future/backports/http/cookiejar.py 
b/src/future/backports/http/cookiejar.py
+index af3ef415..0ad80a02 100644
+--- a/src/future/backports/http/cookiejar.py
 b/src/future/backports/http/cookiejar.py
+@@ -225,10 +225,14 @@ def _str2time(day, mon, yr, hr, min, sec, tz):
+(?::(\d\d))?# optional seconds
+ )? # optional clock
+\s*
+-([-+]?\d{2,4}|(?![APap][Mm]\b)[A-Za-z]+)? # timezone
++(?:
++   ([-+]?\d{2,4}|(?![APap][Mm]\b)[A-Za-z]+) # timezone
++   \s*
++)?
++(?:
++   \(\w+\) # ASCII representation of timezone in parens.
+\s*
+-(?:\(\w+\))?   # ASCII representation of timezone in parens.
+-   \s*$""", re.X | re.ASCII)
++)?$""", re.X | re.ASCII)
+ def http2time(text):
+ """Returns time in seconds since epoch of time represented by a string.
+ 
+@@ -298,9 +302,11 @@ def http2time(text):
+   (?::?(\d\d(?:\.\d*)?))?  # optional seconds (and fractional)
+)?# optional clock
+   \s*
+-   ([-+]?\d\d?:?(:?\d\d)?
+-|Z|z)?   # timezone  (Z is "zero meridian", i.e. GMT)
+-  \s*$""", re.X | re. ASCII)
++   (?:
++  ([-+]?\d\d?:?(:?\d\d)?
++   |Z|z) # timezone  (Z is "zero meridian", i.e. GMT)
++  \s*
++   )?$""", re.X | re. ASCII)
+ def iso2time(text):
+ """
+ As for http2time, but parses the ISO 8601 formats:

diff --git a/dev-python/future/future-0.18.2-r2.ebuild 
b/dev-python/future/future-0.18.2-r3.ebuild
similarity index 86%
rename from dev-python/future/future-0.18.2-r2.ebuild
rename to dev-python/future/future-0.18.2-r3.ebuild
index 1558c0ea92ce..a05bf7f207d5 100644
--- a/dev-python/future/future-0.18.2-r2.ebuild
+++ b/dev-python/future/future-0.18.2-r3.ebuild
@@ -5,10 +5,15 @@ EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
 PYTHON_COMPAT=( python3_{8..11} pypy3 )
+
 inherit distutils-r1
 
 DESCRIPTION="Easy, clean, reliable Python 2/3 compatibility"
-HOMEPAGE="https://python-future.org/;
+HOMEPAGE="
+   https://python-future.org/
+   https://github.com/PythonCharmers/python-future/
+   https://pypi.org/project/future/
+"
 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
@@ -20,7 +25,8 @@ BDEPEND="
$(python_gen_cond_dep '
dev-python/numpy[${PYTHON_USEDEP}]
' 'python*')
-   )"
+   )
+"
 
 distutils_enable_tests pytest
 distutils_enable_sphinx docs dev-python/sphinx-bootstrap-theme
@@ -30,6 +36,7 @@ PATCHES=(
"${FILESDIR}"/${P}-py39.patch
"${FILESDIR}"/${P}-py39-fileurl.patch
"${FILESDIR}"/${P}-py3.10.patch
+   "${FILESDIR}"/${P}-cve-2022-40899.patch
 )
 
 EPYTEST_DESELECT=(



[gentoo-commits] repo/gentoo:master commit in: dev-python/future/

2022-08-18 Thread Michał Górny
commit: 36dd21d412ba15511793b838eab6cd313dbb471e
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Aug 18 05:09:12 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Aug 18 06:18:36 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36dd21d4

dev-python/future: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/future/future-0.18.2-r1.ebuild | 39 ---
 1 file changed, 39 deletions(-)

diff --git a/dev-python/future/future-0.18.2-r1.ebuild 
b/dev-python/future/future-0.18.2-r1.ebuild
deleted file mode 100644
index 1ba5646433bd..
--- a/dev-python/future/future-0.18.2-r1.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{8..10} pypy3 )
-inherit distutils-r1
-
-DESCRIPTION="Easy, clean, reliable Python 2/3 compatibility"
-HOMEPAGE="https://python-future.org/;
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 
sparc x86 ~amd64-linux ~x86-linux"
-
-BDEPEND="
-   test? (
-   $(python_gen_cond_dep '
-   dev-python/numpy[${PYTHON_USEDEP}]
-   ' 'python*')
-   )"
-
-distutils_enable_tests pytest
-distutils_enable_sphinx docs dev-python/sphinx-bootstrap-theme
-
-PATCHES=(
-   "${FILESDIR}"/${P}-tests.patch
-   "${FILESDIR}"/${P}-py39.patch
-   "${FILESDIR}"/${P}-py39-fileurl.patch
-   "${FILESDIR}"/${P}-py3.10.patch
-)
-
-EPYTEST_DESELECT=(
-   # tests requiring network access
-   tests/test_future/test_requests.py
-   
tests/test_future/test_standard_library.py::TestStandardLibraryReorganization::test_moves_urllib_request_http
-   
tests/test_future/test_standard_library.py::TestStandardLibraryReorganization::test_urllib_request_http
-)



[gentoo-commits] repo/gentoo:master commit in: dev-python/future/

2022-08-17 Thread Arthur Zamarin
commit: 7fbac0829ce7ad3ba6e17b4b0dab2a70b4d79fc3
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Wed Aug 17 19:31:28 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Wed Aug 17 19:31:28 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7fbac082

dev-python/future: Stabilize 0.18.2-r2 ALLARCHES, #865603

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/future/future-0.18.2-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/future/future-0.18.2-r2.ebuild 
b/dev-python/future/future-0.18.2-r2.ebuild
index 7c6f8f289bbd..1558c0ea92ce 100644
--- a/dev-python/future/future-0.18.2-r2.ebuild
+++ b/dev-python/future/future-0.18.2-r2.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 
sparc x86 ~amd64-linux ~x86-linux"
 
 BDEPEND="
test? (



[gentoo-commits] repo/gentoo:master commit in: dev-python/future/

2022-07-15 Thread Arthur Zamarin
commit: 66d325abb658c745157a1f1b0864792093ea00ef
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Jul 15 12:58:59 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Jul 15 13:44:58 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66d325ab

dev-python/future: enable py3.11

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/future/future-0.18.2-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/future/future-0.18.2-r2.ebuild 
b/dev-python/future/future-0.18.2-r2.ebuild
index bf2783b8f06b..7c6f8f289bbd 100644
--- a/dev-python/future/future-0.18.2-r2.ebuild
+++ b/dev-python/future/future-0.18.2-r2.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{8..10} pypy3 )
+PYTHON_COMPAT=( python3_{8..11} pypy3 )
 inherit distutils-r1
 
 DESCRIPTION="Easy, clean, reliable Python 2/3 compatibility"



[gentoo-commits] repo/gentoo:master commit in: dev-python/future/

2022-06-19 Thread Arthur Zamarin
commit: 24d27ab5c81544b90740400128d967cd9d8ac5c6
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sun Jun 19 17:43:22 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sun Jun 19 18:08:37 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24d27ab5

dev-python/future: EAPI=8, PEP517

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/future/future-0.18.2-r2.ebuild | 40 +++
 1 file changed, 40 insertions(+)

diff --git a/dev-python/future/future-0.18.2-r2.ebuild 
b/dev-python/future/future-0.18.2-r2.ebuild
new file mode 100644
index ..bf2783b8f06b
--- /dev/null
+++ b/dev-python/future/future-0.18.2-r2.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..10} pypy3 )
+inherit distutils-r1
+
+DESCRIPTION="Easy, clean, reliable Python 2/3 compatibility"
+HOMEPAGE="https://python-future.org/;
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux"
+
+BDEPEND="
+   test? (
+   $(python_gen_cond_dep '
+   dev-python/numpy[${PYTHON_USEDEP}]
+   ' 'python*')
+   )"
+
+distutils_enable_tests pytest
+distutils_enable_sphinx docs dev-python/sphinx-bootstrap-theme
+
+PATCHES=(
+   "${FILESDIR}"/${P}-tests.patch
+   "${FILESDIR}"/${P}-py39.patch
+   "${FILESDIR}"/${P}-py39-fileurl.patch
+   "${FILESDIR}"/${P}-py3.10.patch
+)
+
+EPYTEST_DESELECT=(
+   # tests requiring network access
+   tests/test_future/test_requests.py
+   
tests/test_future/test_standard_library.py::TestStandardLibraryReorganization::test_moves_urllib_request_http
+   
tests/test_future/test_standard_library.py::TestStandardLibraryReorganization::test_urllib_request_http
+)



[gentoo-commits] repo/gentoo:master commit in: dev-python/future/, dev-python/future/files/

2021-08-20 Thread Arthur Zamarin
commit: 11efb934eb4327332e39514e76f89334ee9f8718
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Aug 20 07:22:36 2021 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Aug 20 07:43:26 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=11efb934

dev-python/future: enable py3.10

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/future/files/future-0.18.2-py3.10.patch | 29 ++
 dev-python/future/future-0.18.2-r1.ebuild  | 16 ++--
 2 files changed, 36 insertions(+), 9 deletions(-)

diff --git a/dev-python/future/files/future-0.18.2-py3.10.patch 
b/dev-python/future/files/future-0.18.2-py3.10.patch
new file mode 100644
index 000..65cbc8e7a40
--- /dev/null
+++ b/dev-python/future/files/future-0.18.2-py3.10.patch
@@ -0,0 +1,29 @@
+From ca1362a4250b7124d9ae03506eb80a767f06e282 Mon Sep 17 00:00:00 2001
+From: Arthur Zamarin 
+Date: Fri, 20 Aug 2021 10:15:59 +0300
+Subject: [PATCH] Fix for Python3.10
+
+Signed-off-by: Arthur Zamarin 
+---
+ src/future/moves/test/support.py | 5 +
+ 1 file changed, 5 insertions(+)
+
+diff --git a/src/future/moves/test/support.py 
b/src/future/moves/test/support.py
+index e9aa0f4..4ae2ffd 100644
+--- a/src/future/moves/test/support.py
 b/src/future/moves/test/support.py
+@@ -3,6 +3,11 @@ from future.standard_library import suspend_hooks
+ from future.utils import PY3
+ 
+ if PY3:
++try:
++from test.support.os_helper import *
++from test.support.warnings_helper import *
++except ImportError:
++pass
+ from test.support import *
+ else:
+ __future_module__ = True
+-- 
+2.33.0
+

diff --git a/dev-python/future/future-0.18.2-r1.ebuild 
b/dev-python/future/future-0.18.2-r1.ebuild
index 653a507983c..ab4b1b6f3c4 100644
--- a/dev-python/future/future-0.18.2-r1.ebuild
+++ b/dev-python/future/future-0.18.2-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{8..9} pypy3 )
+PYTHON_COMPAT=( python3_{8..10} pypy3 )
 inherit distutils-r1
 
 DESCRIPTION="Easy, clean, reliable Python 2/3 compatibility"
@@ -13,7 +13,6 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 
~amd64-linux ~x86-linux"
-IUSE="doc"
 
 BDEPEND="
test? (
@@ -29,13 +28,12 @@ PATCHES=(
"${FILESDIR}"/${P}-tests.patch
"${FILESDIR}"/${P}-py39.patch
"${FILESDIR}"/${P}-py39-fileurl.patch
+   "${FILESDIR}"/${P}-py3.10.patch
 )
 
-python_prepare_all() {
+EPYTEST_DESELECT=(
# tests requiring network access
-   rm tests/test_future/test_requests.py || die
-   sed -i -e 's:test.*request_http:_&:' \
-   tests/test_future/test_standard_library.py || die
-
-   distutils-r1_python_prepare_all
-}
+   tests/test_future/test_requests.py
+   
tests/test_future/test_standard_library.py::TestStandardLibraryReorganization::test_moves_urllib_request_http
+   
tests/test_future/test_standard_library.py::TestStandardLibraryReorganization::test_urllib_request_http
+)



[gentoo-commits] repo/gentoo:master commit in: dev-python/future/

2021-08-20 Thread Arthur Zamarin
commit: 09e4fa0dfc25c1f3bcbe5034a8e4a11d9c1be452
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Aug 20 06:48:36 2021 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Aug 20 07:43:26 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09e4fa0d

dev-python/future: add github upstream metadata

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/future/metadata.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-python/future/metadata.xml b/dev-python/future/metadata.xml
index a1c88b13d35..d87c78f7bdd 100644
--- a/dev-python/future/metadata.xml
+++ b/dev-python/future/metadata.xml
@@ -7,5 +7,6 @@


future
+   PythonCharmers/python-future

 



[gentoo-commits] repo/gentoo:master commit in: dev-python/future/

2021-08-20 Thread Arthur Zamarin
commit: 1438a901be565e809f4adfb2959175eb2c157397
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Aug 20 07:22:43 2021 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Aug 20 07:43:27 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1438a901

dev-python/future: mark ALLARCHES

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/future/metadata.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-python/future/metadata.xml b/dev-python/future/metadata.xml
index d87c78f7bdd..96f377aab8a 100644
--- a/dev-python/future/metadata.xml
+++ b/dev-python/future/metadata.xml
@@ -5,6 +5,7 @@
pyt...@gentoo.org
Python

+   

future
PythonCharmers/python-future



[gentoo-commits] repo/gentoo:master commit in: dev-python/future/

2021-06-10 Thread Michał Górny
commit: 5b6b4211cb714605a013808739397273ac05cf22
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Jun 10 07:30:34 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Jun 10 07:30:34 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b6b4211

dev-python/future: Update DISTUTILS_USE_SETUPTOOLS

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/future/future-0.18.2-r1.ebuild | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/dev-python/future/future-0.18.2-r1.ebuild 
b/dev-python/future/future-0.18.2-r1.ebuild
index 309c4a93ff2..653a507983c 100644
--- a/dev-python/future/future-0.18.2-r1.ebuild
+++ b/dev-python/future/future-0.18.2-r1.ebuild
@@ -2,9 +2,8 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-PYTHON_COMPAT=( python3_{8..9} pypy3 )
-DISTUTILS_USE_SETUPTOOLS=rdepend
 
+PYTHON_COMPAT=( python3_{8..9} pypy3 )
 inherit distutils-r1
 
 DESCRIPTION="Easy, clean, reliable Python 2/3 compatibility"



[gentoo-commits] repo/gentoo:master commit in: dev-python/future/, dev-python/future/files/

2021-06-10 Thread Michał Górny
commit: c3374256e98b5bd0faf34c7657415de6ceaae805
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Jun 10 07:24:55 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Jun 10 07:25:22 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3374256

dev-python/future: Fix tests

Closes: https://bugs.gentoo.org/795102
Signed-off-by: Michał Górny  gentoo.org>

 .../future/files/future-0.18.2-py39-fileurl.patch  | 22 ++
 dev-python/future/future-0.18.2-r1.ebuild  | 11 ---
 2 files changed, 30 insertions(+), 3 deletions(-)

diff --git a/dev-python/future/files/future-0.18.2-py39-fileurl.patch 
b/dev-python/future/files/future-0.18.2-py39-fileurl.patch
new file mode 100644
index 000..71ed088edcb
--- /dev/null
+++ b/dev-python/future/files/future-0.18.2-py39-fileurl.patch
@@ -0,0 +1,22 @@
+diff --git a/tests/test_future/test_urllib_toplevel.py 
b/tests/test_future/test_urllib_toplevel.py
+index 68bc4c9..923b2e8 100644
+--- a/tests/test_future/test_urllib_toplevel.py
 b/tests/test_future/test_urllib_toplevel.py
+@@ -120,7 +120,7 @@ class urlopen_FileTests(unittest.TestCase):
+ finally:
+ f.close()
+ self.pathname = support.TESTFN
+-self.returned_obj = urlopen("file:%s" % self.pathname)
++self.returned_obj = urlopen("file:%s" % 
urllib_parse.quote(self.pathname))
+ 
+ def tearDown(self):
+ """Shut down the open object"""
+@@ -167,7 +167,7 @@ class urlopen_FileTests(unittest.TestCase):
+ self.assertIsInstance(self.returned_obj.info(), email_message.Message)
+ 
+ def test_geturl(self):
+-self.assertEqual(self.returned_obj.geturl(), self.pathname)
++self.assertEqual(self.returned_obj.geturl(), 
urllib_parse.quote(self.pathname))
+ 
+ def test_getcode(self):
+ self.assertIsNone(self.returned_obj.getcode())

diff --git a/dev-python/future/future-0.18.2-r1.ebuild 
b/dev-python/future/future-0.18.2-r1.ebuild
index a959673b21e..309c4a93ff2 100644
--- a/dev-python/future/future-0.18.2-r1.ebuild
+++ b/dev-python/future/future-0.18.2-r1.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-PYTHON_COMPAT=( python3_{7,8,9} pypy3 )
+PYTHON_COMPAT=( python3_{8..9} pypy3 )
 DISTUTILS_USE_SETUPTOOLS=rdepend
 
 inherit distutils-r1
@@ -16,8 +16,12 @@ SLOT="0"
 KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 
~amd64-linux ~x86-linux"
 IUSE="doc"
 
-# TODO: restore numpy when python2.7 is gone
-#BDEPEND="test? ( dev-python/numpy[${PYTHON_USEDEP}] )"
+BDEPEND="
+   test? (
+   $(python_gen_cond_dep '
+   dev-python/numpy[${PYTHON_USEDEP}]
+   ' 'python*')
+   )"
 
 distutils_enable_tests pytest
 distutils_enable_sphinx docs dev-python/sphinx-bootstrap-theme
@@ -25,6 +29,7 @@ distutils_enable_sphinx docs dev-python/sphinx-bootstrap-theme
 PATCHES=(
"${FILESDIR}"/${P}-tests.patch
"${FILESDIR}"/${P}-py39.patch
+   "${FILESDIR}"/${P}-py39-fileurl.patch
 )
 
 python_prepare_all() {



[gentoo-commits] repo/gentoo:master commit in: dev-python/future/

2020-09-20 Thread Michał Górny
commit: ed04d1f4a5c4bdd56dd94d26d749bfb6fcbebdc3
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Sep 20 15:31:23 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Sep 20 15:37:52 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed04d1f4

dev-python/future: Remove python2

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/future/{future-0.18.2.ebuild => future-0.18.2-r1.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/future/future-0.18.2.ebuild 
b/dev-python/future/future-0.18.2-r1.ebuild
similarity index 95%
rename from dev-python/future/future-0.18.2.ebuild
rename to dev-python/future/future-0.18.2-r1.ebuild
index d30157b8e13..eb37d44dc5c 100644
--- a/dev-python/future/future-0.18.2.ebuild
+++ b/dev-python/future/future-0.18.2-r1.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-PYTHON_COMPAT=( python{2_7,3_{6,7,8,9}} pypy3 )
+PYTHON_COMPAT=( python3_{6,7,8,9} pypy3 )
 DISTUTILS_USE_SETUPTOOLS=rdepend
 
 inherit distutils-r1



[gentoo-commits] repo/gentoo:master commit in: dev-python/future/files/, dev-python/future/

2020-05-26 Thread Michał Górny
commit: 68bbadc9dccc320c5de6bf1dd346809bc1e81a36
Author: Michał Górny  gentoo  org>
AuthorDate: Tue May 26 12:50:07 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue May 26 12:58:31 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68bbadc9

dev-python/future: Port to py39

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/future/files/future-0.18.2-py39.patch | 65 
 dev-python/future/future-0.18.2.ebuild   |  4 +-
 2 files changed, 67 insertions(+), 2 deletions(-)

diff --git a/dev-python/future/files/future-0.18.2-py39.patch 
b/dev-python/future/files/future-0.18.2-py39.patch
new file mode 100644
index 000..4524cb0c093
--- /dev/null
+++ b/dev-python/future/files/future-0.18.2-py39.patch
@@ -0,0 +1,65 @@
+From edda349a2d4fffa6c7f277483ccb40a66c0795b9 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= 
+Date: Mon, 10 Feb 2020 23:17:28 +0100
+Subject: [PATCH] Test fixes for Python 3.9
+
+Fixes https://github.com/PythonCharmers/python-future/issues/540
+Fixes https://github.com/PythonCharmers/python-future/issues/541
+---
+ src/future/moves/_dummy_thread.py  | 2 +-
+ src/future/standard_library/__init__.py| 2 +-
+ tests/test_future/test_standard_library.py | 1 -
+ tests/test_future/test_urllib_toplevel.py  | 2 --
+ 4 files changed, 2 insertions(+), 5 deletions(-)
+
+diff --git a/src/future/moves/_dummy_thread.py 
b/src/future/moves/_dummy_thread.py
+index 688d249b..cc2fc891 100644
+--- a/src/future/moves/_dummy_thread.py
 b/src/future/moves/_dummy_thread.py
+@@ -2,7 +2,7 @@
+ from future.utils import PY3
+ 
+ if PY3:
+-from _dummy_thread import *
++from _thread import *
+ else:
+ __future_module__ = True
+ from dummy_thread import *
+diff --git a/src/future/standard_library/__init__.py 
b/src/future/standard_library/__init__.py
+index cff02f95..3e8da8a6 100644
+--- a/src/future/standard_library/__init__.py
 b/src/future/standard_library/__init__.py
+@@ -125,7 +125,7 @@
+# 'Tkinter': 'tkinter',
+'_winreg': 'winreg',
+'thread': '_thread',
+-   'dummy_thread': '_dummy_thread',
++   'dummy_thread': '_thread',
+# 'anydbm': 'dbm',   # causes infinite import loop
+# 'whichdb': 'dbm',  # causes infinite import loop
+# anydbm and whichdb are handled by fix_imports2
+diff --git a/tests/test_future/test_standard_library.py 
b/tests/test_future/test_standard_library.py
+index 3ac5d2d7..8ab27a27 100644
+--- a/tests/test_future/test_standard_library.py
 b/tests/test_future/test_standard_library.py
+@@ -422,7 +422,6 @@ def test_urllib_imports_install_hooks(self):
+ 
+ def test_underscore_prefixed_modules(self):
+ import _thread
+-import _dummy_thread
+ import _markupbase
+ self.assertTrue(True)
+ 
+diff --git a/tests/test_future/test_urllib_toplevel.py 
b/tests/test_future/test_urllib_toplevel.py
+index 11e77201..25f4ca82 100644
+--- a/tests/test_future/test_urllib_toplevel.py
 b/tests/test_future/test_urllib_toplevel.py
+@@ -781,8 +781,6 @@ def test_unquoting(self):
+  "%s" % result)
+ self.assertRaises((TypeError, AttributeError), urllib_parse.unquote, 
None)
+ self.assertRaises((TypeError, AttributeError), urllib_parse.unquote, 
())
+-with support.check_warnings(('', BytesWarning), quiet=True):
+-self.assertRaises((TypeError, AttributeError), 
urllib_parse.unquote, bytes(b''))
+ 
+ def test_unquoting_badpercent(self):
+ # Test unquoting on bad percent-escapes

diff --git a/dev-python/future/future-0.18.2.ebuild 
b/dev-python/future/future-0.18.2.ebuild
index 1107c385f9c..d30157b8e13 100644
--- a/dev-python/future/future-0.18.2.ebuild
+++ b/dev-python/future/future-0.18.2.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 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=rdepend
 
 inherit distutils-r1
@@ -24,10 +24,10 @@ distutils_enable_sphinx docs 
dev-python/sphinx-bootstrap-theme
 
 PATCHES=(
"${FILESDIR}"/${P}-tests.patch
+   "${FILESDIR}"/${P}-py39.patch
 )
 
 python_prepare_all() {
-   sed -i "/'sphinx.ext.intersphinx'/d" docs/conf.py || die
# tests requiring network access
rm tests/test_future/test_requests.py || die
sed -i -e 's:test.*request_http:_&:' \



[gentoo-commits] repo/gentoo:master commit in: dev-python/future/

2020-04-28 Thread Mike Gilbert
commit: 0a2b11c56e405d3b70a6e52101f3f3945d1cbfa0
Author: Mike Gilbert  gentoo  org>
AuthorDate: Wed Apr 29 04:05:30 2020 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Wed Apr 29 04:05:30 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a2b11c5

dev-python/future: DISTUTILS_USE_SETUPTOOLS=rdepend

Signed-off-by: Mike Gilbert  gentoo.org>

 dev-python/future/future-0.18.2.ebuild | 15 ++-
 1 file changed, 6 insertions(+), 9 deletions(-)

diff --git a/dev-python/future/future-0.18.2.ebuild 
b/dev-python/future/future-0.18.2.ebuild
index 5e88bab0088..15d4b3fa213 100644
--- a/dev-python/future/future-0.18.2.ebuild
+++ b/dev-python/future/future-0.18.2.ebuild
@@ -2,8 +2,8 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-
 PYTHON_COMPAT=( python{2_7,3_{6,7,8}} pypy3 )
+DISTUTILS_USE_SETUPTOOLS=rdepend
 
 inherit distutils-r1
 
@@ -16,19 +16,16 @@ SLOT="0"
 KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 s390 sparc x86 
~amd64-linux ~x86-linux"
 IUSE="doc"
 
-distutils_enable_tests pytest
-distutils_enable_sphinx docs \
-   dev-python/sphinx-bootstrap-theme
-
 # TODO: make numpy unconditional when it supports py3.8
-BDEPEND+="
-   dev-python/setuptools[${PYTHON_USEDEP}]
+BDEPEND="
test? (
-   $(python_gen_cond_dep 'dev-python/numpy[${PYTHON_USEDEP}]' \
-   python{2_7,3_{5,6,7}})
+   $(python_gen_cond_dep 'dev-python/numpy[${PYTHON_USEDEP}]' 
python{2_7,3_{5,6,7}})
)
 "
 
+distutils_enable_tests pytest
+distutils_enable_sphinx docs dev-python/sphinx-bootstrap-theme
+
 PATCHES=(
"${FILESDIR}"/${P}-tests.patch
 )



[gentoo-commits] repo/gentoo:master commit in: dev-python/future/

2020-04-28 Thread Mike Gilbert
commit: 141989c956b151c4aeae5b57abc36d30d5b25fee
Author: Mike Gilbert  gentoo  org>
AuthorDate: Wed Apr 29 04:09:58 2020 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Wed Apr 29 04:09:58 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=141989c9

dev-python/future: drop numpy dep until python2.7 is gone

Signed-off-by: Mike Gilbert  gentoo.org>

 dev-python/future/future-0.18.2.ebuild | 8 ++--
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/dev-python/future/future-0.18.2.ebuild 
b/dev-python/future/future-0.18.2.ebuild
index 15d4b3fa213..1107c385f9c 100644
--- a/dev-python/future/future-0.18.2.ebuild
+++ b/dev-python/future/future-0.18.2.ebuild
@@ -16,12 +16,8 @@ SLOT="0"
 KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 s390 sparc x86 
~amd64-linux ~x86-linux"
 IUSE="doc"
 
-# TODO: make numpy unconditional when it supports py3.8
-BDEPEND="
-   test? (
-   $(python_gen_cond_dep 'dev-python/numpy[${PYTHON_USEDEP}]' 
python{2_7,3_{5,6,7}})
-   )
-"
+# TODO: restore numpy when python2.7 is gone
+#BDEPEND="test? ( dev-python/numpy[${PYTHON_USEDEP}] )"
 
 distutils_enable_tests pytest
 distutils_enable_sphinx docs dev-python/sphinx-bootstrap-theme



[gentoo-commits] repo/gentoo:master commit in: dev-python/future/

2020-03-07 Thread Michał Górny
commit: 994604c3262e4058a1e06b3b8cde8f22067420a4
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Mar  7 15:16:11 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Mar  7 15:23:46 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=994604c3

dev-python/future: Remove redundant versions

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/future/Manifest |  2 --
 dev-python/future/future-0.17.0.ebuild | 49 --
 dev-python/future/future-0.17.1.ebuild | 38 --
 3 files changed, 89 deletions(-)

diff --git a/dev-python/future/Manifest b/dev-python/future/Manifest
index 1b1bafcb16a..4d3885c3e88 100644
--- a/dev-python/future/Manifest
+++ b/dev-python/future/Manifest
@@ -1,3 +1 @@
-DIST future-0.17.0.tar.gz 827812 BLAKE2B 
14bfce4927386b157da91e6bbad547e21bb622f7e81997bc4ac400842cec5f7a50d7a0f5a743c4c76a7b80be0dcb6f54c06901311fd27781d89a8d2df1cce7e9
 SHA512 
f2396379e8e36753aeafdf27225c2551a31b10036f21201f1c24d63c1bb318dbd491ec977af514a19a4d477b397df9eed9711be797a64e86fc00c4692729d876
-DIST future-0.17.1.tar.gz 829119 BLAKE2B 
95210b5128d25d6c189cd38bced873f096802690e8fab5f4591c08fa913c41dc255e24af1931cad91d872a286f690f47bf6e0aa365e2f6508b03b0d305779c26
 SHA512 
50094c44db81afbfd37ee25e1710ed11ecb2c2d64ad076fb62a2688dd36a9696ab26b0d7989bf1ecb10da251961a0ee6bb37c4dbd115f70384cd8c9a675d0b2d
 DIST future-0.18.2.tar.gz 829220 BLAKE2B 
68574b589bf54aa8dacbd162a54885589faa32829ccf212f50de5bf036ebd8b9aba0c13e63e80d34e507cc0dae4d8d3d47fea33433b17d2c2e6dbf6c37f66d8f
 SHA512 
91c025f7d94bcdf93df838fab67053165a414fc84e8496f92ecbb910dd55f6b6af5e360bbd051444066880c5a6877e75157bd95e150ead46e5c605930dfc50f2

diff --git a/dev-python/future/future-0.17.0.ebuild 
b/dev-python/future/future-0.17.0.ebuild
deleted file mode 100644
index eafb857cad0..000
--- a/dev-python/future/future-0.17.0.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python{2_7,3_{6,7}} )
-
-inherit distutils-r1
-
-DESCRIPTION="Easy, clean, reliable Python 2/3 compatibility"
-HOMEPAGE="http://python-future.org/;
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 sparc x86 
~amd64-linux ~x86-linux"
-IUSE="doc test"
-RESTRICT="!test? ( test )"
-
-BDEPEND="
-   dev-python/setuptools[${PYTHON_USEDEP}]
-   doc? (
-   dev-python/sphinx[${PYTHON_USEDEP}]
-   dev-python/sphinx-bootstrap-theme[${PYTHON_USEDEP}]
-   )
-   test? (
-   dev-python/numpy[${PYTHON_USEDEP}]
-   dev-python/pytest[${PYTHON_USEDEP}]
-   )
-"
-
-PATCHES=(
-)
-
-python_prepare_all() {
-   sed -i "/'sphinx.ext.intersphinx'/d" docs/conf.py || die
-   distutils-r1_python_prepare_all
-}
-
-python_compile_all() {
-   if use doc; then
-   sphinx-build docs/ docs/_build/html || die
-   HTML_DOCS=( docs/_build/html/. )
-   fi
-}
-
-python_test() {
-   pytest -vv || die "Tests failed under ${EPYTHON}"
-}

diff --git a/dev-python/future/future-0.17.1.ebuild 
b/dev-python/future/future-0.17.1.ebuild
deleted file mode 100644
index 889324f6510..000
--- a/dev-python/future/future-0.17.1.ebuild
+++ /dev/null
@@ -1,38 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python{2_7,3_{6,7}} )
-
-inherit distutils-r1
-
-DESCRIPTION="Easy, clean, reliable Python 2/3 compatibility"
-HOMEPAGE="http://python-future.org/;
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc 
~x86 ~amd64-linux ~x86-linux"
-
-distutils_enable_sphinx docs \
-   dev-python/sphinx-bootstrap-theme
-distutils_enable_tests pytest
-
-# TODO: make numpy unconditional when it supports py3.8
-BDEPEND="
-   dev-python/setuptools[${PYTHON_USEDEP}]
-   test? (
-   $(python_gen_cond_dep 'dev-python/numpy[${PYTHON_USEDEP}]' \
-   python{2_7,3_{5,6,7}})
-   )
-"
-
-python_prepare_all() {
-   # tests requiring network access
-   rm tests/test_future/test_requests.py || die
-   sed -i -e 's:test.*request_http:_&:' \
-   tests/test_future/test_standard_library.py || die
-
-   distutils-r1_python_prepare_all
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/future/

2020-03-07 Thread Michał Górny
commit: 8413bf1020c96cf09747e5f6a76c12cdb9ea94d2
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Mar  7 15:21:06 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Mar  7 15:23:52 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8413bf10

dev-python/future: Use https

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/future/future-0.18.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/future/future-0.18.2.ebuild 
b/dev-python/future/future-0.18.2.ebuild
index 05c7df69869..e15a41f59f1 100644
--- a/dev-python/future/future-0.18.2.ebuild
+++ b/dev-python/future/future-0.18.2.ebuild
@@ -8,7 +8,7 @@ PYTHON_COMPAT=( python{2_7,3_{6,7,8}} pypy3 )
 inherit distutils-r1
 
 DESCRIPTION="Easy, clean, reliable Python 2/3 compatibility"
-HOMEPAGE="http://python-future.org/;
+HOMEPAGE="https://python-future.org/;
 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"



[gentoo-commits] repo/gentoo:master commit in: dev-python/future/

2020-03-07 Thread Michał Górny
commit: d5d37a69737e29706242e553d3107e617766d852
Author: Roy Bamford  gentoo  org>
AuthorDate: Fri Mar  6 11:12:18 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Mar  7 15:09:56 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5d37a69

dev-python/future: stable on arm64

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Roy Bamford  gentoo.org>

Bug: https://bugs.gentoo.org/704270
Signed-off-by: Michał Górny  gentoo.org>

 dev-python/future/future-0.18.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/future/future-0.18.2.ebuild 
b/dev-python/future/future-0.18.2.ebuild
index d4fc71a6f1e..05c7df69869 100644
--- a/dev-python/future/future-0.18.2.ebuild
+++ b/dev-python/future/future-0.18.2.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 s390 sparc x86 
~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 sparc x86 
~amd64-linux ~x86-linux"
 IUSE="doc"
 
 distutils_enable_tests pytest



[gentoo-commits] repo/gentoo:master commit in: dev-python/future/

2020-02-16 Thread Sergei Trofimovich
commit: f975c4fb1f52a05f959843cb1c1b2e2e7cd7884e
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Sun Feb 16 13:45:40 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Feb 16 13:51:22 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f975c4fb

dev-python/future: stable 0.18.2 for hppa, bug #704270

Package-Manager: Portage-2.3.84, Repoman-2.3.20
RepoMan-Options: --include-arches="hppa"
Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-python/future/future-0.18.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/future/future-0.18.2.ebuild 
b/dev-python/future/future-0.18.2.ebuild
index 5847b6ad6b6..d4fc71a6f1e 100644
--- a/dev-python/future/future-0.18.2.ebuild
+++ b/dev-python/future/future-0.18.2.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ia64 ~mips ppc ppc64 s390 sparc x86 
~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 s390 sparc x86 
~amd64-linux ~x86-linux"
 IUSE="doc"
 
 distutils_enable_tests pytest



[gentoo-commits] repo/gentoo:master commit in: dev-python/future/

2020-02-12 Thread Agostino Sarubbo
commit: 3834ae55070543905b38dcd3f2929bb757c32dc1
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Feb 12 16:13:40 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Feb 12 16:13:40 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3834ae55

dev-python/future: s390 stable wrt bug #704270

Package-Manager: Portage-2.3.84, Repoman-2.3.20
RepoMan-Options: --include-arches="s390"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-python/future/future-0.18.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/future/future-0.18.2.ebuild 
b/dev-python/future/future-0.18.2.ebuild
index ea0650f6ce9..5847b6ad6b6 100644
--- a/dev-python/future/future-0.18.2.ebuild
+++ b/dev-python/future/future-0.18.2.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ia64 ~mips ppc ppc64 ~s390 sparc x86 
~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ia64 ~mips ppc ppc64 s390 sparc x86 
~amd64-linux ~x86-linux"
 IUSE="doc"
 
 distutils_enable_tests pytest



[gentoo-commits] repo/gentoo:master commit in: dev-python/future/

2020-02-11 Thread Agostino Sarubbo
commit: 0d2e165742423120791963e2a71ec0dc5a68cde8
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Feb 12 07:57:48 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Feb 12 07:57:48 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d2e1657

dev-python/future: x86 stable wrt bug #704270

Package-Manager: Portage-2.3.84, Repoman-2.3.20
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-python/future/future-0.18.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/future/future-0.18.2.ebuild 
b/dev-python/future/future-0.18.2.ebuild
index db4fd6cbff3..ea0650f6ce9 100644
--- a/dev-python/future/future-0.18.2.ebuild
+++ b/dev-python/future/future-0.18.2.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ia64 ~mips ppc ppc64 ~s390 sparc ~x86 
~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ia64 ~mips ppc ppc64 ~s390 sparc x86 
~amd64-linux ~x86-linux"
 IUSE="doc"
 
 distutils_enable_tests pytest



[gentoo-commits] repo/gentoo:master commit in: dev-python/future/

2020-02-11 Thread Agostino Sarubbo
commit: 350651f39cefdf635219d9d8eec6bb0a4ed8c18f
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Feb 12 07:55:07 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Feb 12 07:55:07 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=350651f3

dev-python/future: sparc stable wrt bug #704270

Package-Manager: Portage-2.3.84, Repoman-2.3.20
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-python/future/future-0.18.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/future/future-0.18.2.ebuild 
b/dev-python/future/future-0.18.2.ebuild
index 7bb1df4ac66..db4fd6cbff3 100644
--- a/dev-python/future/future-0.18.2.ebuild
+++ b/dev-python/future/future-0.18.2.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ia64 ~mips ppc ppc64 ~s390 ~sparc ~x86 
~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ia64 ~mips ppc ppc64 ~s390 sparc ~x86 
~amd64-linux ~x86-linux"
 IUSE="doc"
 
 distutils_enable_tests pytest



[gentoo-commits] repo/gentoo:master commit in: dev-python/future/

2020-02-11 Thread Agostino Sarubbo
commit: 7e2c99e130008ea77b25b5e0a3006c25e9a36231
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Feb 12 07:53:35 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Feb 12 07:53:35 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e2c99e1

dev-python/future: ppc64 stable wrt bug #704270

Package-Manager: Portage-2.3.84, Repoman-2.3.20
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-python/future/future-0.18.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/future/future-0.18.2.ebuild 
b/dev-python/future/future-0.18.2.ebuild
index 99b9c38b221..7bb1df4ac66 100644
--- a/dev-python/future/future-0.18.2.ebuild
+++ b/dev-python/future/future-0.18.2.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ia64 ~mips ppc ~ppc64 ~s390 ~sparc 
~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ia64 ~mips ppc ppc64 ~s390 ~sparc ~x86 
~amd64-linux ~x86-linux"
 IUSE="doc"
 
 distutils_enable_tests pytest



[gentoo-commits] repo/gentoo:master commit in: dev-python/future/

2020-02-11 Thread Agostino Sarubbo
commit: ec45b71c7b20ce04e077bfd99a10065eff3f151b
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Feb 12 07:50:37 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Feb 12 07:50:37 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec45b71c

dev-python/future: ppc stable wrt bug #704270

Package-Manager: Portage-2.3.84, Repoman-2.3.20
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-python/future/future-0.18.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/future/future-0.18.2.ebuild 
b/dev-python/future/future-0.18.2.ebuild
index 24700eeb68f..99b9c38b221 100644
--- a/dev-python/future/future-0.18.2.ebuild
+++ b/dev-python/future/future-0.18.2.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc 
~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ia64 ~mips ppc ~ppc64 ~s390 ~sparc 
~x86 ~amd64-linux ~x86-linux"
 IUSE="doc"
 
 distutils_enable_tests pytest



[gentoo-commits] repo/gentoo:master commit in: dev-python/future/

2020-02-11 Thread Agostino Sarubbo
commit: 4abdb3b5ffbedf31fe1a05dc68300bbb0bf47fa2
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Feb 12 07:47:23 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Feb 12 07:47:23 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4abdb3b5

dev-python/future: ia64 stable wrt bug #704270

Package-Manager: Portage-2.3.84, Repoman-2.3.20
RepoMan-Options: --include-arches="ia64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-python/future/future-0.18.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/future/future-0.18.2.ebuild 
b/dev-python/future/future-0.18.2.ebuild
index 03b72e5e070..24700eeb68f 100644
--- a/dev-python/future/future-0.18.2.ebuild
+++ b/dev-python/future/future-0.18.2.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc 
~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc 
~x86 ~amd64-linux ~x86-linux"
 IUSE="doc"
 
 distutils_enable_tests pytest



[gentoo-commits] repo/gentoo:master commit in: dev-python/future/

2020-02-11 Thread Agostino Sarubbo
commit: e7d984c88ab2678e0487fda91647a91f1cc788b5
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Feb 12 07:46:26 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Feb 12 07:46:26 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7d984c8

dev-python/future: amd64 stable wrt bug #704270

Package-Manager: Portage-2.3.84, Repoman-2.3.20
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-python/future/future-0.18.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/future/future-0.18.2.ebuild 
b/dev-python/future/future-0.18.2.ebuild
index 38cf1c7a07a..03b72e5e070 100644
--- a/dev-python/future/future-0.18.2.ebuild
+++ b/dev-python/future/future-0.18.2.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc 
~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc 
~x86 ~amd64-linux ~x86-linux"
 IUSE="doc"
 
 distutils_enable_tests pytest



[gentoo-commits] repo/gentoo:master commit in: dev-python/future/

2020-02-11 Thread Agostino Sarubbo
commit: c9defddb1a219e3ba56cabf7d52307ffbea57b96
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Feb 12 07:45:24 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Feb 12 07:45:24 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9defddb

dev-python/future: arm stable wrt bug #704270

Package-Manager: Portage-2.3.84, Repoman-2.3.20
RepoMan-Options: --include-arches="arm"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-python/future/future-0.18.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/future/future-0.18.2.ebuild 
b/dev-python/future/future-0.18.2.ebuild
index 36ec2e49151..38cf1c7a07a 100644
--- a/dev-python/future/future-0.18.2.ebuild
+++ b/dev-python/future/future-0.18.2.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc 
~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc 
~x86 ~amd64-linux ~x86-linux"
 IUSE="doc"
 
 distutils_enable_tests pytest



[gentoo-commits] repo/gentoo:master commit in: dev-python/future/

2019-11-25 Thread Michał Górny
commit: af2e795c1d47eeb59e2d812ccfe9ecee0b872b82
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Nov 25 12:24:54 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Nov 25 12:35:06 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af2e795c

dev-python/future: Use distutils_enable_sphinx

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/future/future-0.17.1.ebuild | 23 ++-
 1 file changed, 2 insertions(+), 21 deletions(-)

diff --git a/dev-python/future/future-0.17.1.ebuild 
b/dev-python/future/future-0.17.1.ebuild
index 0aee1d1a931..a1b80c57871 100644
--- a/dev-python/future/future-0.17.1.ebuild
+++ b/dev-python/future/future-0.17.1.ebuild
@@ -14,33 +14,21 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc 
~x86 ~amd64-linux ~x86-linux"
-IUSE="doc"
 
+distutils_enable_sphinx docs \
+   dev-python/sphinx-bootstrap-theme
 distutils_enable_tests pytest
 
 # TODO: make numpy unconditional when it supports py3.8
 BDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
-   doc? (
-   $(python_gen_any_dep '
-   dev-python/sphinx[${PYTHON_USEDEP}]
-   dev-python/sphinx-bootstrap-theme[${PYTHON_USEDEP}]
-   ' python{2_7,3_{5,6,7}})
-   )
test? (
$(python_gen_cond_dep 'dev-python/numpy[${PYTHON_USEDEP}]' \
python{2_7,3_{5,6,7}})
)
 "
 
-python_check_deps() {
-   use doc || return 0
-   has_version "dev-python/sphinx[${PYTHON_USEDEP}]" &&
-   has_version 
"dev-python/sphinx-bootstrap-theme[${PYTHON_USEDEP}]"
-}
-
 python_prepare_all() {
-   sed -i "/'sphinx.ext.intersphinx'/d" docs/conf.py || die
# tests requiring network access
rm tests/test_future/test_requests.py || die
sed -i -e 's:test.*request_http:_&:' \
@@ -48,10 +36,3 @@ python_prepare_all() {
 
distutils-r1_python_prepare_all
 }
-
-python_compile_all() {
-   if use doc; then
-   sphinx-build docs/ docs/_build/html || die
-   HTML_DOCS=( docs/_build/html/. )
-   fi
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/future/

2019-11-16 Thread Michał Górny
commit: 7a8e3e80f69ab2e8482f1c14b1087230fcdde5a6
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Nov 16 11:20:02 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Nov 16 11:20:45 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a8e3e80

dev-python/future: No need to restrict python_gen_any_dep

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/future/future-0.18.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/future/future-0.18.2.ebuild 
b/dev-python/future/future-0.18.2.ebuild
index 5444a0c4f1f..d5b55ddea8d 100644
--- a/dev-python/future/future-0.18.2.ebuild
+++ b/dev-python/future/future-0.18.2.ebuild
@@ -25,7 +25,7 @@ BDEPEND="
$(python_gen_any_dep '
dev-python/sphinx[${PYTHON_USEDEP}]
dev-python/sphinx-bootstrap-theme[${PYTHON_USEDEP}]
-   ' python{2_7,3_{5,6,7}})
+   ')
)
test? (
$(python_gen_cond_dep 'dev-python/numpy[${PYTHON_USEDEP}]' \



[gentoo-commits] repo/gentoo:master commit in: dev-python/future/files/, dev-python/future/

2019-11-15 Thread Michał Górny
commit: ed80835ba92a55f6ff0589dcc6b6da8f078a7d30
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Nov 15 22:51:39 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Nov 15 22:55:08 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed80835b

dev-python/future: Enable pypy*, and fix tests on py38

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/future/files/future-0.18.2-tests.patch | 269 ++
 dev-python/future/future-0.18.2.ebuild|   6 +-
 2 files changed, 274 insertions(+), 1 deletion(-)

diff --git a/dev-python/future/files/future-0.18.2-tests.patch 
b/dev-python/future/files/future-0.18.2-tests.patch
new file mode 100644
index 000..3742adb7282
--- /dev/null
+++ b/dev-python/future/files/future-0.18.2-tests.patch
@@ -0,0 +1,269 @@
+diff --git a/tests/test_future/test_backports.py 
b/tests/test_future/test_backports.py
+index 9eeb741..63b1afe 100644
+--- a/tests/test_future/test_backports.py
 b/tests/test_future/test_backports.py
+@@ -87,7 +87,8 @@ class TestChainMap(unittest.TestCase):
+ d['b'] = 20
+ d['c'] = 30
+ self.assertEqual(d.maps, [{'b':20, 'c':30}, {'a':1, 'b':2}])  # check 
internal state
+-self.assertEqual(d.items(), dict(a=1, b=20, c=30).items())# check 
items/iter/getitem
++self.assertEqual(sorted(d.items()),
++ sorted(dict(a=1, b=20, c=30).items()))   # check 
items/iter/getitem
+ self.assertEqual(len(d), 3)   # check 
len
+ for key in 'abc': # check 
contains
+ self.assertIn(key, d)
+@@ -96,7 +97,8 @@ class TestChainMap(unittest.TestCase):
+ 
+ del d['b']# 
unmask a value
+ self.assertEqual(d.maps, [{'c':30}, {'a':1, 'b':2}])  # check 
internal state
+-self.assertEqual(d.items(), dict(a=1, b=2, c=30).items()) # check 
items/iter/getitem
++self.assertEqual(sorted(d.items()),
++ sorted(dict(a=1, b=2, c=30).items()))# check 
items/iter/getitem
+ self.assertEqual(len(d), 3)   # check 
len
+ for key in 'abc': # check 
contains
+ self.assertIn(key, d)
+diff --git a/tests/test_future/test_builtins.py 
b/tests/test_future/test_builtins.py
+index ca07b9e..944d97b 100644
+--- a/tests/test_future/test_builtins.py
 b/tests/test_future/test_builtins.py
+@@ -8,7 +8,7 @@ from future.builtins import (bytes, dict, int, range, round, 
str, super,
+  ascii, chr, hex, input, next, oct, open, pow,
+  filter, map, zip, min, max)
+ 
+-from future.utils import PY3, exec_, native_str, implements_iterator
++from future.utils import PYPY, PY2, PY3, exec_, native_str, 
implements_iterator
+ from future.tests.base import (unittest, skip26, expectedFailurePY2,
+expectedFailurePY26)
+ 
+@@ -699,12 +699,13 @@ class BuiltinTest(unittest.TestCase):
+ self.assertEqual(eval('dir()', g, m), list('xyz'))
+ self.assertEqual(eval('globals()', g, m), g)
+ self.assertEqual(eval('locals()', g, m), m)
+-self.assertRaises(TypeError, eval, 'a', m)
++if not (PYPY and PY2):
++self.assertRaises(TypeError, eval, 'a', m)
+ class A:
+ "Non-mapping"
+ pass
+ m = A()
+-self.assertRaises(TypeError, eval, 'a', g, m)
++self.assertRaises((AttributeError, TypeError), eval, 'a', g, m)
+ 
+ # Verify that dict subclasses work as well
+ class D(dict):
+@@ -784,8 +785,9 @@ class BuiltinTest(unittest.TestCase):
+ # self.assertRaisesRegex(NameError, "name 'print' is not defined",
+ #exec_, code, {'__builtins__': {}})
+ # Now:
+-self.assertRaises(NameError,
+-  exec_, code, {'__builtins__': {}})
++if not PYPY:
++self.assertRaises(NameError,
++  exec_, code, {'__builtins__': {}})
+ # __builtins__ must be a mapping type
+ # Was:
+ # self.assertRaises(TypeError,
+@@ -797,8 +799,9 @@ class BuiltinTest(unittest.TestCase):
+ # Was:
+ # self.assertRaisesRegex(NameError, "__build_class__ not found",
+ #exec_, code, {'__builtins__': {}})
+-self.assertRaises(NameError,
+-  exec_, code, {'__builtins__': {}})
++if not PYPY:
++self.assertRaises(NameError,
++  exec_, code, {'__builtins__': {}})
+ 
+ class frozendict_error(Exception):
+ pass
+@@ -1304,8 +1307,9 @@ class BuiltinTest(unittest.TestCase):
+ self.assertAlmostEqual(pow(-1, 0.5), 1j)
+ 

[gentoo-commits] repo/gentoo:master commit in: dev-python/future/

2019-11-15 Thread Michał Górny
commit: e9ef55f40bc47b003c193ad6a74d8ec179936ae0
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Nov 15 22:53:57 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Nov 15 22:55:09 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9ef55f4

dev-python/future: Fix remaining MissingTestRestrict

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/future/future-0.17.0.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-python/future/future-0.17.0.ebuild 
b/dev-python/future/future-0.17.0.ebuild
index c8748ca2601..f314fd9d302 100644
--- a/dev-python/future/future-0.17.0.ebuild
+++ b/dev-python/future/future-0.17.0.ebuild
@@ -15,6 +15,7 @@ LICENSE="MIT"
 SLOT="0"
 KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 sparc x86 
~amd64-linux ~x86-linux"
 IUSE="doc test"
+RESTRICT="!test? ( test )"
 
 BDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/future/

2019-11-15 Thread Michał Górny
commit: 741e223b6194918335e235cd43b2ce5bf6ba7f54
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Nov 15 16:59:38 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Nov 15 17:27:54 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=741e223b

dev-python/future: Modernize, fix tests

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/future/future-0.17.1.ebuild | 31 ---
 1 file changed, 20 insertions(+), 11 deletions(-)

diff --git a/dev-python/future/future-0.17.1.ebuild 
b/dev-python/future/future-0.17.1.ebuild
index e99e2709bfa..0aee1d1a931 100644
--- a/dev-python/future/future-0.17.1.ebuild
+++ b/dev-python/future/future-0.17.1.ebuild
@@ -14,25 +14,38 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc 
~x86 ~amd64-linux ~x86-linux"
-IUSE="doc test"
+IUSE="doc"
 
+distutils_enable_tests pytest
+
+# TODO: make numpy unconditional when it supports py3.8
 BDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
doc? (
-   dev-python/sphinx[${PYTHON_USEDEP}]
-   dev-python/sphinx-bootstrap-theme[${PYTHON_USEDEP}]
+   $(python_gen_any_dep '
+   dev-python/sphinx[${PYTHON_USEDEP}]
+   dev-python/sphinx-bootstrap-theme[${PYTHON_USEDEP}]
+   ' python{2_7,3_{5,6,7}})
)
test? (
-   dev-python/numpy[${PYTHON_USEDEP}]
-   dev-python/pytest[${PYTHON_USEDEP}]
+   $(python_gen_cond_dep 'dev-python/numpy[${PYTHON_USEDEP}]' \
+   python{2_7,3_{5,6,7}})
)
 "
 
-PATCHES=(
-)
+python_check_deps() {
+   use doc || return 0
+   has_version "dev-python/sphinx[${PYTHON_USEDEP}]" &&
+   has_version 
"dev-python/sphinx-bootstrap-theme[${PYTHON_USEDEP}]"
+}
 
 python_prepare_all() {
sed -i "/'sphinx.ext.intersphinx'/d" docs/conf.py || die
+   # tests requiring network access
+   rm tests/test_future/test_requests.py || die
+   sed -i -e 's:test.*request_http:_&:' \
+   tests/test_future/test_standard_library.py || die
+
distutils-r1_python_prepare_all
 }
 
@@ -42,7 +55,3 @@ python_compile_all() {
HTML_DOCS=( docs/_build/html/. )
fi
 }
-
-python_test() {
-   pytest -vv || die "Tests failed under ${EPYTHON}"
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/future/

2019-11-15 Thread Michał Górny
commit: c3d950ac1db172fdfd7c6e5091e1d608ac182e5b
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Nov 15 17:01:41 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Nov 15 17:27:55 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3d950ac

dev-python/future: Bump to 0.18.2

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/future/Manifest |  1 +
 dev-python/future/future-0.18.2.ebuild | 57 ++
 2 files changed, 58 insertions(+)

diff --git a/dev-python/future/Manifest b/dev-python/future/Manifest
index 58eaf61d973..1b1bafcb16a 100644
--- a/dev-python/future/Manifest
+++ b/dev-python/future/Manifest
@@ -1,2 +1,3 @@
 DIST future-0.17.0.tar.gz 827812 BLAKE2B 
14bfce4927386b157da91e6bbad547e21bb622f7e81997bc4ac400842cec5f7a50d7a0f5a743c4c76a7b80be0dcb6f54c06901311fd27781d89a8d2df1cce7e9
 SHA512 
f2396379e8e36753aeafdf27225c2551a31b10036f21201f1c24d63c1bb318dbd491ec977af514a19a4d477b397df9eed9711be797a64e86fc00c4692729d876
 DIST future-0.17.1.tar.gz 829119 BLAKE2B 
95210b5128d25d6c189cd38bced873f096802690e8fab5f4591c08fa913c41dc255e24af1931cad91d872a286f690f47bf6e0aa365e2f6508b03b0d305779c26
 SHA512 
50094c44db81afbfd37ee25e1710ed11ecb2c2d64ad076fb62a2688dd36a9696ab26b0d7989bf1ecb10da251961a0ee6bb37c4dbd115f70384cd8c9a675d0b2d
+DIST future-0.18.2.tar.gz 829220 BLAKE2B 
68574b589bf54aa8dacbd162a54885589faa32829ccf212f50de5bf036ebd8b9aba0c13e63e80d34e507cc0dae4d8d3d47fea33433b17d2c2e6dbf6c37f66d8f
 SHA512 
91c025f7d94bcdf93df838fab67053165a414fc84e8496f92ecbb910dd55f6b6af5e360bbd051444066880c5a6877e75157bd95e150ead46e5c605930dfc50f2

diff --git a/dev-python/future/future-0.18.2.ebuild 
b/dev-python/future/future-0.18.2.ebuild
new file mode 100644
index 000..0aee1d1a931
--- /dev/null
+++ b/dev-python/future/future-0.18.2.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python{2_7,3_{5,6,7}} )
+
+inherit distutils-r1
+
+DESCRIPTION="Easy, clean, reliable Python 2/3 compatibility"
+HOMEPAGE="http://python-future.org/;
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc 
~x86 ~amd64-linux ~x86-linux"
+IUSE="doc"
+
+distutils_enable_tests pytest
+
+# TODO: make numpy unconditional when it supports py3.8
+BDEPEND="
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   doc? (
+   $(python_gen_any_dep '
+   dev-python/sphinx[${PYTHON_USEDEP}]
+   dev-python/sphinx-bootstrap-theme[${PYTHON_USEDEP}]
+   ' python{2_7,3_{5,6,7}})
+   )
+   test? (
+   $(python_gen_cond_dep 'dev-python/numpy[${PYTHON_USEDEP}]' \
+   python{2_7,3_{5,6,7}})
+   )
+"
+
+python_check_deps() {
+   use doc || return 0
+   has_version "dev-python/sphinx[${PYTHON_USEDEP}]" &&
+   has_version 
"dev-python/sphinx-bootstrap-theme[${PYTHON_USEDEP}]"
+}
+
+python_prepare_all() {
+   sed -i "/'sphinx.ext.intersphinx'/d" docs/conf.py || die
+   # tests requiring network access
+   rm tests/test_future/test_requests.py || die
+   sed -i -e 's:test.*request_http:_&:' \
+   tests/test_future/test_standard_library.py || die
+
+   distutils-r1_python_prepare_all
+}
+
+python_compile_all() {
+   if use doc; then
+   sphinx-build docs/ docs/_build/html || die
+   HTML_DOCS=( docs/_build/html/. )
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/future/

2019-08-05 Thread Patrice Clement
commit: e309c522533c40676f8646ef0665e2d503bb9eb9
Author: Patrice Clement  gentoo  org>
AuthorDate: Tue Jun 11 21:21:28 2019 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Mon Aug  5 09:12:15 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e309c522

dev-python/future: version bump.

Signed-off-by: Patrice Clement  gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11

 dev-python/future/Manifest |  1 +
 dev-python/future/future-0.17.1.ebuild | 48 ++
 2 files changed, 49 insertions(+)

diff --git a/dev-python/future/Manifest b/dev-python/future/Manifest
index 48c79e5ce1a..58eaf61d973 100644
--- a/dev-python/future/Manifest
+++ b/dev-python/future/Manifest
@@ -1 +1,2 @@
 DIST future-0.17.0.tar.gz 827812 BLAKE2B 
14bfce4927386b157da91e6bbad547e21bb622f7e81997bc4ac400842cec5f7a50d7a0f5a743c4c76a7b80be0dcb6f54c06901311fd27781d89a8d2df1cce7e9
 SHA512 
f2396379e8e36753aeafdf27225c2551a31b10036f21201f1c24d63c1bb318dbd491ec977af514a19a4d477b397df9eed9711be797a64e86fc00c4692729d876
+DIST future-0.17.1.tar.gz 829119 BLAKE2B 
95210b5128d25d6c189cd38bced873f096802690e8fab5f4591c08fa913c41dc255e24af1931cad91d872a286f690f47bf6e0aa365e2f6508b03b0d305779c26
 SHA512 
50094c44db81afbfd37ee25e1710ed11ecb2c2d64ad076fb62a2688dd36a9696ab26b0d7989bf1ecb10da251961a0ee6bb37c4dbd115f70384cd8c9a675d0b2d

diff --git a/dev-python/future/future-0.17.1.ebuild 
b/dev-python/future/future-0.17.1.ebuild
new file mode 100644
index 000..c70e5416eae
--- /dev/null
+++ b/dev-python/future/future-0.17.1.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python{2_7,3_{5,6,7}} )
+
+inherit distutils-r1
+
+DESCRIPTION="Easy, clean, reliable Python 2/3 compatibility"
+HOMEPAGE="http://python-future.org/;
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc 
~x86 ~amd64-fbsd ~amd64-linux ~x86-linux"
+IUSE="doc test"
+
+BDEPEND="
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   doc? (
+   dev-python/sphinx[${PYTHON_USEDEP}]
+   dev-python/sphinx-bootstrap-theme[${PYTHON_USEDEP}]
+   )
+   test? (
+   dev-python/numpy[${PYTHON_USEDEP}]
+   dev-python/pytest[${PYTHON_USEDEP}]
+   )
+"
+
+PATCHES=(
+)
+
+python_prepare_all() {
+   sed -i "/'sphinx.ext.intersphinx'/d" docs/conf.py || die
+   distutils-r1_python_prepare_all
+}
+
+python_compile_all() {
+   if use doc; then
+   sphinx-build docs/ docs/_build/html || die
+   HTML_DOCS=( docs/_build/html/. )
+   fi
+}
+
+python_test() {
+   pytest -vv || die "Tests failed under ${EPYTHON}"
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/future/

2019-05-01 Thread Matt Turner
commit: 2b379d9852cf711dfbd84c1cb95471886608a892
Author: Matt Turner  gentoo  org>
AuthorDate: Wed May  1 18:05:40 2019 +
Commit: Matt Turner  gentoo  org>
CommitDate: Wed May  1 18:05:51 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b379d98

dev-python/future-0.17.0: hppa stable, bug 676622

Signed-off-by: Matt Turner  gentoo.org>

 dev-python/future/future-0.17.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/future/future-0.17.0.ebuild 
b/dev-python/future/future-0.17.0.ebuild
index 10a255b29e1..7487bf92cef 100644
--- a/dev-python/future/future-0.17.0.ebuild
+++ b/dev-python/future/future-0.17.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="alpha amd64 arm arm64 ~hppa ia64 ~mips ppc ppc64 s390 sparc x86 
~amd64-fbsd ~amd64-linux ~x86-linux"
+KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 sparc x86 
~amd64-fbsd ~amd64-linux ~x86-linux"
 IUSE="doc test"
 
 BDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-python/future/, dev-python/future/files/

2019-05-01 Thread David Seifert
commit: d3e1798c98b73a6df4aa3abefda30fce1f266fb6
Author: David Seifert  gentoo  org>
AuthorDate: Wed May  1 09:11:23 2019 +
Commit: David Seifert  gentoo  org>
CommitDate: Wed May  1 09:11:23 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3e1798c

dev-python/future: Remove old

Package-Manager: Portage-2.3.65, Repoman-2.3.12
Signed-off-by: David Seifert  gentoo.org>

 dev-python/future/Manifest |  2 -
 .../future-0.15.2-fix-py35-test-failures.patch | 57 --
 0-disable-tests-with-internet-connection.patch | 50 ---
 .../files/future-0.16.0-fix-tests-py37.patch   | 43 
 dev-python/future/future-0.15.2.ebuild | 23 -
 dev-python/future/future-0.16.0-r1.ebuild  | 52 
 dev-python/future/future-0.16.0.ebuild | 27 --
 7 files changed, 254 deletions(-)

diff --git a/dev-python/future/Manifest b/dev-python/future/Manifest
index 0bcf5ff7b5a..48c79e5ce1a 100644
--- a/dev-python/future/Manifest
+++ b/dev-python/future/Manifest
@@ -1,3 +1 @@
-DIST future-0.15.2.tar.gz 1583441 BLAKE2B 
9c552a5f3598922f8910480d054015020112aae4f7e14d2c139dda13a0b26e878b75eaf5068d66f20823ac4659d85edd4087a95d9474dc27bf15767cf6e9d921
 SHA512 
24a0eaf70795efe1644b098c5abbcb0103d9172a5243721f0d26b1cbd108872b6c0616180da8f5507855ddfc7b26bb10a606a64e59d307d39042b346700f77ee
-DIST future-0.16.0.tar.gz 824484 BLAKE2B 
b098366cc7a7866c4aa4a35f1a6a5cf113698307de8f4cce6c77e4ce72a8433dd102111f991e35ffa920c09a0d31cc048b9502dacd0aba1b701c11eaaeab8392
 SHA512 
41c795cd1746a76df84de2da9fbc611fc6164322c1c712ec9e8a8626c21c2717cb4899ec150d95c5e0c037270e6bb71e099edd169609369aae619daea9df2e5f
 DIST future-0.17.0.tar.gz 827812 BLAKE2B 
14bfce4927386b157da91e6bbad547e21bb622f7e81997bc4ac400842cec5f7a50d7a0f5a743c4c76a7b80be0dcb6f54c06901311fd27781d89a8d2df1cce7e9
 SHA512 
f2396379e8e36753aeafdf27225c2551a31b10036f21201f1c24d63c1bb318dbd491ec977af514a19a4d477b397df9eed9711be797a64e86fc00c4692729d876

diff --git a/dev-python/future/files/future-0.15.2-fix-py35-test-failures.patch 
b/dev-python/future/files/future-0.15.2-fix-py35-test-failures.patch
deleted file mode 100644
index 8d8e5daccf1..000
--- a/dev-python/future/files/future-0.15.2-fix-py35-test-failures.patch
+++ /dev/null
@@ -1,57 +0,0 @@
-* Fix test failures on py3.5, backported from git, see also
-  https://github.com/PythonCharmers/python-future/issues/183
-* Fix unexpected test successes on py3.5, which are now correct
-
 a/tests/test_future/test_bytes.py
-+++ b/tests/test_future/test_bytes.py
-@@ -10,6 +10,8 @@
- from numbers import Integral
- from future.tests.base import unittest, expectedFailurePY2
- 
-+import sys
-+
- 
- TEST_UNICODE_STR = u'ℝεα∂@ßʟ℮ ☂ℯṧт υηḯ¢☺ḓ℮'
- # Tk icon as a .gif:
-@@ -534,6 +536,8 @@
- self.assertRaises(ValueError, bytes.maketrans, b'abc', b'xyzq')
- self.assertRaises(TypeError, bytes.maketrans, 'abc', 'def')
- 
-+@unittest.skipIf(sys.version_info[:2] == (3, 5),
-+ 'Only works in Py3.5+')
- @unittest.expectedFailure
- def test_mod(self):
- """
-@@ -551,6 +555,8 @@
- a = b % (b'seventy-nine', 79)
- self.assertEqual(a, b'seventy-nine / 100 = 79%')
- 
-+@unittest.skipIf(sys.version_info[:2] == (3, 5),
-+ 'Only works in Py3.5+')
- @unittest.expectedFailure
- def test_imod(self):
- """
 a/tests/test_future/test_builtins.py
-+++ b/tests/test_future/test_builtins.py
-@@ -525,11 +525,10 @@
- self.assertRaises(ValueError, compile, 'print(42)\n', '', 
'badmode')
- self.assertRaises(ValueError, compile, 'print(42)\n', '', 
'single', 0xff)
- # Raises TypeError in Python < v3.5, ValueError in v3.5:
--# self.assertRaises(TypeError, compile, chr(0), 'f', 'exec')
-+self.assertRaises((TypeError, ValueError), compile, chr(0), 'f', 
'exec')
- self.assertRaises(TypeError, compile, 'pass', '?', 'exec',
-   mode='eval', source='0', filename='tmp')
- compile('print("\xe5")\n', '', 'exec')
--self.assertRaises(TypeError, compile, chr(0), 'f', 'exec')
- self.assertRaises(ValueError, compile, str('a = 1'), 'f', 'bad')
- 
- # test the optimize argument
-@@ -1287,7 +1286,7 @@
- self.assertAlmostEqual(pow(-1, 1/3), 0.5 + 0.8660254037844386j)
- 
- # Raises TypeError in Python < v3.5, ValueError in v3.5:
--# self.assertRaises(TypeError, pow, -1, -2, 3)
-+self.assertRaises((TypeError, ValueError), pow, -1, -2, 3)
- self.assertRaises(ValueError, pow, 1, 2, 0)
- 
- self.assertRaises(TypeError, pow)

diff --git 
a/dev-python/future/files/future-0.16.0-disable-tests-with-internet-connection.patch
 
b/dev-python/future/files/future-0.16.0-disable-tests-with-internet-connection.patch
deleted file mode 100644
index b4ba01ed796..000
--- 

[gentoo-commits] repo/gentoo:master commit in: dev-python/future/

2019-04-28 Thread Mikle Kolyada
commit: 4de66282949d3a21d4945da3b9941ebd01c64068
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sun Apr 28 20:39:53 2019 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sun Apr 28 20:39:53 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4de66282

dev-python/future: s390 stable wrt bug #676622

Signed-off-by: Mikle Kolyada  gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11
RepoMan-Options: --include-arches="s390"

 dev-python/future/future-0.17.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/future/future-0.17.0.ebuild 
b/dev-python/future/future-0.17.0.ebuild
index e336aea03b7..10a255b29e1 100644
--- a/dev-python/future/future-0.17.0.ebuild
+++ b/dev-python/future/future-0.17.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="alpha amd64 arm arm64 ~hppa ia64 ~mips ppc ppc64 ~s390 sparc x86 
~amd64-fbsd ~amd64-linux ~x86-linux"
+KEYWORDS="alpha amd64 arm arm64 ~hppa ia64 ~mips ppc ppc64 s390 sparc x86 
~amd64-fbsd ~amd64-linux ~x86-linux"
 IUSE="doc test"
 
 BDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-python/future/

2019-04-05 Thread Mart Raudsepp
commit: 73ae47f2b33e4688a540096746f83e9a11f4c09a
Author: Mart Raudsepp  gentoo  org>
AuthorDate: Fri Apr  5 09:22:24 2019 +
Commit: Mart Raudsepp  gentoo  org>
CommitDate: Fri Apr  5 09:22:24 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73ae47f2

dev-python/future: arm64 stable (bug #676622)

Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Mart Raudsepp  gentoo.org>

 dev-python/future/future-0.17.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/future/future-0.17.0.ebuild 
b/dev-python/future/future-0.17.0.ebuild
index a82e69d4414..f72f804eea6 100644
--- a/dev-python/future/future-0.17.0.ebuild
+++ b/dev-python/future/future-0.17.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="alpha amd64 arm ~hppa ia64 ~mips ppc ppc64 ~s390 sparc x86 
~amd64-fbsd ~amd64-linux ~x86-linux"
+KEYWORDS="alpha amd64 arm arm64 ~hppa ia64 ~mips ppc ppc64 ~s390 sparc x86 
~amd64-fbsd ~amd64-linux ~x86-linux"
 IUSE="doc test"
 
 BDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-python/future/

2019-03-16 Thread Sergei Trofimovich
commit: 8ba4129a403464a309f0a66bbe3ab66ae9e6fa0e
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Sat Mar 16 16:52:55 2019 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sat Mar 16 18:40:14 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ba4129a

dev-python/future: stable 0.17.0 for sparc, bug #676622

Signed-off-by: Rolf Eike Beer  sf-mail.de>
Package-Manager: Portage-2.3.62, Repoman-2.3.11
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-python/future/future-0.17.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/future/future-0.17.0.ebuild 
b/dev-python/future/future-0.17.0.ebuild
index 78f2de664a0..a82e69d4414 100644
--- a/dev-python/future/future-0.17.0.ebuild
+++ b/dev-python/future/future-0.17.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="alpha amd64 arm ~hppa ia64 ~mips ppc ppc64 ~s390 ~sparc x86 
~amd64-fbsd ~amd64-linux ~x86-linux"
+KEYWORDS="alpha amd64 arm ~hppa ia64 ~mips ppc ppc64 ~s390 sparc x86 
~amd64-fbsd ~amd64-linux ~x86-linux"
 IUSE="doc test"
 
 BDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-python/future/

2019-03-16 Thread Mikle Kolyada
commit: ba53c56c575dd616a5bdb04428d03a647b069a76
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sat Mar 16 14:45:45 2019 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sat Mar 16 14:46:08 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba53c56c

dev-python/future: arm stable wrt bug #676622

Signed-off-by: Mikle Kolyada  gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11
RepoMan-Options: --include-arches="arm"

 dev-python/future/future-0.17.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/future/future-0.17.0.ebuild 
b/dev-python/future/future-0.17.0.ebuild
index eb88ed443de..78f2de664a0 100644
--- a/dev-python/future/future-0.17.0.ebuild
+++ b/dev-python/future/future-0.17.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="alpha amd64 ~arm ~hppa ia64 ~mips ppc ppc64 ~s390 ~sparc x86 
~amd64-fbsd ~amd64-linux ~x86-linux"
+KEYWORDS="alpha amd64 arm ~hppa ia64 ~mips ppc ppc64 ~s390 ~sparc x86 
~amd64-fbsd ~amd64-linux ~x86-linux"
 IUSE="doc test"
 
 BDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-python/future/

2019-03-09 Thread Matt Turner
commit: a86f00360c96ec14d560a56f88f8d75d4b8a6243
Author: Matt Turner  gentoo  org>
AuthorDate: Sat Mar  9 21:19:01 2019 +
Commit: Matt Turner  gentoo  org>
CommitDate: Sat Mar  9 21:19:01 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a86f0036

dev-python/future-0.17.0: added ~arm, bug 664178

Signed-off-by: Matt Turner  gentoo.org>

 dev-python/future/future-0.17.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/future/future-0.17.0.ebuild 
b/dev-python/future/future-0.17.0.ebuild
index edfd5aa0639..eb88ed443de 100644
--- a/dev-python/future/future-0.17.0.ebuild
+++ b/dev-python/future/future-0.17.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="alpha amd64 ~hppa ia64 ~mips ppc ppc64 ~s390 ~sparc x86 ~amd64-fbsd 
~amd64-linux ~x86-linux"
+KEYWORDS="alpha amd64 ~arm ~hppa ia64 ~mips ppc ppc64 ~s390 ~sparc x86 
~amd64-fbsd ~amd64-linux ~x86-linux"
 IUSE="doc test"
 
 BDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-python/future/

2019-03-09 Thread Thomas Deutschmann
commit: 78c231cf63ae862b8f00d7b5e528f4ca813288e7
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Sat Mar  9 19:05:18 2019 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Sat Mar  9 19:18:13 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78c231cf

dev-python/future: x86 stable (bug #676622)

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Thomas Deutschmann  gentoo.org>

 dev-python/future/future-0.17.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/future/future-0.17.0.ebuild 
b/dev-python/future/future-0.17.0.ebuild
index d67e4160eea..edfd5aa0639 100644
--- a/dev-python/future/future-0.17.0.ebuild
+++ b/dev-python/future/future-0.17.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="alpha amd64 ~hppa ia64 ~mips ppc ppc64 ~s390 ~sparc ~x86 ~amd64-fbsd 
~amd64-linux ~x86-linux"
+KEYWORDS="alpha amd64 ~hppa ia64 ~mips ppc ppc64 ~s390 ~sparc x86 ~amd64-fbsd 
~amd64-linux ~x86-linux"
 IUSE="doc test"
 
 BDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-python/future/

2019-03-04 Thread Matt Turner
commit: 5c51944e6b727eb05099c602c986de13ba4cbb40
Author: Matt Turner  gentoo  org>
AuthorDate: Tue Mar  5 06:22:09 2019 +
Commit: Matt Turner  gentoo  org>
CommitDate: Tue Mar  5 06:22:29 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c51944e

dev-python/future-0.17.0: ppc64 stable, bug 676622

Signed-off-by: Matt Turner  gentoo.org>

 dev-python/future/future-0.17.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/future/future-0.17.0.ebuild 
b/dev-python/future/future-0.17.0.ebuild
index 054632f5b5b..d67e4160eea 100644
--- a/dev-python/future/future-0.17.0.ebuild
+++ b/dev-python/future/future-0.17.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="alpha amd64 ~hppa ia64 ~mips ppc ~ppc64 ~s390 ~sparc ~x86 
~amd64-fbsd ~amd64-linux ~x86-linux"
+KEYWORDS="alpha amd64 ~hppa ia64 ~mips ppc ppc64 ~s390 ~sparc ~x86 ~amd64-fbsd 
~amd64-linux ~x86-linux"
 IUSE="doc test"
 
 BDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-python/future/

2019-03-04 Thread Matt Turner
commit: 1fa5de8994e95cfa4173da772a4a84d7b49ca9c5
Author: Matt Turner  gentoo  org>
AuthorDate: Tue Mar  5 06:22:07 2019 +
Commit: Matt Turner  gentoo  org>
CommitDate: Tue Mar  5 06:22:27 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1fa5de89

dev-python/future-0.17.0: ppc stable, bug 676622

Signed-off-by: Matt Turner  gentoo.org>

 dev-python/future/future-0.17.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/future/future-0.17.0.ebuild 
b/dev-python/future/future-0.17.0.ebuild
index cdf881a1c1a..054632f5b5b 100644
--- a/dev-python/future/future-0.17.0.ebuild
+++ b/dev-python/future/future-0.17.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="alpha amd64 ~hppa ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 
~amd64-fbsd ~amd64-linux ~x86-linux"
+KEYWORDS="alpha amd64 ~hppa ia64 ~mips ppc ~ppc64 ~s390 ~sparc ~x86 
~amd64-fbsd ~amd64-linux ~x86-linux"
 IUSE="doc test"
 
 BDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-python/future/

2019-03-02 Thread Mikle Kolyada
commit: 9e509aed7d2f8005f1d33f5e39cbcb4aff1818ff
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sun Mar  3 06:29:24 2019 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sun Mar  3 06:29:24 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e509aed

dev-python/future: amd64 stable wrt bug #676622

Signed-off-by: Mikle Kolyada  gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
RepoMan-Options: --include-arches="amd64"

 dev-python/future/future-0.17.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/future/future-0.17.0.ebuild 
b/dev-python/future/future-0.17.0.ebuild
index 0c12a2ae38f..cdf881a1c1a 100644
--- a/dev-python/future/future-0.17.0.ebuild
+++ b/dev-python/future/future-0.17.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="alpha ~amd64 ~hppa ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 
~amd64-fbsd ~amd64-linux ~x86-linux"
+KEYWORDS="alpha amd64 ~hppa ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 
~amd64-fbsd ~amd64-linux ~x86-linux"
 IUSE="doc test"
 
 BDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-python/future/

2019-03-02 Thread Matt Turner
commit: 346ec4dc6caeb9400fbd5daa35bb144aa19b7d39
Author: Matt Turner  gentoo  org>
AuthorDate: Sat Mar  2 21:27:50 2019 +
Commit: Matt Turner  gentoo  org>
CommitDate: Sat Mar  2 21:27:50 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=346ec4dc

dev-python/future-0.17.0: alpha stable, bug 676622

Signed-off-by: Matt Turner  gentoo.org>

 dev-python/future/future-0.17.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/future/future-0.17.0.ebuild 
b/dev-python/future/future-0.17.0.ebuild
index f1b15006cb8..0c12a2ae38f 100644
--- a/dev-python/future/future-0.17.0.ebuild
+++ b/dev-python/future/future-0.17.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~hppa ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 
~amd64-fbsd ~amd64-linux ~x86-linux"
+KEYWORDS="alpha ~amd64 ~hppa ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 
~amd64-fbsd ~amd64-linux ~x86-linux"
 IUSE="doc test"
 
 BDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-python/future/

2019-03-02 Thread Matt Turner
commit: 081b3b8c85ae26b1072604d6a68f97cdcb6286ae
Author: Matt Turner  gentoo  org>
AuthorDate: Sat Mar  2 19:58:06 2019 +
Commit: Matt Turner  gentoo  org>
CommitDate: Sat Mar  2 19:58:25 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=081b3b8c

dev-python/future-0.17.0: ia64 stable, bug 676622

Signed-off-by: Matt Turner  gentoo.org>

 dev-python/future/future-0.17.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/future/future-0.17.0.ebuild 
b/dev-python/future/future-0.17.0.ebuild
index 860a64b830c..f1b15006cb8 100644
--- a/dev-python/future/future-0.17.0.ebuild
+++ b/dev-python/future/future-0.17.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 
~amd64-fbsd ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha ~amd64 ~hppa ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 
~amd64-fbsd ~amd64-linux ~x86-linux"
 IUSE="doc test"
 
 BDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-python/future/

2019-02-15 Thread Mikle Kolyada
commit: 9b8f1a62bfa9be225fcdd0efe37b233e2b12af5e
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Fri Feb 15 17:05:12 2019 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Fri Feb 15 17:05:12 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b8f1a62

dev-python/future: arm stable wrt bug #677578

Signed-off-by: Mikle Kolyada  gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
RepoMan-Options: --include-arches="arm"

 dev-python/future/future-0.16.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/future/future-0.16.0.ebuild 
b/dev-python/future/future-0.16.0.ebuild
index 7a0c15fa841..711a3e0a591 100644
--- a/dev-python/future/future-0.16.0.ebuild
+++ b/dev-python/future/future-0.16.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="alpha amd64 ~arm arm64 hppa ~ia64 ~mips ppc ppc64 s390 ~sparc x86 
~amd64-fbsd ~amd64-linux ~x86-linux"
+KEYWORDS="alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 s390 ~sparc x86 
~amd64-fbsd ~amd64-linux ~x86-linux"
 IUSE="test"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-python/future/

2019-02-10 Thread Matt Turner
commit: 03c417b62659132ccf6bf5be8aef050308d12269
Author: Matt Turner  gentoo  org>
AuthorDate: Mon Feb 11 00:39:51 2019 +
Commit: Matt Turner  gentoo  org>
CommitDate: Mon Feb 11 00:41:01 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03c417b6

dev-python/future: Version bump to 0.17.0

Signed-off-by: Matt Turner  gentoo.org>

 dev-python/future/Manifest |  1 +
 dev-python/future/future-0.17.0.ebuild | 48 ++
 2 files changed, 49 insertions(+)

diff --git a/dev-python/future/Manifest b/dev-python/future/Manifest
index c6f9ebb99b5..0bcf5ff7b5a 100644
--- a/dev-python/future/Manifest
+++ b/dev-python/future/Manifest
@@ -1,2 +1,3 @@
 DIST future-0.15.2.tar.gz 1583441 BLAKE2B 
9c552a5f3598922f8910480d054015020112aae4f7e14d2c139dda13a0b26e878b75eaf5068d66f20823ac4659d85edd4087a95d9474dc27bf15767cf6e9d921
 SHA512 
24a0eaf70795efe1644b098c5abbcb0103d9172a5243721f0d26b1cbd108872b6c0616180da8f5507855ddfc7b26bb10a606a64e59d307d39042b346700f77ee
 DIST future-0.16.0.tar.gz 824484 BLAKE2B 
b098366cc7a7866c4aa4a35f1a6a5cf113698307de8f4cce6c77e4ce72a8433dd102111f991e35ffa920c09a0d31cc048b9502dacd0aba1b701c11eaaeab8392
 SHA512 
41c795cd1746a76df84de2da9fbc611fc6164322c1c712ec9e8a8626c21c2717cb4899ec150d95c5e0c037270e6bb71e099edd169609369aae619daea9df2e5f
+DIST future-0.17.0.tar.gz 827812 BLAKE2B 
14bfce4927386b157da91e6bbad547e21bb622f7e81997bc4ac400842cec5f7a50d7a0f5a743c4c76a7b80be0dcb6f54c06901311fd27781d89a8d2df1cce7e9
 SHA512 
f2396379e8e36753aeafdf27225c2551a31b10036f21201f1c24d63c1bb318dbd491ec977af514a19a4d477b397df9eed9711be797a64e86fc00c4692729d876

diff --git a/dev-python/future/future-0.17.0.ebuild 
b/dev-python/future/future-0.17.0.ebuild
new file mode 100644
index 000..860a64b830c
--- /dev/null
+++ b/dev-python/future/future-0.17.0.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python{2_7,3_{4,5,6,7}} )
+
+inherit distutils-r1
+
+DESCRIPTION="Easy, clean, reliable Python 2/3 compatibility"
+HOMEPAGE="http://python-future.org/;
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 
~amd64-fbsd ~amd64-linux ~x86-linux"
+IUSE="doc test"
+
+BDEPEND="
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   doc? (
+   dev-python/sphinx[${PYTHON_USEDEP}]
+   dev-python/sphinx-bootstrap-theme[${PYTHON_USEDEP}]
+   )
+   test? (
+   dev-python/numpy[${PYTHON_USEDEP}]
+   dev-python/pytest[${PYTHON_USEDEP}]
+   )
+"
+
+PATCHES=(
+)
+
+python_prepare_all() {
+   sed -i "/'sphinx.ext.intersphinx'/d" docs/conf.py || die
+   distutils-r1_python_prepare_all
+}
+
+python_compile_all() {
+   if use doc; then
+   sphinx-build docs/ docs/_build/html || die
+   HTML_DOCS=( docs/_build/html/. )
+   fi
+}
+
+python_test() {
+   pytest -vv || die "Tests failed under ${EPYTHON}"
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/future/

2018-10-31 Thread Sergei Trofimovich
commit: 5a486089fc05a449f3384cc1ac5950b83937ee5c
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Thu Nov  1 00:09:26 2018 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Thu Nov  1 00:09:26 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a486089

dev-python/future: keyworded 0.16.0-r1 for ia64, bug #664178

Signed-off-by: Sergei Trofimovich  gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
RepoMan-Options: --include-arches="ia64"

 dev-python/future/future-0.16.0-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/future/future-0.16.0-r1.ebuild 
b/dev-python/future/future-0.16.0-r1.ebuild
index 4eb6715d68c..6ea6d592f2f 100644
--- a/dev-python/future/future-0.16.0-r1.ebuild
+++ b/dev-python/future/future-0.16.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-fbsd 
~amd64-linux ~x86-linux"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 
~amd64-fbsd ~amd64-linux ~x86-linux"
 IUSE="doc test"
 
 BDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-python/future/

2018-10-17 Thread Tobias Klausmann
commit: 3f223936e67c4c643127111d4e75a5d0b829e30a
Author: Tobias Klausmann  gentoo  org>
AuthorDate: Wed Oct 17 12:10:59 2018 +
Commit: Tobias Klausmann  gentoo  org>
CommitDate: Wed Oct 17 12:11:14 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f223936

dev-python/future-0.16.0-r1: add ~alpha keyword

Bug: http://bugs.gentoo.org/664178
Signed-off-by: Tobias Klausmann  gentoo.org>

 dev-python/future/future-0.16.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/future/future-0.16.0-r1.ebuild 
b/dev-python/future/future-0.16.0-r1.ebuild
index 03ae068da38..4eb6715d68c 100644
--- a/dev-python/future/future-0.16.0-r1.ebuild
+++ b/dev-python/future/future-0.16.0-r1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~hppa ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux 
~amd64-fbsd ~x86-linux"
+KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-fbsd 
~amd64-linux ~x86-linux"
 IUSE="doc test"
 
 BDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-python/future/

2018-08-30 Thread Matt Thode
commit: b5819c07624fa7b1da4131a0be3ce7c01350c99a
Author: Matthew Thode  gentoo  org>
AuthorDate: Thu Aug 30 17:27:35 2018 +
Commit: Matt Thode  gentoo  org>
CommitDate: Thu Aug 30 17:50:05 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5819c07

dev-python/future: 0.16.0 stable arm64 and s390 under allarches

Package-Manager: Portage-2.3.48, Repoman-2.3.10

 dev-python/future/future-0.16.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/future/future-0.16.0.ebuild 
b/dev-python/future/future-0.16.0.ebuild
index 70d94772f01..7a0c15fa841 100644
--- a/dev-python/future/future-0.16.0.ebuild
+++ b/dev-python/future/future-0.16.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="alpha amd64 ~arm ~arm64 hppa ~ia64 ~mips ppc ppc64 ~s390 ~sparc x86 
~amd64-fbsd ~amd64-linux ~x86-linux"
+KEYWORDS="alpha amd64 ~arm arm64 hppa ~ia64 ~mips ppc ppc64 s390 ~sparc x86 
~amd64-fbsd ~amd64-linux ~x86-linux"
 IUSE="test"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-python/future/

2018-08-21 Thread Patrice Clement
commit: b2816ded273c719bdd0847a4257871e82119eaf5
Author: Patrice Clement  gentoo  org>
AuthorDate: Tue Aug 21 17:06:39 2018 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Tue Aug 21 17:06:56 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b2816ded

dev-python/future: keyword for amd64-fbsd.

Bug: https://bugs.gentoo.org/664178
Package-Manager: Portage-2.3.43, Repoman-2.3.9

 dev-python/future/future-0.16.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/future/future-0.16.0-r1.ebuild 
b/dev-python/future/future-0.16.0-r1.ebuild
index 69fc0afd395..03ae068da38 100644
--- a/dev-python/future/future-0.16.0-r1.ebuild
+++ b/dev-python/future/future-0.16.0-r1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~hppa ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux 
~x86-linux"
+KEYWORDS="~amd64 ~hppa ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux 
~amd64-fbsd ~x86-linux"
 IUSE="doc test"
 
 BDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-python/future/files/, dev-python/future/

2018-08-21 Thread Louis Sautier
commit: 0608ebb48275246bb82f837af007d9aab2469202
Author: Louis Sautier  gentoo  org>
AuthorDate: Tue Aug 21 14:39:59 2018 +
Commit: Louis Sautier  gentoo  org>
CommitDate: Tue Aug 21 14:46:25 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0608ebb4

dev-python/future: add Python 3.7, doc, EAPI=7

Closes: https://github.com/gentoo/gentoo/pull/9597
Package-Manager: Portage-2.3.47, Repoman-2.3.10

 0-disable-tests-with-internet-connection.patch | 50 +
 .../files/future-0.16.0-fix-tests-py37.patch   | 43 ++
 dev-python/future/future-0.16.0-r1.ebuild  | 52 ++
 3 files changed, 145 insertions(+)

diff --git 
a/dev-python/future/files/future-0.16.0-disable-tests-with-internet-connection.patch
 
b/dev-python/future/files/future-0.16.0-disable-tests-with-internet-connection.patch
new file mode 100644
index 000..b4ba01ed796
--- /dev/null
+++ 
b/dev-python/future/files/future-0.16.0-disable-tests-with-internet-connection.patch
@@ -0,0 +1,50 @@
+##Skipping tests due to connection failures on Fedora build-system
+##See https://github.com/PythonCharmers/python-future/issues/165 
+
+--- a/tests/test_future/test_standard_library.orig.py  2014-11-21 
12:52:03.0 +0100
 b/tests/test_future/test_standard_library.py   2015-09-02 
11:37:36.808826777 +0200
+@@ -318,7 +318,7 @@
+ import builtins
+ self.assertTrue(hasattr(builtins, 'tuple'))
+ 
+-# @unittest.skip("ssl support has been stripped out for now ...")
++@unittest.skip("ConnectionError: ('Connection aborted.', gaierror(-3, 
'Temporary failure in name resolution'))...")
+ def test_urllib_request_ssl_redirect(self):
+ """
+ This site redirects to https://...
+@@ -332,6 +332,7 @@
+ # pprint(r.read().decode('utf-8'))
+ self.assertTrue(True)
+ 
++@unittest.skip("ConnectionError: ('Connection aborted.', gaierror(-3, 
'Temporary failure in name resolution'))...")
+ def test_moves_urllib_request_http(self):
+ """
+ This site (python-future.org) uses plain http (as of 2014-09-23).
+@@ -343,6 +343,7 @@
+ data = r.read()
+ self.assertTrue(b'' in data)
+ 
++@unittest.skip("ConnectionError: ('Connection aborted.', gaierror(-3, 
'Temporary failure in name resolution'))...")
+ def test_urllib_request_http(self):
+ """
+ This site (python-future.org) uses plain http (as of 2014-09-23).
+
+--- a/tests/test_future/test_requests.orig.py  2014-11-21 12:52:03.0 
+0100
 b/tests/test_future/test_requests.py   2015-09-02 11:39:01.509378296 
+0200
+@@ -57,6 +57,7 @@
+ This class tests whether the requests module conflicts with the
+ standard library import hooks, as in issue #19.
+ """
++@unittest.skip("ConnectionError: ('Connection aborted.', gaierror(-3, 
'Temporary failure in name resolution'))...")
+ def test_remove_hooks_then_requests(self):
+ code = """
+ from future import standard_library
+@@ -79,6 +80,7 @@
+ self.assertTrue(True)
+ 
+ 
++@unittest.skip("ConnectionError: ('Connection aborted.', gaierror(-3, 
'Temporary failure in name resolution'))...")
+ def test_requests_cm(self):
+ """
+ Tests whether requests can be used importing standard_library modules
+

diff --git a/dev-python/future/files/future-0.16.0-fix-tests-py37.patch 
b/dev-python/future/files/future-0.16.0-fix-tests-py37.patch
new file mode 100644
index 000..d925d49f983
--- /dev/null
+++ b/dev-python/future/files/future-0.16.0-fix-tests-py37.patch
@@ -0,0 +1,43 @@
+commit ce4f015978d250718ec8dd9f50721da90a9bd18b
+Author: Louis Sautier 
+Date:   Mon Aug 20 12:42:29 2018 +0200
+
+Skip int() keyword tests with Python 3.7
+
+The first argument must be positional since
+
https://github.com/python/cpython/commit/2e5642422f6234fd8d0c082142b27340e588f96e
+
+diff --git a/tests/test_future/test_int.py b/tests/test_future/test_int.py
+index f1d9c5d..e306550 100644
+--- a/tests/test_future/test_int.py
 b/tests/test_future/test_int.py
+@@ -265,6 +265,9 @@ class IntTestCases(unittest.TestCase):
+ def test_no_args(self):
+ self.assertEqual(int(), 0)
+ 
++@unittest.skipIf(sys.version_info >= (3, 7),
++"The first parameter must be positional with Python >= 3.7"
++)
+ def test_keyword_args(self):
+ # Test invoking int() using keyword arguments.
+ self.assertEqual(int(x=1.2), 1)
+
+commit d7a3451753982d944ae0894c9e9f01d0460d03d5
+Author: Louis Sautier 
+Date:   Mon Aug 20 11:17:59 2018 +0200
+
+Make test_bad_status_repr work for Python 3.7
+
+diff --git a/tests/test_future/test_httplib.py 
b/tests/test_future/test_httplib.py
+index 968e933..a1e2b19 100644
+--- a/tests/test_future/test_httplib.py
 b/tests/test_future/test_httplib.py
+@@ -197,7 +197,7 @@ class BasicTest(TestCase):
+ if not 

[gentoo-commits] repo/gentoo:master commit in: dev-python/future/

2018-07-25 Thread Matt Thode
commit: 5b3e01288b8324da919aa88db0175eeb6061d75e
Author: Matthew Thode  gentoo  org>
AuthorDate: Wed Jul 25 06:38:58 2018 +
Commit: Matt Thode  gentoo  org>
CommitDate: Wed Jul 25 07:06:55 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b3e0128

dev-python/future: adding arches under allarches for stestr

Package-Manager: Portage-2.3.43, Repoman-2.3.10

 dev-python/future/future-0.16.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/future/future-0.16.0.ebuild 
b/dev-python/future/future-0.16.0.ebuild
index 937ee9f1cad..70d94772f01 100644
--- a/dev-python/future/future-0.16.0.ebuild
+++ b/dev-python/future/future-0.16.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="alpha amd64 ~arm ~arm64 hppa ppc ppc64 ~sparc x86"
+KEYWORDS="alpha amd64 ~arm ~arm64 hppa ~ia64 ~mips ppc ppc64 ~s390 ~sparc x86 
~amd64-fbsd ~amd64-linux ~x86-linux"
 IUSE="test"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-python/future/

2018-03-17 Thread Matt Turner
commit: 164954c0ec81fddd52b99b940c626553505147ef
Author: Matt Turner  gentoo  org>
AuthorDate: Sat Mar 17 22:11:41 2018 +
Commit: Matt Turner  gentoo  org>
CommitDate: Sat Mar 17 22:11:41 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=164954c0

dev-python/future-0.16.0: ppc64 stable, bug 636620

 dev-python/future/future-0.16.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/future/future-0.16.0.ebuild 
b/dev-python/future/future-0.16.0.ebuild
index ca5bd23cce6..937ee9f1cad 100644
--- a/dev-python/future/future-0.16.0.ebuild
+++ b/dev-python/future/future-0.16.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="alpha amd64 ~arm ~arm64 hppa ppc ~ppc64 ~sparc x86"
+KEYWORDS="alpha amd64 ~arm ~arm64 hppa ppc ppc64 ~sparc x86"
 IUSE="test"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-python/future/

2018-03-17 Thread Matt Turner
commit: 595f813b60e1e0c30750e21af304db1a86df287a
Author: Matt Turner  gentoo  org>
AuthorDate: Sat Mar 17 22:11:37 2018 +
Commit: Matt Turner  gentoo  org>
CommitDate: Sat Mar 17 22:11:37 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=595f813b

dev-python/future-0.16.0: ppc stable, bug 636620

 dev-python/future/future-0.16.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/future/future-0.16.0.ebuild 
b/dev-python/future/future-0.16.0.ebuild
index fc6e63a4c9d..ca5bd23cce6 100644
--- a/dev-python/future/future-0.16.0.ebuild
+++ b/dev-python/future/future-0.16.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="alpha amd64 ~arm ~arm64 hppa ~ppc ~ppc64 ~sparc x86"
+KEYWORDS="alpha amd64 ~arm ~arm64 hppa ppc ~ppc64 ~sparc x86"
 IUSE="test"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-python/future/

2018-03-02 Thread Tobias Klausmann
commit: 2d85f55682b0360457b0b3009c70adb4b65faed0
Author: Tobias Klausmann  gentoo  org>
AuthorDate: Fri Mar  2 15:59:05 2018 +
Commit: Tobias Klausmann  gentoo  org>
CommitDate: Fri Mar  2 15:59:05 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d85f556

dev-python/future-0.16.0-r0: alpha stable

Gentoo-Bug: http://bugs.gentoo.org/636620

 dev-python/future/future-0.16.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/future/future-0.16.0.ebuild 
b/dev-python/future/future-0.16.0.ebuild
index e79e77fbce9..fc6e63a4c9d 100644
--- a/dev-python/future/future-0.16.0.ebuild
+++ b/dev-python/future/future-0.16.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ~ppc ~ppc64 ~sparc x86"
+KEYWORDS="alpha amd64 ~arm ~arm64 hppa ~ppc ~ppc64 ~sparc x86"
 IUSE="test"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-python/future/

2018-01-06 Thread Sergei Trofimovich
commit: 4d76028fccca49f8f7e3b88298ee2e0d6c0c8249
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sat Jan  6 19:22:16 2018 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sat Jan  6 19:54:59 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d76028f

dev-python/future: stable 0.16.0 for hppa, bug #639114

Package-Manager: Portage-2.3.19, Repoman-2.3.6
RepoMan-Options: --include-arches="hppa"

 dev-python/future/future-0.16.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/future/future-0.16.0.ebuild 
b/dev-python/future/future-0.16.0.ebuild
index 5b09cfb9baf..e79e77fbce9 100644
--- a/dev-python/future/future-0.16.0.ebuild
+++ b/dev-python/future/future-0.16.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc x86"
+KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ~ppc ~ppc64 ~sparc x86"
 IUSE="test"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-python/future/

2017-12-02 Thread Mike Gilbert
commit: e1028717d87d5b41c0227347b9287cd59f5faadb
Author: Mike Gilbert  gentoo  org>
AuthorDate: Sat Dec  2 20:43:17 2017 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Sat Dec  2 20:55:24 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1028717

dev-python/future: 0.16.0 stable on amd64, bug 639114

Package-Manager: Portage-2.3.15, Repoman-2.3.6_p7

 dev-python/future/future-0.16.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/future/future-0.16.0.ebuild 
b/dev-python/future/future-0.16.0.ebuild
index 27f85e70073..5b09cfb9baf 100644
--- a/dev-python/future/future-0.16.0.ebuild
+++ b/dev-python/future/future-0.16.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc x86"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc x86"
 IUSE="test"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-python/future/

2017-11-30 Thread Thomas Deutschmann
commit: 3e5df933baeb5382c2c583ac0a6d7e5836e1b30c
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Thu Nov 30 18:58:38 2017 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Thu Nov 30 19:02:44 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e5df933

dev-python/future: x86 stable (bug #639114)

Package-Manager: Portage-2.3.16, Repoman-2.3.6

 dev-python/future/future-0.16.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/future/future-0.16.0.ebuild 
b/dev-python/future/future-0.16.0.ebuild
index dcfecd04272..27f85e70073 100644
--- a/dev-python/future/future-0.16.0.ebuild
+++ b/dev-python/future/future-0.16.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc x86"
 IUSE="test"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-python/future/

2017-11-26 Thread Jeroen Roovers
commit: 3e671b9c9699978728c2d786604d097d6ba220c1
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Sun Nov 26 20:50:35 2017 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Sun Nov 26 20:50:35 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e671b9c

dev-python/future: Stable for HPPA too.

Package-Manager: Portage-2.3.16, Repoman-2.3.6
RepoMan-Options: --ignore-arches

 dev-python/future/Manifest | 4 ++--
 dev-python/future/future-0.15.2.ebuild | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dev-python/future/Manifest b/dev-python/future/Manifest
index d986df4e5b0..c6f9ebb99b5 100644
--- a/dev-python/future/Manifest
+++ b/dev-python/future/Manifest
@@ -1,2 +1,2 @@
-DIST future-0.15.2.tar.gz 1583441 SHA256 
3d3b193f20ca62ba7d8782589922878820d0a023b885882deec830adbf639b97 SHA512 
24a0eaf70795efe1644b098c5abbcb0103d9172a5243721f0d26b1cbd108872b6c0616180da8f5507855ddfc7b26bb10a606a64e59d307d39042b346700f77ee
 WHIRLPOOL 
557b53495033d4586dc0f34837cc7f0cab12fb770abda56049fd90b5bac3e36db561e185d86e8a08b153869f0f692ccf0b305f5edc20871edde487faa1b1fc4f
-DIST future-0.16.0.tar.gz 824484 SHA256 
e39ced1ab767b5936646cedba8bcce582398233d6a627067d4c6a454c90cfedb SHA512 
41c795cd1746a76df84de2da9fbc611fc6164322c1c712ec9e8a8626c21c2717cb4899ec150d95c5e0c037270e6bb71e099edd169609369aae619daea9df2e5f
 WHIRLPOOL 
744ab7e228c608f49308609e18778e198804a7b6fea3a6285efcce14a4ea8d114e146e94779e084ac91916fb7cc560be2178806378305b40568d6bb7ff448951
+DIST future-0.15.2.tar.gz 1583441 BLAKE2B 
9c552a5f3598922f8910480d054015020112aae4f7e14d2c139dda13a0b26e878b75eaf5068d66f20823ac4659d85edd4087a95d9474dc27bf15767cf6e9d921
 SHA512 
24a0eaf70795efe1644b098c5abbcb0103d9172a5243721f0d26b1cbd108872b6c0616180da8f5507855ddfc7b26bb10a606a64e59d307d39042b346700f77ee
+DIST future-0.16.0.tar.gz 824484 BLAKE2B 
b098366cc7a7866c4aa4a35f1a6a5cf113698307de8f4cce6c77e4ce72a8433dd102111f991e35ffa920c09a0d31cc048b9502dacd0aba1b701c11eaaeab8392
 SHA512 
41c795cd1746a76df84de2da9fbc611fc6164322c1c712ec9e8a8626c21c2717cb4899ec150d95c5e0c037270e6bb71e099edd169609369aae619daea9df2e5f

diff --git a/dev-python/future/future-0.15.2.ebuild 
b/dev-python/future/future-0.15.2.ebuild
index d8e02163af8..32698b14b9d 100644
--- a/dev-python/future/future-0.15.2.ebuild
+++ b/dev-python/future/future-0.15.2.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~hppa x86"
+KEYWORDS="~alpha amd64 hppa x86"
 IUSE=""
 
 PATCHES=( "${FILESDIR}/${P}-fix-py35-test-failures.patch" )



[gentoo-commits] repo/gentoo:master commit in: dev-python/future/

2017-11-06 Thread Sergei Trofimovich
commit: 64fa980703dc065195d39623fcce75d276aab9f3
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Mon Nov  6 21:19:30 2017 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Mon Nov  6 21:20:20 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64fa9807

dev-python/future: keyworded 0.16.0 for sparc, bug #592910 (thanks to Rolf Eike 
Beer)

Package-Manager: Portage-2.3.13, Repoman-2.3.4
RepoMan-Options: --include-arches="sparc"

 dev-python/future/future-0.16.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/future/future-0.16.0.ebuild 
b/dev-python/future/future-0.16.0.ebuild
index ded90544b7c..dcfecd04272 100644
--- a/dev-python/future/future-0.16.0.ebuild
+++ b/dev-python/future/future-0.16.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
 IUSE="test"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-python/future/

2017-10-24 Thread Jeroen Roovers
commit: 6314f6fa87e69410b545efdd966b7a8bfc1e5e57
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Tue Oct 24 13:14:13 2017 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Tue Oct 24 13:15:55 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6314f6fa

dev-python/future: Mark ~hppa too.

Package-Manager: Portage-2.3.12, Repoman-2.3.3
RepoMan-Options: --ignore-arches

 dev-python/future/future-0.15.2.ebuild | 4 ++--
 dev-python/future/future-0.16.0.ebuild | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dev-python/future/future-0.15.2.ebuild 
b/dev-python/future/future-0.15.2.ebuild
index 065b9adffcb..d8e02163af8 100644
--- a/dev-python/future/future-0.15.2.ebuild
+++ b/dev-python/future/future-0.15.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha amd64 x86"
+KEYWORDS="~alpha amd64 ~hppa x86"
 IUSE=""
 
 PATCHES=( "${FILESDIR}/${P}-fix-py35-test-failures.patch" )

diff --git a/dev-python/future/future-0.16.0.ebuild 
b/dev-python/future/future-0.16.0.ebuild
index fb402928085..ded90544b7c 100644
--- a/dev-python/future/future-0.16.0.ebuild
+++ b/dev-python/future/future-0.16.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86"
 IUSE="test"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-python/future/

2017-09-10 Thread Sergei Trofimovich
commit: 591ddb5ee8a5ec3b2fb0aeb5a31933598a9a7da3
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sun Sep 10 14:03:10 2017 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Sep 10 14:03:32 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=591ddb5e

dev-python/future: keyworded 0.16.0 for ppc64, bug #592910

Package-Manager: Portage-2.3.8, Repoman-2.3.3
RepoMan-Options: --include-arches="ppc64"

 dev-python/future/future-0.16.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/future/future-0.16.0.ebuild 
b/dev-python/future/future-0.16.0.ebuild
index 67ff375c7e1..fb402928085 100644
--- a/dev-python/future/future-0.16.0.ebuild
+++ b/dev-python/future/future-0.16.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
 IUSE="test"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-python/future/

2017-08-13 Thread Sergei Trofimovich
commit: d4c533ce9f8e4c0c7b749e6c78db41d9773bd086
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sun Aug 13 16:29:40 2017 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Aug 13 16:29:40 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4c533ce

dev-python/future: keyworded 0.16.0 for ppc, bug #592910

Package-Manager: Portage-2.3.6, Repoman-2.3.3
RepoMan-Options: --include-arches="ppc"

 dev-python/future/future-0.16.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/future/future-0.16.0.ebuild 
b/dev-python/future/future-0.16.0.ebuild
index cad33a7b95f..67ff375c7e1 100644
--- a/dev-python/future/future-0.16.0.ebuild
+++ b/dev-python/future/future-0.16.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ~x86"
 IUSE="test"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-python/future/

2017-07-23 Thread Manuel Rüger
commit: 20daec6e9911183fde900edb8d8452eff5c4483c
Author: Manuel Rüger  gentoo  org>
AuthorDate: Sun Jul 23 11:42:14 2017 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Sun Jul 23 11:42:14 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20daec6e

dev-python/future: Drop myself as maintainer

Package-Manager: Portage-2.3.6, Repoman-2.3.3

 dev-python/future/metadata.xml | 4 
 1 file changed, 4 deletions(-)

diff --git a/dev-python/future/metadata.xml b/dev-python/future/metadata.xml
index 4c9aabe1eeb..c7fc9479ce4 100644
--- a/dev-python/future/metadata.xml
+++ b/dev-python/future/metadata.xml
@@ -1,10 +1,6 @@
 
 http://www.gentoo.org/dtd/metadata.dtd;>
 
-   
-   mr...@gentoo.org
-   Manuel Rüger
-   

pyt...@gentoo.org
Python



[gentoo-commits] repo/gentoo:master commit in: dev-python/future/

2017-06-23 Thread Alexis Ballier
commit: 4f9cdf334ce9269532389c6b6ca5d0925d690cc7
Author: Alexis Ballier  gentoo  org>
AuthorDate: Fri Jun 23 05:59:55 2017 +
Commit: Alexis Ballier  gentoo  org>
CommitDate: Fri Jun 23 05:59:55 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f9cdf33

dev-python/future: keyword ~arm64

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 dev-python/future/future-0.16.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/future/future-0.16.0.ebuild 
b/dev-python/future/future-0.16.0.ebuild
index 2e0860cc850..cad33a7b95f 100644
--- a/dev-python/future/future-0.16.0.ebuild
+++ b/dev-python/future/future-0.16.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~x86"
 IUSE="test"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-python/future/

2017-04-04 Thread Brian Dolbec
commit: bd14a00c3a474a5c104adbb00ffdfeb6d32dc385
Author: Brian Dolbec  gentoo  org>
AuthorDate: Tue Apr  4 19:37:01 2017 +
Commit: Brian Dolbec  gentoo  org>
CommitDate: Tue Apr  4 23:04:13 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd14a00c

dev-python/future: Add python-3.6, fix tests

Change the tests to use py.test. esetup.py test had some strange
cross python interactions causing test failures.
Determined by: Manuel Rueg 

Package-Manager: Portage-2.3.5, Repoman-2.3.2_p30

 dev-python/future/future-0.16.0.ebuild | 14 ++
 1 file changed, 10 insertions(+), 4 deletions(-)

diff --git a/dev-python/future/future-0.16.0.ebuild 
b/dev-python/future/future-0.16.0.ebuild
index db3e9a25611..2e0860cc850 100644
--- a/dev-python/future/future-0.16.0.ebuild
+++ b/dev-python/future/future-0.16.0.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
 
-PYTHON_COMPAT=( python{2_7,3_4,3_5} )
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
 
 inherit distutils-r1
 
@@ -14,8 +14,14 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~alpha ~amd64 ~arm ~x86"
-IUSE=""
+IUSE="test"
+
+DEPEND="
+   test? (
+   dev-python/pytest[${PYTHON_USEDEP}]
+   )
+"
 
 python_test() {
-   esetup.py test || die
+   py.test -v || die "Tests failed under ${EPYTHON}"
 }



[gentoo-commits] repo/gentoo:master commit in: dev-python/future/

2016-11-14 Thread Alexis Ballier
commit: 1a233e9d98003ae7ee780d48eb4c4998d0cac7d0
Author: Alexis Ballier  gentoo  org>
AuthorDate: Mon Nov 14 13:48:48 2016 +
Commit: Alexis Ballier  gentoo  org>
CommitDate: Mon Nov 14 14:01:02 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a233e9d

dev-python/future: keyword ~arm

Package-Manager: portage-2.3.2

 dev-python/future/future-0.16.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/future/future-0.16.0.ebuild 
b/dev-python/future/future-0.16.0.ebuild
index d51f972..018192c 100644
--- a/dev-python/future/future-0.16.0.ebuild
+++ b/dev-python/future/future-0.16.0.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~x86"
 IUSE=""
 
 python_test() {



[gentoo-commits] repo/gentoo:master commit in: dev-python/future/

2016-11-01 Thread Manuel Rüger
commit: 7bb31a183c542ba1646401f78f649ded9b7ee89f
Author: Manuel Rüger  gentoo  org>
AuthorDate: Tue Nov  1 23:55:29 2016 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Tue Nov  1 23:55:29 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7bb31a18

dev-python/future: Version bump to 0.16.0

Package-Manager: portage-2.3.2

 dev-python/future/Manifest |  1 +
 dev-python/future/future-0.16.0.ebuild | 22 ++
 2 files changed, 23 insertions(+)

diff --git a/dev-python/future/Manifest b/dev-python/future/Manifest
index feed344..d986df4 100644
--- a/dev-python/future/Manifest
+++ b/dev-python/future/Manifest
@@ -1 +1,2 @@
 DIST future-0.15.2.tar.gz 1583441 SHA256 
3d3b193f20ca62ba7d8782589922878820d0a023b885882deec830adbf639b97 SHA512 
24a0eaf70795efe1644b098c5abbcb0103d9172a5243721f0d26b1cbd108872b6c0616180da8f5507855ddfc7b26bb10a606a64e59d307d39042b346700f77ee
 WHIRLPOOL 
557b53495033d4586dc0f34837cc7f0cab12fb770abda56049fd90b5bac3e36db561e185d86e8a08b153869f0f692ccf0b305f5edc20871edde487faa1b1fc4f
+DIST future-0.16.0.tar.gz 824484 SHA256 
e39ced1ab767b5936646cedba8bcce582398233d6a627067d4c6a454c90cfedb SHA512 
41c795cd1746a76df84de2da9fbc611fc6164322c1c712ec9e8a8626c21c2717cb4899ec150d95c5e0c037270e6bb71e099edd169609369aae619daea9df2e5f
 WHIRLPOOL 
744ab7e228c608f49308609e18778e198804a7b6fea3a6285efcce14a4ea8d114e146e94779e084ac91916fb7cc560be2178806378305b40568d6bb7ff448951

diff --git a/dev-python/future/future-0.16.0.ebuild 
b/dev-python/future/future-0.16.0.ebuild
new file mode 100644
index ..d51f972
--- /dev/null
+++ b/dev-python/future/future-0.16.0.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+PYTHON_COMPAT=( python{2_7,3_4,3_5} )
+
+inherit distutils-r1
+
+DESCRIPTION="Easy, clean, reliable Python 2/3 compatibility"
+HOMEPAGE="http://python-future.org/;
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~x86"
+IUSE=""
+
+python_test() {
+   esetup.py test || die
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/future/

2016-09-28 Thread Tobias Klausmann
commit: e8b47b8c26fe3e0cd574124dc12b2bdbbfece5b0
Author: Tobias Klausmann  gentoo  org>
AuthorDate: Wed Sep 28 08:47:31 2016 +
Commit: Tobias Klausmann  gentoo  org>
CommitDate: Wed Sep 28 08:47:31 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e8b47b8c

dev-python/future-0.15.2-r0: keyworded for ~alpha

Gentoo-Bug: 592910

 dev-python/future/future-0.15.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/future/future-0.15.2.ebuild 
b/dev-python/future/future-0.15.2.ebuild
index 9bafd05..5f71b9a 100644
--- a/dev-python/future/future-0.15.2.ebuild
+++ b/dev-python/future/future-0.15.2.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~alpha ~amd64 ~x86"
 IUSE=""
 
 PATCHES=( "${FILESDIR}/${P}-fix-py35-test-failures.patch" )



[gentoo-commits] repo/gentoo:master commit in: dev-python/future/files/, dev-python/future/

2016-09-04 Thread David Seifert
commit: 5077441631135a94971860a8df76236db9437150
Author: David Seifert  gentoo  org>
AuthorDate: Sun Sep  4 17:14:23 2016 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Sep  4 18:57:51 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50774416

dev-python/future: Add py3.5 support

* Requires backporting some fixes for the testsuite

Package-Manager: portage-2.3.0

 .../future-0.15.2-fix-py35-test-failures.patch | 57 ++
 dev-python/future/future-0.15.2.ebuild |  7 ++-
 2 files changed, 62 insertions(+), 2 deletions(-)

diff --git a/dev-python/future/files/future-0.15.2-fix-py35-test-failures.patch 
b/dev-python/future/files/future-0.15.2-fix-py35-test-failures.patch
new file mode 100644
index ..8d8e5da
--- /dev/null
+++ b/dev-python/future/files/future-0.15.2-fix-py35-test-failures.patch
@@ -0,0 +1,57 @@
+* Fix test failures on py3.5, backported from git, see also
+  https://github.com/PythonCharmers/python-future/issues/183
+* Fix unexpected test successes on py3.5, which are now correct
+
+--- a/tests/test_future/test_bytes.py
 b/tests/test_future/test_bytes.py
+@@ -10,6 +10,8 @@
+ from numbers import Integral
+ from future.tests.base import unittest, expectedFailurePY2
+ 
++import sys
++
+ 
+ TEST_UNICODE_STR = u'ℝεα∂@ßʟ℮ ☂ℯṧт υηḯ¢☺ḓ℮'
+ # Tk icon as a .gif:
+@@ -534,6 +536,8 @@
+ self.assertRaises(ValueError, bytes.maketrans, b'abc', b'xyzq')
+ self.assertRaises(TypeError, bytes.maketrans, 'abc', 'def')
+ 
++@unittest.skipIf(sys.version_info[:2] == (3, 5),
++ 'Only works in Py3.5+')
+ @unittest.expectedFailure
+ def test_mod(self):
+ """
+@@ -551,6 +555,8 @@
+ a = b % (b'seventy-nine', 79)
+ self.assertEqual(a, b'seventy-nine / 100 = 79%')
+ 
++@unittest.skipIf(sys.version_info[:2] == (3, 5),
++ 'Only works in Py3.5+')
+ @unittest.expectedFailure
+ def test_imod(self):
+ """
+--- a/tests/test_future/test_builtins.py
 b/tests/test_future/test_builtins.py
+@@ -525,11 +525,10 @@
+ self.assertRaises(ValueError, compile, 'print(42)\n', '', 
'badmode')
+ self.assertRaises(ValueError, compile, 'print(42)\n', '', 
'single', 0xff)
+ # Raises TypeError in Python < v3.5, ValueError in v3.5:
+-# self.assertRaises(TypeError, compile, chr(0), 'f', 'exec')
++self.assertRaises((TypeError, ValueError), compile, chr(0), 'f', 
'exec')
+ self.assertRaises(TypeError, compile, 'pass', '?', 'exec',
+   mode='eval', source='0', filename='tmp')
+ compile('print("\xe5")\n', '', 'exec')
+-self.assertRaises(TypeError, compile, chr(0), 'f', 'exec')
+ self.assertRaises(ValueError, compile, str('a = 1'), 'f', 'bad')
+ 
+ # test the optimize argument
+@@ -1287,7 +1286,7 @@
+ self.assertAlmostEqual(pow(-1, 1/3), 0.5 + 0.8660254037844386j)
+ 
+ # Raises TypeError in Python < v3.5, ValueError in v3.5:
+-# self.assertRaises(TypeError, pow, -1, -2, 3)
++self.assertRaises((TypeError, ValueError), pow, -1, -2, 3)
+ self.assertRaises(ValueError, pow, 1, 2, 0)
+ 
+ self.assertRaises(TypeError, pow)

diff --git a/dev-python/future/future-0.15.2.ebuild 
b/dev-python/future/future-0.15.2.ebuild
index 1c5c970..9bafd05 100644
--- a/dev-python/future/future-0.15.2.ebuild
+++ b/dev-python/future/future-0.15.2.ebuild
@@ -2,8 +2,9 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=5
-PYTHON_COMPAT=(python{2_7,3_4})
+EAPI=6
+
+PYTHON_COMPAT=( python{2_7,3_4,3_5} )
 
 inherit distutils-r1
 
@@ -16,6 +17,8 @@ SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE=""
 
+PATCHES=( "${FILESDIR}/${P}-fix-py35-test-failures.patch" )
+
 python_test() {
esetup.py test || die
 }



[gentoo-commits] repo/gentoo:master commit in: dev-python/future/

2016-09-04 Thread Mike Gilbert
commit: 2dc98fa8b41ff0e47c01ba6aea58598c2f1718c0
Author: Mike Gilbert  gentoo  org>
AuthorDate: Sun Sep  4 15:56:26 2016 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Sun Sep  4 15:56:39 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2dc98fa8

dev-python/future: fix HOMEPAGE

https doesn't work as of this writing.

Package-Manager: portage-2.3.0_p23

 dev-python/future/future-0.15.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/future/future-0.15.2.ebuild 
b/dev-python/future/future-0.15.2.ebuild
index 05d6707..1c5c970 100644
--- a/dev-python/future/future-0.15.2.ebuild
+++ b/dev-python/future/future-0.15.2.ebuild
@@ -8,7 +8,7 @@ PYTHON_COMPAT=(python{2_7,3_4})
 inherit distutils-r1
 
 DESCRIPTION="Easy, clean, reliable Python 2/3 compatibility"
-HOMEPAGE="https://python-future.org;
+HOMEPAGE="http://python-future.org/;
 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"



[gentoo-commits] repo/gentoo:master commit in: dev-python/future/

2016-08-09 Thread Brian Dolbec
commit: 78e6f61c22ee89726421a97373d47b4cd7a6e9c0
Author: Brian Dolbec  gentoo  org>
AuthorDate: Tue Aug  9 22:09:37 2016 +
Commit: Brian Dolbec  gentoo  org>
CommitDate: Tue Aug  9 23:47:21 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78e6f61c

dev-python/future: Add ~x86 keyword

Package-Manager: portage-2.3.0

 dev-python/future/future-0.15.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/future/future-0.15.2.ebuild 
b/dev-python/future/future-0.15.2.ebuild
index 4c506af..05d6707 100644
--- a/dev-python/future/future-0.15.2.ebuild
+++ b/dev-python/future/future-0.15.2.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="~amd64 ~x86"
 IUSE=""
 
 python_test() {



[gentoo-commits] repo/gentoo:master commit in: dev-python/future/

2016-03-19 Thread Manuel Rüger
commit: d62de246a7d52729e080f104a80709bd33ccee68
Author: Manuel Rüger  gentoo  org>
AuthorDate: Wed Mar 16 23:05:55 2016 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Wed Mar 16 23:05:55 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d62de246

dev-python/future: Initial version

Package-Manager: portage-2.2.28

 dev-python/future/Manifest |  1 +
 dev-python/future/future-0.15.2.ebuild | 21 +
 dev-python/future/metadata.xml | 12 
 3 files changed, 34 insertions(+)

diff --git a/dev-python/future/Manifest b/dev-python/future/Manifest
new file mode 100644
index 000..feed344
--- /dev/null
+++ b/dev-python/future/Manifest
@@ -0,0 +1 @@
+DIST future-0.15.2.tar.gz 1583441 SHA256 
3d3b193f20ca62ba7d8782589922878820d0a023b885882deec830adbf639b97 SHA512 
24a0eaf70795efe1644b098c5abbcb0103d9172a5243721f0d26b1cbd108872b6c0616180da8f5507855ddfc7b26bb10a606a64e59d307d39042b346700f77ee
 WHIRLPOOL 
557b53495033d4586dc0f34837cc7f0cab12fb770abda56049fd90b5bac3e36db561e185d86e8a08b153869f0f692ccf0b305f5edc20871edde487faa1b1fc4f

diff --git a/dev-python/future/future-0.15.2.ebuild 
b/dev-python/future/future-0.15.2.ebuild
new file mode 100644
index 000..4c506af
--- /dev/null
+++ b/dev-python/future/future-0.15.2.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+PYTHON_COMPAT=(python{2_7,3_4})
+
+inherit distutils-r1
+
+DESCRIPTION="Easy, clean, reliable Python 2/3 compatibility"
+HOMEPAGE="https://python-future.org;
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+python_test() {
+   esetup.py test || die
+}

diff --git a/dev-python/future/metadata.xml b/dev-python/future/metadata.xml
new file mode 100644
index 000..8f0ad49
--- /dev/null
+++ b/dev-python/future/metadata.xml
@@ -0,0 +1,12 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   mr...@gentoo.org
+   Manuel Rüger
+   
+   
+   pyt...@gentoo.org
+   Python
+   
+