commit:     f5a9b4fbceb430c0d933352ca2d937dc59360b06
Author:     Theo Anderson <telans <AT> posteo <DOT> de>
AuthorDate: Wed Apr 28 02:20:42 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Wed Apr 28 02:20:42 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f5a9b4fb

dev-python/aiopg: add 1.2.1

Signed-off-by: Theo Anderson <telans <AT> posteo.de>

 dev-python/aiopg/Manifest           |  1 +
 dev-python/aiopg/aiopg-1.2.1.ebuild | 37 +++++++++++++++++++++++++++++++++++++
 2 files changed, 38 insertions(+)

diff --git a/dev-python/aiopg/Manifest b/dev-python/aiopg/Manifest
index b69212f50..609c9e71e 100644
--- a/dev-python/aiopg/Manifest
+++ b/dev-python/aiopg/Manifest
@@ -1 +1,2 @@
 DIST aiopg-1.1.0.tar.gz 198388 BLAKE2B 
4d1894f31ebd7bfd1234415c72727fb04fceef42ef86af7198447848846aef748fc9cf03958f9e5a2e2899836f304aebc97973117e0bc53e960f14ef7d4ab299
 SHA512 
375a7325a84a52a6eaff51132a9c7fe8982c4f69fbf747917fbf759a0be9ca6d2a3a1d90e852fa0a0c905c6679ff0603e3c85ddae6ee38b67f702d7d79b3b153
+DIST aiopg-1.2.1.tar.gz 197099 BLAKE2B 
3c4300724da13d6f9d439a31a0fad02361eb3f95fde90abd4718a2298d291f760e2a4a2c15691cd90a2996c101759422bb372202768f43b2ad6923c4921d1387
 SHA512 
19c00a77cbf8bc60c7704bcc17f9baab6ec1b0554dc62c1bf8fbd4f97f56636fc5edf9479da5a9c27dfc06108c9d650b3fe5d2cddca445f1ffa7b18cbc1d896c

diff --git a/dev-python/aiopg/aiopg-1.2.1.ebuild 
b/dev-python/aiopg/aiopg-1.2.1.ebuild
new file mode 100644
index 000000000..c34f8f75a
--- /dev/null
+++ b/dev-python/aiopg/aiopg-1.2.1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7,8,9} )
+
+inherit distutils-r1 optfeature
+
+DESCRIPTION="aiopg is a library for accessing a PostgreSQL database from the 
asyncio"
+HOMEPAGE="
+       https://aiopg.readthedocs.io
+       https://github.com/aio-libs/aiopg
+"
+SRC_URI="https://github.com/aio-libs/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+# tests seem to be wanting to send/recieve things
+# which is probably not allowed inside emerge so they fail?
+RESTRICT="test"
+
+RDEPEND="dev-python/psycopg[${PYTHON_USEDEP}]"
+
+DEPEND="test? (
+       dev-python/pytest-timeout[${PYTHON_USEDEP}]
+       dev-python/sqlalchemy[${PYTHON_USEDEP}]
+)"
+
+pkg_postinst() {
+       optfeature "sqlalchemy support" dev-python/sqlalchemy
+}
+
+distutils_enable_tests pytest
+distutils_enable_sphinx docs dev-python/sphinxcontrib-asyncio

Reply via email to