diff options
-rw-r--r-- | dev-python/async_generator/Manifest | 1 | ||||
-rw-r--r-- | dev-python/async_generator/async_generator-1.10.ebuild | 24 | ||||
-rw-r--r-- | dev-python/async_generator/metadata.xml | 11 |
3 files changed, 36 insertions, 0 deletions
diff --git a/dev-python/async_generator/Manifest b/dev-python/async_generator/Manifest new file mode 100644 index 000000000000..199c25e15d5a --- /dev/null +++ b/dev-python/async_generator/Manifest @@ -0,0 +1 @@ +DIST async_generator-1.10.tar.gz 29870 BLAKE2B 7f1bea82b1ed9ed87774f1fb42af2c58d8f9e34a02f067fad018680d46c94b811075107396b29e948fa5f72131c79f3b45544fae5aeca9f990e809db85bb28dd SHA512 3874b4e474cc7febec981f704672e233512a999e00e1672e46fe3a18e45168373fabc83142926763b7c6fcaf16948e031702d5854694aab4b5cae96b9b1ef819 diff --git a/dev-python/async_generator/async_generator-1.10.ebuild b/dev-python/async_generator/async_generator-1.10.ebuild new file mode 100644 index 000000000000..17b80b09558a --- /dev/null +++ b/dev-python/async_generator/async_generator-1.10.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python3_{5,6} ) + +inherit distutils-r1 + +DESCRIPTION="Making it easy to write async iterators in Python 3.5" +HOMEPAGE="https://github.com/python-trio/async_generator https://pypi.org/project/async_generator/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" +LICENSE="|| ( MIT Apache-2.0 )" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + test? ( dev-python/pytest[${PYTHON_USEDEP}] )" + +DOCS=( README.rst ) + +python_test() { + py.test -v || die "tests failed under ${EPYTHON}" +} diff --git a/dev-python/async_generator/metadata.xml b/dev-python/async_generator/metadata.xml new file mode 100644 index 000000000000..0731896574c4 --- /dev/null +++ b/dev-python/async_generator/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="person"> + <email>zmedico@gentoo.org</email> + </maintainer> + <upstream> + <remote-id type="github">python-trio/async_generator</remote-id> + <remote-id type="pypi">async_generator</remote-id> + </upstream> +</pkgmetadata> |