public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-python/egenix-mx-base: egenix-mx-base-3.2.2.ebuild ChangeLog
@ 2012-03-09  9:54 Patrick Lauer (patrick)
  0 siblings, 0 replies; only message in thread
From: Patrick Lauer (patrick) @ 2012-03-09  9:54 UTC (permalink / raw
  To: gentoo-commits

patrick     12/03/09 09:54:22

  Modified:             ChangeLog
  Added:                egenix-mx-base-3.2.2.ebuild
  Log:
  Bump
  
  (Portage version: 2.2.0_alpha90/cvs/Linux x86_64)

Revision  Changes    Path
1.66                 dev-python/egenix-mx-base/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/egenix-mx-base/ChangeLog?rev=1.66&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/egenix-mx-base/ChangeLog?rev=1.66&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/egenix-mx-base/ChangeLog?r1=1.65&r2=1.66

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-python/egenix-mx-base/ChangeLog,v
retrieving revision 1.65
retrieving revision 1.66
diff -u -r1.65 -r1.66
--- ChangeLog	20 Feb 2012 09:59:15 -0000	1.65
+++ ChangeLog	9 Mar 2012 09:54:22 -0000	1.66
@@ -1,6 +1,11 @@
 # ChangeLog for dev-python/egenix-mx-base
 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/egenix-mx-base/ChangeLog,v 1.65 2012/02/20 09:59:15 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/egenix-mx-base/ChangeLog,v 1.66 2012/03/09 09:54:22 patrick Exp $
+
+*egenix-mx-base-3.2.2 (09 Mar 2012)
+
+  09 Mar 2012; Patrick Lauer <patrick@gentoo.org> +egenix-mx-base-3.2.2.ebuild:
+  Bump
 
   20 Feb 2012; Patrick Lauer <patrick@gentoo.org> egenix-mx-base-3.1.3.ebuild,
   egenix-mx-base-3.2.1-r1.ebuild, egenix-mx-base-3.2.1.ebuild:



1.1                  dev-python/egenix-mx-base/egenix-mx-base-3.2.2.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/egenix-mx-base/egenix-mx-base-3.2.2.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/egenix-mx-base/egenix-mx-base-3.2.2.ebuild?rev=1.1&content-type=text/plain

Index: egenix-mx-base-3.2.2.ebuild
===================================================================
# Copyright 1999-2012 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.2.ebuild,v 1.1 2012/03/09 09:54:22 patrick Exp $

EAPI="3"
PYTHON_DEPEND="2"
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="3.* *-jython 2.7-pypy-*"

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
}






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-03-09  9:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-09  9:54 [gentoo-commits] gentoo-x86 commit in dev-python/egenix-mx-base: egenix-mx-base-3.2.2.ebuild ChangeLog Patrick Lauer (patrick)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox