dev-python/async_generator: new package
authorZac Medico <zmedico@gentoo.org>
Wed, 5 Sep 2018 02:14:55 +0000 (19:14 -0700)
committerZac Medico <zmedico@gentoo.org>
Wed, 5 Sep 2018 03:34:36 +0000 (20:34 -0700)
Package-Manager: Portage-2.3.49, Repoman-2.3.10

dev-python/async_generator/Manifest [new file with mode: 0644]
dev-python/async_generator/async_generator-1.10.ebuild [new file with mode: 0644]
dev-python/async_generator/metadata.xml [new file with mode: 0644]

diff --git a/dev-python/async_generator/Manifest b/dev-python/async_generator/Manifest
new file mode 100644 (file)
index 0000000..199c25e
--- /dev/null
@@ -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 (file)
index 0000000..17b80b0
--- /dev/null
@@ -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 (file)
index 0000000..0731896
--- /dev/null
@@ -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>