1 |
commit: 6b89345e6331d17249392b12f23933711853e426 |
2 |
Author: Aaron W. Swenson <titanofold <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Dec 1 02:52:40 2020 +0000 |
4 |
Commit: Aaron W. Swenson <titanofold <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Dec 1 02:55:50 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b89345e |
7 |
|
8 |
dev-python/pygresql: Bump to 5.2.1 |
9 |
|
10 |
Also bump EAPI to 7, add 3.9 to PYTHON_COMPAT, and add 13 to POSTGRES_COMPAT. |
11 |
|
12 |
Signed-off-by: Aaron W. Swenson <titanofold <AT> gentoo.org> |
13 |
|
14 |
dev-python/pygresql/Manifest | 1 + |
15 |
dev-python/pygresql/pygresql-5.2.1.ebuild | 33 +++++++++++++++++++++++++++++++ |
16 |
2 files changed, 34 insertions(+) |
17 |
|
18 |
diff --git a/dev-python/pygresql/Manifest b/dev-python/pygresql/Manifest |
19 |
index 6b53f536bee..fc6ae068b83 100644 |
20 |
--- a/dev-python/pygresql/Manifest |
21 |
+++ b/dev-python/pygresql/Manifest |
22 |
@@ -1 +1,2 @@ |
23 |
+DIST PyGreSQL-5.2.1.tar.gz 267750 BLAKE2B 6c0d4bcfe4f01bf3214efffa1be274b4a92b5e173094e1afe217aae9a44f88d023b43a2de9d4977fb8ce28d25718cf1cd5d123e8ffc2588f2539b6c03277ec55 SHA512 b304de447c239e4737571b38f0e0761448bd4e313f5b28708aced12cf190f323b85f80d3d87e054b62733add770c7bcd33be644a4f17a96ecc0cf4ab3dba85f3 |
24 |
DIST PyGreSQL-5.2.tar.gz 267557 BLAKE2B 92c2c0810a9b763fc2e9fec2e920ca1e21da4eb4ede5f2e20f66fd385ccc623fd9fe74075c6b995c6ea6348df76dcd723c8e4b6d83afdb53c978c02cc5220e49 SHA512 ce1cd29c714ab863dbdc7dde920f8938b115535ae3a0b54c770d7648f05011a716d604eec2d73c321fe2a408e64bcd9208c204856e5ddb0e0675ef7c076e4da7 |
25 |
|
26 |
diff --git a/dev-python/pygresql/pygresql-5.2.1.ebuild b/dev-python/pygresql/pygresql-5.2.1.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..85268d8d534 |
29 |
--- /dev/null |
30 |
+++ b/dev-python/pygresql/pygresql-5.2.1.ebuild |
31 |
@@ -0,0 +1,33 @@ |
32 |
+# Copyright 1999-2020 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+ |
37 |
+POSTGRES_COMPAT=( 9.{5..6} {10..13} ) |
38 |
+PYTHON_COMPAT=( python3_{6..9} ) |
39 |
+ |
40 |
+inherit distutils-r1 postgres |
41 |
+ |
42 |
+MY_P="PyGreSQL-${PV}" |
43 |
+ |
44 |
+DESCRIPTION="A Python interface for the PostgreSQL database" |
45 |
+HOMEPAGE="https://pygresql.org/" |
46 |
+SRC_URI="mirror://pypi/P/PyGreSQL/${MY_P}.tar.gz" |
47 |
+ |
48 |
+LICENSE="POSTGRESQL" |
49 |
+SLOT="0" |
50 |
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~sparc ~x86" |
51 |
+ |
52 |
+DEPEND="${POSTGRES_DEP}" |
53 |
+RDEPEND="${DEPEND}" |
54 |
+ |
55 |
+S="${WORKDIR}/${MY_P}" |
56 |
+PATCHES=( |
57 |
+ "${FILESDIR}"/${PN}-5.2-CFLAGS.patch |
58 |
+) |
59 |
+ |
60 |
+python_install_all() { |
61 |
+ local DOCS=( docs/*.rst docs/community/* docs/contents/tutorial.rst ) |
62 |
+ |
63 |
+ distutils-r1_python_install_all |
64 |
+} |