summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafael Martins <rafaelmartins@gentoo.org>2012-12-03 01:12:33 +0000
committerRafael Martins <rafaelmartins@gentoo.org>2012-12-03 01:12:33 +0000
commit5b7ff84038e1203315be977f128cbd223780805d (patch)
tree9708d648f9bbb374796b58a41d935bc81ad40ed7
parentApply fix for bug #445668 by Niko Böckerman <niko.bockerman@gmail.com>. (diff)
downloadgentoo-2-5b7ff84038e1203315be977f128cbd223780805d.tar.gz
gentoo-2-5b7ff84038e1203315be977f128cbd223780805d.tar.bz2
gentoo-2-5b7ff84038e1203315be977f128cbd223780805d.zip
revbump. new package database. fixed urls. fixed sourceforge svn root.
(Portage version: 2.2.0_alpha136/cvs/Linux x86_64)
-rw-r--r--app-portage/g-octave/ChangeLog9
-rw-r--r--app-portage/g-octave/files/g-octave-0.4.1-fix-sourceforge-svn-root.patch36
-rw-r--r--app-portage/g-octave/g-octave-0.4.1-r3.ebuild (renamed from app-portage/g-octave/g-octave-0.4.1-r2.ebuild)11
3 files changed, 50 insertions, 6 deletions
diff --git a/app-portage/g-octave/ChangeLog b/app-portage/g-octave/ChangeLog
index ca728597cee6..8946f80140a4 100644
--- a/app-portage/g-octave/ChangeLog
+++ b/app-portage/g-octave/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for app-portage/g-octave
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-portage/g-octave/ChangeLog,v 1.7 2012/02/26 09:06:00 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-portage/g-octave/ChangeLog,v 1.8 2012/12/03 01:12:33 rafaelmartins Exp $
+
+*g-octave-0.4.1-r3 (03 Dec 2012)
+
+ 03 Dec 2012; Rafael G. Martins <rafaelmartins@gentoo.org>
+ -g-octave-0.4.1-r2.ebuild, +g-octave-0.4.1-r3.ebuild,
+ +files/g-octave-0.4.1-fix-sourceforge-svn-root.patch:
+ revbump. new package database. fixed urls. fixed sourceforge svn root.
26 Feb 2012; Patrick Lauer <patrick@gentoo.org> g-octave-0.4.1-r2.ebuild:
Restricting python bits
diff --git a/app-portage/g-octave/files/g-octave-0.4.1-fix-sourceforge-svn-root.patch b/app-portage/g-octave/files/g-octave-0.4.1-fix-sourceforge-svn-root.patch
new file mode 100644
index 000000000000..2700f3b100dc
--- /dev/null
+++ b/app-portage/g-octave/files/g-octave-0.4.1-fix-sourceforge-svn-root.patch
@@ -0,0 +1,36 @@
+--- a/contrib/manage_pkgdb.py
++++ b/contrib/manage_pkgdb.py
+@@ -50,7 +50,7 @@ class SfUpdates:
+ # feed url from 'http://sourceforge.net/projects/octave/files/Octave%20Forge%20Packages/Individual%20Package%20Releases/'
+ feed_url = u'http://sourceforge.net/api/file/index/project-id/2888/mtime/desc/rss?path=%2FOctave%20Forge%20Packages%2FIndividual%20Package%20Releases'
+
+- svnroot_url = u'https://octave.svn.sourceforge.net/svnroot/octave/trunk/octave-forge/'
++ svnroot_url = u'http://svn.code.sf.net/p/octave/code/trunk/octave-forge'
+ categories = [u'main', u'extra', u'language', u'nonfree']
+
+ _timestamp = None
+--- a/g_octave/description.py
++++ b/g_octave/description.py
+@@ -269,7 +269,7 @@ def __getattr__(self, name):
+
+ class SvnDescription(Description):
+
+- _url = 'https://octave.svn.sourceforge.net/svnroot/octave/trunk/octave-forge'
++ _url = 'http://svn.code.sf.net/p/octave/code/trunk/octave-forge'
+
+ def __init__(self, category, package):
+ temp_desc = config_file = tempfile.mkstemp()[1]
+--- a/share/g-octave.eclass
++++ b/share/g-octave.eclass
+@@ -13,7 +13,7 @@
+ G_OCTAVE_CAT="${G_OCTAVE_CAT:-main}"
+
+
+-REPO_URI="https://octave.svn.sourceforge.net/svnroot/octave/trunk/octave-forge"
++REPO_URI="http://svn.code.sf.net/p/octave/code/trunk/octave-forge"
+ if [[ ${PV} = 9999* ]]; then
+ inherit subversion autotools
+ ESVN_REPO_URI="${REPO_URI}/${G_OCTAVE_CAT}/${PN}"
+--
+1.7.10
+
diff --git a/app-portage/g-octave/g-octave-0.4.1-r2.ebuild b/app-portage/g-octave/g-octave-0.4.1-r3.ebuild
index ca9fcfd5df04..2aa199bcf587 100644
--- a/app-portage/g-octave/g-octave-0.4.1-r2.ebuild
+++ b/app-portage/g-octave/g-octave-0.4.1-r3.ebuild
@@ -1,20 +1,20 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-portage/g-octave/g-octave-0.4.1-r2.ebuild,v 1.2 2012/02/26 09:06:00 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-portage/g-octave/g-octave-0.4.1-r3.ebuild,v 1.1 2012/12/03 01:12:33 rafaelmartins Exp $
EAPI="2"
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="2.5 *-jython"
-DB_COMMIT="f8de0c5a490a9572a7e6592f0082c3f7e039ef67"
+DB_COMMIT="bdf02cbf0a8d017c6c1bddeffd6f03d5d90695ed"
DB_DIR="rafaelmartins-${PN}-db-${DB_COMMIT:0:7}"
inherit distutils eutils
DESCRIPTION="A tool that generates and installs ebuilds for Octave-Forge"
-HOMEPAGE="http://www.g-octave.org/"
+HOMEPAGE="http://g-octave.org/"
-SRC_URI="http://www.g-octave.org/releases/${P}.tar.gz
+SRC_URI="mirror://github/rafaelmartins/${PN}/${P}.tar.gz
http://github.com/rafaelmartins/${PN}-db/tarball/${DB_COMMIT} ->
${PN}-db-${DB_COMMIT:0:7}.tar.gz"
@@ -31,6 +31,7 @@ PYTHON_MODNAME="g_octave"
src_prepare() {
distutils_src_prepare
epatch "${FILESDIR}/${P}-add_cave_support.patch"
+ epatch "${FILESDIR}/${P}-fix-sourceforge-svn-root.patch"
sed -i -e 's/^has_fetch.*$/has_fetch = False/' scripts/g-octave \
|| die 'failed to patch the g-octave main script'
}
@@ -68,7 +69,7 @@ pkg_postinst() {
elog " emerge --config =${PF}"
elog
elog "If you are upgrading from =${PN}-0.3, please read this:"
- elog "http://doc.g-octave.org/${PV}/upgrading/#from-0-3-to-0-4"
+ elog "http://docs.g-octave.org/en/latest/upgrading/#from-0-3-to-0-4"
elog
elog 'Please install the package manager that you want to use before run g-octave'
elog