diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-05-03 11:25:07 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-05-03 11:25:07 +0100 |
commit | f6a034d922bf54efeaa781fcb5388b325b90d945 (patch) | |
tree | b9fafda6cf44bf7b09de2c3d74090de10f9cde04 /dev-python/pgspecial/pgspecial-2.0.1.ebuild | |
parent | 007b0aae027279095b8605c214b535e59df8f6eb (diff) |
gentoo auto-resync : 03:05:2023 - 11:25:06
Diffstat (limited to 'dev-python/pgspecial/pgspecial-2.0.1.ebuild')
-rw-r--r-- | dev-python/pgspecial/pgspecial-2.0.1.ebuild | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/dev-python/pgspecial/pgspecial-2.0.1.ebuild b/dev-python/pgspecial/pgspecial-2.0.1.ebuild deleted file mode 100644 index d2105974bbd4..000000000000 --- a/dev-python/pgspecial/pgspecial-2.0.1.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9..11} ) - -inherit distutils-r1 - -DESCRIPTION="Python implementation of PostgreSQL meta commands" -HOMEPAGE=" - https://github.com/dbcli/pgspecial/ - https://pypi.org/project/pgspecial/ -" -SRC_URI=" - https://github.com/dbcli/pgspecial/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="BSD MIT" -SLOT="0" -KEYWORDS="amd64 x86" - -RDEPEND=" - >=dev-python/click-4.1[${PYTHON_USEDEP}] - >=dev-python/configobj-5.0.6[${PYTHON_USEDEP}] - >=dev-python/psycopg-3.0.10:0[${PYTHON_USEDEP}] - >=dev-python/sqlparse-0.1.19[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - >=dev-db/postgresql-8.1[server] - ) -" - -distutils_enable_tests pytest - -DOCS=( License.txt README.rst changelog.rst ) - -src_test() { - local db=${T}/pgsql - - initdb --username=postgres -D "${db}" || die - # TODO: random port - pg_ctl -w -D "${db}" start \ - -o "-h '127.0.0.1' -p 5432 -k '${T}'" || die - psql -h "${T}" -U postgres -d postgres \ - -c "ALTER ROLE postgres WITH PASSWORD 'postgres';" || die - createdb -h "${T}" -U postgres _test_db || die - - distutils-r1_src_test - - pg_ctl -w -D "${db}" stop || die -} |