aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2010-05-29 23:49:27 -0300
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2010-05-29 23:49:27 -0300
commit5ff74c0179c2c7a2353c213c2f97742e1f4758da (patch)
tree1f7f1329a945aa01759a40a47531a27a309de434 /tests
parentfixes in the g_octave.* modules to be able to run the tests (diff)
downloadg-octave-5ff74c0179c2c7a2353c213c2f97742e1f4758da.tar.gz
g-octave-5ff74c0179c2c7a2353c213c2f97742e1f4758da.tar.bz2
g-octave-5ff74c0179c2c7a2353c213c2f97742e1f4758da.zip
added sample ebuilds to help the tests/test_ebuild.py test suite
Diffstat (limited to 'tests')
-rw-r--r--tests/files/ebuilds/extra1-0.0.1.ebuild32
-rw-r--r--tests/files/ebuilds/extra2-0.0.1.ebuild27
-rw-r--r--tests/files/ebuilds/language1-0.0.1.ebuild32
-rw-r--r--tests/files/ebuilds/language2-0.0.1.ebuild27
-rw-r--r--tests/files/ebuilds/main1-0.0.1.ebuild32
-rw-r--r--tests/files/ebuilds/main2-0.0.1.ebuild27
6 files changed, 177 insertions, 0 deletions
diff --git a/tests/files/ebuilds/extra1-0.0.1.ebuild b/tests/files/ebuilds/extra1-0.0.1.ebuild
new file mode 100644
index 0000000..7853983
--- /dev/null
+++ b/tests/files/ebuilds/extra1-0.0.1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# This ebuild was generated by g-octave
+
+EAPI="3"
+
+inherit octave-forge eutils
+
+DESCRIPTION="This is the Extra 1 description"
+HOMEPAGE="http://extra1.org"
+SRC_URI="mirror://sourceforge/octave/${OCT_P}.tar.gz"
+
+LICENSE="|| ( GPL-2 GPL-3 LGPL BSD GFDL )"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+# it's annoying have to see the download of packages from the official
+# mirrors fail with a 404 error.
+RESTRICT="mirror"
+
+DEPEND=">sci-mathematics/pkg4-1.0.0
+ >=sci-mathematics/pkg1-4.3.2
+ <sci-mathematics/pkg2-1.2.3
+ sci-mathematics/pkg3"
+RDEPEND="${DEPEND}
+ >=sci-mathematics/octave-3.2.0"
+
+src_prepare() {
+ epatch "${FILESDIR}/001_extra1-0.0.1.patch"
+ epatch "${FILESDIR}/002_extra1-0.0.1.patch"
+}
diff --git a/tests/files/ebuilds/extra2-0.0.1.ebuild b/tests/files/ebuilds/extra2-0.0.1.ebuild
new file mode 100644
index 0000000..812dfc7
--- /dev/null
+++ b/tests/files/ebuilds/extra2-0.0.1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# This ebuild was generated by g-octave
+
+EAPI="3"
+
+inherit octave-forge
+
+DESCRIPTION="This is the Extra 2 description"
+HOMEPAGE="http://extra2.org"
+SRC_URI="mirror://sourceforge/octave/${OCT_P}.tar.gz"
+
+LICENSE="|| ( GPL-2 GPL-3 LGPL BSD GFDL )"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+# it's annoying have to see the download of packages from the official
+# mirrors fail with a 404 error.
+RESTRICT="mirror"
+
+DEPEND=">sci-mathematics/pkg8-1.0.0
+ >=sci-mathematics/pkg5-4.3.2
+ <sci-mathematics/pkg6-1.2.3
+ sci-mathematics/pkg7"
+RDEPEND="${DEPEND}
+ >=sci-mathematics/octave-3.2.0"
diff --git a/tests/files/ebuilds/language1-0.0.1.ebuild b/tests/files/ebuilds/language1-0.0.1.ebuild
new file mode 100644
index 0000000..da9f6e5
--- /dev/null
+++ b/tests/files/ebuilds/language1-0.0.1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# This ebuild was generated by g-octave
+
+EAPI="3"
+
+inherit octave-forge eutils
+
+DESCRIPTION="This is the Language 1 description"
+HOMEPAGE="http://language1.org"
+SRC_URI="mirror://sourceforge/octave/${OCT_P}.tar.gz"
+
+LICENSE="|| ( GPL-2 GPL-3 LGPL BSD GFDL )"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+# it's annoying have to see the download of packages from the official
+# mirrors fail with a 404 error.
+RESTRICT="mirror"
+
+DEPEND=">sci-mathematics/pkg4-1.0.0
+ >=sci-mathematics/pkg1-4.3.2
+ <sci-mathematics/pkg2-1.2.3
+ sci-mathematics/pkg3"
+RDEPEND="${DEPEND}
+ >=sci-mathematics/octave-3.2.0"
+
+src_prepare() {
+ epatch "${FILESDIR}/001_language1-0.0.1.patch"
+ epatch "${FILESDIR}/002_language1-0.0.1.patch"
+}
diff --git a/tests/files/ebuilds/language2-0.0.1.ebuild b/tests/files/ebuilds/language2-0.0.1.ebuild
new file mode 100644
index 0000000..3eacb41
--- /dev/null
+++ b/tests/files/ebuilds/language2-0.0.1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# This ebuild was generated by g-octave
+
+EAPI="3"
+
+inherit octave-forge
+
+DESCRIPTION="This is the Language 2 description"
+HOMEPAGE="http://language2.org"
+SRC_URI="mirror://sourceforge/octave/${OCT_P}.tar.gz"
+
+LICENSE="|| ( GPL-2 GPL-3 LGPL BSD GFDL )"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+# it's annoying have to see the download of packages from the official
+# mirrors fail with a 404 error.
+RESTRICT="mirror"
+
+DEPEND=">sci-mathematics/pkg8-1.0.0
+ >=sci-mathematics/pkg5-4.3.2
+ <sci-mathematics/pkg6-1.2.3
+ sci-mathematics/pkg7"
+RDEPEND="${DEPEND}
+ >=sci-mathematics/octave-3.2.0"
diff --git a/tests/files/ebuilds/main1-0.0.1.ebuild b/tests/files/ebuilds/main1-0.0.1.ebuild
new file mode 100644
index 0000000..4a78dc7
--- /dev/null
+++ b/tests/files/ebuilds/main1-0.0.1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# This ebuild was generated by g-octave
+
+EAPI="3"
+
+inherit octave-forge eutils
+
+DESCRIPTION="This is the Main 1 description"
+HOMEPAGE="http://main1.org"
+SRC_URI="mirror://sourceforge/octave/${OCT_P}.tar.gz"
+
+LICENSE="|| ( GPL-2 GPL-3 LGPL BSD GFDL )"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+# it's annoying have to see the download of packages from the official
+# mirrors fail with a 404 error.
+RESTRICT="mirror"
+
+DEPEND=">sci-mathematics/pkg4-1.0.0
+ >=sci-mathematics/pkg1-4.3.2
+ <sci-mathematics/pkg2-1.2.3
+ sci-mathematics/pkg3"
+RDEPEND="${DEPEND}
+ >=sci-mathematics/octave-3.0.0"
+
+src_prepare() {
+ epatch "${FILESDIR}/001_main1-0.0.1.patch"
+ epatch "${FILESDIR}/002_main1-0.0.1.patch"
+}
diff --git a/tests/files/ebuilds/main2-0.0.1.ebuild b/tests/files/ebuilds/main2-0.0.1.ebuild
new file mode 100644
index 0000000..f89d3b1
--- /dev/null
+++ b/tests/files/ebuilds/main2-0.0.1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# This ebuild was generated by g-octave
+
+EAPI="3"
+
+inherit octave-forge
+
+DESCRIPTION="This is the Main 2 description"
+HOMEPAGE="http://main2.org"
+SRC_URI="mirror://sourceforge/octave/${OCT_P}.tar.gz"
+
+LICENSE="|| ( GPL-2 GPL-3 LGPL BSD GFDL )"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+# it's annoying have to see the download of packages from the official
+# mirrors fail with a 404 error.
+RESTRICT="mirror"
+
+DEPEND=">sci-mathematics/pkg8-1.0.0
+ >=sci-mathematics/pkg5-4.3.2
+ <sci-mathematics/pkg6-1.2.3
+ sci-mathematics/pkg7"
+RDEPEND="${DEPEND}
+ >=sci-mathematics/octave-3.2.0"