diff options
author | Maxim Koltsov <maksbotan@gentoo.org> | 2011-12-24 10:42:56 +0000 |
---|---|---|
committer | Maxim Koltsov <maksbotan@gentoo.org> | 2011-12-24 10:42:56 +0000 |
commit | e354fa0bac41bb4fe1be59e7d12e1aaa9fc36158 (patch) | |
tree | 68ce42186bfc6b1b7a1f0be30f022e7a00495488 /dev-python/egenix-mx-base | |
parent | Version bump. (diff) | |
download | historical-e354fa0bac41bb4fe1be59e7d12e1aaa9fc36158.tar.gz historical-e354fa0bac41bb4fe1be59e7d12e1aaa9fc36158.tar.bz2 historical-e354fa0bac41bb4fe1be59e7d12e1aaa9fc36158.zip |
Make build system respect user CFLAGS, bug 394917
Package-Manager: portage-2.1.10.41/cvs/Linux x86_64
Diffstat (limited to 'dev-python/egenix-mx-base')
-rw-r--r-- | dev-python/egenix-mx-base/ChangeLog | 8 | ||||
-rw-r--r-- | dev-python/egenix-mx-base/Manifest | 13 | ||||
-rw-r--r-- | dev-python/egenix-mx-base/egenix-mx-base-3.2.1-r1.ebuild | 61 |
3 files changed, 70 insertions, 12 deletions
diff --git a/dev-python/egenix-mx-base/ChangeLog b/dev-python/egenix-mx-base/ChangeLog index ec118f8c74d9..0f720bfc3de1 100644 --- a/dev-python/egenix-mx-base/ChangeLog +++ b/dev-python/egenix-mx-base/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/egenix-mx-base # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/egenix-mx-base/ChangeLog,v 1.58 2011/09/12 16:22:00 neurogeek Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/egenix-mx-base/ChangeLog,v 1.59 2011/12/24 10:42:56 maksbotan Exp $ + +*egenix-mx-base-3.2.1-r1 (24 Dec 2011) + + 24 Dec 2011; Maxim Koltsov <maksbotan@gentoo.org> + +egenix-mx-base-3.2.1-r1.ebuild: + Make build system respect user CFLAGS, bug 394917 *egenix-mx-base-3.2.1 (12 Sep 2011) diff --git a/dev-python/egenix-mx-base/Manifest b/dev-python/egenix-mx-base/Manifest index 2509d0b955f6..8d0ded07b1ac 100644 --- a/dev-python/egenix-mx-base/Manifest +++ b/dev-python/egenix-mx-base/Manifest @@ -1,16 +1,7 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - DIST egenix-mx-base-3.1.3.tar.gz 8170718 RMD160 1629f25e4113493766bb0696856543dc7096c347 SHA1 4bedefb9a698bad754b8847ab6432e77d1c58227 SHA256 1cba48164817298db1cb7dde5f524023fd05fa06c75febaf886b5c7523ad83f2 DIST egenix-mx-base-3.2.1.tar.gz 4571912 RMD160 d9ca3ac5748a1feec038f8e2f7b4f639cdd3b363 SHA1 a82f7f155ea92f26f40a6a3bf9160bfac7c52a00 SHA256 4cf18ba4b4c827d8ff8de5a1a6e4cf7f241de6d1f940aa6107807c0a3003b301 EBUILD egenix-mx-base-3.1.3.ebuild 1684 RMD160 e0a2d0370092c42c6a3235444d6460ca4cd08d0c SHA1 7943b3b522bee67b92f52f3573c10bf9c6e0b103 SHA256 12abc669a2b99431469b691eac8d4b8536a2bba7ff31eab1206a20bad9efb3b6 +EBUILD egenix-mx-base-3.2.1-r1.ebuild 1786 RMD160 10d3ed75ca656aae584159a89eb6d5452e45ff92 SHA1 c65dfd071e361f7e51a6fa0c610e7c7ad0f1aa4f SHA256 03b0f73e1fda8af20bb67b71c04bd0a1139777be850747c923e493ddef78e0a8 EBUILD egenix-mx-base-3.2.1.ebuild 1696 RMD160 332799d5aed6c5073bb99d045d300ec157d3b212 SHA1 58a60a0e2bf95528558e7f1595c6d158c4d5386d SHA256 68435dabf8c8d34efeb1b711faffb7908a80391e65d44ceb071c7bc49b6e9fc3 -MISC ChangeLog 7200 RMD160 fbd84f1fa4fd350d0355f6c7c39b560fe3c3eaf4 SHA1 02cc36f18a8061f76a4b48e2c076c657020226a6 SHA256 6f804e06d28e82ebf05e66e3d9e9ef6bd7b1be7ddf58dec4b75e634b0d100b88 +MISC ChangeLog 7380 RMD160 361aae76085addf97c0e3426d3f4df98c770d503 SHA1 2adfd12c40c2119978a0aefb2ffe00b538612270 SHA256 a31da9ffaa655abbc07218bda998a6383575281e30d065b31e1eb105c5588b04 MISC metadata.xml 159 RMD160 900a8c55d7a7d2f6312594769aaf941bf9e99c7f SHA1 c8e604d56dae898258b5254d78cfeac0b981e288 SHA256 9f01104d3484792496faff4805eed0ecea2352a897151f3397d49a13800037b4 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.16 (GNU/Linux) - -iEYEARECAAYFAk5t+LMACgkQdIssYB9vBoP9OACfQdrFkDV1X0dAhiJv0j3cm5Q2 -TJsAn3kljrRh1dud7NqWyCWE9675H1Pf -=NXcO ------END PGP SIGNATURE----- diff --git a/dev-python/egenix-mx-base/egenix-mx-base-3.2.1-r1.ebuild b/dev-python/egenix-mx-base/egenix-mx-base-3.2.1-r1.ebuild new file mode 100644 index 000000000000..27e9a8de8146 --- /dev/null +++ b/dev-python/egenix-mx-base/egenix-mx-base-3.2.1-r1.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/egenix-mx-base/egenix-mx-base-3.2.1-r1.ebuild,v 1.1 2011/12/24 10:42:56 maksbotan Exp $ + +EAPI="3" +PYTHON_DEPEND="2" +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="3.* *-jython" + +inherit distutils flag-o-matic + +DESCRIPTION="eGenix utils for Python" +HOMEPAGE="http://www.egenix.com/products/python/mxBase http://pypi.python.org/pypi/egenix-mx-base" +SRC_URI="http://downloads.egenix.com/python/${P}.tar.gz" + +LICENSE="eGenixPublic-1.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris" +IUSE="" + +DEPEND="" +RDEPEND="" + +PYTHON_MODNAME="mx" + +src_prepare() { + distutils_src_prepare + # doesn't play well with -fstack-protector (#63762) + rm "mx/TextTools/Examples/pytag.py" + + # We do the optimization ourselves + sed -i \ + -e 's/^\(optimize\) = 1/\1 = 0/' \ + setup.cfg || die "sed failed" + + # And we don't want the docs in site-packages + sed -i \ + -e '/\/Doc\//d' \ + egenix_mx_base.py || die "sed failed" +} + +src_compile() { + replace-flags "-O[3s]" "-O2" + #Build system wants to have BASECFLAGS in environ, not CFLAGS. + BASECFLAGS="${CFLAGS}" distutils_src_compile +} + +src_install() { + distutils_src_install + dohtml -a html -r mx + insinto /usr/share/doc/${PF} + find -iname "*.pdf" | xargs doins + + installation_of_headers() { + dodir "$(python_get_includedir)/mx" || return 1 + find "${ED}$(python_get_sitedir)/mx" -type f -name "*.h" -print0 | while read -d $'\0' header; do + mv -f "${header}" "${ED}$(python_get_includedir)/mx" || return 1 + done + } + python_execute_function -q installation_of_headers +} |