Gentoo Archives: gentoo-commits

From: Andrew Ammerlaan <andrewammerlaan@××××××.net>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-python/aiopg/
Date: Wed, 28 Apr 2021 08:08:21
Message-Id: 1619576442.f5a9b4fbceb430c0d933352ca2d937dc59360b06.andrewammerlaan@gentoo
1 commit: f5a9b4fbceb430c0d933352ca2d937dc59360b06
2 Author: Theo Anderson <telans <AT> posteo <DOT> de>
3 AuthorDate: Wed Apr 28 02:20:42 2021 +0000
4 Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
5 CommitDate: Wed Apr 28 02:20:42 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f5a9b4fb
7
8 dev-python/aiopg: add 1.2.1
9
10 Signed-off-by: Theo Anderson <telans <AT> posteo.de>
11
12 dev-python/aiopg/Manifest | 1 +
13 dev-python/aiopg/aiopg-1.2.1.ebuild | 37 +++++++++++++++++++++++++++++++++++++
14 2 files changed, 38 insertions(+)
15
16 diff --git a/dev-python/aiopg/Manifest b/dev-python/aiopg/Manifest
17 index b69212f50..609c9e71e 100644
18 --- a/dev-python/aiopg/Manifest
19 +++ b/dev-python/aiopg/Manifest
20 @@ -1 +1,2 @@
21 DIST aiopg-1.1.0.tar.gz 198388 BLAKE2B 4d1894f31ebd7bfd1234415c72727fb04fceef42ef86af7198447848846aef748fc9cf03958f9e5a2e2899836f304aebc97973117e0bc53e960f14ef7d4ab299 SHA512 375a7325a84a52a6eaff51132a9c7fe8982c4f69fbf747917fbf759a0be9ca6d2a3a1d90e852fa0a0c905c6679ff0603e3c85ddae6ee38b67f702d7d79b3b153
22 +DIST aiopg-1.2.1.tar.gz 197099 BLAKE2B 3c4300724da13d6f9d439a31a0fad02361eb3f95fde90abd4718a2298d291f760e2a4a2c15691cd90a2996c101759422bb372202768f43b2ad6923c4921d1387 SHA512 19c00a77cbf8bc60c7704bcc17f9baab6ec1b0554dc62c1bf8fbd4f97f56636fc5edf9479da5a9c27dfc06108c9d650b3fe5d2cddca445f1ffa7b18cbc1d896c
23
24 diff --git a/dev-python/aiopg/aiopg-1.2.1.ebuild b/dev-python/aiopg/aiopg-1.2.1.ebuild
25 new file mode 100644
26 index 000000000..c34f8f75a
27 --- /dev/null
28 +++ b/dev-python/aiopg/aiopg-1.2.1.ebuild
29 @@ -0,0 +1,37 @@
30 +# Copyright 1999-2020 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=7
34 +
35 +PYTHON_COMPAT=( python3_{7,8,9} )
36 +
37 +inherit distutils-r1 optfeature
38 +
39 +DESCRIPTION="aiopg is a library for accessing a PostgreSQL database from the asyncio"
40 +HOMEPAGE="
41 + https://aiopg.readthedocs.io
42 + https://github.com/aio-libs/aiopg
43 +"
44 +SRC_URI="https://github.com/aio-libs/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
45 +
46 +LICENSE="BSD"
47 +SLOT="0"
48 +KEYWORDS="~amd64 ~x86"
49 +
50 +# tests seem to be wanting to send/recieve things
51 +# which is probably not allowed inside emerge so they fail?
52 +RESTRICT="test"
53 +
54 +RDEPEND="dev-python/psycopg[${PYTHON_USEDEP}]"
55 +
56 +DEPEND="test? (
57 + dev-python/pytest-timeout[${PYTHON_USEDEP}]
58 + dev-python/sqlalchemy[${PYTHON_USEDEP}]
59 +)"
60 +
61 +pkg_postinst() {
62 + optfeature "sqlalchemy support" dev-python/sqlalchemy
63 +}
64 +
65 +distutils_enable_tests pytest
66 +distutils_enable_sphinx docs dev-python/sphinxcontrib-asyncio