summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-07-21 21:46:04 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-07-21 21:46:04 +0000
commitd3b3119f9fd39304d8550ac7a888d00a386fde2e (patch)
tree1c8184873b19e880b447db968e05ecf9e8ccc3a3 /dev-python/4suite
parentUpdate linguas per bug #329337. (diff)
downloadgentoo-2-d3b3119f9fd39304d8550ac7a888d00a386fde2e.tar.gz
gentoo-2-d3b3119f9fd39304d8550ac7a888d00a386fde2e.tar.bz2
gentoo-2-d3b3119f9fd39304d8550ac7a888d00a386fde2e.zip
Use -fno-strict-aliasing to avoid breaking strict-aliasing rules.
(Portage version: HEAD/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/4suite')
-rw-r--r--dev-python/4suite/4suite-1.0.2-r1.ebuild18
-rw-r--r--dev-python/4suite/ChangeLog8
2 files changed, 18 insertions, 8 deletions
diff --git a/dev-python/4suite/4suite-1.0.2-r1.ebuild b/dev-python/4suite/4suite-1.0.2-r1.ebuild
index 269ed69bae8e..8d9d2fdc8324 100644
--- a/dev-python/4suite/4suite-1.0.2-r1.ebuild
+++ b/dev-python/4suite/4suite-1.0.2-r1.ebuild
@@ -1,18 +1,20 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/4suite/4suite-1.0.2-r1.ebuild,v 1.9 2010/05/08 16:08:39 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/4suite/4suite-1.0.2-r1.ebuild,v 1.10 2010/07/21 21:46:04 arfrever Exp $
EAPI="3"
PYTHON_DEPEND="2"
SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="3.*"
inherit distutils eutils
MY_P="4Suite-XML-${PV}"
DESCRIPTION="Python tools for XML processing and object-databases."
+HOMEPAGE="http://www.4suite.org/ http://pypi.python.org/pypi/4Suite"
SRC_URI="mirror://sourceforge/foursuite/${MY_P}.tar.bz2"
-HOMEPAGE="http://www.4suite.org/"
+
LICENSE="Apache-1.1"
SLOT="0"
KEYWORDS="alpha amd64 ia64 ppc ppc64 sparc x86"
@@ -20,10 +22,11 @@ IUSE="doc"
DEPEND=">=dev-python/pyxml-0.8.4"
RDEPEND="${DEPEND}"
-RESTRICT_PYTHON_ABIS="3.*"
-PYTHON_MODNAME="Ft"
+PYTHON_CFLAGS=("2.* + -fno-strict-aliasing")
+
DOCS="docs/*.txt"
+PYTHON_MODNAME="Ft"
S=${WORKDIR}/${MY_P}
@@ -52,7 +55,10 @@ src_configure() {
}
src_install() {
- rm -fr profile test
distutils_src_install $(use_with doc docs)
- rm -fr "${ED}"usr/$(get_libdir)/python*/site-packages/{profiles,tests}
+
+ delete_profiles_and_tests() {
+ rm -fr "${ED}$(python_get_sitedir)/"{profiles,tests}
+ }
+ python_execute_function -q delete_profiles_and_tests
}
diff --git a/dev-python/4suite/ChangeLog b/dev-python/4suite/ChangeLog
index 0fbe805811a5..65ff86772fd9 100644
--- a/dev-python/4suite/ChangeLog
+++ b/dev-python/4suite/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-python/4suite
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/4suite/ChangeLog,v 1.43 2009/09/23 17:51:25 arfrever Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/4suite/ChangeLog,v 1.44 2010/07/21 21:46:04 arfrever Exp $
+
+ 21 Jul 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ 4suite-1.0.2-r1.ebuild:
+ Use -fno-strict-aliasing to avoid breaking strict-aliasing rules.
23 Sep 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
4suite-1.0.2-r1.ebuild: