commit:     1362bd3942ad45c108d26316ba0bdb89c5e6a952
Author:     Aaron W. Swenson <titanofold <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 16 21:27:34 2017 +0000
Commit:     Aaron Swenson <titanofold <AT> gentoo <DOT> org>
CommitDate: Thu Nov 16 21:27:34 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1362bd39

dev-python/pygresql: Bump to 5.0.4

Adds support for Python 3 and recent versions of PostgreSQL. Uses the
new postgres eclass to manage dependency on dev-db/postgresql.

Closes: https://bugs.gentoo.org/580668
Package-Manager: Portage-2.3.13, Repoman-2.3.3

 dev-python/pygresql/Manifest              |  1 +
 dev-python/pygresql/pygresql-5.0.4.ebuild | 32 +++++++++++++++++++++++++++++++
 2 files changed, 33 insertions(+)

diff --git a/dev-python/pygresql/Manifest b/dev-python/pygresql/Manifest
index 37947de5af4..e72696e8255 100644
--- a/dev-python/pygresql/Manifest
+++ b/dev-python/pygresql/Manifest
@@ -1,2 +1,3 @@
 DIST PyGreSQL-4.1.1.tgz 100883 SHA256 
bb14092f97c66ed13b8faf71471b8c156c6b46d915858447f3a63e9abe48eef7 SHA512 
4b37c56f2112471aa5f3003a1d867382ce1b7510afa0963f0ceeb2f8175ca601bb5bade9ea2038d44a1041f12233e364f138a635bb7b353d0a82aeb7d9d49b7f
 WHIRLPOOL 
323bfd1b72341be6b14d71fd4f05f5005a0f8a387f9b050ef3c786531ea19e057aa67fb5737b5aa0c4ca0912ad697a39d8957d70bb6bb4056e81f406ade5a6b9
 DIST PyGreSQL-4.2.zip 1377728 SHA256 
c57adc6b76e8b513e819b8f36710cf906d21617ff6513a0c4dad4acecdfccf3c SHA512 
84044480c3f25548137240ac999334546b87987ac6c601608bcae057cf93567f0eb24e343f6ee214ea87e09ac6bd5ce80cfeb5f75deb7896e87b001a2099c78f
 WHIRLPOOL 
cac5d4fed22e51316c3c8cc0de367dc5998642c1425a944b147ed059ee3f70387ac704f8465b6fdbde0802e92c21369f0171c2dc0ee2ebbc1e7f0c827b5b900d
+DIST PyGreSQL-5.0.4.tar.gz 637569 SHA256 
c60eb9ee3cd4477d9bf0aa376989805ae11f825cef1bbef3e703ae462059d4f2 SHA512 
f177ca3b023c007dafe80369b86a1742ff334137e493c3c19ac8bda0181d2543cd2431b8ab8d2d43f30d681121324bc4f236a9ebbddf1e927b071db7c9b34ea6
 WHIRLPOOL 
2c378fab61c3419711bebd34cfd506f7953827ba504734047cf3d9dc6a05c8b51e2767dd7895b823cdb8f48fbc4bcdca9904a017a7277661e1b38898d2c939d9

diff --git a/dev-python/pygresql/pygresql-5.0.4.ebuild 
b/dev-python/pygresql/pygresql-5.0.4.ebuild
new file mode 100644
index 00000000000..5aa6ec1e3a2
--- /dev/null
+++ b/dev-python/pygresql/pygresql-5.0.4.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+POSTGRES_COMPAT=( 9.{3..6} 10 )
+PYTHON_COMPAT=( python2_7 python3_{4..6} )
+
+inherit distutils-r1 postgres
+
+MY_P="PyGreSQL-${PV}"
+
+DESCRIPTION="A Python interface for the PostgreSQL database"
+HOMEPAGE="http://www.pygresql.org/";
+SRC_URI="mirror://pypi/P/PyGreSQL/${MY_P}.tar.gz"
+
+LICENSE="POSTGRESQL"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~sparc ~x86"
+IUSE=""
+
+DEPEND="${POSTGRES_DEP}"
+
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+python_install_all() {
+       local DOCS=( docs/*.rst docs/community/* docs/contents/tutorial.rst )
+
+       distutils-r1_python_install_all
+}

Reply via email to