Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libpcre/
Date: Tue, 24 Nov 2015 09:16:29
Message-Id: 1448356578.0c7a27b6c22be81ce8ce7f1af8232daafeb0e682.polynomial-c@gentoo
1 commit: 0c7a27b6c22be81ce8ce7f1af8232daafeb0e682
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Tue Nov 24 09:16:04 2015 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Tue Nov 24 09:16:18 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c7a27b6
7
8 dev-libs/libpcre: Removed old.
9
10 Package-Manager: portage-2.2.25
11 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
12
13 dev-libs/libpcre/libpcre-8.37-r1.ebuild | 92 -------------------------------
14 dev-libs/libpcre/libpcre-8.37.ebuild | 96 ---------------------------------
15 2 files changed, 188 deletions(-)
16
17 diff --git a/dev-libs/libpcre/libpcre-8.37-r1.ebuild b/dev-libs/libpcre/libpcre-8.37-r1.ebuild
18 deleted file mode 100644
19 index f1689c7..0000000
20 --- a/dev-libs/libpcre/libpcre-8.37-r1.ebuild
21 +++ /dev/null
22 @@ -1,92 +0,0 @@
23 -# Copyright 1999-2015 Gentoo Foundation
24 -# Distributed under the terms of the GNU General Public License v2
25 -# $Id$
26 -
27 -EAPI="4"
28 -
29 -inherit eutils multilib libtool flag-o-matic toolchain-funcs multilib-minimal
30 -
31 -DESCRIPTION="Perl-compatible regular expression library"
32 -HOMEPAGE="http://www.pcre.org/"
33 -MY_P="pcre-${PV/_rc/-RC}"
34 -if [[ ${PV} != *_rc* ]] ; then
35 - # Only the final releases are available here.
36 - SRC_URI="mirror://sourceforge/pcre/${MY_P}.tar.bz2
37 - ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/${MY_P}.tar.bz2"
38 -else
39 - SRC_URI="ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/Testing/${MY_P}.tar.bz2"
40 -fi
41 -
42 -LICENSE="BSD"
43 -SLOT="3"
44 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
45 -IUSE="bzip2 +cxx +jit libedit pcre16 pcre32 +readline +recursion-limit static-libs unicode zlib"
46 -REQUIRED_USE="readline? ( !libedit )
47 - libedit? ( !readline )"
48 -
49 -RDEPEND="bzip2? ( app-arch/bzip2 )
50 - zlib? ( sys-libs/zlib )
51 - libedit? ( dev-libs/libedit )
52 - readline? ( sys-libs/readline )"
53 -DEPEND="${RDEPEND}
54 - virtual/pkgconfig
55 - userland_GNU? ( >=sys-apps/findutils-4.4.0 )"
56 -RDEPEND="${RDEPEND}
57 - abi_x86_32? (
58 - !<=app-emulation/emul-linux-x86-baselibs-20131008-r2
59 - !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
60 - )"
61 -
62 -S=${WORKDIR}/${MY_P}
63 -
64 -MULTILIB_CHOST_TOOLS=(
65 - /usr/bin/pcre-config
66 -)
67 -
68 -src_prepare() {
69 - sed -i -e "s:-lpcre ::" libpcrecpp.pc.in || die
70 - elibtoolize
71 -}
72 -
73 -multilib_src_configure() {
74 - ECONF_SOURCE="${S}" econf \
75 - --with-match-limit-recursion=$(usex recursion-limit 8192 MATCH_LIMIT) \
76 - $(multilib_native_use_enable bzip2 pcregrep-libbz2) \
77 - $(use_enable cxx cpp) \
78 - $(use_enable jit) $(use_enable jit pcregrep-jit) \
79 - $(use_enable pcre16) \
80 - $(use_enable pcre32) \
81 - $(multilib_native_use_enable libedit pcretest-libedit) \
82 - $(multilib_native_use_enable readline pcretest-libreadline) \
83 - $(use_enable static-libs static) \
84 - $(use_enable unicode utf) $(use_enable unicode unicode-properties) \
85 - $(multilib_native_use_enable zlib pcregrep-libz) \
86 - --enable-pcre8 \
87 - --enable-shared \
88 - --htmldir="${EPREFIX}"/usr/share/doc/${PF}/html \
89 - --docdir="${EPREFIX}"/usr/share/doc/${PF}
90 -}
91 -
92 -multilib_src_compile() {
93 - emake V=1 $(multilib_is_native_abi || echo "bin_PROGRAMS=")
94 -}
95 -
96 -multilib_src_install() {
97 - emake \
98 - DESTDIR="${D}" \
99 - $(multilib_is_native_abi || echo "bin_PROGRAMS= dist_html_DATA=") \
100 - install
101 - multilib_is_native_abi && gen_usr_ldscript -a pcre
102 -}
103 -
104 -multilib_src_install_all() {
105 - prune_libtool_files
106 -}
107 -
108 -pkg_preinst() {
109 - preserve_old_lib /$(get_libdir)/libpcre.so.0
110 -}
111 -
112 -pkg_postinst() {
113 - preserve_old_lib_notify /$(get_libdir)/libpcre.so.0
114 -}
115
116 diff --git a/dev-libs/libpcre/libpcre-8.37.ebuild b/dev-libs/libpcre/libpcre-8.37.ebuild
117 deleted file mode 100644
118 index 1d284f5..0000000
119 --- a/dev-libs/libpcre/libpcre-8.37.ebuild
120 +++ /dev/null
121 @@ -1,96 +0,0 @@
122 -# Copyright 1999-2015 Gentoo Foundation
123 -# Distributed under the terms of the GNU General Public License v2
124 -# $Id$
125 -
126 -EAPI="4"
127 -
128 -inherit eutils multilib libtool flag-o-matic toolchain-funcs multilib-minimal
129 -
130 -DESCRIPTION="Perl-compatible regular expression library"
131 -HOMEPAGE="http://www.pcre.org/"
132 -MY_P="pcre-${PV/_rc/-RC}"
133 -if [[ ${PV} != *_rc* ]] ; then
134 - # Only the final releases are available here.
135 - SRC_URI="mirror://sourceforge/pcre/${MY_P}.tar.bz2
136 - ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/${MY_P}.tar.bz2"
137 -else
138 - SRC_URI="ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/Testing/${MY_P}.tar.bz2"
139 -fi
140 -
141 -LICENSE="BSD"
142 -SLOT="3"
143 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
144 -IUSE="bzip2 +cxx +jit libedit pcre16 pcre32 +readline +recursion-limit static-libs unicode zlib"
145 -REQUIRED_USE="readline? ( !libedit )
146 - libedit? ( !readline )"
147 -
148 -RDEPEND="bzip2? ( app-arch/bzip2 )
149 - zlib? ( sys-libs/zlib )
150 - libedit? ( dev-libs/libedit )
151 - readline? ( sys-libs/readline )"
152 -DEPEND="${RDEPEND}
153 - virtual/pkgconfig
154 - userland_GNU? ( >=sys-apps/findutils-4.4.0 )"
155 -RDEPEND="${RDEPEND}
156 - abi_x86_32? (
157 - !<=app-emulation/emul-linux-x86-baselibs-20131008-r2
158 - !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
159 - )"
160 -
161 -S=${WORKDIR}/${MY_P}
162 -
163 -MULTILIB_CHOST_TOOLS=(
164 - /usr/bin/pcre-config
165 -)
166 -
167 -src_prepare() {
168 - local pc
169 - for pc in *.pc.in ; do
170 - echo "Libs.private: @PTHREAD_CFLAGS@" >> ${pc} #454478
171 - done
172 - sed -i -e "s:-lpcre ::" libpcrecpp.pc.in || die
173 - elibtoolize
174 -}
175 -
176 -multilib_src_configure() {
177 - ECONF_SOURCE="${S}" econf \
178 - --with-match-limit-recursion=$(usex recursion-limit 8192 MATCH_LIMIT) \
179 - $(multilib_native_use_enable bzip2 pcregrep-libbz2) \
180 - $(use_enable cxx cpp) \
181 - $(use_enable jit) $(use_enable jit pcregrep-jit) \
182 - $(use_enable pcre16) \
183 - $(use_enable pcre32) \
184 - $(multilib_native_use_enable libedit pcretest-libedit) \
185 - $(multilib_native_use_enable readline pcretest-libreadline) \
186 - $(use_enable static-libs static) \
187 - $(use_enable unicode utf) $(use_enable unicode unicode-properties) \
188 - $(multilib_native_use_enable zlib pcregrep-libz) \
189 - --enable-pcre8 \
190 - --enable-shared \
191 - --htmldir="${EPREFIX}"/usr/share/doc/${PF}/html \
192 - --docdir="${EPREFIX}"/usr/share/doc/${PF}
193 -}
194 -
195 -multilib_src_compile() {
196 - emake V=1 $(multilib_is_native_abi || echo "bin_PROGRAMS=")
197 -}
198 -
199 -multilib_src_install() {
200 - emake \
201 - DESTDIR="${D}" \
202 - $(multilib_is_native_abi || echo "bin_PROGRAMS= dist_html_DATA=") \
203 - install
204 - multilib_is_native_abi && gen_usr_ldscript -a pcre
205 -}
206 -
207 -multilib_src_install_all() {
208 - prune_libtool_files
209 -}
210 -
211 -pkg_preinst() {
212 - preserve_old_lib /$(get_libdir)/libpcre.so.0
213 -}
214 -
215 -pkg_postinst() {
216 - preserve_old_lib_notify /$(get_libdir)/libpcre.so.0
217 -}