commit: 6b89345e6331d17249392b12f23933711853e426
Author: Aaron W. Swenson <titanofold <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 1 02:52:40 2020 +0000
Commit: Aaron W. Swenson <titanofold <AT> gentoo <DOT> org>
CommitDate: Tue Dec 1 02:55:50 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b89345e
dev-python/pygresql: Bump to 5.2.1
Also bump EAPI to 7, add 3.9 to PYTHON_COMPAT, and add 13 to POSTGRES_COMPAT.
Signed-off-by: Aaron W. Swenson <titanofold <AT> gentoo.org>
dev-python/pygresql/Manifest | 1 +
dev-python/pygresql/pygresql-5.2.1.ebuild | 33 +++++++++++++++++++++++++++++++
2 files changed, 34 insertions(+)
diff --git a/dev-python/pygresql/Manifest b/dev-python/pygresql/Manifest
index 6b53f536bee..fc6ae068b83 100644
--- a/dev-python/pygresql/Manifest
+++ b/dev-python/pygresql/Manifest
@@ -1 +1,2 @@
+DIST PyGreSQL-5.2.1.tar.gz 267750 BLAKE2B
6c0d4bcfe4f01bf3214efffa1be274b4a92b5e173094e1afe217aae9a44f88d023b43a2de9d4977fb8ce28d25718cf1cd5d123e8ffc2588f2539b6c03277ec55
SHA512
b304de447c239e4737571b38f0e0761448bd4e313f5b28708aced12cf190f323b85f80d3d87e054b62733add770c7bcd33be644a4f17a96ecc0cf4ab3dba85f3
DIST PyGreSQL-5.2.tar.gz 267557 BLAKE2B
92c2c0810a9b763fc2e9fec2e920ca1e21da4eb4ede5f2e20f66fd385ccc623fd9fe74075c6b995c6ea6348df76dcd723c8e4b6d83afdb53c978c02cc5220e49
SHA512
ce1cd29c714ab863dbdc7dde920f8938b115535ae3a0b54c770d7648f05011a716d604eec2d73c321fe2a408e64bcd9208c204856e5ddb0e0675ef7c076e4da7
diff --git a/dev-python/pygresql/pygresql-5.2.1.ebuild
b/dev-python/pygresql/pygresql-5.2.1.ebuild
new file mode 100644
index 00000000000..85268d8d534
--- /dev/null
+++ b/dev-python/pygresql/pygresql-5.2.1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+POSTGRES_COMPAT=( 9.{5..6} {10..13} )
+PYTHON_COMPAT=( python3_{6..9} )
+
+inherit distutils-r1 postgres
+
+MY_P="PyGreSQL-${PV}"
+
+DESCRIPTION="A Python interface for the PostgreSQL database"
+HOMEPAGE="https://pygresql.org/"
+SRC_URI="mirror://pypi/P/PyGreSQL/${MY_P}.tar.gz"
+
+LICENSE="POSTGRESQL"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~sparc ~x86"
+
+DEPEND="${POSTGRES_DEP}"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+PATCHES=(
+ "${FILESDIR}"/${PN}-5.2-CFLAGS.patch
+)
+
+python_install_all() {
+ local DOCS=( docs/*.rst docs/community/* docs/contents/tutorial.rst )
+
+ distutils-r1_python_install_all
+}