diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:57:42 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:57:42 +0100 |
commit | 1798c4aeca70ac8d0a243684d6a798fbc65735f8 (patch) | |
tree | e48e19cb6fa03de18e1c63e1a93371b7ebc4eb56 /dev-python/future | |
parent | d87262dd706fec50cd150aab3e93883b6337466d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-python/future')
-rw-r--r-- | dev-python/future/Manifest | 6 | ||||
-rw-r--r-- | dev-python/future/files/future-0.15.2-fix-py35-test-failures.patch | 57 | ||||
-rw-r--r-- | dev-python/future/future-0.15.2.ebuild | 23 | ||||
-rw-r--r-- | dev-python/future/future-0.16.0.ebuild | 27 | ||||
-rw-r--r-- | dev-python/future/metadata.xml | 11 |
5 files changed, 0 insertions, 124 deletions
diff --git a/dev-python/future/Manifest b/dev-python/future/Manifest deleted file mode 100644 index 1459fa9cd4c6..000000000000 --- a/dev-python/future/Manifest +++ /dev/null @@ -1,6 +0,0 @@ -AUX future-0.15.2-fix-py35-test-failures.patch 2339 BLAKE2B 737ba57bc09a141ee2fbfc7339350e3bcf1a1e7feb96cbd8d54bda1e630fd5ef431c0814731d6191618ae88481d39faaa9716ece98c6a481a293cbab95df5ad1 SHA512 816a3d30461f6e0eed0106bc46952e3f6d98323d03ff3f212332871b7eaf7d3b9817ee2043110bd004152c4239bfa427d9ed74f1dc7166d41534ba0fc76ad055 -DIST future-0.15.2.tar.gz 1583441 BLAKE2B 9c552a5f3598922f8910480d054015020112aae4f7e14d2c139dda13a0b26e878b75eaf5068d66f20823ac4659d85edd4087a95d9474dc27bf15767cf6e9d921 SHA512 24a0eaf70795efe1644b098c5abbcb0103d9172a5243721f0d26b1cbd108872b6c0616180da8f5507855ddfc7b26bb10a606a64e59d307d39042b346700f77ee -DIST future-0.16.0.tar.gz 824484 BLAKE2B b098366cc7a7866c4aa4a35f1a6a5cf113698307de8f4cce6c77e4ce72a8433dd102111f991e35ffa920c09a0d31cc048b9502dacd0aba1b701c11eaaeab8392 SHA512 41c795cd1746a76df84de2da9fbc611fc6164322c1c712ec9e8a8626c21c2717cb4899ec150d95c5e0c037270e6bb71e099edd169609369aae619daea9df2e5f -EBUILD future-0.15.2.ebuild 495 BLAKE2B 6796334fd8cb1a1e2c90a4a55c4262bbfba55eab6defad0deb788466ed93790887b38f1e3d63f41baa0b586d7cab5e5731c08cbc4f958ae9799ef7c085ed4b8d SHA512 39de67be4877db5f248267e72642090763473ea15935e69ec069a726a5d4836c1de9efc46626e422d4bb18299b5ddcb5e42514781020417fdfdd6038350ea2b3 -EBUILD future-0.16.0.ebuild 562 BLAKE2B bf613f9be558778ff0803a843ccfd7e7347ecf5cf499418f05b4935ffffccd4cf36eb8c9678b890211d8113205e628866543d57c2e6b0dfa6bcca44b1df4146e SHA512 e0b8a7576d97640ca6944be41837eec60841977d41de41f4a3f92bbcde39fd60a911082c25609523797a2acf0f9bc93a20379616ab2d948bff239ec0047f029c -MISC metadata.xml 309 BLAKE2B ac0715185226cea8e3c38698ed3e494b6464d86dad0211e4d0583e3ceb6634c2b1ec230d9dff659d5ef47208b6f3358c701a0c42e49848816ae99703cab82f46 SHA512 e01e3b2733211e1eb6aaef4da19265c7165411a46fde4c2156118700c315bc2ad52cd87de1b90355741de77d91aa22eed5f9e5847d45186bf7138d246cd775e4 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 8d8e5daccf10..000000000000 --- 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', '<string>', 'badmode') - self.assertRaises(ValueError, compile, 'print(42)\n', '<string>', '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 deleted file mode 100644 index 32698b14b9d9..000000000000 --- a/dev-python/future/future-0.15.2.ebuild +++ /dev/null @@ -1,23 +0,0 @@ -# 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} ) - -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 x86" -IUSE="" - -PATCHES=( "${FILESDIR}/${P}-fix-py35-test-failures.patch" ) - -python_test() { - esetup.py test || die -} diff --git a/dev-python/future/future-0.16.0.ebuild b/dev-python/future/future-0.16.0.ebuild deleted file mode 100644 index 937ee9f1cad6..000000000000 --- a/dev-python/future/future-0.16.0.ebuild +++ /dev/null @@ -1,27 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) - -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 ppc ppc64 ~sparc x86" -IUSE="test" - -DEPEND=" - test? ( - dev-python/pytest[${PYTHON_USEDEP}] - ) -" - -python_test() { - py.test -v || die "Tests failed under ${EPYTHON}" -} diff --git a/dev-python/future/metadata.xml b/dev-python/future/metadata.xml deleted file mode 100644 index c7fc9479ce4a..000000000000 --- a/dev-python/future/metadata.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version='1.0' encoding='UTF-8'?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>python@gentoo.org</email> - <name>Python</name> - </maintainer> - <upstream> - <remote-id type="pypi">future</remote-id> - </upstream> -</pkgmetadata> |