diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-haskell/alex | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-haskell/alex')
-rw-r--r-- | dev-haskell/alex/Manifest | 7 | ||||
-rw-r--r-- | dev-haskell/alex/alex-3.1.3.ebuild | 72 | ||||
-rw-r--r-- | dev-haskell/alex/alex-3.1.7.ebuild | 80 | ||||
-rw-r--r-- | dev-haskell/alex/alex-3.2.1.ebuild | 83 | ||||
-rw-r--r-- | dev-haskell/alex/metadata.xml | 11 |
5 files changed, 253 insertions, 0 deletions
diff --git a/dev-haskell/alex/Manifest b/dev-haskell/alex/Manifest new file mode 100644 index 000000000000..8d7a9057b42f --- /dev/null +++ b/dev-haskell/alex/Manifest @@ -0,0 +1,7 @@ +DIST alex-3.1.3.tar.gz 99868 BLAKE2B 9a7d03fed24dfec82584edc5043ee9cac141649035910f7fa075c41e67d6d57dcde99363fc0f4ff83a6f535bbc462fdf4cfad6e92785a480351e38e079ec9aeb SHA512 f09f720627b9f2cae5d9d3a99488c2249e82c9310f0a436bccbd5238bd3215fae287706ee6f7530533c801348bdbfebc9fd54cafc15a75d528462b2ee987eb3c +DIST alex-3.1.7.tar.gz 103624 BLAKE2B c7ca36113bf5951621906dffc47481e8e4a2cb2007773de7480b63379d648ca2b2b2c73d835eb981d1f46087a8adeec1887898e6d1c5205c8e1c7308bab7ec90 SHA512 0c4e87011617d8f8ad7cdf32b91e3ecc65ad66ea378c8086de8cbeb7ae3b37df478fb834e3bc453e3448fcae9d03b19ce9844bba35ad66a3cdf6e912790fe0a1 +DIST alex-3.2.1.tar.gz 111167 BLAKE2B efad30da0e26303d08d74b762a83ad3ddc0ec8069942b0e5ae170e480dde6b65771f5cb4fedfd27e9379719c2eebbaef68d33328a87be49dc60a0e7b86861619 SHA512 97e2e1677efcde5ec04a393f8b768f97a291ff63a3411cc0a0aef18b75e6825307d22d9c379eb7775dde519ebf60378e07c9181ea1a8bf9ea2ef631d7071c2e7 +EBUILD alex-3.1.3.ebuild 1403 BLAKE2B 519248d066faee7599f2cfc18292012eed811d1333dde9869764c1b5423f3bfce473fe4d20ee0fb8fea28cbd68ee57f3589856eef842f3e021a95589ea9e3acc SHA512 4a4fe7b6d18ee88b97fc000e7624a39c137bd6510edd40dcfe9fc6d20f1dac0d7483b8e9493aaa22134b5cb49821358954dce003988cf7363822d21793460ae4 +EBUILD alex-3.1.7.ebuild 1576 BLAKE2B 3da75e4a0c475d71458ef5e6fe6c6705990a0bfb95ce18a9650c3a4e9b979458c8d79d282d6233be4e96da52cc2c9dab0ecbe618d5b3519f3dd669bd9aa2e55e SHA512 bb3e2ce815aeffbfef8937aa1829322435b06e325d0e87965004a9050e9105379f53dc30d05be3f98a0aaf49471fda2b0eb4c7fee8827b4085b064b3e0892274 +EBUILD alex-3.2.1.ebuild 1606 BLAKE2B 9aaa09794dc1e66a2aec57f3ba473eabe6875f74e6b73ab7957bf24034f6e53b74c43449d5f9fe0ef35d824ba3f7312936e549b0e327aac00845b0a8842006dc SHA512 5785d287ac69f04f10807d6e1bd2f9ae50c57e6788ad6d4a83d6a9b352cc2448af3756b17a78aa7985793675acc1fed68884051f91b77794f9bbf85ea7473ab9 +MISC metadata.xml 349 BLAKE2B 0e0922a706cc99af24707269cbe80a8969df912d02317294a007d43a81263b232a3f2b199b4f981a023143a765427851335493a10235feb627ff8adf85497c62 SHA512 9c41217241498cd036d00fce456cea108f675c71c12bab05305dcfbdbd5d55d5c7db8163e5315eef12f9ca8467276b6fad9038d47da729f448338655691a9ff8 diff --git a/dev-haskell/alex/alex-3.1.3.ebuild b/dev-haskell/alex/alex-3.1.3.ebuild new file mode 100644 index 000000000000..c35a1f165a0c --- /dev/null +++ b/dev-haskell/alex/alex-3.1.3.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +# ebuild generated by hackport 0.3.4.9999 + +CABAL_FEATURES="bin test-suite" +inherit autotools haskell-cabal + +DESCRIPTION="Alex is a tool for generating lexical analysers in Haskell" +HOMEPAGE="http://www.haskell.org/alex/" +SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="alpha amd64 ia64 ppc ppc64 sparc x86" +IUSE="doc" + +RDEPEND="" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.8 + >=dev-haskell/quickcheck-2 + >=dev-lang/ghc-6.10.4 + doc? ( ~app-text/docbook-xml-dtd-4.2 + app-text/docbook-xsl-stylesheets + >=dev-libs/libxslt-1.1.2 )" + +src_prepare() { + # drop depend on itself and happy, otherwise cabal tries to regenerate it + rm src/{Scan.x,Parser.y} || die + + for f in Scan Parser; do + mv "${S}/dist/build/alex/alex-tmp/$f.hs" "${S}"/src/ || die + done + + if use doc; then + cd "${S}/doc/" + eautoreconf + fi +} + +src_configure() { + # make sure we don't accidentally use those + # installed in system + haskell-cabal_src_configure \ + --with-alex=false \ + --with-happy=false + + if use doc; then + cd "${S}/doc/" + econf + fi +} + +src_compile() { + cabal_src_compile + + if use doc; then + emake -C "${S}/doc/" -j1 + fi +} + +src_install() { + cabal_src_install + + if use doc; then + doman "${S}/doc/alex.1" + dohtml -r "${S}/doc/alex/" + fi + dodoc README +} diff --git a/dev-haskell/alex/alex-3.1.7.ebuild b/dev-haskell/alex/alex-3.1.7.ebuild new file mode 100644 index 000000000000..4947a9871f78 --- /dev/null +++ b/dev-haskell/alex/alex-3.1.7.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +# ebuild generated by hackport 0.4.6.9999 +#hackport: flags: +small_base + +CABAL_FEATURES="bin test-suite" +inherit autotools eutils haskell-cabal + +DESCRIPTION="Alex is a tool for generating lexical analysers in Haskell" +HOMEPAGE="http://www.haskell.org/alex/" +SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha amd64 ~ia64 ~ppc ~ppc64 ~sparc x86" +IUSE="doc" + +RDEPEND=">=dev-haskell/quickcheck-2:2= + >=dev-lang/ghc-7.4.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.8 + doc? ( ~app-text/docbook-xml-dtd-4.2 + app-text/docbook-xsl-stylesheets + >=dev-libs/libxslt-1.1.2 ) +" + +src_prepare() { + # drop depend on itself and happy, otherwise cabal tries to regenerate it + rm src/{Scan.x,Parser.y} || die + + for f in Scan Parser; do + mv "${S}/dist/build/alex/alex-tmp/$f.hs" "${S}"/src/ || die + done + + if use doc; then + cd "${S}/doc/" + eautoreconf + fi +} + +src_configure() { + # make sure we don't accidentally use those + # installed in system + haskell-cabal_src_configure \ + --with-alex=false \ + --with-happy=false \ + --flag=small_base + + if use doc; then + cd "${S}/doc/" + econf + fi +} + +src_compile() { + cabal_src_compile + + if use doc; then + emake -C "${S}/doc/" -j1 + fi +} + +src_test() { + # workaround https://github.com/haskell/cabal/issues/2398 + emake -k -C tests all || die +} + +src_install() { + cabal_src_install + + if use doc; then + doman "${S}/doc/alex.1" + dohtml -r "${S}/doc/alex/" + fi + dodoc README +} diff --git a/dev-haskell/alex/alex-3.2.1.ebuild b/dev-haskell/alex/alex-3.2.1.ebuild new file mode 100644 index 000000000000..f884b46b15a6 --- /dev/null +++ b/dev-haskell/alex/alex-3.2.1.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +# ebuild generated by hackport 0.5.9999 +#hackport: flags: +small_base + +CABAL_FEATURES="test-suite" +inherit autotools haskell-cabal + +DESCRIPTION="Alex is a tool for generating lexical analysers in Haskell" +HOMEPAGE="http://www.haskell.org/alex/" +SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="doc" + +RDEPEND=">=dev-haskell/quickcheck-2:2= + >=dev-lang/ghc-7.4.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.8 + doc? ( ~app-text/docbook-xml-dtd-4.2 + app-text/docbook-xsl-stylesheets + >=dev-libs/libxslt-1.1.2 ) +" + +RESTRICT=test # fails tests + +src_prepare() { + default + + # drop depend on itself and happy, otherwise cabal tries to regenerate it + rm src/{Scan.x,Parser.y} || die + + for f in Scan Parser; do + mv "${S}/dist/build/alex/alex-tmp/$f.hs" "${S}"/src/ || die + done + + if use doc; then + cd "${S}/doc/" + eautoreconf + fi +} + +src_configure() { + # make sure we don't accidentally use those + # installed in system + haskell-cabal_src_configure \ + --with-alex=false \ + --with-happy=false \ + --flag=small_base + + if use doc; then + cd "${S}/doc/" + econf + fi +} + +src_compile() { + haskell-cabal_src_compile + + if use doc; then + emake -C "${S}/doc/" -j1 + fi +} + +src_test() { + # workaround https://github.com/haskell/cabal/issues/2398 + emake -k -C tests all || die +} + +src_install() { + haskell-cabal_src_install + + if use doc; then + doman "${S}/doc/alex.1" + dohtml -r "${S}/doc/alex/" + fi +} diff --git a/dev-haskell/alex/metadata.xml b/dev-haskell/alex/metadata.xml new file mode 100644 index 000000000000..244d701ec388 --- /dev/null +++ b/dev-haskell/alex/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>haskell@gentoo.org</email> + <name>Gentoo Haskell</name> + </maintainer> + <longdescription> + Alex is a tool for generating lexical analysers in Haskell + </longdescription> +</pkgmetadata> |