From dc8742801aa0d621d027792d54223e9f361d1f83 Mon Sep 17 00:00:00 2001 From: Horea Christian Date: Wed, 9 Oct 2019 18:18:03 +0200 Subject: [PATCH] dev-python/typing: version bump 3.7.4.1 and PYTHON_COMPAT to 3 series Package-Manager: Portage-2.3.76, Repoman-2.3.17 Signed-off-by: Horea Christian --- dev-python/typing/ChangeLog | 4 ++++ dev-python/typing/Manifest | 1 + dev-python/typing/metadata.xml | 11 +++++++++ dev-python/typing/typing-3.7.4.1.ebuild | 30 +++++++++++++++++++++++++ 4 files changed, 46 insertions(+) create mode 100644 dev-python/typing/ChangeLog create mode 100644 dev-python/typing/Manifest create mode 100644 dev-python/typing/metadata.xml create mode 100644 dev-python/typing/typing-3.7.4.1.ebuild diff --git a/dev-python/typing/ChangeLog b/dev-python/typing/ChangeLog new file mode 100644 index 0000000..10972cc --- /dev/null +++ b/dev-python/typing/ChangeLog @@ -0,0 +1,4 @@ +*typing-3.7.4.1 (09 Oct 2019) + + 09 Oct 2019; +metadata.xml, +typing-3.7.4.1.ebuild: + dev-python/typing: version bump 3.7.4.1 and PYTHON_COMPAT to 3 series diff --git a/dev-python/typing/Manifest b/dev-python/typing/Manifest new file mode 100644 index 0000000..6391b2f --- /dev/null +++ b/dev-python/typing/Manifest @@ -0,0 +1 @@ +DIST typing-3.7.4.1.tar.gz 77982 SHA256 91dfe6f3f706ee8cc32d38edbbf304e9b7583fb37108fef38229617f8b3eba23 SHA512 5f5080bf66b1de094b7984ed3d1de22651de8ca018ffde927dfa67fe65b13f91602a877faa24e73d44558638b609be276b924b894d63999bb93b0657a2d5ec6e WHIRLPOOL 37b349c5be66a21b7cc433d8daa5f5648614f71cd50ec657c5fb1261ee73918c3c14aba7f4b5c3be2f2c571a2f6ef40fa0daaeb0c93581a748a732e582c36e4a diff --git a/dev-python/typing/metadata.xml b/dev-python/typing/metadata.xml new file mode 100644 index 0000000..8fac39f --- /dev/null +++ b/dev-python/typing/metadata.xml @@ -0,0 +1,11 @@ + + + + + python@gentoo.org + Python + + + typing + + 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 0000000..e35ca3c --- /dev/null +++ b/dev-python/typing/typing-3.7.4.1.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_6 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-fbsd ~amd64-linux ~x86-linux ~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}" +}