summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2015-09-02 18:39:03 +0200
committerJustin Lecher <jlec@gentoo.org>2015-09-02 18:53:43 +0200
commitc17c855182a95738722d2e6470d01e6663c2e005 (patch)
tree644cbe486c1dcbe6433d8fc1296a29d038706391 /dev-python/pyproj
parentdev-python/pypgsql: Use append-cflags (diff)
downloadgentoo-c17c855182a95738722d2e6470d01e6663c2e005.tar.gz
gentoo-c17c855182a95738722d2e6470d01e6663c2e005.tar.bz2
gentoo-c17c855182a95738722d2e6470d01e6663c2e005.zip
dev-python/pyproj: Use append-cflags
drop old Package-Manager: portage-2.2.20.1 Signed-off-by: Justin Lecher <jlec@gentoo.org>
Diffstat (limited to 'dev-python/pyproj')
-rw-r--r--dev-python/pyproj/Manifest1
-rw-r--r--dev-python/pyproj/pyproj-1.9.3-r1.ebuild24
-rw-r--r--dev-python/pyproj/pyproj-1.9.4.ebuild8
3 files changed, 6 insertions, 27 deletions
diff --git a/dev-python/pyproj/Manifest b/dev-python/pyproj/Manifest
index 856c3e70c254..33d9a2c662d9 100644
--- a/dev-python/pyproj/Manifest
+++ b/dev-python/pyproj/Manifest
@@ -1,2 +1 @@
-DIST pyproj-1.9.3.tar.gz 2687498 SHA256 912ed86c5e407f091d0f3d076594af4fb569e27c68199b7d71651edd522aaa0c SHA512 a365da012bf7b9adc8069896bdeabf88ff3d260b643e49b8a74edccc3b65aab10ec96116353fbb45c73ce1027c9b4e80aae566c6b28e149110b16cd8405cda30 WHIRLPOOL b6008b4879722e6e6ce82fbda22a5d8f57e6484f74d2607c19087130f833188ee76d1bc40ffd205babb25b9e7ea983c80bc1bd7555dd83f2473f2950421e7c62
DIST pyproj-1.9.4.tar.gz 7838454 SHA256 71b4d8c52d781e2b4afe2d3609e9d700cb631ddbf51060bc702644733cc70869 SHA512 96b118e75ba8360ca56176631c44567c7b6596f98189a99bfbdc2d0f8bff1bba814a86d66ac1c54964951a3534c2a5cfb54a0fc4d8eda52c77069a8b64f8db3a WHIRLPOOL 750f466566aab3d2edb155407f37efc7f514901bd782b5be589f1c788059c81c8e17e519d53410be169cec971aa3524268bd86e08f9f90a1e2b742343f6b0ae2
diff --git a/dev-python/pyproj/pyproj-1.9.3-r1.ebuild b/dev-python/pyproj/pyproj-1.9.3-r1.ebuild
deleted file mode 100644
index 3acd9ec685c6..000000000000
--- a/dev-python/pyproj/pyproj-1.9.3-r1.ebuild
+++ /dev/null
@@ -1,24 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-PYTHON_COMPAT=( python2_7 )
-
-inherit distutils-r1
-
-DESCRIPTION="Python interface to PROJ.4 library"
-HOMEPAGE="https://code.google.com/p/pyproj/ https://pypi.python.org/pypi/pyproj"
-SRC_URI="https://pyproj.googlecode.com/files/${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux"
-IUSE="doc"
-
-CFLAGS="${CFLAGS} -fno-strict-aliasing"
-
-python_install_all() {
- use doc && local HTML_DOCS=( docs/. )
- distutils-r1_python_install_all
-}
diff --git a/dev-python/pyproj/pyproj-1.9.4.ebuild b/dev-python/pyproj/pyproj-1.9.4.ebuild
index 4078330458dd..57f70d65582d 100644
--- a/dev-python/pyproj/pyproj-1.9.4.ebuild
+++ b/dev-python/pyproj/pyproj-1.9.4.ebuild
@@ -3,9 +3,10 @@
# $Id$
EAPI=5
+
PYTHON_COMPAT=( python2_7 )
-inherit distutils-r1
+inherit distutils-r1 flag-o-matic
DESCRIPTION="Python interface to PROJ.4 library"
HOMEPAGE="https://github.com/jswhit/pyproj"
@@ -16,7 +17,10 @@ SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux"
IUSE="doc"
-CFLAGS="${CFLAGS} -fno-strict-aliasing"
+python_prepare_all() {
+ distutils-r1_python_prepare_all
+ append-cflags -fno-strict-aliasing
+}
python_test() {
einfo "Testruns do not have regular unittest type tests, instead for test.py,"