diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2011-03-01 20:02:20 +0000 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2011-03-01 20:02:20 +0000 |
commit | 8f57a5b03f3f9c6a5f75df26ad5c34c5ea48e77a (patch) | |
tree | a38403a05fccd13e981122562595cd36c6ce59a7 /dev-util/bnfc | |
parent | Use Python 2 (bug #356573). (diff) | |
download | gentoo-2-8f57a5b03f3f9c6a5f75df26ad5c34c5ea48e77a.tar.gz gentoo-2-8f57a5b03f3f9c6a5f75df26ad5c34c5ea48e77a.tar.bz2 gentoo-2-8f57a5b03f3f9c6a5f75df26ad5c34c5ea48e77a.zip |
Removed old
(Portage version: 2.1.9.25/cvs/Linux x86_64)
Diffstat (limited to 'dev-util/bnfc')
-rw-r--r-- | dev-util/bnfc/ChangeLog | 6 | ||||
-rw-r--r-- | dev-util/bnfc/bnfc-2.1.2.ebuild | 34 | ||||
-rw-r--r-- | dev-util/bnfc/bnfc-2.2.ebuild | 47 | ||||
-rw-r--r-- | dev-util/bnfc/bnfc-2.4_beta.ebuild | 46 | ||||
-rw-r--r-- | dev-util/bnfc/files/bnfc-2.2-ghc66-utf8.patch | 60 |
5 files changed, 5 insertions, 188 deletions
diff --git a/dev-util/bnfc/ChangeLog b/dev-util/bnfc/ChangeLog index b3692408b088..a504f4d9a4bb 100644 --- a/dev-util/bnfc/ChangeLog +++ b/dev-util/bnfc/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-util/bnfc # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/bnfc/ChangeLog,v 1.14 2011/03/01 20:01:06 slyfox Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/bnfc/ChangeLog,v 1.15 2011/03/01 20:02:18 slyfox Exp $ + + 01 Mar 2011; Sergei Trofimovich <slyfox@gentoo.org> -bnfc-2.1.2.ebuild, + -bnfc-2.2.ebuild, -files/bnfc-2.2-ghc66-utf8.patch, -bnfc-2.4_beta.ebuild: + Removed old *bnfc-2.4.2.0 (01 Mar 2011) diff --git a/dev-util/bnfc/bnfc-2.1.2.ebuild b/dev-util/bnfc/bnfc-2.1.2.ebuild deleted file mode 100644 index 058269b201c1..000000000000 --- a/dev-util/bnfc/bnfc-2.1.2.ebuild +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/bnfc/bnfc-2.1.2.ebuild,v 1.8 2009/09/23 17:40:59 patrick Exp $ - -DESCRIPTION="BNF Converter -- a sophisticated parser generator" -HOMEPAGE="http://www.cs.chalmers.se/~markus/BNFC/" -SRC_URI="http://www.cs.chalmers.se/~markus/BNFC/${PN}_${PV}.tgz" -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~x86 ~ppc" - -IUSE="doc" - -DEPEND="<dev-lang/ghc-6.6 - doc? ( virtual/latex-base )" - -RDEPEND="" - -S="${WORKDIR}/BNFC" - -src_compile() { - emake GHC_OPTS=-O || die "emake failed" -} - -src_install() { - dobin bnfc - if use doc ; then - cd doc - VARTEXFONTS="${T}"/fonts pdflatex LBNF-report.tex - VARTEXFONTS="${T}"/fonts pdflatex LBNF-report.tex - insinto "/usr/share/doc/${P}" - doins LBNF-report.pdf - fi -} diff --git a/dev-util/bnfc/bnfc-2.2.ebuild b/dev-util/bnfc/bnfc-2.2.ebuild deleted file mode 100644 index eff81aa313f9..000000000000 --- a/dev-util/bnfc/bnfc-2.2.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/bnfc/bnfc-2.2.ebuild,v 1.7 2009/09/23 17:40:59 patrick Exp $ - -inherit base ghc-package eutils - -MY_PN="BNFC" - -DESCRIPTION="BNF Converter -- a sophisticated parser generator" -HOMEPAGE="http://www.cs.chalmers.se/~markus/BNFC/" -SRC_URI="http://www.cs.chalmers.se/~markus/BNFC/${MY_PN}_${PV}.tgz" -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~x86 ~ppc" - -IUSE="doc" - -DEPEND=">=dev-lang/ghc-6.2 - doc? ( virtual/latex-base )" - -RDEPEND="" - -S="${WORKDIR}/${MY_PN}_${PV}" - -src_unpack() { - base_src_unpack - cd "${S}" - epatch "${FILESDIR}/${P}-ghc66-utf8.patch" -} - -src_compile() { - emake GHC="$(ghc-getghc) -O" || die "emake failed" - if use doc ; then - cd doc - VARTEXFONTS="${T}"/fonts pdflatex LBNF-report.tex - VARTEXFONTS="${T}"/fonts pdflatex LBNF-report.tex - fi -} - -src_install() { - dobin bnfc - if use doc ; then - cd doc - insinto "/usr/share/doc/${P}" - doins LBNF-report.pdf - fi -} diff --git a/dev-util/bnfc/bnfc-2.4_beta.ebuild b/dev-util/bnfc/bnfc-2.4_beta.ebuild deleted file mode 100644 index de3fdb0ada84..000000000000 --- a/dev-util/bnfc/bnfc-2.4_beta.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/bnfc/bnfc-2.4_beta.ebuild,v 1.4 2009/09/23 17:40:59 patrick Exp $ - -inherit base ghc-package eutils - -MY_PN="BNFC" -MY_PV="${PV%%_beta*}" - -IS_BETA="${PV%%*_beta*}" -[[ -z "${IS_BETA}" ]] && MY_PV+=b - -DESCRIPTION="BNF Converter -- a sophisticated parser generator" -HOMEPAGE="http://www.cs.chalmers.se/~markus/BNFC/" -SRC_URI="http://www.cs.chalmers.se/Cs/Research/Language-technology/BNFC/download/${MY_PN}-${MY_PV}.tgz" -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~x86 ~ppc ~amd64" - -IUSE="doc" - -DEPEND=">=dev-lang/ghc-6.6 - doc? ( virtual/latex-base ) - dev-haskell/mtl" - -RDEPEND="" - -S="${WORKDIR}/${MY_PN}" - -src_compile() { - emake GHC="$(ghc-getghc) -O" || die "emake failed" - if use doc ; then - cd doc - VARTEXFONTS="${T}"/fonts pdflatex LBNF-report.tex - VARTEXFONTS="${T}"/fonts pdflatex LBNF-report.tex - fi -} - -src_install() { - dobin bnfc - if use doc ; then - cd doc - insinto "/usr/share/doc/${P}" - doins LBNF-report.pdf - fi -} diff --git a/dev-util/bnfc/files/bnfc-2.2-ghc66-utf8.patch b/dev-util/bnfc/files/bnfc-2.2-ghc66-utf8.patch deleted file mode 100644 index 9b819b9b69ee..000000000000 --- a/dev-util/bnfc/files/bnfc-2.2-ghc66-utf8.patch +++ /dev/null @@ -1,60 +0,0 @@ -diff -urw --exclude='*.o' --exclude='*.hi' BNFC_2.2.orig/CF.hs BNFC_2.2/CF.hs ---- BNFC_2.2.orig/CF.hs 2004-09-22 18:10:57.000000000 +0200 -+++ BNFC_2.2/CF.hs 2006-09-13 16:53:52.000000000 +0200 -@@ -469,7 +469,7 @@ - badtypes = filter isBadType $ cat : [c | Left c <- rhs] - isBadType c = not (isUpper (head c) || isList c || c == "#") - badFunName = not (isUpper (head f) -- || isCoercion f || isNilFun f || isOneFun f || isConsFun f) -+ || isCoercion f || isNilFun f || isOneFun f || isConsFun f) - - isPositionCat :: CFG f -> Cat -> Bool - isPositionCat cf cat = or [b | TokenReg name b _ <- pragmasOfCF cf, name == cat] -diff -urw --exclude='*.o' --exclude='*.hi' BNFC_2.2.orig/GetCF.hs BNFC_2.2/GetCF.hs ---- BNFC_2.2.orig/GetCF.hs 2004-09-26 18:45:35.000000000 +0200 -+++ BNFC_2.2/GetCF.hs 2006-09-13 16:54:13.000000000 +0200 -@@ -117,7 +117,7 @@ - pragma = [r | Left (Left r) <- rs] - errors = [s | Right s <- rs, not (null s)] - (symbols,keywords) = partition (any isSpec) reservedWords -- isSpec = flip elem "$+-*=<>[](){}!?.,;:^§~|&%#/\\$_@\"\'" -+ isSpec = flip elem "$+-*=<>[](){}!?.,;:^\167~|&%#/\\$_@\"\'" - reservedWords = nub [t | (_,(_,its)) <- rules, Right t <- its] - cats = [] - in (((pragma,(literals,symbols,keywords,cats)),rules),errors) -Only in BNFC_2.2.orig/: ParBNF.y -Only in BNFC_2.2: bnfc -diff -urw --exclude='*.o' --exclude='*.hi' BNFC_2.2.orig/formats/cpp/RegToFlex.hs BNFC_2.2/formats/cpp/RegToFlex.hs ---- BNFC_2.2.orig/formats/cpp/RegToFlex.hs 2004-02-03 17:04:42.000000000 +0100 -+++ BNFC_2.2/formats/cpp/RegToFlex.hs 2006-09-13 16:49:01.000000000 +0200 -@@ -69,5 +69,5 @@ - mkEsc :: String -> String - mkEsc = concatMap escChar - where escChar c -- | c `elem` "$+-*=<>[](){}!?.,;:^§~|&%#/\\$_@\"" = '\\':[c] -+ | c `elem` "$+-*=<>[](){}!?.,;:^\167~|&%#/\\$_@\"" = '\\':[c] - | otherwise = [c] -diff -urw --exclude='*.o' --exclude='*.hi' BNFC_2.2.orig/formats/haskell2/CFtoAlex.hs BNFC_2.2/formats/haskell2/CFtoAlex.hs ---- BNFC_2.2.orig/formats/haskell2/CFtoAlex.hs 2004-10-14 18:34:56.000000000 +0200 -+++ BNFC_2.2/formats/haskell2/CFtoAlex.hs 2006-09-13 16:55:02.000000000 +0200 -@@ -84,7 +84,7 @@ - where - mkEsc = unwords . map ( f . (:[])) - f s = if all isSpec s then '^':s else s -- isSpec = flip elem "$+-*=<>[](){}!?.,;:^§~|&%#/\\$_@\"" -+ isSpec = flip elem "$+-*=<>[](){}!?.,;:^\167~|&%#/\\$_@\"" - - restOfAlex :: CF -> [String] - restOfAlex cf = [ -diff -urw --exclude='*.o' --exclude='*.hi' BNFC_2.2.orig/formats/haskell2/CFtoAlex2.hs BNFC_2.2/formats/haskell2/CFtoAlex2.hs ---- BNFC_2.2.orig/formats/haskell2/CFtoAlex2.hs 2004-12-08 15:22:47.000000000 +0100 -+++ BNFC_2.2/formats/haskell2/CFtoAlex2.hs 2006-09-13 16:54:44.000000000 +0200 -@@ -105,7 +105,7 @@ - where - mkEsc = unwords . map ( f . (:[])) - f s = if all isSpec s then '\\':s else s -- isSpec = flip elem "$+-*=<>[](){}!?.,;:^§~|&%#/\\$_@\"" -+ isSpec = flip elem "$+-*=<>[](){}!?.,;:^\167~|&%#/\\$_@\"" - - restOfAlex :: String -> Bool -> CF -> [String] - restOfAlex shareMod shareStrings cf = [ |