summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Delaney <idella4@gentoo.org>2014-07-18 05:00:36 +0000
committerIan Delaney <idella4@gentoo.org>2014-07-18 05:00:36 +0000
commitad6b51a1a1c37836a955064be855a8225d0c0721 (patch)
tree990091669504dff0990655784621285ebbae10f5 /dev-python/geoip-python
parentUpdate deps. (diff)
downloadgentoo-2-ad6b51a1a1c37836a955064be855a8225d0c0721.tar.gz
gentoo-2-ad6b51a1a1c37836a955064be855a8225d0c0721.tar.bz2
gentoo-2-ad6b51a1a1c37836a955064be855a8225d0c0721.zip
bump; virtual rewrite, add py3 pypy support, patch by A. Ryan submitted in Bug #517210, fixes said bug
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
Diffstat (limited to 'dev-python/geoip-python')
-rw-r--r--dev-python/geoip-python/ChangeLog8
-rw-r--r--dev-python/geoip-python/geoip-python-1.3.1.ebuild37
2 files changed, 44 insertions, 1 deletions
diff --git a/dev-python/geoip-python/ChangeLog b/dev-python/geoip-python/ChangeLog
index 2ce05c004ac6..8766d7510524 100644
--- a/dev-python/geoip-python/ChangeLog
+++ b/dev-python/geoip-python/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-python/geoip-python
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/geoip-python/ChangeLog,v 1.36 2014/03/05 15:36:32 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/geoip-python/ChangeLog,v 1.37 2014/07/18 05:00:36 idella4 Exp $
+
+*geoip-python-1.3.1 (18 Jul 2014)
+
+ 18 Jul 2014; Ian Delaney <idella4@gentoo.org> +geoip-python-1.3.1.ebuild:
+ bump; virtual rewrite, add py3 pypy support, patch by A. Ryan submitted in Bug
+ #517210, fixes said bug
05 Mar 2014; Agostino Sarubbo <ago@gentoo.org> geoip-python-1.2.8-r1.ebuild:
Stable for ppc, wrt bug #495586
diff --git a/dev-python/geoip-python/geoip-python-1.3.1.ebuild b/dev-python/geoip-python/geoip-python-1.3.1.ebuild
new file mode 100644
index 000000000000..fc781125a53d
--- /dev/null
+++ b/dev-python/geoip-python/geoip-python-1.3.1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/geoip-python/geoip-python-1.3.1.ebuild,v 1.1 2014/07/18 05:00:36 idella4 Exp $
+
+EAPI=5
+PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy )
+
+inherit distutils-r1
+
+MY_PN="geoip-api-python"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Python bindings for GeoIP"
+HOMEPAGE="https://github.com/maxmind/geoip-api-python"
+SRC_URI="https://github.com/maxmind/geoip-api-python/archive/v${PV}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86 ~x86-fbsd"
+IUSE="test"
+
+RDEPEND=">=dev-libs/geoip-1.4.8"
+DEPEND="${RDEPEND}
+ test? ( dev-python/nose[${PYTHON_USEDEP}] )"
+
+S="${WORKDIR}/${MY_P}"
+
+DOCS=( README.rst ChangeLog.md )
+
+python_compile() {
+ python_is_python3 || local -x CFLAGS="${CFLAGS} -fno-strict-aliasing"
+ distutils-r1_python_compile
+}
+
+python_test() {
+ esetup.py test
+}