dev-python/futures: version bump to 3.1.1
authorTim Harder <radhermit@gentoo.org>
Wed, 26 Apr 2017 08:07:58 +0000 (04:07 -0400)
committerTim Harder <radhermit@gentoo.org>
Wed, 26 Apr 2017 08:19:53 +0000 (04:19 -0400)
dev-python/futures/Manifest
dev-python/futures/futures-3.1.1.ebuild [new file with mode: 0644]

index 046dcd618f4e13e10b7f7c6e0e55712590d177a2..51b15a0c39b1e4db09f7c7fcc2fee4325176f37a 100644 (file)
@@ -3,3 +3,4 @@ DIST futures-3.0.2.tar.gz 24908 SHA256 dc3fc91508e49e0fd2f8625f0132d16e49c80f882
 DIST futures-3.0.3.tar.gz 24959 SHA256 2fe2342bb4fe8b8e217f0d21b5921cbe5408bf966d9f92025e707e881b198bed SHA512 2fa14df90e583ca86c47441b170a93435eb82fd37bb2e15d98e79c32fbe40fc3f602d762805de05fa8007df4a3ce92840915be59481b94ab4863aae884da74bd WHIRLPOOL 661a1174815766717eb7b130929c7aeef08079228df8f092093ee6cf40f84041ae6729cc7c0f2b05080efd0d80c0f7885c3ae333f7e5f3d21ccf2cfc20cbaa44
 DIST futures-3.0.4.tar.gz 25091 SHA256 19485d83f7bd2151c0aeaf88fbba3ee50dadfb222ffc3b66a344ef4952b782a3 SHA512 490a42b547614e2a02fae487861ba8c8409c2e7c556ba81c6ea7a3096d06f7e083983b1e9b99dc978c4badc1dc30272f4a5cfa87c38b3d0ab8029673ee66f52c WHIRLPOOL 5f3809d710743638b8aa3afdae0125771096858c88a8b2c5c533187736dad8b6bc8c38dad327b98d36183574b072c9268751645caa16132ac8df32715262f741
 DIST futures-3.0.5.tar.gz 25153 SHA256 0542525145d5afc984c88f914a0c85c77527f65946617edb5274f72406f981df SHA512 29f366a273600924acba4b78d53e2f911379da04a7067c3bc2911c20c0fe880300fc2b8c91d8f1b6689e5732b79eeb4198fde56854ab2b7caf47382ad5942435 WHIRLPOOL af27bac5b3530bdb85987606fbce11ac8d6c426a8b7ed825c96607284e1690194a0f128d696770777ae417cba9237f7b5670587ae27c57556a80251bfbb557cd
+DIST futures-3.1.1.tar.gz 26471 SHA256 51ecb45f0add83c806c68e4b06106f90db260585b25ef2abfcda0bd95c0132fd SHA512 7ccb041271ed2688591942f46ab2d2c92d806efbd5209ff9aba77c6d5d3c1a1495fccbeb1718d914894b0b8d936438687e8f3cc22b7ab6625fb518321084ead3 WHIRLPOOL e0c71503261511713872344cd7e8c429ae62ac5fef934758fd1c7b60a7a697c824bbc78ca1aeb7a05b03c8b2a14ca63dfe3028e7c48e78670ecdbe9dd66d0051
diff --git a/dev-python/futures/futures-3.1.1.ebuild b/dev-python/futures/futures-3.1.1.ebuild
new file mode 100644 (file)
index 0000000..a0e3a9a
--- /dev/null
@@ -0,0 +1,35 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 pypy )
+
+inherit distutils-r1
+
+DESCRIPTION="Backport of the concurrent.futures package from Python 3.2"
+HOMEPAGE="https://code.google.com/p/pythonfutures  https://pypi.python.org/pypi/futures"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="PSF-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+IUSE="doc"
+
+DEPEND="
+       dev-python/setuptools[${PYTHON_USEDEP}]
+       doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
+
+python_compile_all() {
+       use doc && emake -C docs html
+}
+
+python_test() {
+       "${PYTHON}" test_futures.py || die "Tests fail with ${EPYTHON}"
+}
+
+python_install_all() {
+       local DOCS=( CHANGES )
+       use doc && local HTML_DOCS=( docs/_build/html/. )
+       distutils-r1_python_install_all
+}