summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2017-01-23 05:18:45 +0100
committerLars Wendler <polynomial-c@gentoo.org>2017-01-23 05:45:59 +0100
commit35e80561bb85aa61af17ca1b1a65dd7f6329007e (patch)
tree4182dab6219c5f4789596a54a97cc279c1e5cb40 /dev-python/typing
parentdev-python/requests: Removed old. (diff)
downloadgentoo-35e80561bb85aa61af17ca1b1a65dd7f6329007e.tar.gz
gentoo-35e80561bb85aa61af17ca1b1a65dd7f6329007e.tar.bz2
gentoo-35e80561bb85aa61af17ca1b1a65dd7f6329007e.zip
dev-python/typing: Bump to version 3.5.3.0
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'dev-python/typing')
-rw-r--r--dev-python/typing/Manifest1
-rw-r--r--dev-python/typing/typing-3.5.3.0.ebuild32
2 files changed, 33 insertions, 0 deletions
diff --git a/dev-python/typing/Manifest b/dev-python/typing/Manifest
index b0872a348742..a106f22680d2 100644
--- a/dev-python/typing/Manifest
+++ b/dev-python/typing/Manifest
@@ -1,2 +1,3 @@
DIST typing-3.5.0.1.tar.gz 44955 SHA256 b247d3ffe4228bebf319cc6670535eca472ad65a96d681c41cd67b90a686d942 SHA512 abd638f243b40bcb002fa94cfe64df29a454a3874edc629ab43e79b10149a18a29d8200ce0574bf1e920461e58f4736905f04d231c3cf045bb6a91ad12d4c53e WHIRLPOOL 8d7f3fc04d3aec17a492f3c405fa6edd55be8431c266a8a3de5a31d61711835a0eaf11b3cbda9089165d69476e948d810bb233acac199ea9350579c315b96037
DIST typing-3.5.2.2.tar.gz 51101 SHA256 2bce34292653af712963c877f3085250a336738e64f99048d1b8509bebc4772f SHA512 38d8899cf7ccfc86299ea59a234a80a7938ff9e78d84a9593befd163959ee90af3201dfd495e172904bc6423919b338bee470d166e9c41d9697662c27ed2fbc8 WHIRLPOOL 7cb2dad3b1f3fb5c50801d92336de755c96cf8fde984da2b18525ec53be391d02d1bd8f0d934bdd1708caa1465f3f1e0ea4d7b4fbc86eb411868de5c1db125d5
+DIST typing-3.5.3.0.tar.gz 60350 SHA256 ca2daac7e393e8ee86e9140cd0cf0172ff6bb50ebdf0b06281770f98f31bff21 SHA512 e1930de61cbb0b49ebeec49b87ce3a60752ed062ebf44ff2c5becf2e19a22726d08607ce6723b5b4e633190d8a9686176d44f7672c44bd246acb8e367c5d3c37 WHIRLPOOL d1e4f29b684084ca4370ed74d68e05f9723314f9144b825fb5b085c38644bf8460c2b1266382427d281550d43b85aa3395415f161a52d4769de24ded2b9777eb
diff --git a/dev-python/typing/typing-3.5.3.0.ebuild b/dev-python/typing/typing-3.5.3.0.ebuild
new file mode 100644
index 000000000000..1b87eadc8037
--- /dev/null
+++ b/dev-python/typing/typing-3.5.3.0.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2017 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} pypy{,3} )
+
+inherit distutils-r1
+
+DESCRIPTION="Type Hints for Python"
+HOMEPAGE="https://docs.python.org/3.5/library/typing.html"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="PSF-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ppc64 ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND=""
+
+python_test() {
+ cd "${BUILD_DIR}" || die
+ if [[ ${EPYTHON} == python2* || ${EPYTHON} == pypy ]]; then
+ cp "${S}"/python2/test_typing.py . || die
+ else
+ cp "${S}"/src/test_typing.py . || die
+ fi
+
+ "${EPYTHON}" test_typing.py || die "tests failed under ${EPYTHON}"
+}