Diff pygresql-5.2.5 with a pygresql-6.0
/usr/portage/dev-python/pygresql/pygresql-6.0.ebuild 2023-10-09 14:52:30.340368372 +0300 | ||
---|---|---|
1 | 1 |
# Copyright 1999-2023 Gentoo Authors |
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 |
EAPI=7 |
|
4 |
EAPI=8 |
|
5 | 5 | |
6 | 6 |
DISTUTILS_EXT=1 |
7 | 7 |
DISTUTILS_USE_PEP517=setuptools |
... | ... | |
13 | 13 |
inherit distutils-r1 postgres pypi |
14 | 14 | |
15 | 15 |
DESCRIPTION="A Python interface for the PostgreSQL database" |
16 |
HOMEPAGE="https://pygresql.org/" |
|
16 |
HOMEPAGE=" |
|
17 |
https://pygresql.github.io/ |
|
18 |
https://github.com/PyGreSQL/PyGreSQL/ |
|
19 |
https://pypi.org/project/PyGreSQL/ |
|
20 |
" |
|
17 | 21 | |
18 | 22 |
LICENSE="POSTGRESQL" |
19 | 23 |
SLOT="0" |
... | ... | |
41 | 45 |
-o "-h '127.0.0.1' -p 5432 -k '${T}'" || die |
42 | 46 |
psql -h "${T}" -U portage -d postgres \ |
43 | 47 |
-c "ALTER ROLE portage WITH PASSWORD 'postgres';" || die |
44 |
createdb -h "${T}" -U portage unittest || die |
|
48 |
createdb -h "${T}" -U portage test || die |
|
45 | 49 | |
46 | 50 |
cat > tests/LOCAL_PyGreSQL.py <<-EOF || die |
47 | 51 |
dbhost = '${T}' |
48 | 52 |
EOF |
49 | 53 | |
54 |
rm -rf pg || die |
|
50 | 55 |
distutils-r1_src_test |
51 | 56 | |
52 | 57 |
pg_ctl -w -D "${db}" stop || die |