dev-python/pyproj: Use append-cflags
authorJustin Lecher <jlec@gentoo.org>
Wed, 2 Sep 2015 16:39:03 +0000 (18:39 +0200)
committerJustin Lecher <jlec@gentoo.org>
Wed, 2 Sep 2015 16:53:43 +0000 (18:53 +0200)
drop old

Package-Manager: portage-2.2.20.1
Signed-off-by: Justin Lecher <jlec@gentoo.org>
dev-python/pyproj/Manifest
dev-python/pyproj/pyproj-1.9.3-r1.ebuild [deleted file]
dev-python/pyproj/pyproj-1.9.4.ebuild

index 856c3e70c2544adb5592ea384bf70d98d4001262..33d9a2c662d9098017cc6e03efd217fb34241bd2 100644 (file)
@@ -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 (file)
index 3acd9ec..0000000
+++ /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
-}
index 4078330458dd2f6bd5923a348e85556db4caeb53..57f70d65582d452cf63dc2b3d54b57ee29cbf3cc 100644 (file)
@@ -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,"