diff options
author | Fabian Groffen <grobian@gentoo.org> | 2009-10-10 17:55:45 +0000 |
---|---|---|
committer | Fabian Groffen <grobian@gentoo.org> | 2009-10-10 17:55:45 +0000 |
commit | fd1c8e9272a91a243d4b0ae255a2d7b6587dc378 (patch) | |
tree | 5b075f8d447019eeff6d3bbb8d81c233c28096cf /dev-python | |
parent | Build fix for bug #288444 by Mikael Magnusson. (diff) | |
download | historical-fd1c8e9272a91a243d4b0ae255a2d7b6587dc378.tar.gz historical-fd1c8e9272a91a243d4b0ae255a2d7b6587dc378.tar.bz2 historical-fd1c8e9272a91a243d4b0ae255a2d7b6587dc378.zip |
Merge from Prefix
Package-Manager: portage-2.2.00.14552-prefix/cvs/Darwin powerpc
RepoMan-Options: --force
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/matplotlib/ChangeLog | 7 | ||||
-rw-r--r-- | dev-python/matplotlib/files/matplotlib-0.99.0-freebsd7+.patch | 14 | ||||
-rw-r--r-- | dev-python/matplotlib/files/matplotlib-0.99.1.1-prefix.patch | 49 | ||||
-rw-r--r-- | dev-python/matplotlib/matplotlib-0.99.1.1.ebuild | 20 | ||||
-rw-r--r-- | dev-python/mechanize/ChangeLog | 5 | ||||
-rw-r--r-- | dev-python/mechanize/mechanize-0.1.11.ebuild | 4 | ||||
-rw-r--r-- | dev-python/medusa/ChangeLog | 7 | ||||
-rw-r--r-- | dev-python/medusa/medusa-0.5.4.ebuild | 9 | ||||
-rw-r--r-- | dev-python/mocker/ChangeLog | 5 | ||||
-rw-r--r-- | dev-python/mocker/mocker-0.10.1.ebuild | 4 | ||||
-rw-r--r-- | dev-python/mysql-python/ChangeLog | 6 | ||||
-rw-r--r-- | dev-python/mysql-python/mysql-python-1.2.3_rc1.ebuild | 4 |
12 files changed, 111 insertions, 23 deletions
diff --git a/dev-python/matplotlib/ChangeLog b/dev-python/matplotlib/ChangeLog index 3828984f6e64..0185741ffbb1 100644 --- a/dev-python/matplotlib/ChangeLog +++ b/dev-python/matplotlib/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-python/matplotlib # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/matplotlib/ChangeLog,v 1.72 2009/10/09 19:07:58 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/matplotlib/ChangeLog,v 1.73 2009/10/10 17:49:39 grobian Exp $ + + 10 Oct 2009; Fabian Groffen <grobian@gentoo.org> + +files/matplotlib-0.99.0-freebsd7+.patch, matplotlib-0.99.1.1.ebuild, + +files/matplotlib-0.99.1.1-prefix.patch: + Merge from Prefix 09 Oct 2009; Sébastien Fabbro <bicatali@gentoo.org> -matplotlib-0.99.0.ebuild, matplotlib-0.99.1.1.ebuild: diff --git a/dev-python/matplotlib/files/matplotlib-0.99.0-freebsd7+.patch b/dev-python/matplotlib/files/matplotlib-0.99.0-freebsd7+.patch new file mode 100644 index 000000000000..88c7db018ca2 --- /dev/null +++ b/dev-python/matplotlib/files/matplotlib-0.99.0-freebsd7+.patch @@ -0,0 +1,14 @@ +add support for FreeBSD 7 and 8 +http://bugs.gentoo.org/show_bug.cgi?id=282059 + +--- setupext.py ++++ setupext.py +@@ -54,6 +54,8 @@ + 'freebsd4' : [], + 'freebsd5' : [], + 'freebsd6' : [], ++ 'freebsd7' : [], ++ 'freebsd8' : [], + 'sunos5' : [], + 'gnukfreebsd5' : [], + 'gnukfreebsd6' : [], diff --git a/dev-python/matplotlib/files/matplotlib-0.99.1.1-prefix.patch b/dev-python/matplotlib/files/matplotlib-0.99.1.1-prefix.patch new file mode 100644 index 000000000000..53d389850811 --- /dev/null +++ b/dev-python/matplotlib/files/matplotlib-0.99.1.1-prefix.patch @@ -0,0 +1,49 @@ +--- setupext.py ++++ setupext.py +@@ -46,12 +46,11 @@ + import subprocess + + basedir = { +- 'win32' : ['win32_static',], +- 'linux2' : ['/usr/local', '/usr'], +- 'linux' : ['/usr/local', '/usr',], +- 'cygwin' : ['/usr/local', '/usr',], +- '_darwin' : ['/sw/lib/freetype2', '/sw/lib/freetype219', '/usr/local', +- '/usr', '/sw'], ++ 'win32' : [], ++ 'linux2' : [], ++ 'linux' : [], ++ 'cygwin' : [], ++ '_darwin' : [], + # it appears builds with darwin are broken because of all the + # different flags the deps can be compile with, so I am pushing + # people to : +@@ -59,13 +58,13 @@ + + 'darwin' : [], + +- 'freebsd4' : ['/usr/local', '/usr'], +- 'freebsd5' : ['/usr/local', '/usr'], +- 'freebsd6' : ['/usr/local', '/usr'], +- 'sunos5' : [os.getenv('MPLIB_BASE') or '/usr/local',], +- 'gnukfreebsd5' : ['/usr/local', '/usr'], +- 'gnukfreebsd6' : ['/usr/local', '/usr'], +- 'aix5' : ['/usr/local'], ++ 'freebsd4' : [], ++ 'freebsd5' : [], ++ 'freebsd6' : [], ++ 'sunos5' : [], ++ 'gnukfreebsd5' : [], ++ 'gnukfreebsd6' : [], ++ 'aix5' : [], + } + + import sys, os, stat +@@ -328,6 +327,7 @@ + + module.include_dirs.extend(incdirs) + module.include_dirs.append('.') ++ module.include_dirs.append(os.path.join(sys.prefix, 'include')) + module.library_dirs.extend(libdirs) + + def getoutput(s): diff --git a/dev-python/matplotlib/matplotlib-0.99.1.1.ebuild b/dev-python/matplotlib/matplotlib-0.99.1.1.ebuild index f919cd529f27..9ae48583ccb8 100644 --- a/dev-python/matplotlib/matplotlib-0.99.1.1.ebuild +++ b/dev-python/matplotlib/matplotlib-0.99.1.1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/matplotlib/matplotlib-0.99.1.1.ebuild,v 1.3 2009/10/09 19:07:58 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/matplotlib/matplotlib-0.99.1.1.ebuild,v 1.4 2009/10/10 17:49:39 grobian Exp $ WX_GTK_VER=2.8 EAPI=2 @@ -14,7 +14,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" IUSE="cairo doc excel examples fltk gtk latex qt3 qt4 traits tk wxwidgets" SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86" +KEYWORDS="~amd64 ~ppc ~x86 ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" LICENSE="PYTHON BSD" CDEPEND=">=dev-python/numpy-1.1 @@ -78,6 +78,11 @@ src_prepare() { # avoid to launch xv while building examples docs epatch "${FILESDIR}"/${PN}-0.98.5.2-no-xv.patch + # removes hardcoded lib paths, should not break non-Prefix, more + # likely to fix it in case of multilib + epatch "${FILESDIR}"/${P}-prefix.patch + epatch "${FILESDIR}"/${PN}-0.99.0-freebsd7+.patch + # create setup.cfg (see setup.cfg.template for any changes) cat > setup.cfg <<-EOF [provide_packages] @@ -113,8 +118,8 @@ src_prepare() { || die "sed setup.py for FHS failed" sed -i \ - -e "s:path = get_data_path():path = '/etc/matplotlib':" \ - -e "s:os.path.dirname(__file__):'/usr/share/${PN}':g" \ + -e "s:path = get_data_path():path = '${EPREFIX}/etc/matplotlib':" \ + -e "s:os.path.dirname(__file__):'${EPREFIX}/usr/share/${PN}':g" \ lib/matplotlib/{__init__,config/cutils}.py \ || die "sed init for FHS failed" @@ -125,7 +130,7 @@ src_prepare() { lib/matplotlib/mpl-data/fonts/ttf/{Vera*,cm*,*.TXT} \ || die "removed internal copies failed" python_version - ln -s /usr/share/python${PYVER}/CXX . || die + ln -s "${EPREFIX}"/usr/share/python${PYVER}/CXX . || die # remove pyparsing only when upstream pyparsing included matplotlib # fixes. See bug #260025 @@ -159,12 +164,13 @@ src_test() { } src_install() { + [[ -z ${ED} ]] && local ED=${D} distutils_src_install # respect FHS dodir /usr/share/${PN} - mv "${D}"/usr/*/*/site-packages/${PN}/{mpl-data,backends/Matplotlib.nib} \ - "${D}"/usr/share/${PN} || die "failed renaming" + mv "${ED}"/usr/*/*/site-packages/${PN}/{mpl-data,backends/Matplotlib.nib} \ + "${ED}"/usr/share/${PN} || die "failed renaming" insinto /etc/matplotlib doins matplotlibrc matplotlib.conf \ || die "installing config files failed" diff --git a/dev-python/mechanize/ChangeLog b/dev-python/mechanize/ChangeLog index a183d7fcee21..718e0f700fb4 100644 --- a/dev-python/mechanize/ChangeLog +++ b/dev-python/mechanize/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-python/mechanize # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/mechanize/ChangeLog,v 1.14 2009/04/26 19:26:56 ranger Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/mechanize/ChangeLog,v 1.15 2009/10/10 17:51:10 grobian Exp $ + + 10 Oct 2009; Fabian Groffen <grobian@gentoo.org> mechanize-0.1.11.ebuild: + Merge from Prefix 26 Apr 2009; Brent Baude <ranger@gentoo.org> mechanize-0.1.11.ebuild: stable ppc, bug 266357 diff --git a/dev-python/mechanize/mechanize-0.1.11.ebuild b/dev-python/mechanize/mechanize-0.1.11.ebuild index bd31cddbe126..1e6c19bc12af 100644 --- a/dev-python/mechanize/mechanize-0.1.11.ebuild +++ b/dev-python/mechanize/mechanize-0.1.11.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/mechanize/mechanize-0.1.11.ebuild,v 1.3 2009/04/26 19:26:56 ranger Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/mechanize/mechanize-0.1.11.ebuild,v 1.4 2009/10/10 17:51:10 grobian Exp $ NEED_PYTHON=2.4 @@ -12,7 +12,7 @@ SRC_URI="http://wwwsearch.sourceforge.net/${PN}/src/${P}.tar.gz" LICENSE="|| ( BSD ZPL )" SLOT="0" -KEYWORDS="amd64 ~ia64 ppc x86" +KEYWORDS="amd64 ~ia64 ppc x86 ~amd64-linux ~ia64-linux ~x86-linux ~x86-macos" IUSE="" DEPEND=">=dev-python/clientform-0.2.7" diff --git a/dev-python/medusa/ChangeLog b/dev-python/medusa/ChangeLog index 074f94ee43a9..6a95e1e30632 100644 --- a/dev-python/medusa/ChangeLog +++ b/dev-python/medusa/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-python/medusa -# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/medusa/ChangeLog,v 1.23 2008/10/24 11:20:35 armin76 Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/medusa/ChangeLog,v 1.24 2009/10/10 17:53:09 grobian Exp $ + + 10 Oct 2009; Fabian Groffen <grobian@gentoo.org> medusa-0.5.4.ebuild: + Merge from Prefix 24 Oct 2008; Raúl Porcel <armin76@gentoo.org> medusa-0.5.4.ebuild: sparc stable wrt #241740 diff --git a/dev-python/medusa/medusa-0.5.4.ebuild b/dev-python/medusa/medusa-0.5.4.ebuild index c4c59f2ad5c5..254880e201da 100644 --- a/dev-python/medusa/medusa-0.5.4.ebuild +++ b/dev-python/medusa/medusa-0.5.4.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2008 Gentoo Foundation +# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/medusa/medusa-0.5.4.ebuild,v 1.16 2008/10/24 11:20:35 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/medusa/medusa-0.5.4.ebuild,v 1.17 2009/10/10 17:53:09 grobian Exp $ inherit distutils @@ -13,13 +13,14 @@ SRC_URI="http://www.amk.ca/files/python/${P}.tar.gz" IUSE="" LICENSE="PYTHON" SLOT="0" -KEYWORDS="amd64 ~hppa ia64 ppc sparc x86 ~x86-fbsd" +KEYWORDS="amd64 ~hppa ia64 ppc sparc x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" src_install() { + [[ -z ${ED} ]] && local ED=${D} DOCS="CHANGES.txt docs/*.txt" distutils_src_install dodir /usr/share/doc/${PF}/example - cp -r demo/* ${D}/usr/share/doc/${PF}/example + cp -r demo/* ${ED}/usr/share/doc/${PF}/example dohtml docs/*.html docs/*.gif } diff --git a/dev-python/mocker/ChangeLog b/dev-python/mocker/ChangeLog index a64959709854..65da25208cc4 100644 --- a/dev-python/mocker/ChangeLog +++ b/dev-python/mocker/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-python/mocker # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/mocker/ChangeLog,v 1.2 2009/02/15 22:30:06 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/mocker/ChangeLog,v 1.3 2009/10/10 17:54:20 grobian Exp $ + + 10 Oct 2009; Fabian Groffen <grobian@gentoo.org> mocker-0.10.1.ebuild: + Merge from Prefix 15 Feb 2009; Patrick Lauer <patrick@gentoo.org> mocker-0.10.1.ebuild: Adding ~amd64 keyword diff --git a/dev-python/mocker/mocker-0.10.1.ebuild b/dev-python/mocker/mocker-0.10.1.ebuild index 2f8dfb947a6a..37cacb86b3c1 100644 --- a/dev-python/mocker/mocker-0.10.1.ebuild +++ b/dev-python/mocker/mocker-0.10.1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/mocker/mocker-0.10.1.ebuild,v 1.3 2009/02/15 22:30:06 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/mocker/mocker-0.10.1.ebuild,v 1.4 2009/10/10 17:54:20 grobian Exp $ inherit distutils @@ -8,7 +8,7 @@ DESCRIPTION="Platform for Python test doubles: mocks, stubs, fakes, and dummies" HOMEPAGE="http://labix.org/mocker" SRC_URI="http://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.bz2" LICENSE="PSF-2.4" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~x86-macos" SLOT="0" IUSE="" diff --git a/dev-python/mysql-python/ChangeLog b/dev-python/mysql-python/ChangeLog index c08ec66a7749..3525abc371ee 100644 --- a/dev-python/mysql-python/ChangeLog +++ b/dev-python/mysql-python/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-python/mysql-python # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/mysql-python/ChangeLog,v 1.64 2009/10/07 17:45:21 nixnut Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/mysql-python/ChangeLog,v 1.65 2009/10/10 17:55:45 grobian Exp $ + + 10 Oct 2009; Fabian Groffen <grobian@gentoo.org> + mysql-python-1.2.3_rc1.ebuild: + Merge from Prefix 07 Oct 2009; nixnut <nixnut@gentoo.org> mysql-python-1.2.3_rc1.ebuild: ppc stable #284574 diff --git a/dev-python/mysql-python/mysql-python-1.2.3_rc1.ebuild b/dev-python/mysql-python/mysql-python-1.2.3_rc1.ebuild index 1bc0ed3b592f..9721e5c9e3e6 100644 --- a/dev-python/mysql-python/mysql-python-1.2.3_rc1.ebuild +++ b/dev-python/mysql-python/mysql-python-1.2.3_rc1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/mysql-python/mysql-python-1.2.3_rc1.ebuild,v 1.6 2009/10/07 17:45:21 nixnut Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/mysql-python/mysql-python-1.2.3_rc1.ebuild,v 1.7 2009/10/10 17:55:45 grobian Exp $ NEED_PYTHON=2.3 @@ -13,7 +13,7 @@ SRC_URI="mirror://sourceforge/mysql-python/${MY_P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="alpha amd64 hppa ia64 ppc ~ppc64 sparc x86 ~x86-fbsd" +KEYWORDS="alpha amd64 hppa ia64 ppc ~ppc64 sparc x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris" IUSE="" RDEPEND="virtual/mysql" |