dev-python/pyproj: Use append-cflags

drop old

Package-Manager: portage-2.2.20.1
Signed-off-by: Justin Lecher <jlec@gentoo.org>
This commit is contained in:
Justin Lecher
2015-09-02 18:39:03 +02:00
parent 04e699c9ca
commit c17c855182
3 changed files with 6 additions and 27 deletions

View 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

View File

@@ -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
}

View 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,"