mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-09 15:13:31 -04:00
dev-python/asyncpg: drop 0.29.0-r1
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
@@ -1,2 +1 @@
|
|||||||
DIST asyncpg-0.29.0.tar.gz 820455 BLAKE2B 9bb5606dfb103e066dcfd15c327fe8a8135bf4433c816dc354d84227e40b9f18bb2788ead0dd25b087f97b3113645b6dcfd8991a7bb6e2e71528d122c41105d5 SHA512 5db979496323fcf4068d5de111b52f2ae1ad9efe68f80c28e6303ad936eb051d1792409f1e31fb86dc35caad5ef9b92c40e4f6dcbcccc3907ab2247f61db5504
|
|
||||||
DIST asyncpg-0.30.0.tar.gz 957746 BLAKE2B 2da92520bd30c1e5eebbfddabf78b9e9e221fb33ad77fa01f77ceb8bdf73e057868bf60987c2c67a6ed5d8b0cacb3b80c0aefd6afa1b574e2629d358c9158bbb SHA512 bbfc83ae881f454cb16343037ae48fbc9c9c65b57d11fc1e28ec054b9051d823f7da0735307090d0ce4e5dca166590b147d0f9d383a1ac0b894396290aa0782a
|
DIST asyncpg-0.30.0.tar.gz 957746 BLAKE2B 2da92520bd30c1e5eebbfddabf78b9e9e221fb33ad77fa01f77ceb8bdf73e057868bf60987c2c67a6ed5d8b0cacb3b80c0aefd6afa1b574e2629d358c9158bbb SHA512 bbfc83ae881f454cb16343037ae48fbc9c9c65b57d11fc1e28ec054b9051d823f7da0735307090d0ce4e5dca166590b147d0f9d383a1ac0b894396290aa0782a
|
||||||
|
|||||||
@@ -1,73 +0,0 @@
|
|||||||
# Copyright 1999-2024 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{11..12} ) # doesn't build with pypy3
|
|
||||||
DISTUTILS_EXT=1
|
|
||||||
DISTUTILS_USE_PEP517=setuptools
|
|
||||||
inherit distutils-r1 pypi
|
|
||||||
|
|
||||||
DESCRIPTION="PostgreSQL driver for asyncio"
|
|
||||||
HOMEPAGE="
|
|
||||||
https://pypi.org/project/asyncpg/
|
|
||||||
https://github.com/MagicStack/asyncpg
|
|
||||||
"
|
|
||||||
|
|
||||||
LICENSE="Apache-2.0 PSF-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~x86"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
$(python_gen_cond_dep '
|
|
||||||
>=dev-python/async-timeout-4.0.3[${PYTHON_USEDEP}]
|
|
||||||
' python3_{10..11})
|
|
||||||
"
|
|
||||||
BDEPEND="
|
|
||||||
dev-python/cython[${PYTHON_USEDEP}]
|
|
||||||
test? (
|
|
||||||
dev-db/postgresql[server]
|
|
||||||
dev-python/uvloop[${PYTHON_USEDEP}]
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
# Works fine with >=dev-python/cython-3
|
|
||||||
# https://github.com/MagicStack/asyncpg/pull/1101
|
|
||||||
"${FILESDIR}"/cython-3.patch
|
|
||||||
)
|
|
||||||
|
|
||||||
EPYTEST_IGNORE=(
|
|
||||||
# checks versions from env variables
|
|
||||||
"${S}"/tests/test__environment.py
|
|
||||||
# runs flake8 (???)
|
|
||||||
"${S}"/tests/test__sourcecode.py
|
|
||||||
)
|
|
||||||
|
|
||||||
distutils_enable_tests pytest
|
|
||||||
|
|
||||||
#distutils_enable_sphinx docs \
|
|
||||||
#dev-python/sphinxcontrib-asyncio \
|
|
||||||
#dev-python/sphinx-rtd-theme
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
# remove pre-generated Cython sources
|
|
||||||
rm asyncpg/{pgproto/pgproto,protocol/protocol}.c || die
|
|
||||||
|
|
||||||
distutils-r1_src_prepare
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
use debug && \
|
|
||||||
export ASYNCPG_DEBUG=1
|
|
||||||
|
|
||||||
distutils-r1_src_configure
|
|
||||||
}
|
|
||||||
|
|
||||||
python_test() {
|
|
||||||
cd "${T}" || die
|
|
||||||
for opt in "" "1"; do
|
|
||||||
einfo " testing with USE_UVLOOP='${opt}'"
|
|
||||||
USE_UVLOOP="${opt}" epytest "${S}"/tests
|
|
||||||
done
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user