summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2013-10-09 22:12:15 +0000
committerMike Gilbert <floppym@gentoo.org>2013-10-09 22:12:15 +0000
commit9da787649f1cce19fee19858a325860af3237d47 (patch)
treeee6654a5f8ff28acd845d34bf1b210b85e48025e
parentVersion bump. (diff)
downloadgentoo-2-9da787649f1cce19fee19858a325860af3237d47.tar.gz
gentoo-2-9da787649f1cce19fee19858a325860af3237d47.tar.bz2
gentoo-2-9da787649f1cce19fee19858a325860af3237d47.zip
Fix docs installation, bug 487448 by Juergen Rose. Add -fno-strict-aliasing to CFLAGS.
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 0BBEEA1FEA4843A4)
-rw-r--r--dev-python/traits/ChangeLog6
-rw-r--r--dev-python/traits/traits-4.3.0-r1.ebuild10
2 files changed, 12 insertions, 4 deletions
diff --git a/dev-python/traits/ChangeLog b/dev-python/traits/ChangeLog
index e5bc66f9b386..e357290e70be 100644
--- a/dev-python/traits/ChangeLog
+++ b/dev-python/traits/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-python/traits
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/traits/ChangeLog,v 1.41 2013/08/25 08:47:38 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/traits/ChangeLog,v 1.42 2013/10/09 22:12:15 floppym Exp $
+
+ 09 Oct 2013; Mike Gilbert <floppym@gentoo.org> traits-4.3.0-r1.ebuild:
+ Fix docs installation, bug 487448 by Juergen Rose. Add -fno-strict-aliasing to
+ CFLAGS.
25 Aug 2013; Justin Lecher <jlec@gentoo.org> traits-4.3.0-r1.ebuild:
add missing distutils-r1_python_install_all
diff --git a/dev-python/traits/traits-4.3.0-r1.ebuild b/dev-python/traits/traits-4.3.0-r1.ebuild
index 807706b66b04..6c68fe595820 100644
--- a/dev-python/traits/traits-4.3.0-r1.ebuild
+++ b/dev-python/traits/traits-4.3.0-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/traits/traits-4.3.0-r1.ebuild,v 1.3 2013/08/25 08:47:38 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/traits/traits-4.3.0-r1.ebuild,v 1.4 2013/10/09 22:12:15 floppym Exp $
EAPI=5
@@ -22,13 +22,16 @@ DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
test? ( dev-python/numpy[${PYTHON_USEDEP}] )"
-DOCS=( docs/*.txt )
-
python_prepare_all() {
sed -i -e "s/'-O3'//g" setup.py || die
distutils-r1_python_prepare_all
}
+python_compile() {
+ python_is_python3 || local -x CFLAGS="${CFLAGS} -fno-strict-aliasing"
+ distutils-r1_python_compile
+}
+
python_compile_all() {
use doc && virtualmake -C docs html
}
@@ -39,6 +42,7 @@ python_test() {
}
python_install_all() {
+ local DOCS=( docs/*.txt )
use doc && HTML_DOCS=( docs/build/html/. )
distutils-r1_python_install_all