diff options
author | 2019-04-23 18:41:27 +0300 | |
---|---|---|
committer | 2019-04-23 19:16:32 +0300 | |
commit | da1dd28f9104705373e293c92ed3f2626c7443c9 (patch) | |
tree | fe49d4f5c53178fc29acc0d69cfaa57ddfaa251b | |
parent | dev-python/sentry-sdk: Initial import (diff) | |
download | alexxy-da1dd28f9104705373e293c92ed3f2626c7443c9.tar.gz alexxy-da1dd28f9104705373e293c92ed3f2626c7443c9.tar.bz2 alexxy-da1dd28f9104705373e293c92ed3f2626c7443c9.zip |
dev-python/typing: Version bump
Package-Manager: Portage-2.3.64, Repoman-2.3.12
Signed-off-by: Alexey Shvetsov <alexxy@gentoo.org>
-rw-r--r-- | dev-python/typing/Manifest | 1 | ||||
-rw-r--r-- | dev-python/typing/metadata.xml | 11 | ||||
-rw-r--r-- | dev-python/typing/typing-3.6.6.ebuild | 30 |
3 files changed, 42 insertions, 0 deletions
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 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <upstream> + <remote-id type="pypi">typing</remote-id> + </upstream> +</pkgmetadata> 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}" +} |