1 |
commit: ee97c9fe704520de6bf885fddab17813dace8608 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Mar 16 18:09:58 2023 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Mar 16 18:11:23 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee97c9fe |
7 |
|
8 |
dev-python/pgspecial: Remove old |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/pgspecial/Manifest | 1 - |
13 |
dev-python/pgspecial/pgspecial-1.13.1-r1.ebuild | 47 ------------------------- |
14 |
2 files changed, 48 deletions(-) |
15 |
|
16 |
diff --git a/dev-python/pgspecial/Manifest b/dev-python/pgspecial/Manifest |
17 |
index 5570a6d0d1d7..bbe4a17b757c 100644 |
18 |
--- a/dev-python/pgspecial/Manifest |
19 |
+++ b/dev-python/pgspecial/Manifest |
20 |
@@ -1,2 +1 @@ |
21 |
-DIST pgspecial-1.13.1.tar.gz 50269 BLAKE2B 0566a7c2d8ee1ea350e27a4283f56c4cb1360f23ac9fe0147358ff68f527907c47650466dd41ae9c68e8a1f8ba658e452a88db360a7066f5562b7f0c578b8b62 SHA512 4b8f0495451db40087327640edc4bf8c29997b4f501dc5af6d093ad880fc337050d651676ae8ff434da3564e773f9e89e6e7d6bf0d6cfb7b70d8b4beea73a347 |
22 |
DIST pgspecial-2.0.1.gh.tar.gz 50181 BLAKE2B 6f3f9f8feba717c18d3985d80a432eb7d127c65f7436bfc792a44cb5d7aad08e6e3b931cc289a051fbfea43cd5d8d7db44ede6de89683d462d51635c5caf2e04 SHA512 e89e7cd0f7e849fe93b8e8e79e409ee73ba6c22f3d76279415f236184f732d12cdd8b6bb7722b24ec2bd665f3429c0bf4e6905cd24c9739aa78906b12f841f13 |
23 |
|
24 |
diff --git a/dev-python/pgspecial/pgspecial-1.13.1-r1.ebuild b/dev-python/pgspecial/pgspecial-1.13.1-r1.ebuild |
25 |
deleted file mode 100644 |
26 |
index baa7522af657..000000000000 |
27 |
--- a/dev-python/pgspecial/pgspecial-1.13.1-r1.ebuild |
28 |
+++ /dev/null |
29 |
@@ -1,47 +0,0 @@ |
30 |
-# Copyright 1999-2023 Gentoo Authors |
31 |
-# Distributed under the terms of the GNU General Public License v2 |
32 |
- |
33 |
-EAPI=8 |
34 |
- |
35 |
-DISTUTILS_USE_PEP517=setuptools |
36 |
-PYTHON_COMPAT=( python3_{9..10} ) |
37 |
- |
38 |
-inherit distutils-r1 |
39 |
- |
40 |
-DESCRIPTION="Python implementation of PostgreSQL meta commands" |
41 |
-HOMEPAGE="https://github.com/dbcli/pgspecial" |
42 |
-SRC_URI="https://github.com/dbcli/pgspecial/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
43 |
- |
44 |
-LICENSE="BSD MIT" |
45 |
-SLOT="0" |
46 |
-KEYWORDS="amd64 x86" |
47 |
- |
48 |
-RDEPEND=" |
49 |
- >=dev-python/click-4.1[${PYTHON_USEDEP}] |
50 |
- >=dev-python/configobj-5.0.6[${PYTHON_USEDEP}] |
51 |
- >=dev-python/psycopg-2.7.4:2[${PYTHON_USEDEP}] |
52 |
- >=dev-python/sqlparse-0.1.19[${PYTHON_USEDEP}] |
53 |
-" |
54 |
-BDEPEND=" |
55 |
- test? ( >=dev-db/postgresql-8.1[server] ) |
56 |
-" |
57 |
- |
58 |
-distutils_enable_tests pytest |
59 |
- |
60 |
-DOCS=( License.txt README.rst changelog.rst ) |
61 |
- |
62 |
-src_test() { |
63 |
- local db=${T}/pgsql |
64 |
- |
65 |
- initdb --username=postgres -D "${db}" || die |
66 |
- # TODO: random port |
67 |
- pg_ctl -w -D "${db}" start \ |
68 |
- -o "-h '127.0.0.1' -p 5432 -k '${T}'" || die |
69 |
- psql -h "${T}" -U postgres -d postgres \ |
70 |
- -c "ALTER ROLE postgres WITH PASSWORD 'postgres';" || die |
71 |
- createdb -h "${T}" -U postgres _test_db || die |
72 |
- |
73 |
- distutils-r1_src_test |
74 |
- |
75 |
- pg_ctl -w -D "${db}" stop || die |
76 |
-} |