From 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Jul 2018 21:03:06 +0100 Subject: gentoo resync : 14.07.2018 --- dev-util/bnfc/Manifest | 6 ++++ dev-util/bnfc/bnfc-2.8.1.ebuild | 39 ++++++++++++++++++++++++ dev-util/bnfc/bnfc-2.8.ebuild | 43 +++++++++++++++++++++++++++ dev-util/bnfc/files/bnfc-2.8-alex-3.1.6.patch | 8 +++++ dev-util/bnfc/metadata.xml | 8 +++++ 5 files changed, 104 insertions(+) create mode 100644 dev-util/bnfc/Manifest create mode 100644 dev-util/bnfc/bnfc-2.8.1.ebuild create mode 100644 dev-util/bnfc/bnfc-2.8.ebuild create mode 100644 dev-util/bnfc/files/bnfc-2.8-alex-3.1.6.patch create mode 100644 dev-util/bnfc/metadata.xml (limited to 'dev-util/bnfc') diff --git a/dev-util/bnfc/Manifest b/dev-util/bnfc/Manifest new file mode 100644 index 000000000000..1c2b77db9fcc --- /dev/null +++ b/dev-util/bnfc/Manifest @@ -0,0 +1,6 @@ +AUX bnfc-2.8-alex-3.1.6.patch 207 BLAKE2B 3e14851866c8ae0dda9245dd1dc920bc4554eb9eae80caec36b9a9b27d62e01727d23e2d716806c18e7e414def483dc192a1c7c8dbca1a5841c7278f40487264 SHA512 6d467ff25b7e8ef70c99b80f4f847b2c22ad39890f72a9a2dee851783af45a91567629f87685e0f8a2d3d64213161713cd7282feed4cd927aff7feab38b97b48 +DIST BNFC-2.8.1.tar.gz 225015 BLAKE2B 973f7a5ebc5fb995bf0014621ba7bfebe0d6adbb35bd276b3f7ec56e3fe1ab08c3811d27a2d58a73ca52ac4bf9ba35fba3d172a82684b1ef999a2fdd6dc4ece9 SHA512 d5ea9b4129a4f71c2d66cda2f859a2c39be6d4400cddbd5a5303b5b408f4cf03ce7a92825224f4674c6cc48bec07429c447b9b39fc4e6d144c922bf1b0829561 +DIST BNFC-2.8.tar.gz 183591 BLAKE2B cc14079bba767d85ae59a05057cba7db11bc7fcc39e28c29a5151e1ffae1c5b712351085eaa8affe79a36cac66e79df26335d48cfc24fbf41dff018727aa8dd6 SHA512 358700360dbfbeacf3276150856415e08e1498c6af27254302d406e5407b7b4f84ac0dcf9dcf8391128ac9d77a17a928c2427961ec8c3ffdb9af8d169145cafb +EBUILD bnfc-2.8.1.ebuild 851 BLAKE2B 6a0b6bbf4e3dd27ff036e9624cd4224443a6a7d0f2279b7c3ed992dc03431bce373f464286011080c32d67ca8b1ae2d95420e009fa55847ebbe5b5f173be2e89 SHA512 25b3cdf3dd18e9a5043cbf8f2db6032234cc334613ddb69b8940e601fea80271bf3600cba3c492e43c5acf50505df020e2ec27917281a2a0e39aff6f7f06476b +EBUILD bnfc-2.8.ebuild 914 BLAKE2B 4f2d216fb413e32f0808ce2147f8b426084fa4491272cf28d65720a3d9b61bd82136c707751bf8fd9d20d5c51d34ba9df6c4eaeab3d02737b9f260761f15d9ac SHA512 a4977c0c5cbbd29f3003efdf1c21f66815e889ff9e2b96c5761eb9c64bc6bb345f0e2358edba3ef91d0d67551a45816cb3a7d7d109abb0d760c31d250f281c55 +MISC metadata.xml 249 BLAKE2B 84b809c265ff2a09d1f06c66d4797652ff4c64205d94323e07333ae0fbddcfb8c58d0176a8cc52bd37e9353371d987b9b473b9747cb082e1c2871ed80fcfa144 SHA512 ce055b41ff1c10209e88579fe21ce16550be7e9b21f87724564f06430aa6f478974f186a10c8ff7e92398f534c09109aeed57eae1c6d2b56b5c99ebfb64a0015 diff --git a/dev-util/bnfc/bnfc-2.8.1.ebuild b/dev-util/bnfc/bnfc-2.8.1.ebuild new file mode 100644 index 000000000000..054b7ddd2bc9 --- /dev/null +++ b/dev-util/bnfc/bnfc-2.8.1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +# ebuild generated by hackport 0.4.6.9999 + +CABAL_FEATURES="bin lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +MY_PN="BNFC" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="A compiler front-end generator" +HOMEPAGE="http://bnfc.digitalgrammars.com/" +SRC_URI="mirror://hackage/packages/archive/${MY_PN}/${PV}/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +RESTRICT=test # missing files + +RDEPEND="dev-haskell/mtl:=[profile?] + >=dev-lang/ghc-7.4.1:= +" +DEPEND="${RDEPEND} + dev-haskell/alex + >=dev-haskell/cabal-1.8 + dev-haskell/happy + test? ( >=dev-haskell/doctest-0.8 + dev-haskell/hspec + dev-haskell/hunit + >=dev-haskell/quickcheck-2.5 + dev-haskell/temporary ) +" + +S="${WORKDIR}/${MY_P}" diff --git a/dev-util/bnfc/bnfc-2.8.ebuild b/dev-util/bnfc/bnfc-2.8.ebuild new file mode 100644 index 000000000000..661b7ce9b92e --- /dev/null +++ b/dev-util/bnfc/bnfc-2.8.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +# ebuild generated by hackport 0.4.5.9999 + +CABAL_FEATURES="bin lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +MY_PN="BNFC" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="A compiler front-end generator" +HOMEPAGE="http://bnfc.digitalgrammars.com/" +SRC_URI="mirror://hackage/packages/archive/${MY_PN}/${PV}/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +RESTRICT=test # missing files + +RDEPEND="dev-haskell/mtl:=[profile?] + >=dev-lang/ghc-7.4.1:= +" +DEPEND="${RDEPEND} + dev-haskell/alex + >=dev-haskell/cabal-1.8 + dev-haskell/happy + test? ( >=dev-haskell/doctest-0.8 + dev-haskell/hspec + dev-haskell/hunit + >=dev-haskell/quickcheck-2.5 + dev-haskell/temporary ) +" + +S="${WORKDIR}/${MY_P}" + +src_prepare() { + epatch "${FILESDIR}"/${P}-alex-3.1.6.patch +} diff --git a/dev-util/bnfc/files/bnfc-2.8-alex-3.1.6.patch b/dev-util/bnfc/files/bnfc-2.8-alex-3.1.6.patch new file mode 100644 index 000000000000..e9834830e257 --- /dev/null +++ b/dev-util/bnfc/files/bnfc-2.8-alex-3.1.6.patch @@ -0,0 +1,8 @@ +diff --git a/src/LexBNF.x b/src/LexBNF.x +index 927e15d..aea3386 100644 +--- a/src/LexBNF.x ++++ b/src/LexBNF.x +@@ -11,2 +11,3 @@ import qualified Data.Bits + import Data.Word (Word8) ++import Data.Char (ord) + } diff --git a/dev-util/bnfc/metadata.xml b/dev-util/bnfc/metadata.xml new file mode 100644 index 000000000000..b7878815d80d --- /dev/null +++ b/dev-util/bnfc/metadata.xml @@ -0,0 +1,8 @@ + + + + + haskell@gentoo.org + Gentoo Haskell + + -- cgit v1.2.3