From 965058196f44550f3bc491dd85064071e085b776 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 13 Feb 2025 00:12:52 +0000 Subject: gentoo auto-resync : 13:02:2025 - 00:12:52 --- dev-libs/tre/Manifest | 4 +- dev-libs/tre/tre-0.9.0-r1.ebuild | 103 +++++++++++++++++++++++++++++++++++++++ dev-libs/tre/tre-0.9.0.ebuild | 98 ------------------------------------- 3 files changed, 105 insertions(+), 100 deletions(-) create mode 100644 dev-libs/tre/tre-0.9.0-r1.ebuild delete mode 100644 dev-libs/tre/tre-0.9.0.ebuild (limited to 'dev-libs/tre') diff --git a/dev-libs/tre/Manifest b/dev-libs/tre/Manifest index a2b64406c4f4..fc3d864adf9b 100644 --- a/dev-libs/tre/Manifest +++ b/dev-libs/tre/Manifest @@ -9,7 +9,7 @@ AUX tre-issue55-part2.patch 335 BLAKE2B e4c67973f6565e918c17d733bd8d8a1c5e6e67ce AUX tre-python3.patch 5186 BLAKE2B c9e08efa47fb8ad00385703c9c7cc9d240eaccacf472c47991426702d4c971857c7c6fd1cac47135153616e4358ccbe1fcd05c04973c3c9164639634926b9c8c SHA512 0fb84b2051b2082f3271e4d47d0bc666ba9e6deb8ea2dfe0201ef4f0708b94b6706726740bfbfcf1ae708f348c63850c1b175ed1f93200934817337a5d23f1d2 AUX tre-tests.patch 235 BLAKE2B 11c601f9b352dee9e2d36e60c537a4c2969beefd04bdab21c1e00886611d243a6c818b4a8cb484b8a414d3ec07de3e3ce32fde4aaa096bcda307b66225e8179b SHA512 69373229743ad805d4bfbf41def35de930424baaf66c36f35b3cba04860c2de15051ff640d486ec75e85aa20a28863e7937c6876ec443418ba1391e9dbbf4047 DIST tre-0.8.0_p20210321.tar.gz 146294 BLAKE2B d740bd0e99f50f5e4d8105f5260e43a81b6af9857a21e386e437ab8d48a9e0de23eae03e96cf6b9f4d2d37f72d0fa73ef7343086271ea80f166bdba3f04475a9 SHA512 950c81f681970fc737cfdd6815445f05a018fc742b964cea3ce19f0249c677dd715ece4ff8e543fa9f3fd23b503eafa00aea00dbae063af9bc7e08dc1bc33aed -DIST tre-0.9.0.tar.gz 579986 BLAKE2B 12586b3309e2c6387f9cb44b86fd1ec2b0dd8d3d7ba43938be7a3cc6c7a4fde625493840fee80f0991065515e68424783e88a1c93d815e140a71d42597effa8d SHA512 228421bcd912c990137478ccddecaa2e21836a32de73d2d9ca56a0e8dd8aab7e785c29e552d2755e7b96e3bcf5338be532f0ef4b096617505bee0d2b639f573a +DIST tre-0.9.0.gh.tar.gz 154949 BLAKE2B cab32f6f582b4e170c15fcbc75454a9cc289d8ffe7e772ffde78e17976a526278abcce28c71ebb3b2e12029112bc4d2c1729814178aedf0236768adcf782ff4b SHA512 465f4273b6bcfd41a13716e91db4e12497266cbb97d5260b8d20114d19229e35f1641eebeb1b315e13ff6182608440ddd78ab386032c99e8265cfce9c8ef69c2 EBUILD tre-0.8.0_p20210321-r4.ebuild 2248 BLAKE2B 2ac2765d0ac4bb1bc674a87c95b6e731aca05e478a1c6d3275304bb4da0b35f1ece8d20969bb5c5dca11a1822ba76fc375a430ae47202174c530d04d56737f32 SHA512 6004194a306510a2006372d6851e7cfa006d25b851b4fa41965bd1fe57b07d93575b9539368a4b32c57d9df83759ed4ec410039f69e6db887d2e342ef082d824 -EBUILD tre-0.9.0.ebuild 1877 BLAKE2B 37fbce42373bd7758b1d3e95f1db5b66adcc449cc160b08e6e3399fba79ed74cb84a87db0e50e642d2738f3a80eb0d8039dac246fca77465b22e9d9dc0f8fdb4 SHA512 c648544a4dfbabb10f0c36331595a61faea85be86953d0f293f9c4de02b8b9da05bca7c21d49840eaae4b7b19ed9946a3aafbad5855fe1507a2b2a534e87cdca +EBUILD tre-0.9.0-r1.ebuild 1975 BLAKE2B 18db7f5728a4ccb363a80eb7ebf5020eb6043b772b3c8c52682ef4c55b4f72b0e4743ad072689bd8e12ccea78abd4d1de769e41cd2c1f431a9fd8ddd37c98bc6 SHA512 44114460e7aac807436ed84f8cd0def04690cb4cf4ba2dc699ad288cb11a0edb6946d4477d009d1e880a8e7b2756a049ffebb039e4de77b03eae397f060fa412 MISC metadata.xml 638 BLAKE2B 4e02f7673a19acc091ee21459551e6d40f6a78d5a25cbbffe877d46f0a181067e2163d1ac79d0f7d38ff383b8775abf6f69309ad97b25fd2af55b0ac2223ab40 SHA512 9f725eebbee4753cb05b0adcda1edec2aa50265257db359ca0ec4596761072ec335fffb5a5035cf5ec43c13b8c8a7dd7ed916bbf82acd57c6d8ee5e4c89cb622 diff --git a/dev-libs/tre/tre-0.9.0-r1.ebuild b/dev-libs/tre/tre-0.9.0-r1.ebuild new file mode 100644 index 000000000000..91aaf76ded4c --- /dev/null +++ b/dev-libs/tre/tre-0.9.0-r1.ebuild @@ -0,0 +1,103 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} pypy3 ) +DISTUTILS_EXT=1 +DISTUTILS_OPTIONAL=1 + +inherit autotools distutils-r1 + +DESCRIPTION="Lightweight, robust, and efficient POSIX compliant regexp matching library" +HOMEPAGE=" + https://laurikari.net/tre/ + https://github.com/laurikari/tre +" +# missing files in dist bug #949527 +# https://github.com/laurikari/tre/pull/118 +SRC_URI=" + https://github.com/laurikari/tre/archive/refs/tags/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos" +IUSE="+agrep +alloca +approx debug nls profile python" + +RDEPEND=" + agrep? ( + !dev-ruby/amatch + ) + python? ( ${PYTHON_DEPS} ) +" +DEPEND=" + ${RDEPEND} + nls? ( sys-devel/gettext ) +" +BDEPEND=" + python? ( ${DISTUTILS_DEPS} ) + sys-devel/gettext + virtual/pkgconfig" + +REQUIRED_USE=" + agrep? ( approx ) + python? ( ${PYTHON_REQUIRED_USE} ) +" + +PATCHES=( + "${FILESDIR}/0.8.0-pkgcfg.patch" + "${FILESDIR}/${PN}-tests.patch" +) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + local myconf=( + --disable-static + --disable-system-abi + --enable-multibyte + --enable-wchar + $(use_enable agrep) + $(use_enable approx) + $(use_enable debug) + $(use_enable nls) + $(use_enable profile) + $(use_with alloca) + ) + econf "${myconf[@]}" +} + +src_test() { + if locale -a | grep -iq en_US.iso88591; then + emake -j1 check + else + ewarn "If you like to run the test," + ewarn "please make sure en_US.ISO-8859-1 is installed." + die "en_US.ISO-8859-1 locale is missing" + fi +} + +src_compile() { + default + + if use python; then + cd python || die + distutils-r1_src_compile + fi +} + +src_install() { + local HTML_DOCS=( doc/*.{css,html} ) + + default + + use python && distutils-r1_src_install + + find "${ED}" -type f -name '*.la' -delete || die +} diff --git a/dev-libs/tre/tre-0.9.0.ebuild b/dev-libs/tre/tre-0.9.0.ebuild deleted file mode 100644 index f2719165f5e0..000000000000 --- a/dev-libs/tre/tre-0.9.0.ebuild +++ /dev/null @@ -1,98 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} pypy3 ) -DISTUTILS_EXT=1 -DISTUTILS_OPTIONAL=1 - -inherit autotools distutils-r1 - -DESCRIPTION="Lightweight, robust, and efficient POSIX compliant regexp matching library" -HOMEPAGE=" - https://laurikari.net/tre/ - https://github.com/laurikari/tre -" -SRC_URI="https://github.com/laurikari/tre/releases/download/v${PV}/${P}.tar.gz" - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos" -IUSE="+agrep +alloca +approx debug nls profile python" - -RDEPEND=" - agrep? ( - !dev-ruby/amatch - ) - python? ( ${PYTHON_DEPS} ) -" -DEPEND=" - ${RDEPEND} - nls? ( sys-devel/gettext ) -" -BDEPEND=" - python? ( ${DISTUTILS_DEPS} ) - sys-devel/gettext - virtual/pkgconfig" - -REQUIRED_USE=" - agrep? ( approx ) - python? ( ${PYTHON_REQUIRED_USE} ) -" - -PATCHES=( - "${FILESDIR}/0.8.0-pkgcfg.patch" - "${FILESDIR}/${PN}-tests.patch" -) - -src_prepare() { - default - eautoreconf -} - -src_configure() { - local myconf=( - --disable-static - --disable-system-abi - --enable-multibyte - --enable-wchar - $(use_enable agrep) - $(use_enable approx) - $(use_enable debug) - $(use_enable nls) - $(use_enable profile) - $(use_with alloca) - ) - econf "${myconf[@]}" -} - -src_test() { - if locale -a | grep -iq en_US.iso88591; then - emake -j1 check - else - ewarn "If you like to run the test," - ewarn "please make sure en_US.ISO-8859-1 is installed." - die "en_US.ISO-8859-1 locale is missing" - fi -} - -src_compile() { - default - - if use python; then - cd python || die - distutils-r1_src_compile - fi -} - -src_install() { - local HTML_DOCS=( doc/*.{css,html} ) - - default - - use python && distutils-r1_src_install - - find "${ED}" -type f -name '*.la' -delete || die -} -- cgit v1.2.3