From da1dd28f9104705373e293c92ed3f2626c7443c9 Mon Sep 17 00:00:00 2001 From: Alexey Shvetsov Date: Tue, 23 Apr 2019 18:41:27 +0300 Subject: dev-python/typing: Version bump Package-Manager: Portage-2.3.64, Repoman-2.3.12 Signed-off-by: Alexey Shvetsov --- dev-python/typing/Manifest | 1 + dev-python/typing/metadata.xml | 11 +++++++++++ dev-python/typing/typing-3.6.6.ebuild | 30 ++++++++++++++++++++++++++++++ 3 files changed, 42 insertions(+) create mode 100644 dev-python/typing/Manifest create mode 100644 dev-python/typing/metadata.xml create mode 100644 dev-python/typing/typing-3.6.6.ebuild diff --git a/dev-python/typing/Manifest b/dev-python/typing/Manifest new file mode 100644 index 0000000..7783925 --- /dev/null +++ b/dev-python/typing/Manifest @@ -0,0 +1 @@ +DIST typing-3.6.6.tar.gz 71799 SHA256 4027c5f6127a6267a435201981ba156de91ad0d1d98e9ddc2aa173453453492d SHA512 9baa331a2093276b571f26a21ab6419e85138574109471141eb88ccddb6c30adb6fbda35f11aeb1231adc334191c426c242494b17d593a2b279f09dea1b1f0ca WHIRLPOOL 85f00f580fae0291a81fb4c03249482973c619d1288f5c7aeb27a79fa2838682091b9f4c6ae154b3aa837ace2d557ac6d5a6e24715128cca519284e133ab76cf 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.6.6.ebuild b/dev-python/typing/typing-3.6.6.ebuild new file mode 100644 index 0000000..a1ed235 --- /dev/null +++ b/dev-python/typing/typing-3.6.6.ebuild @@ -0,0 +1,30 @@ +# 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-fbsd ~amd64-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}" +} -- cgit v1.2.3-65-gdbad