diff options
author | Mark Wright <gienah@gentoo.org> | 2014-07-02 15:25:46 +0000 |
---|---|---|
committer | Mark Wright <gienah@gentoo.org> | 2014-07-02 15:25:46 +0000 |
commit | 5e4ef0511f0a7177ae790b9ad76dee2074f31324 (patch) | |
tree | 57905565395e1a1add009fddf9757012b142b217 /sci-mathematics | |
parent | Bump agda-stdlib to 0.8 (diff) | |
download | historical-5e4ef0511f0a7177ae790b9ad76dee2074f31324.tar.gz historical-5e4ef0511f0a7177ae790b9ad76dee2074f31324.tar.bz2 historical-5e4ef0511f0a7177ae790b9ad76dee2074f31324.zip |
Bump agda to 2.4.0.1
Package-Manager: portage-2.2.10/cvs/Linux x86_64
Manifest-Sign-Key: 0x618E971F
Diffstat (limited to 'sci-mathematics')
-rw-r--r-- | sci-mathematics/agda/ChangeLog | 7 | ||||
-rw-r--r-- | sci-mathematics/agda/Manifest | 10 | ||||
-rw-r--r-- | sci-mathematics/agda/agda-2.4.0.1.ebuild | 124 |
3 files changed, 136 insertions, 5 deletions
diff --git a/sci-mathematics/agda/ChangeLog b/sci-mathematics/agda/ChangeLog index 6fd841ef0907..369a719d8727 100644 --- a/sci-mathematics/agda/ChangeLog +++ b/sci-mathematics/agda/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sci-mathematics/agda # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/agda/ChangeLog,v 1.26 2014/02/25 15:40:58 slyfox Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/agda/ChangeLog,v 1.27 2014/07/02 15:25:38 gienah Exp $ + +*agda-2.4.0.1 (02 Jul 2014) + + 02 Jul 2014; Mark Wright <gienah@gentoo.org> +agda-2.4.0.1.ebuild: + Bump agda to 2.4.0.1 25 Feb 2014; Sergei Trofimovich <slyfox@gentoo.org> -agda-1.0.2-r2.ebuild, -agda-2.2.6-r1.ebuild, -files/50agda-gentoo.el, diff --git a/sci-mathematics/agda/Manifest b/sci-mathematics/agda/Manifest index 272588e134c6..e45c7eb5e976 100644 --- a/sci-mathematics/agda/Manifest +++ b/sci-mathematics/agda/Manifest @@ -14,6 +14,7 @@ DIST Agda-2.3.0.1.tar.gz 612342 SHA256 5cc016a6cf113979d92af05c10b1e92dead4bf878 DIST Agda-2.3.2.1.tar.gz 730010 SHA256 790e02ed9af8b9b65ea704b765fd9937444ec1351da9bc2547aa8e9034038eb6 SHA512 d6aa7728d428a66b638f36d7d086be43f4956fa086c5e7dba47520c6b4e2294f149491c8b099c3402c93f9e6d559396573e0f2b72044f6d9c58ef29987c40113 WHIRLPOOL b7fa249ab8a3d11c9f9a00a44b2c3c560953e07d2c4db1eedd411fcfccd62e425a9d2b53c56c96a0002a9878bf21de1f736249751a91cdd795e7289af776c34c DIST Agda-2.3.2.2.tar.gz 2034934 SHA256 0c8310f4067e4daac42d7233e8f245d216763186071a96ccc3d7e0edc5cb227f SHA512 5dfc156dfaa510cfce5f745a8f4a1998cfe144bdd67df2bd96ffc4a53301a33b540b76f67bd02434c52de788a284ae351ce7659731b5d0081d707e120131cd25 WHIRLPOOL 71b1c6b6eb483aa7aa76884b609f0d60b4016f86cd267e48dd0df438a91662ac702656639801204ee414932d57526790b3122933272b07d8ae11ef64cea978ac DIST Agda-2.3.2.tar.gz 726462 SHA256 d47a0b2a0806ea5c109b59280211a47b980b47a8f6ac0ab9fca673f3d4c6e0f6 SHA512 6bf4775517db41795303a4d1a4611856f599ea7595784a37cb5bb7c4608e948807549632d633a731e38502e61a528a0274b5bf8a6eaa0b9d86a9f558726d18cc WHIRLPOOL 7a0c95a72445b66ee297cdb07b5994deafe8b2f608a238226b0a241ad70b2d4f5e2834011fedc90018bfc692ff1aa4eea57143c01f9b1f496ebb4dc189d6353c +DIST Agda-2.4.0.1.tar.gz 906887 SHA256 58e678b9d193e19d4e69d8899129d9ae16df08a394873af850797f03cc2cbe86 SHA512 edd56ecea83241f3cb1aca4ac1e17970acf122c323a4ff38e2b5d8e46e46b1afd90fbbd460a6674a51cbb13a7cbf3a57b489e91a92ce3e709b2fc3d659013601 WHIRLPOOL 4e94c4277e8be99bd5a513c274fd5712f1d4a3e99d1e626a3b195b9cf83f9216de62220cfb5e8298cc0f11560a9c32dc0116db3bd67c2240842fa798f733065c EBUILD agda-2.3.0.1-r1.ebuild 2682 SHA256 de467510990469f26662ab8167bd02dd7540d560d3e0b325c77a2a2f993cd38e SHA512 8a2cb0cd6a9e488275bb6c5cfa4448b2c1aa21ed45ea92b2551383663090f783fbf0184b82510b0b4338cb9b133d2a2e1f5f37d69425d8722f9c03c7434f39c2 WHIRLPOOL a4deae1af391f40b51478b1541f9c5fdbf38341af287c4d4fac11fa53369d6823444c875ee6a5d978b93c08abea217993f5f80b6198fbb4c0b0ae63877a07a65 EBUILD agda-2.3.0.1.ebuild 2139 SHA256 7bc93ef47608329e0abbdada68be30b976865eddd144866e1b714d1da210f62f SHA512 f5509f8bc9c87c12fd001e95504bf56d6fea038d8cbe7f53a3e31a44d77035693f4f60e86845b30b4d8f376eb6029f7c3d6b2ccb61fb0192fcbc5c99f58619ed WHIRLPOOL f1b9daac6cdd9429a6bfca5c570e1290d5e4021de580e466ff97a6a4044e16cd6cb1eb03cc976ad78aac7fece57bdd1c8b8a9bcc2515b911c88dbbac6fb361b1 EBUILD agda-2.3.2-r2.ebuild 3076 SHA256 746dabf68f238bd41f4ae9f89b830c043215be9cd93a466c0e96fa8511da84b3 SHA512 51c3ca59a4101ac5b4b7f0cff1b862b875416a49ad3893c79b6352c8a7a007f5880408548373ae8be067e01cd242d715eeae483a53f7de7a630c29f980ed02bf WHIRLPOOL 9973949924cd994a25d934865d6f5444c3efe91c027786d13917fcf7186f192189e65e4db1cbbbdc549eb05bf5c46006a4e5f7e17183b54c3a0428295f03b601 @@ -21,12 +22,13 @@ EBUILD agda-2.3.2-r5.ebuild 3237 SHA256 aee04a11ef26500050c81e08df1843c6fd20114a EBUILD agda-2.3.2.1-r1.ebuild 3542 SHA256 9a23522d71b6b626ecf5db668da05b1f9be8efb6ebec286c9450db02b095f6c3 SHA512 cc9fad306e9ce4cb56b52885d680283c3741442612e373ecf059f5ef574c69c6dc1cc65969e4ade7fb073919872682f13639f4b417cc06ed58fb28e5f03e0f9e WHIRLPOOL 529b37ef254e50fd9ba99b25993794f30fab2610474bda8232246f3eea21a913c267a43577b016de2c476afa756553bfb3403f1247964fe74147c693be2d636e EBUILD agda-2.3.2.2-r1.ebuild 4077 SHA256 4b790f003834b263fad07cd465b34683176bfff71fbbe70d029d1793d44c17e2 SHA512 a2a90795a135d8f816ebf43852dfcabbf784724b7299a82015c12cfae75c667b38447982bb4c658547af66d43226d50a2ee8e8a83525ff512ce94f85d9712087 WHIRLPOOL 9f5836713c9f8e5382d0a85e5194c15695a03373adc2c377c07d1c95192f88e10de6f11ce98a55ffa8836f0a2884cd1431273b2a15bfe13fe2cb1745a3b3d910 EBUILD agda-2.3.2.ebuild 2856 SHA256 77a5282ce1dd12925eeee78d18bfb9ee6e20b5382aa8c239579eac34f688f46e SHA512 51eb52b98785ad93ff64b6b33e882c3970b46c99db6c57df053a858c20b260fb16068dc7be085743b45bd694252b0dcc5f5902213377504dd943ffc08f878ab5 WHIRLPOOL 03f712b15fe561c71d78fc991389e78a8f43b9c8fdbf84c0ae5953041a49ce8ecefeb2bb6297f6a2bc5f90592434f0e525803f79e824b3533be943c8947313d8 -MISC ChangeLog 5212 SHA256 fe2133f40ae54b2eae47301063ac2066964dfd93318c97aaf522be7d4cc81d6c SHA512 d3659564beafecade7a31fbaf1c68fc86df798af574fb5dc28b65dc0049dddda3c02a9c22919cae8cf80b6c1c058785f8e27b086661458b3a77bb855f7b5dcc1 WHIRLPOOL 6d386d065f74a05a7793ce0bb802ea9317e2ea83cf1b50ea4c636ec3efe54b74a52e7e6d4fb481a9f40991a24653aee66ba86677f71e0667aac8659049b51b2d +EBUILD agda-2.4.0.1.ebuild 4386 SHA256 fe1cc06c30afb221c059e8b44d2e59d3aaf90c4cb8edefa8c61cdfbc500de4ef SHA512 e66376b1dfa40d0bc1ec9fed9745c289d305831ced6aa3c72a26590085a61ea7af95a5b1b20890e61948271a999c0a1a0f3b63f8f790630ddf1e7aa77ac02c1c WHIRLPOOL e2db7d306e68c354bdd2242409e92057e796b4d6f3dfb5d39c84db50fb29f982e56a86c2bf00a8326a4e1d128d0f8d67de2ba89b00258ba3349265465535a4c7 +MISC ChangeLog 5334 SHA256 382bb7d5c4d17a5cb29eda6a4245998088056125170c94a2c265e92693434b91 SHA512 21b5f823213a2eaa1f8914dc4cb517783f1aef03cf71f4996c80e3955100ad7fc8c2f5b1b96c5df5e04b4f5d4563513dfc25f6f2f414772f4674f25081aaf823 WHIRLPOOL 82da4984e7ae94adb67bf8b621f07c61267efe5762fc6e3150fabdf4f6d6ca4ffe893e6a0d9cb3fac896d2097112b51bcd94aa4f2662115bf45bd89a15bacda3 MISC metadata.xml 668 SHA256 165c4a13bd018ab925d952bbcc5bfbb90fc3e52a48c0826d15002a0b4f5857d8 SHA512 fffd98368697b3975d1d7dee5947f01195ec3706b511aa5a3ed38aea167d1cd87cb278ca62d9fcf0afce28d8da13dc831d9fe0b0c02c4fc31ced44485e272237 WHIRLPOOL a20fc3187a93fe6e5d8f6639d27faa3632746e81e46a7f40be2bcc3f7e47008c0d2a3978e8eb0f90bd692d166aa3208ca482182d451f781a3fc124dd79d6b9e4 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) -iEYEAREIAAYFAlMMuBsACgkQcaHudmEf86oIuQCdGUTMG1FFEref8rPE3UgfRZXo -GxgAn0c4Z8PbhP52Ny3pNRffq6dh/QNP -=WbE9 +iF4EAREIAAYFAlO0JHgACgkQoBEVQmGOlx/2+AEAmZFBLq6MhZFnzZ7lQcp10AFu +JfpqXf9hhwQKIxwc44YBAL0Tmp2TkJ906KAIEiVqdhtWDMuhJVAL90dD+Nx/P/2F +=Mf2A -----END PGP SIGNATURE----- diff --git a/sci-mathematics/agda/agda-2.4.0.1.ebuild b/sci-mathematics/agda/agda-2.4.0.1.ebuild new file mode 100644 index 000000000000..8d42084b446f --- /dev/null +++ b/sci-mathematics/agda/agda-2.4.0.1.ebuild @@ -0,0 +1,124 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/agda/agda-2.4.0.1.ebuild,v 1.1 2014/07/02 15:25:38 gienah Exp $ + +EAPI=5 + +# ebuild generated by hackport 0.4.2.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour" +inherit haskell-cabal elisp-common + +MY_PN="Agda" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="A dependently typed functional programming language and proof assistant" +HOMEPAGE="http://wiki.portal.chalmers.se/agda/" +SRC_URI="mirror://hackage/packages/archive/${MY_PN}/${PV}/${MY_P}.tar.gz" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~x86" +IUSE="epic +stdlib" + +RDEPEND=">=dev-haskell/binary-0.6:=[profile?] <dev-haskell/binary-0.8:=[profile?] + >=dev-haskell/boxes-0.1.3:=[profile?] <dev-haskell/boxes-0.2:=[profile?] + ~dev-haskell/data-hash-0.2.0.0:=[profile?] + >=dev-haskell/equivalence-0.2.3:=[profile?] <dev-haskell/equivalence-0.3:=[profile?] + >=dev-haskell/geniplate-0.6.0.3:=[profile?] <dev-haskell/geniplate-0.7:=[profile?] + >=dev-haskell/hashtables-1.0:=[profile?] <dev-haskell/hashtables-1.2:=[profile?] + >=dev-haskell/haskeline-0.7:=[profile?] <dev-haskell/haskeline-0.8:=[profile?] + >=dev-haskell/haskell-src-exts-1.9.6:=[profile?] <dev-haskell/haskell-src-exts-1.16:=[profile?] + >=dev-haskell/mtl-2.1.1:=[profile?] <dev-haskell/mtl-2.3:=[profile?] + <dev-haskell/parallel-3.3:=[profile?] + >=dev-haskell/quickcheck-2.7.5:2=[profile?] <dev-haskell/quickcheck-2.8:2=[profile?] + >=dev-haskell/stmonadtrans-0.3.2:=[profile?] <dev-haskell/stmonadtrans-0.4:=[profile?] + >=dev-haskell/strict-0.3.2:=[profile?] <dev-haskell/strict-0.4:=[profile?] + >=dev-haskell/text-0.11:=[profile?] <dev-haskell/text-1.2:=[profile?] + >=dev-haskell/transformers-0.3:=[profile?] <dev-haskell/transformers-0.5:=[profile?] + >=dev-haskell/unordered-containers-0.2:=[profile?] <dev-haskell/unordered-containers-0.3:=[profile?] + >=dev-haskell/xhtml-3000.2:=[profile?] <dev-haskell/xhtml-3000.3:=[profile?] + >=dev-haskell/zlib-0.4.0.1:=[profile?] <dev-haskell/zlib-0.6:=[profile?] + >=dev-lang/ghc-7.4.1:= + || ( ( >=dev-haskell/hashable-1.1.2.3:=[profile?] <dev-haskell/hashable-1.2:=[profile?] ) + ( >=dev-haskell/hashable-1.2.1.0:=[profile?] <dev-haskell/hashable-1.3:=[profile?] ) ) + epic? ( >=dev-lang/epic-0.1.13:=[profile?] <dev-lang/epic-0.10:=[profile?] ) +" +RDEPEND+=" + app-emacs/haskell-mode + virtual/emacs +" +PDEPEND="stdlib? ( sci-mathematics/agda-stdlib )" +DEPEND="${RDEPEND} + dev-haskell/alex + >=dev-haskell/cabal-1.8 + dev-haskell/happy +" + +SITEFILE="50${PN}2-gentoo.el" +S="${WORKDIR}/${MY_P}" + +src_prepare() { + cabal_chdeps \ + 'mtl >= 2.1.1 && < 2.2' 'mtl >= 2.1.1 && < 2.3' \ + 'transformers == 0.3.*' 'transformers >= 0.3 && < 0.5' + + sed -e '/.*emacs-mode.*$/d' \ + -i "${S}/${MY_PN}.cabal" \ + || die "Could not remove agda-mode from ${MY_PN}.cabal" + + if use epic && use stdlib; then + ewarn "Note that the agda-stdlib README:" + ewarn "http://www.cse.chalmers.se/~nad/listings/lib/README.html" + ewarn 'says: "Currently the library does not support the Epic or JavaScript compiler' + ewarn 'backends." Hence you may wish to remove the epic use flag if you wish to use' + ewarn "the Agda standard library." + fi + sed -e 's@-Werror@@g' \ + -i "${S}/${MY_PN}.cabal" \ + || die "sed to remove -Werror failed" + sed -e '/, "-Werror"/d' \ + -i "${S}/src/full/Agda/Compiler/MAlonzo/Compiler.hs" \ + || die "sed to remove -Werror from Compiler.hs failed" +} + +src_configure() { + haskell-cabal_src_configure \ + $(cabal_flag epic epic) +} + +src_compile() { + BYTECOMPFLAGS="-L ./src/data/emacs-mode" + elisp-compile src/data/emacs-mode/*.el \ + || die "Failed to compile emacs mode" + haskell-cabal_src_compile +} + +src_install() { + local add="${ED}"/usr/share/"${P}/ghc-$(ghc-version)" + + haskell-cabal_src_install + + # generate Primitive.agdai, emulate Setup.hs postinst phase + Agda_datadir="${add}" \ + "${ED}"/usr/bin/agda "${add}"/lib/prim/Agda/Primitive.agda + + rm "${ED}"/usr/bin/agda-mode || die + # lives in sci-mathematics/agda-executable + rm "${ED}"/usr/bin/agda || die + + elisp-install ${PN} src/data/emacs-mode/*.el \ + || die "Failed to install emacs mode" + elisp-site-file-install "${FILESDIR}/${SITEFILE}" \ + || die "Failed to install elisp site file" +} + +pkg_postinst() { + ghc-package_pkg_postinst + elisp-site-regen +} + +pkg_postrm() { + ghc-package_pkg_prerm + elisp-site-regen +} |