From 1004e415a8d6095b60e3755c67cf9241cc0ff453 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Tue, 4 Sep 2018 19:14:55 -0700 Subject: [PATCH] dev-python/async_generator: new package Package-Manager: Portage-2.3.49, Repoman-2.3.10 --- dev-python/async_generator/Manifest | 1 + .../async_generator-1.10.ebuild | 24 +++++++++++++++++++ dev-python/async_generator/metadata.xml | 11 +++++++++ 3 files changed, 36 insertions(+) create mode 100644 dev-python/async_generator/Manifest create mode 100644 dev-python/async_generator/async_generator-1.10.ebuild create mode 100644 dev-python/async_generator/metadata.xml diff --git a/dev-python/async_generator/Manifest b/dev-python/async_generator/Manifest new file mode 100644 index 0000000000000..199c25e15d5a2 --- /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 0000000000000..17b80b09558a2 --- /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 0000000000000..0731896574c4f --- /dev/null +++ b/dev-python/async_generator/metadata.xml @@ -0,0 +1,11 @@ + + + + + zmedico@gentoo.org + + + python-trio/async_generator + async_generator + +