summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2009-01-25 16:22:20 +0000
committerPatrick Lauer <patrick@gentoo.org>2009-01-25 16:22:20 +0000
commit727473f0d1d5a9f07a538467f4253280b18b40e6 (patch)
tree3a0b6e0b4fabea4350d7420b5b16e355d7008430 /dev-python/egenix-mx-base
parentadd x11-base/kdrive to p.mask, pending removal (diff)
downloadgentoo-2-727473f0d1d5a9f07a538467f4253280b18b40e6.tar.gz
gentoo-2-727473f0d1d5a9f07a538467f4253280b18b40e6.tar.bz2
gentoo-2-727473f0d1d5a9f07a538467f4253280b18b40e6.zip
Bump to 3.1.1, small fixes from Chris Mayo, closes #256321
(Portage version: 2.2_rc23/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/egenix-mx-base')
-rw-r--r--dev-python/egenix-mx-base/ChangeLog10
-rw-r--r--dev-python/egenix-mx-base/egenix-mx-base-3.1.1.ebuild47
2 files changed, 55 insertions, 2 deletions
diff --git a/dev-python/egenix-mx-base/ChangeLog b/dev-python/egenix-mx-base/ChangeLog
index 7bcc907c30dc..e57f196a2ecf 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 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/egenix-mx-base/ChangeLog,v 1.34 2007/08/17 15:12:00 uberlord Exp $
+# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/egenix-mx-base/ChangeLog,v 1.35 2009/01/25 16:22:20 patrick Exp $
+
+*egenix-mx-base-3.1.1 (25 Jan 2009)
+
+ 25 Jan 2009; Patrick Lauer <patrick@gentoo.org>
+ +egenix-mx-base-3.1.1.ebuild:
+ Bump to 3.1.1, small fixes from Chris Mayo, closes #256321
17 Aug 2007; Roy Marples <uberlord@gentoo.org>
egenix-mx-base-3.0.0.ebuild:
diff --git a/dev-python/egenix-mx-base/egenix-mx-base-3.1.1.ebuild b/dev-python/egenix-mx-base/egenix-mx-base-3.1.1.ebuild
new file mode 100644
index 000000000000..efa092268910
--- /dev/null
+++ b/dev-python/egenix-mx-base/egenix-mx-base-3.1.1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2009 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.1.1.ebuild,v 1.1 2009/01/25 16:22:20 patrick Exp $
+
+inherit distutils flag-o-matic
+
+DESCRIPTION="egenix utils for Python"
+HOMEPAGE="http://www.egenix.com/products/python/mxBase/"
+SRC_URI="http://www.egenix.com/files/python/${P}.tar.gz"
+
+LICENSE="eGenixPublic-1.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
+IUSE=""
+
+DEPEND=""
+RDEPEND=""
+
+PYTHON_MODNAME="mx"
+
+src_unpack() {
+ distutils_src_unpack
+ # 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"
+ distutils_src_compile
+}
+
+src_install() {
+ distutils_src_install
+ dohtml -a html -r mx
+ insinto /usr/share/doc/${PF}
+ find "${S}" -iname "*.pdf" | xargs doins
+}