summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2013-06-02 16:03:27 +0000
committerJustin Lecher <jlec@gentoo.org>2013-06-02 16:03:27 +0000
commit070885e49df47b901eecfc172efdda49f4ceddb8 (patch)
treeb54cca9fa44f3c5d59cf0acffb19d3506c6365eb /dev-scheme/greg
parentFix license of examples, bug 448410. (diff)
downloadgentoo-2-070885e49df47b901eecfc172efdda49f4ceddb8.tar.gz
gentoo-2-070885e49df47b901eecfc172efdda49f4ceddb8.tar.bz2
gentoo-2-070885e49df47b901eecfc172efdda49f4ceddb8.zip
dev-scheme/greg: Handle static-libs, implement test phase
(Portage version: 2.2.0_alpha177/cvs/Linux x86_64, signed Manifest commit with key 8009D6F070EB7916)
Diffstat (limited to 'dev-scheme/greg')
-rw-r--r--dev-scheme/greg/ChangeLog10
-rw-r--r--dev-scheme/greg/files/greg-2.0.0-test.patch12
-rw-r--r--dev-scheme/greg/greg-2.0.0-r1.ebuild31
-rw-r--r--dev-scheme/greg/metadata.xml8
4 files changed, 55 insertions, 6 deletions
diff --git a/dev-scheme/greg/ChangeLog b/dev-scheme/greg/ChangeLog
index adaad5dc545d..1296ccce99d2 100644
--- a/dev-scheme/greg/ChangeLog
+++ b/dev-scheme/greg/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-scheme/greg
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-scheme/greg/ChangeLog,v 1.5 2010/07/15 20:10:15 maekke Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-scheme/greg/ChangeLog,v 1.6 2013/06/02 16:03:27 jlec Exp $
+
+*greg-2.0.0-r1 (02 Jun 2013)
+
+ 02 Jun 2013; Justin Lecher <jlec@gentoo.org> +greg-2.0.0-r1.ebuild,
+ +files/greg-2.0.0-test.patch, metadata.xml:
+ Handle static-libs, implement test phase
15 Jul 2010; Markus Meier <maekke@gentoo.org> greg-2.0.0.ebuild:
x86 stable, bug #326023
diff --git a/dev-scheme/greg/files/greg-2.0.0-test.patch b/dev-scheme/greg/files/greg-2.0.0-test.patch
new file mode 100644
index 000000000000..26a6cdf1c0ad
--- /dev/null
+++ b/dev-scheme/greg/files/greg-2.0.0-test.patch
@@ -0,0 +1,12 @@
+diff --git a/test/Makefile.am b/test/Makefile.am
+index 3cda45d..c61b34e 100644
+--- a/test/Makefile.am
++++ b/test/Makefile.am
+@@ -23,7 +23,6 @@
+
+
+ all:
+- ./test.sh
+
+ check:
+ ./test.sh
diff --git a/dev-scheme/greg/greg-2.0.0-r1.ebuild b/dev-scheme/greg/greg-2.0.0-r1.ebuild
new file mode 100644
index 000000000000..1fb6a90baea6
--- /dev/null
+++ b/dev-scheme/greg/greg-2.0.0-r1.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-scheme/greg/greg-2.0.0-r1.ebuild,v 1.1 2013/06/02 16:03:27 jlec Exp $
+
+EAPI=5
+
+AUTOTOOLS_AUTORECONF=true
+
+inherit autotools-utils
+
+DESCRIPTION="Testing-Framework for guile"
+HOMEPAGE="http://gna.org/projects/greg/"
+SRC_URI="http://download.gna.org/${PN}/${P}.tar.gz"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+LICENSE="GPL-2"
+IUSE="static-libs"
+
+RDEPEND=">=dev-scheme/guile-1.8"
+DEPEND=""
+
+PATCHES=( "${FILESDIR}"/${P}-test.patch )
+
+src_test() {
+ cd test || die
+ export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:${BUILD_DIR}/src/.libs"
+ export GUILE_LOAD_PATH="$GUILE_LOAD_PATH:${BUILD_DIR}/src/"
+ guile -s "${S}"/src/greg || die
+
+}
diff --git a/dev-scheme/greg/metadata.xml b/dev-scheme/greg/metadata.xml
index efb490d78817..4bf6dbc6b1ea 100644
--- a/dev-scheme/greg/metadata.xml
+++ b/dev-scheme/greg/metadata.xml
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<herd>sci</herd>
-<maintainer>
- <email>sci@gentoo.org</email>
-</maintainer>
+ <herd>sci</herd>
+ <maintainer>
+ <email>sci@gentoo.org</email>
+ </maintainer>
</pkgmetadata>