commit: c666873c32c13cef5e378e62d91e880a74d57f67 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> AuthorDate: Fri May 3 09:09:01 2019 +0000 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> CommitDate: Fri May 3 09:14:41 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c666873c
dev-util/re2c: drop old Package-Manager: Portage-2.3.66, Repoman-2.3.12 Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org> dev-util/re2c/Manifest | 6 ---- dev-util/re2c/files/re2c-1.1-dash-V.patch | 49 ------------------------------- dev-util/re2c/re2c-0.13.5-r1.ebuild | 29 ------------------ dev-util/re2c/re2c-0.16.ebuild | 28 ------------------ dev-util/re2c/re2c-1.0.1.ebuild | 28 ------------------ dev-util/re2c/re2c-1.0.2.ebuild | 28 ------------------ dev-util/re2c/re2c-1.0.3.ebuild | 28 ------------------ dev-util/re2c/re2c-1.1-r1.ebuild | 32 -------------------- 8 files changed, 228 deletions(-) diff --git a/dev-util/re2c/Manifest b/dev-util/re2c/Manifest index a253d12700d..a0ecb1f0961 100644 --- a/dev-util/re2c/Manifest +++ b/dev-util/re2c/Manifest @@ -1,7 +1 @@ -DIST re2c-0.13.5.tar.gz 782725 BLAKE2B 569ded397a2139c76e1c97c73f52628e6723c5c8e2dc9fd46ddda6fb30c9dae8454460b5e457c4a5319ccf4e2fd0f45a7ebc28406881d9d44dc45bed106769c9 SHA512 56101bf01aea6f0c082b85382be34acada51d70036252581cd76ac4b2bdbc144633b97c63a94bfdba434ffb80884e11299a38853e2d805dc7ce6cf9d452c81c8 -DIST re2c-0.16.tar.gz 4892417 BLAKE2B e1160d3f6ebd63d42a22c112d83a31fcd7bb0d5ab239b7be569f603752794048685776602aae754d8b4e47cb6ae3540ce0977b0824e6bf3104e58a8fb0428f9b SHA512 d4fb8078d9566a1fa177331b649cac79e2e45cc9558a22a2212503f6c77c9e6b4238aa01c85c66b86fa4831cdc669cedf8b430d395be6a0c6cfabfb7c61cf8a3 -DIST re2c-1.0.1.tar.gz 5758988 BLAKE2B e02d8ce5f82441d33ec055d582e797d33a4b1a5244d37477b5c93117c735790a6a24e1b9e1456a6d4182c3282b59955838b625216cf47abfcc8c4fb5eacc953e SHA512 ab3b652d8f97b0d1be4c7561ce65e28870ab8976f8a31d74a6629b43d2057bfa608c7f393d5e5d59d26f991552a60e6274f554ef58752bdfcfeba330578f1299 -DIST re2c-1.0.2.tar.gz 5805526 BLAKE2B 931e7b00f57cf8c3e49e540496906208e5a5b73f87427c095e9f5744594007b5d536bf8a2920c3fb509f57bc0ba608ca80a6780ae8af033fdfe7bb3c26292007 SHA512 9d85933ae874cb9240175ce7210d3808173bafe246c67b9c333578846239b7bcef074287f26040b5a048bcd98db8d0393035c417918b80db1f74098695a77176 -DIST re2c-1.0.3.tar.gz 5806555 BLAKE2B 98664998a52e9f3198ac6d19e8c8af8db716414e42aa89b05750cb8a2054d53d0b13fa499ca004eecc294cef2756554c3e08c8167055d38d266be86f0684b83d SHA512 7b2a43828da872a957af88fb0a226e1936a45c8a1020ba1f6544b588aaa61dff8df40e84f9053c30ac8e17c41164e70627d57f5d3721a34b2aba7b1dbf25b6ae DIST re2c-1.1.1.tar.gz 5907416 BLAKE2B da2544573de0dbca94db8a8e2112de5549ffbbad91bdba187e95c9d8dd36537e099dbc2871b54d62630d91928cdaf384ab069e5e1624f8ff749c2e2743cff766 SHA512 a6fe73611103588043748340976f0e6d07169a6546cb80627c0ccd2ceac83f362dbbf371530361d893537fd95deb19503b2c73c41ed40efe7787210d6c757397 -DIST re2c-1.1.tar.gz 5901198 BLAKE2B eacfbd19a6b32c1779d0d0bf45ed7b4159e0ebb000817911ac3daf4595a841efb2fe7810aaede404e95a85af9df66568be1845f96e229d66e381d0ff6f1e2d89 SHA512 a39a42977f271cbd4f245c5252cba52636519c052d61e080c607556f778e0a35709f832466c2be0467af09b1623faab25616ffc957e90c0f1f6af78decb97209 diff --git a/dev-util/re2c/files/re2c-1.1-dash-V.patch b/dev-util/re2c/files/re2c-1.1-dash-V.patch deleted file mode 100644 index 77c3d80dd12..00000000000 --- a/dev-util/re2c/files/re2c-1.1-dash-V.patch +++ /dev/null @@ -1,49 +0,0 @@ -From 84a7bf8585c500572a8ad19f9458f31d34abbcdc Mon Sep 17 00:00:00 2001 -From: Mike Gilbert <flop...@gentoo.org> -Date: Tue, 28 Aug 2018 12:01:07 -0400 -Subject: [PATCH] Rewrite vernum function - -Fixes: https://github.com/skvadrik/re2c/issues/211 ---- - re2c/src/conf/msg.cc | 27 +++++++++++++-------------- - 1 file changed, 13 insertions(+), 14 deletions(-) - ---- a/src/conf/msg.cc -+++ b/src/conf/msg.cc -@@ -102,23 +102,22 @@ void usage() - void vernum () - { - std::string vernum (PACKAGE_VERSION); -- if (vernum[1] == '.') -- { -- vernum.insert(0, "0"); -- } -- vernum.erase(2, 1); -- if (vernum[3] == '.') -- { -- vernum.insert(2, "0"); -- } -- vernum.erase(4, 1); -- if (vernum.length() < 6 || vernum[5] < '0' || vernum[5] > '9') -+ std::string parts[3]; -+ unsigned p = 0; -+ -+ for (unsigned i = 0; p < 3 && i < vernum.length (); i++) - { -- vernum.insert(4, "0"); -+ if (vernum[i] == '.') -+ p++; -+ else -+ parts[p].push_back (vernum[i]); - } -- vernum.resize(6, '0'); - -- printf ("%s\n", vernum.c_str ()); -+ for (p = 0; p < 3; p++) -+ while (parts[p].length () < 2) -+ parts[p].insert (0, 1, '0'); -+ -+ printf ("%s%s%s\n", parts[0].c_str (), parts[1].c_str (), parts[2].c_str ()); - } - - void version () diff --git a/dev-util/re2c/re2c-0.13.5-r1.ebuild b/dev-util/re2c/re2c-0.13.5-r1.ebuild deleted file mode 100644 index d04be68e9eb..00000000000 --- a/dev-util/re2c/re2c-0.13.5-r1.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=4 - -inherit eutils - -DESCRIPTION="tool for generating C-based recognizers from regular expressions" -HOMEPAGE="http://re2c.sourceforge.net/" -MY_PV="${PV/_/.}" -MY_P="${PN}-${MY_PV}" -SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" - -LICENSE="public-domain" -SLOT="0" -KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ppc ppc64 s390 sh sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" -IUSE="" - -RDEPEND="" -DEPEND="${RDEPEND}" -S="${WORKDIR}/${MY_P}" - -src_install() { - dobin re2c - doman re2c.1 - dodoc README CHANGELOG doc/* - docinto examples - dodoc examples/*.c examples/*.re -} diff --git a/dev-util/re2c/re2c-0.16.ebuild b/dev-util/re2c/re2c-0.16.ebuild deleted file mode 100644 index 072d5819929..00000000000 --- a/dev-util/re2c/re2c-0.16.ebuild +++ /dev/null @@ -1,28 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit eutils - -DESCRIPTION="tool for generating C-based recognizers from regular expressions" -HOMEPAGE="http://re2c.org/" -SRC_URI="https://github.com/skvadrik/re2c/releases/download/${PV}/${P}.tar.gz" - -LICENSE="public-domain" -SLOT="0" -KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris" - -src_prepare() { - epatch_user - export ac_cv_path_BISON="no" -} - -src_install() { - default - - docompress -x /usr/share/doc/${PF}/{examples,paper} - dodoc -r README CHANGELOG examples - docinto paper - dodoc doc/loplas.ps doc/sample.bib -} diff --git a/dev-util/re2c/re2c-1.0.1.ebuild b/dev-util/re2c/re2c-1.0.1.ebuild deleted file mode 100644 index f81eb657511..00000000000 --- a/dev-util/re2c/re2c-1.0.1.ebuild +++ /dev/null @@ -1,28 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit eutils - -DESCRIPTION="tool for generating C-based recognizers from regular expressions" -HOMEPAGE="http://re2c.org/" -SRC_URI="https://github.com/skvadrik/re2c/releases/download/${PV}/${P}.tar.gz" - -LICENSE="public-domain" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris" - -src_prepare() { - default - export ac_cv_path_BISON="no" -} - -src_install() { - default - - docompress -x /usr/share/doc/${PF}/{examples,paper} - dodoc -r README CHANGELOG examples - docinto paper - dodoc doc/loplas.ps doc/tdfa/tdfa.pdf -} diff --git a/dev-util/re2c/re2c-1.0.2.ebuild b/dev-util/re2c/re2c-1.0.2.ebuild deleted file mode 100644 index bce28d1d081..00000000000 --- a/dev-util/re2c/re2c-1.0.2.ebuild +++ /dev/null @@ -1,28 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit eutils - -DESCRIPTION="tool for generating C-based recognizers from regular expressions" -HOMEPAGE="http://re2c.org/" -SRC_URI="https://github.com/skvadrik/re2c/releases/download/${PV}/${P}.tar.gz" - -LICENSE="public-domain" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris" - -src_prepare() { - default - export ac_cv_path_BISON="no" -} - -src_install() { - default - - docompress -x /usr/share/doc/${PF}/{examples,paper} - dodoc -r README CHANGELOG examples - docinto paper - dodoc doc/loplas.ps doc/tdfa/tdfa.pdf -} diff --git a/dev-util/re2c/re2c-1.0.3.ebuild b/dev-util/re2c/re2c-1.0.3.ebuild deleted file mode 100644 index d24154a9111..00000000000 --- a/dev-util/re2c/re2c-1.0.3.ebuild +++ /dev/null @@ -1,28 +0,0 @@ -# Copyright 1999-2018 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit eutils - -DESCRIPTION="tool for generating C-based recognizers from regular expressions" -HOMEPAGE="http://re2c.org/" -SRC_URI="https://github.com/skvadrik/re2c/releases/download/${PV}/${P}.tar.gz" - -LICENSE="public-domain" -SLOT="0" -KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" - -src_prepare() { - default - export ac_cv_path_BISON="no" -} - -src_install() { - default - - docompress -x /usr/share/doc/${PF}/{examples,paper} - dodoc -r README CHANGELOG examples - docinto paper - dodoc doc/loplas.ps doc/tdfa/tdfa.pdf -} diff --git a/dev-util/re2c/re2c-1.1-r1.ebuild b/dev-util/re2c/re2c-1.1-r1.ebuild deleted file mode 100644 index 0599306ecfc..00000000000 --- a/dev-util/re2c/re2c-1.1-r1.ebuild +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit eutils - -DESCRIPTION="tool for generating C-based recognizers from regular expressions" -HOMEPAGE="http://re2c.org/" -SRC_URI="https://github.com/skvadrik/re2c/releases/download/${PV}/${P}.tar.gz" - -LICENSE="public-domain" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" - -PATCHES=( - "${FILESDIR}"/${P}-dash-V.patch -) - -src_prepare() { - default - export ac_cv_path_BISON="no" -} - -src_install() { - default - - docompress -x /usr/share/doc/${PF}/{examples,paper} - dodoc -r README CHANGELOG examples - docinto paper - dodoc doc/loplas.ps doc/tdfa/tdfa.pdf -}