summaryrefslogtreecommitdiff
path: root/dev-python/pygresql/pygresql-5.2.ebuild
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [feature/flatten] <gitlab@liguros.net>2020-08-01 06:28:40 +0000
committerLiguros - Gitlab CI/CD [feature/flatten] <gitlab@liguros.net>2020-08-01 06:28:40 +0000
commit5307a3b2b844d38c9d48eed1d2c4b3488012c28a (patch)
treeb9ac5bacc7dff578dc7863a9766b3fafef41d438 /dev-python/pygresql/pygresql-5.2.ebuild
parent1ae0099f03ad5480f2ebef9b1eab825b585fcf6b (diff)
downloadbaldeagleos-repo-5307a3b2b844d38c9d48eed1d2c4b3488012c28a.tar.gz
baldeagleos-repo-5307a3b2b844d38c9d48eed1d2c4b3488012c28a.tar.xz
baldeagleos-repo-5307a3b2b844d38c9d48eed1d2c4b3488012c28a.zip
Updating liguros repo
Diffstat (limited to 'dev-python/pygresql/pygresql-5.2.ebuild')
-rw-r--r--dev-python/pygresql/pygresql-5.2.ebuild33
1 files changed, 33 insertions, 0 deletions
diff --git a/dev-python/pygresql/pygresql-5.2.ebuild b/dev-python/pygresql/pygresql-5.2.ebuild
new file mode 100644
index 000000000000..9f157721a12a
--- /dev/null
+++ b/dev-python/pygresql/pygresql-5.2.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+POSTGRES_COMPAT=( 9.{5..6} {10..12} )
+PYTHON_COMPAT=( python3_{5,6,7,8,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
+}