mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-14 09:33:32 -04:00
dev-python/aiopg: add 1.3.3, drop 1.2.1
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
@@ -1,2 +1,2 @@
|
||||
DIST aiopg-1.2.1.tar.gz 197099 BLAKE2B 3c4300724da13d6f9d439a31a0fad02361eb3f95fde90abd4718a2298d291f760e2a4a2c15691cd90a2996c101759422bb372202768f43b2ad6923c4921d1387 SHA512 19c00a77cbf8bc60c7704bcc17f9baab6ec1b0554dc62c1bf8fbd4f97f56636fc5edf9479da5a9c27dfc06108c9d650b3fe5d2cddca445f1ffa7b18cbc1d896c
|
||||
DIST aiopg-1.3.2_beta1.tar.gz 202058 BLAKE2B a303ef66ded1a0f77a33d83c0d498e16519521c87e930b3ab9097ac56c8ad6e111e5edc145c869aef2530900f3f2c2400ef785e307c2333053a0dfae1439f2f6 SHA512 855ab21528a8eb572f2b0b7965bcca37cacd42ef79910f4b042c22654c6bb37b2528dd2cddd1fa66dba24cccdc0996ba8281b44bb9d99a1607fc146747ffd642
|
||||
DIST aiopg-1.3.3.tar.gz 202064 BLAKE2B bf9998e1209753fd5095eb9e371a2038f3f849f17d0068e2516b1d8663d9c2d9fec700d30ef4f4ea236d9a63fed4f4149cf28af1323acf1c02cedda2dd4b2375 SHA512 807bbbb14df1b44a54fb193f08d91313d10c6927e4140b305ddcc4cc37a53a42b18cd63dee99a1a04d0993c8502085f3aa7626e660b6bc9cd2ef40a7414a3822
|
||||
|
||||
@@ -1,37 +1,45 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8,9} )
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit distutils-r1 optfeature
|
||||
|
||||
DESCRIPTION="aiopg is a library for accessing a PostgreSQL database from the asyncio"
|
||||
MY_PV=${PV/_beta/b}
|
||||
DESCRIPTION="Postgres integration with 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"
|
||||
SRC_URI="https://github.com/aio-libs/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/${PN}-${MY_PV}"
|
||||
|
||||
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?
|
||||
# tests use docker containers -- that's wild!
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="dev-python/psycopg[${PYTHON_USEDEP}]"
|
||||
|
||||
DEPEND="test? (
|
||||
dev-python/docker-py[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-timeout[${PYTHON_USEDEP}]
|
||||
dev-python/sqlalchemy[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "sqlalchemy support" dev-python/sqlalchemy
|
||||
}
|
||||
DOCS=( CHANGES.txt README.rst )
|
||||
|
||||
distutils_enable_tests pytest
|
||||
distutils_enable_sphinx docs dev-python/sphinxcontrib-asyncio
|
||||
|
||||
python_test() {
|
||||
epytest --no-pull
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "sqlalchemy support" dev-python/sqlalchemy
|
||||
}
|
||||
Reference in New Issue
Block a user