Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libpcre2/
Date: Mon, 14 Jun 2021 09:20:02
Message-Id: 1623662339.07ee96c48844745bad35bcead0b64860d512030f.soap@gentoo
1 commit: 07ee96c48844745bad35bcead0b64860d512030f
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jun 14 09:18:59 2021 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Mon Jun 14 09:18:59 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07ee96c4
7
8 dev-libs/libpcre2: drop 10.37-r1
9
10 Signed-off-by: David Seifert <soap <AT> gentoo.org>
11
12 dev-libs/libpcre2/libpcre2-10.37-r1.ebuild | 94 ------------------------------
13 1 file changed, 94 deletions(-)
14
15 diff --git a/dev-libs/libpcre2/libpcre2-10.37-r1.ebuild b/dev-libs/libpcre2/libpcre2-10.37-r1.ebuild
16 deleted file mode 100644
17 index 12ac913d688..00000000000
18 --- a/dev-libs/libpcre2/libpcre2-10.37-r1.ebuild
19 +++ /dev/null
20 @@ -1,94 +0,0 @@
21 -# Copyright 1999-2021 Gentoo Authors
22 -# Distributed under the terms of the GNU General Public License v2
23 -
24 -EAPI=7
25 -
26 -inherit libtool multilib-minimal usr-ldscript
27 -
28 -PATCH_SET="${PN}-10.36-patchset-01.tar.xz"
29 -
30 -DESCRIPTION="Perl-compatible regular expression library"
31 -HOMEPAGE="https://www.pcre.org/"
32 -MY_P="pcre2-${PV/_rc/-RC}"
33 -if [[ ${PV} != *_rc* ]] ; then
34 - # Only the final releases are available here.
35 - SRC_URI="mirror://sourceforge/pcre/${MY_P}.tar.bz2
36 - https://ftp.pcre.org/pub/pcre/${MY_P}.tar.bz2"
37 -else
38 - SRC_URI="https://ftp.pcre.org/pub/pcre/Testing/${MY_P}.tar.bz2"
39 -fi
40 -
41 -if [[ -n "${PATCH_SET}" ]] ; then
42 - SRC_URI+=" https://dev.gentoo.org/~whissi/dist/${PN}/${PATCH_SET}
43 - https://dev.gentoo.org/~polynomial-c/dist/${PATCH_SET}"
44 -fi
45 -
46 -LICENSE="BSD"
47 -SLOT="0/3" # libpcre2-posix.so version
48 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
49 -IUSE="bzip2 +jit libedit +pcre16 pcre32 +readline +recursion-limit static-libs unicode zlib"
50 -REQUIRED_USE="?? ( libedit readline )"
51 -
52 -BDEPEND="
53 - virtual/pkgconfig
54 - userland_GNU? ( >=sys-apps/findutils-4.4.0 )
55 -"
56 -RDEPEND="
57 - bzip2? ( app-arch/bzip2 )
58 - libedit? ( dev-libs/libedit )
59 - readline? ( sys-libs/readline:0= )
60 - zlib? ( sys-libs/zlib )
61 -"
62 -DEPEND="${RDEPEND}"
63 -
64 -S="${WORKDIR}/${MY_P}"
65 -
66 -MULTILIB_CHOST_TOOLS=(
67 - /usr/bin/pcre2-config
68 -)
69 -
70 -src_prepare() {
71 - if [[ -d "${WORKDIR}/patches" ]] ; then
72 - rm "${WORKDIR}"/patches/pcre2-10.36-001-issue2698.patch || die
73 - eapply "${WORKDIR}"/patches
74 - fi
75 -
76 - default
77 -
78 - elibtoolize
79 -}
80 -
81 -multilib_src_configure() {
82 - local myeconfargs=(
83 - --enable-pcre2-8
84 - --enable-shared
85 - --with-match-limit-depth=$(usex recursion-limit 8192 MATCH_LIMIT)
86 - $(multilib_native_use_enable bzip2 pcre2grep-libbz2)
87 - $(multilib_native_use_enable libedit pcre2test-libedit)
88 - $(multilib_native_use_enable readline pcre2test-libreadline)
89 - $(multilib_native_use_enable zlib pcre2grep-libz)
90 - $(use_enable jit)
91 - $(use_enable jit pcre2grep-jit)
92 - $(use_enable pcre16 pcre2-16)
93 - $(use_enable pcre32 pcre2-32)
94 - $(use_enable static-libs static)
95 - $(use_enable unicode)
96 - )
97 - ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
98 -}
99 -
100 -multilib_src_compile() {
101 - emake V=1 $(multilib_is_native_abi || echo "bin_PROGRAMS=")
102 -}
103 -
104 -multilib_src_install() {
105 - emake \
106 - DESTDIR="${D}" \
107 - $(multilib_is_native_abi || echo "bin_PROGRAMS= dist_html_DATA=") \
108 - install
109 - multilib_is_native_abi && gen_usr_ldscript -a pcre2-posix
110 -}
111 -
112 -multilib_src_install_all() {
113 - find "${ED}" -type f -name "*.la" -delete || die
114 -}