diff options
author | Tim Harder <radhermit@gentoo.org> | 2018-03-19 00:59:27 -0400 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2018-03-19 01:35:58 -0400 |
commit | 435821b5d224241a28edcbc35ff775bde7400e14 (patch) | |
tree | 760ef9b32ed214a8dd1d29ef085c7418896d6b77 /dev-python/typing | |
parent | dev-python/typing: add python proj as maintainer (diff) | |
download | gentoo-435821b5d224241a28edcbc35ff775bde7400e14.tar.gz gentoo-435821b5d224241a28edcbc35ff775bde7400e14.tar.bz2 gentoo-435821b5d224241a28edcbc35ff775bde7400e14.zip |
dev-python/typing: version bump to 3.6.4
Diffstat (limited to 'dev-python/typing')
-rw-r--r-- | dev-python/typing/Manifest | 1 | ||||
-rw-r--r-- | dev-python/typing/typing-3.6.4.ebuild | 30 |
2 files changed, 31 insertions, 0 deletions
diff --git a/dev-python/typing/Manifest b/dev-python/typing/Manifest index bb7c09315430..819a98ea5bfb 100644 --- a/dev-python/typing/Manifest +++ b/dev-python/typing/Manifest @@ -1 +1,2 @@ DIST typing-3.6.2.tar.gz 78726 BLAKE2B 80adf3cab2c37ce36bd33d14e475ed07918ec80ebb5bc68a820abe06dc862fe6b38e1a90f9bb3d37420b311cb4a32af871ae2ff72807daa8c1a334b6cbbe4d2a SHA512 a975980e7ba6ec3e15c938336877071785bec7212443da079770348ab9441c8d918cd806e85ebea8af66a5d94f684566ea07b55e7623ab11e7d922c8c3dfe981 +DIST typing-3.6.4.tar.gz 71347 BLAKE2B dd49919595698347ce4b1004abd075409296acf11e10dd6ae0697d2bf94dc9d1cebedb2afe454be95eddb80fd0a60aebe14ddadc8df8de86545dd2ea05986c57 SHA512 f595e0fc395ba13a129ae45681faca7b199fd5c23e8f1573f49e2a6f162b7f2aef680306e76cbf50b978de9f047c674323219981e89c476474295bb8c02211ce diff --git a/dev-python/typing/typing-3.6.4.ebuild b/dev-python/typing/typing-3.6.4.ebuild new file mode 100644 index 000000000000..d6616e2931b0 --- /dev/null +++ b/dev-python/typing/typing-3.6.4.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy{,3} ) + +inherit distutils-r1 + +DESCRIPTION="Type Hints for Python" +HOMEPAGE="https://docs.python.org/3/library/typing.html https://pypi.python.org/pypi/typing" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="PSF-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x64-solaris" +IUSE="" + +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" +RDEPEND="" + +python_test() { + if [[ ${EPYTHON} == python2* || ${EPYTHON} == pypy ]]; then + cd "${S}"/python2 || die + else + cd "${S}"/src || die + fi + + "${PYTHON}" test_typing.py || die "tests failed under ${EPYTHON}" +} |