summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Wright <gienah@gentoo.org>2012-03-25 14:02:15 +0000
committerMark Wright <gienah@gentoo.org>2012-03-25 14:02:15 +0000
commit856d7bd45a67f87d688c3d21f5fc1d0960eadcc1 (patch)
treea7afd55fc0d709881b1e389d0daf6a0a98fa5437 /sci-mathematics
parentThanks to tomprince for adding support for agda-stdlib. Bump to 2.3.0.1, EAPI... (diff)
downloadhistorical-856d7bd45a67f87d688c3d21f5fc1d0960eadcc1.tar.gz
historical-856d7bd45a67f87d688c3d21f5fc1d0960eadcc1.tar.bz2
historical-856d7bd45a67f87d688c3d21f5fc1d0960eadcc1.zip
Thanks to tomprince for adding support for agda-stdlib.
Package-Manager: portage-2.1.10.51/cvs/Linux x86_64
Diffstat (limited to 'sci-mathematics')
-rw-r--r--sci-mathematics/agda-stdlib/ChangeLog10
-rw-r--r--sci-mathematics/agda-stdlib/Manifest15
-rw-r--r--sci-mathematics/agda-stdlib/agda-stdlib-0.6.ebuild42
-rw-r--r--sci-mathematics/agda-stdlib/files/50agda-stdlib-gentoo.el1
-rw-r--r--sci-mathematics/agda-stdlib/metadata.xml9
5 files changed, 77 insertions, 0 deletions
diff --git a/sci-mathematics/agda-stdlib/ChangeLog b/sci-mathematics/agda-stdlib/ChangeLog
new file mode 100644
index 000000000000..1eaf98e412f9
--- /dev/null
+++ b/sci-mathematics/agda-stdlib/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for sci-mathematics/agda-stdlib
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/agda-stdlib/ChangeLog,v 1.1 2012/03/25 14:02:15 gienah Exp $
+
+*agda-stdlib-0.6 (25 Mar 2012)
+
+ 25 Mar 2012; Mark Wright <gienah@gentoo.org> +agda-stdlib-0.6.ebuild,
+ +files/50agda-stdlib-gentoo.el, +metadata.xml:
+ Thanks to tomprince for adding support for agda-stdlib.
+
diff --git a/sci-mathematics/agda-stdlib/Manifest b/sci-mathematics/agda-stdlib/Manifest
new file mode 100644
index 000000000000..f557244de2bc
--- /dev/null
+++ b/sci-mathematics/agda-stdlib/Manifest
@@ -0,0 +1,15 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+AUX 50agda-stdlib-gentoo.el 58 RMD160 4567b06e4a57c233ba86ccaa9af70e9d58d99f9b SHA1 690899aaa39138984dabea4ba361c481609c5d0e SHA256 e14091719568a863fdcdeb032b398b47cc5dc22d44c5552ade66daff2cd10946
+DIST agda-stdlib-0.6.tar.gz 216273 RMD160 458c2f9606ddd8f9103fcc81d8e5c1acaa682fd0 SHA1 cd822c4b504415d42f584f970732474231a3239f SHA256 f3b22d104a1d91e558e833ff968cf63dbe239601e15d91e380ef791f75d82060
+EBUILD agda-stdlib-0.6.ebuild 1074 RMD160 b7d01454daeaacb7631a9e57090ecc89bbb05dd4 SHA1 605e8751e9b7295144a96c0186d96618aba5836f SHA256 884f19becdb5b262ff85d572dbc4561e6bd9e8f867c078ca04af9adc8c3ccfea
+MISC ChangeLog 439 RMD160 6c42b41e88c60b0fbc97293ed4ba5f4e1a2f4f44 SHA1 5aa812e7842c2bffd0ae801c8ea0750a21fe17aa SHA256 cd1c744bb4828d4814a382823949d276404069f741ada25b9c22d86d6b8f0a0d
+MISC metadata.xml 265 RMD160 9117bb847954467bc465dad80bbb756fad334780 SHA1 9e90d89f35d06796299759c989174d8ed0940b87 SHA256 35355d6fc62fde1ba81f075b068817cfeb813a969c7de1470a6f8bd132b5b459
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.17 (GNU/Linux)
+
+iF4EAREIAAYFAk9vJXcACgkQoBEVQmGOlx8ULwEAymTwYK5KzHafAyOv/zsQYs+p
+vLf55t6VQmbwZAAetwcA+gPSKcu5Yy6xhz50Ro3iUkROAE6r/pyibs4AeVEh6Jtv
+=XBw+
+-----END PGP SIGNATURE-----
diff --git a/sci-mathematics/agda-stdlib/agda-stdlib-0.6.ebuild b/sci-mathematics/agda-stdlib/agda-stdlib-0.6.ebuild
new file mode 100644
index 000000000000..f5feecd9921a
--- /dev/null
+++ b/sci-mathematics/agda-stdlib/agda-stdlib-0.6.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/agda-stdlib/agda-stdlib-0.6.ebuild,v 1.1 2012/03/25 14:02:15 gienah Exp $
+
+EAPI=4
+
+DESCRIPTION="Agda standard library"
+HOMEPAGE="http://wiki.portal.chalmers.se/agda/"
+SRC_URI="http://www.cse.chalmers.se/~nad/software/lib-${PV}.tar.gz -> ${P}.tar.gz"
+
+inherit elisp-common
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="profile"
+
+DEPEND="=sci-mathematics/agda-executable-2.3.0*"
+RDEPEND="=sci-mathematics/agda-2.3.0*[profile?]"
+
+SITEFILE="50${PN}-gentoo.el"
+
+S="${WORKDIR}/lib-${PV}"
+
+src_compile() {
+ local prof
+ use profile && prof="--ghc-flag=-prof"
+ agda +RTS -K1G -RTS ${prof} \
+ -i "${S}" -i "${S}"/src "${S}"/Everything.agda || die
+ agda --html -i "${S}" -i "${S}"/src "${S}"/README.agda || die
+}
+
+src_test() {
+ agda -i "${S}" -i "${S}"/src README.agda || die
+}
+
+src_install() {
+ insinto usr/share/agda-stdlib
+ doins -r src/*
+ dodoc -r html/*
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
+}
diff --git a/sci-mathematics/agda-stdlib/files/50agda-stdlib-gentoo.el b/sci-mathematics/agda-stdlib/files/50agda-stdlib-gentoo.el
new file mode 100644
index 000000000000..62264a4451a0
--- /dev/null
+++ b/sci-mathematics/agda-stdlib/files/50agda-stdlib-gentoo.el
@@ -0,0 +1 @@
+(setq agda2-include-dirs '("." "/usr/share/agda-stdlib"))
diff --git a/sci-mathematics/agda-stdlib/metadata.xml b/sci-mathematics/agda-stdlib/metadata.xml
new file mode 100644
index 000000000000..931d619e5994
--- /dev/null
+++ b/sci-mathematics/agda-stdlib/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>sci-mathematics</herd>
+ <herd>haskell</herd>
+<longdescription lang="en">
+ Agda standard library.
+</longdescription>
+</pkgmetadata>