diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-12-15 18:09:03 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-12-15 18:09:03 +0000 |
commit | 7bc9c63c9da678a7e6fceb095d56c634afd22c56 (patch) | |
tree | 4a67d50a439e9af63947e5f8b6ba3719af98b6c9 /dev-python/typing | |
parent | b284a3168fa91a038925d2ecf5e4791011ea5e7d (diff) |
gentoo resync : 15.12.2019
Diffstat (limited to 'dev-python/typing')
-rw-r--r-- | dev-python/typing/Manifest | 2 | ||||
-rw-r--r-- | dev-python/typing/typing-3.7.4.1.ebuild | 38 |
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-python/typing/Manifest b/dev-python/typing/Manifest index 5fd02c806948..43f5e4055d86 100644 --- a/dev-python/typing/Manifest +++ b/dev-python/typing/Manifest @@ -1,5 +1,7 @@ DIST typing-3.6.2.tar.gz 78726 BLAKE2B 80adf3cab2c37ce36bd33d14e475ed07918ec80ebb5bc68a820abe06dc862fe6b38e1a90f9bb3d37420b311cb4a32af871ae2ff72807daa8c1a334b6cbbe4d2a SHA512 a975980e7ba6ec3e15c938336877071785bec7212443da079770348ab9441c8d918cd806e85ebea8af66a5d94f684566ea07b55e7623ab11e7d922c8c3dfe981 DIST typing-3.6.4.tar.gz 71347 BLAKE2B dd49919595698347ce4b1004abd075409296acf11e10dd6ae0697d2bf94dc9d1cebedb2afe454be95eddb80fd0a60aebe14ddadc8df8de86545dd2ea05986c57 SHA512 f595e0fc395ba13a129ae45681faca7b199fd5c23e8f1573f49e2a6f162b7f2aef680306e76cbf50b978de9f047c674323219981e89c476474295bb8c02211ce +DIST typing-3.7.4.1.tar.gz 77982 BLAKE2B e770b1c028142a70799732159b295d3bd5c4911619fd5f200567f8b27813d86de643e9b79aa45fba8590c1e2a6c96c1411dabd0707190a237a79f6f11851e1e0 SHA512 5f5080bf66b1de094b7984ed3d1de22651de8ca018ffde927dfa67fe65b13f91602a877faa24e73d44558638b609be276b924b894d63999bb93b0657a2d5ec6e EBUILD typing-3.6.2-r1.ebuild 737 BLAKE2B eaff9d75ce24c69c6fa699d3bebd4d75e383184fc3db3510ef72e583785e180c516d9bcace31f279de731aab31551507ced1bc673609b8adf275cb6187816ea1 SHA512 704b45c3b142c0250429d2927e2bbec7aa801680c6b6307782be3e19aa4001e9d48bf233a293fb0aa6a6079580fe2fc1eae16f7705b82c1ab3a85d7ebb91477a EBUILD typing-3.6.4-r1.ebuild 772 BLAKE2B ea70f3ddb85c964baa67cf15e4cc9d3762958b0d40e9653e044b1e5a667df7b2cd86c161705d419c056b2669f95659a97819ec4829994ff2600c5c81164b610c SHA512 2fc643ae62f963447664cfd34ad1c2a9dfe03211fd123d5292d1fd1148614457ceec3950b950e4a6c6d04788398946abdb2266803738d182c9021712c71e3d38 +EBUILD typing-3.7.4.1.ebuild 962 BLAKE2B 5a2d4748c643fba8557fb2188fafea5db4811aeac3a9c9b1b226fd28a55dc7dbc40db5b4cf58f327440e3969f6e56562846299e52e509a185d6676ebb6e740cc SHA512 45c3265eb58b6cec942c5db45c0e9f66f4110a14700ffa3df5e99f9d4053f10984fb947a139e50e2d4f4c2ed494dea570cccc207c816fc1e9cbd1b6f726b612d MISC metadata.xml 309 BLAKE2B 22c8c811a8b91dfcc0b4b8e2b6081e10cefda4e3a37733ac985c7412b71bd995dbf21b43ef6766a80e6decf3a5d9c6878623785eed9fcb817b63a7ca853502f7 SHA512 c483306bdc995969591e21452fd1cb20310e5e9e496b2b4a0ace1c1533023b6225dad6ea156ee12f0045e9bfb6a5426d9a16f05131395b960e529b3194b4331b diff --git a/dev-python/typing/typing-3.7.4.1.ebuild b/dev-python/typing/typing-3.7.4.1.ebuild new file mode 100644 index 000000000000..4f12ecec2d36 --- /dev/null +++ b/dev-python/typing/typing-3.7.4.1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python2_7 pypy ) + +inherit distutils-r1 + +DESCRIPTION="Type Hints for Python" +HOMEPAGE="https://docs.python.org/3/library/typing.html https://pypi.org/project/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 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-solaris" +IUSE="" + +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" +RDEPEND="" + +src_prepare() { + distutils-r1_src_prepare + + # broken on PyPy, unclear if CPython behavior is not a bug + # https://github.com/python/typing/issues/671 + sed -i -e 's:test_new_no_args:_&:' python2/test_typing.py || die +} + +python_test() { + if python_is_python3; then + cd "${S}"/src || die + else + cd "${S}"/python2 || die + fi + + "${EPYTHON}" test_typing.py -v || die "tests failed under ${EPYTHON}" +} |