public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Akinori Hattori" <hattya@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libutf8proc/
Date: Wed, 16 Nov 2022 12:52:08 +0000 (UTC)	[thread overview]
Message-ID: <1668603093.914d1ff8dc20c2f4835fa12db1719771c1614472.hattya@gentoo> (raw)

commit:     914d1ff8dc20c2f4835fa12db1719771c1614472
Author:     Akinori Hattori <hattya <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 16 12:49:43 2022 +0000
Commit:     Akinori Hattori <hattya <AT> gentoo <DOT> org>
CommitDate: Wed Nov 16 12:51:33 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=914d1ff8

dev-libs/libutf8proc: new upstream release

Signed-off-by: Akinori Hattori <hattya <AT> gentoo.org>

 dev-libs/libutf8proc/Manifest                 |  2 +
 dev-libs/libutf8proc/libutf8proc-2.8.0.ebuild | 57 +++++++++++++++++++++++++++
 2 files changed, 59 insertions(+)

diff --git a/dev-libs/libutf8proc/Manifest b/dev-libs/libutf8proc/Manifest
index d01d68782b19..5fbeaf34647b 100644
--- a/dev-libs/libutf8proc/Manifest
+++ b/dev-libs/libutf8proc/Manifest
@@ -1,2 +1,4 @@
 DIST libutf8proc-2.7.0.tar.gz 187906 BLAKE2B b2b3dc86ffa38f1d75293455cca22d3c0a0c51c529f154bbeaf40bb8b91bcedbf3955cfa459323db8b00566ce42857391875dac6fd677e36f700e8614767ac25 SHA512 29f7883de13302d609e8755872ed43174e70076e9681b4ac3f9b03e50295c45d9972c193bc81f94ad7e11e2d33a46cad5a30a80873173e6e1ae242101ebb3bed
+DIST libutf8proc-2.8.0.tar.gz 190310 BLAKE2B 61b5af770ad65f959136eb9f5c03862f8d6edab32dc66fa663f6f76009c7481200fcba632d41efdf116f0f56f62fc237cd65e1038ab058fc127358d31ed3ee6d SHA512 4b9853fc95db38bee1d7435bef219907e25b249e0c2ec26f7096b8506ab2a139a8d4b71f7133b7550bff59d8f997fe01c2957d362cad18d890ad82bcf158aa06
 DIST libutf8proc-EastAsianWidth-14.0.0.xz 70420 BLAKE2B c2fa8ec34ae3cccb532d8ba82dc7ef40d82da2ed2f4bf187ef0df28cecd2e91320e25287e7bc6e7f22ffa6730af7b910b73d69172664235f3236c16a5ffe990f SHA512 5bd11dc8c30d12692d3cbca932c1bda5e19d9b5e99fc9f1a3ff8864e4f0e577769c4e1f91338cad10a468c38b904cf16b99ba44f44b80695cac23fe436f1e24a
+DIST libutf8proc-EastAsianWidth-15.0.0.xz 71296 BLAKE2B 701451cd6576d62ad4bc9c2d140ba78743b3fa5b062b40c2aaf47c02f5c3dc520a89fd51de4b46718c319c0ff2520e09cb39719cf73c044a14aa882b704cba12 SHA512 8b7a3b6cf56a98147ff5f64066a17c71247ae829bbdc10f758991aadf13b38a242a7f72ce13fdd4816117a0db98c084f0f9f32228817c9c2f31599955bb1e8fc

diff --git a/dev-libs/libutf8proc/libutf8proc-2.8.0.ebuild b/dev-libs/libutf8proc/libutf8proc-2.8.0.ebuild
new file mode 100644
index 000000000000..b17e66b4e2d9
--- /dev/null
+++ b/dev-libs/libutf8proc/libutf8proc-2.8.0.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="8"
+USE_RUBY="ruby27 ruby30 ruby31"
+
+inherit ruby-single toolchain-funcs
+
+DESCRIPTION="A clean C Library for processing UTF-8 Unicode data"
+HOMEPAGE="https://github.com/JuliaStrings/utf8proc"
+SRC_URI="https://github.com/JuliaStrings/${PN#lib}/archive/v${PV}.tar.gz -> ${P}.tar.gz
+	cjk? ( https://dev.gentoo.org/~hattya/distfiles/${PN}-EastAsianWidth-15.0.0.xz )"
+
+LICENSE="MIT"
+SLOT="0/${PV}"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~x64-macos"
+IUSE="cjk static-libs test"
+RESTRICT="!test? ( test )"
+
+BDEPEND="test? (
+		=app-i18n/unicode-data-15.0*
+		${RUBY_DEPS}
+	)"
+S="${WORKDIR}/${P#lib}"
+
+QA_PKGCONFIG_VERSION="$(ver_cut 1).6.0"
+
+src_prepare() {
+	if use cjk; then
+		einfo "Modifying East Asian Ambiguous (A) as wide ..."
+		cp "${WORKDIR}"/${PN}-EastAsianWidth-15.0.0 ${PN#lib}_data.c || die
+	fi
+
+	sed -i "/^libdir/s:/lib:/$(get_libdir):" Makefile
+	default
+}
+
+src_compile() {
+	emake \
+		AR="$(tc-getAR)" \
+		CC="$(tc-getCC)" \
+		prefix="${EPREFIX}/usr"
+}
+
+src_test() {
+	cp "${BROOT}"/usr/share/unicode-data/{DerivedCoreProperties,{Normalization,auxiliary/GraphemeBreak}Test}.txt data || die
+
+	emake CC="$(tc-getCC)" check
+}
+
+src_install() {
+	emake \
+		DESTDIR="${D}" \
+		prefix="${EPREFIX}/usr" \
+		install
+	use static-libs || find "${ED}" -name '*.a' -delete || die
+}


             reply	other threads:[~2022-11-16 12:52 UTC|newest]

Thread overview: 86+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-16 12:52 Akinori Hattori [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-03-29  9:44 [gentoo-commits] repo/gentoo:master commit in: dev-libs/libutf8proc/ Arthur Zamarin
2024-03-03  6:39 Akinori Hattori
2024-03-02 13:53 Michał Górny
2024-02-28  2:32 Ionen Wolkens
2024-02-12 13:05 Sam James
2024-02-12 13:05 Sam James
2024-02-12  8:55 Sam James
2024-02-12  8:55 Sam James
2024-02-12  8:55 Sam James
2023-10-24 13:50 Akinori Hattori
2023-10-24 13:50 Akinori Hattori
2023-10-24 13:50 Akinori Hattori
2023-04-16  3:39 Sam James
2023-04-16  3:39 Sam James
2023-04-16  3:39 Sam James
2023-04-16  3:39 Sam James
2023-04-16  3:39 Sam James
2023-04-16  3:39 Sam James
2023-04-16  3:39 Sam James
2022-11-16 12:52 Akinori Hattori
2022-11-16 12:52 Akinori Hattori
2022-11-16 12:52 Akinori Hattori
2022-10-31 20:47 Sam James
2022-09-04  1:48 Sam James
2022-09-04  1:44 Benda XU
2022-08-12 11:55 Agostino Sarubbo
2022-08-08 12:34 Agostino Sarubbo
2022-08-06  6:06 Arthur Zamarin
2022-08-06  6:06 Arthur Zamarin
2022-08-06  6:06 Arthur Zamarin
2022-08-06  6:06 Arthur Zamarin
2022-08-06  6:06 Arthur Zamarin
2022-08-06  0:57 Akinori Hattori
2022-01-30  9:25 Akinori Hattori
2021-09-25 23:25 Sam James
2021-09-25 22:57 Vadim Misbakh-Soloviov
2021-07-28 13:14 Marek Szuba
2021-07-17 22:59 Conrad Kostecki
2021-03-08  2:02 Aaron Bauman
2021-03-07 23:15 Aaron Bauman
2021-02-27 12:52 Akinori Hattori
2021-02-26 13:53 Sam James
2021-02-26  9:39 Agostino Sarubbo
2021-02-26  8:09 Agostino Sarubbo
2021-02-25 17:52 Sam James
2021-02-25 15:45 Sam James
2021-02-25 15:45 Sam James
2021-02-25 15:42 Sam James
2021-02-25 14:22 Akinori Hattori
2020-05-06 13:50 Akinori Hattori
2020-05-06 13:23 Akinori Hattori
2020-05-06 13:23 Akinori Hattori
2020-05-05 16:36 Akinori Hattori
2020-05-05 16:36 Akinori Hattori
2020-05-05 15:21 Akinori Hattori
2019-07-29 15:38 Aaron Bauman
2019-07-05 19:05 Virgil Dupras
2019-05-14  8:06 Michael Haubenwallner
2019-05-11 19:41 Virgil Dupras
2019-05-07 18:05 Virgil Dupras
2019-04-15  0:19 Aaron Bauman
2019-03-21 22:34 Matt Turner
2019-03-17 21:37 Matt Turner
2019-03-17 21:37 Matt Turner
2019-02-12 20:24 Jeroen Roovers
2019-01-31 18:04 Tobias Klausmann
2019-01-23 13:41 Mikle Kolyada
2019-01-18  7:27 Sergei Trofimovich
2019-01-16 15:33 Mikle Kolyada
2019-01-15 22:10 Thomas Deutschmann
2018-11-26 13:39 Benda XU
2018-11-13 18:13 Virgil Dupras
2018-10-17  8:51 Tobias Klausmann
2018-06-11  9:59 Thomas Deutschmann
2018-04-30  1:10 Jeroen Roovers
2018-04-19 20:40 Sergei Trofimovich
2018-04-15 21:49 Sergei Trofimovich
2018-04-15 20:56 Sergei Trofimovich
2017-12-18 15:00 Michael Weber
2017-02-05 12:18 Michael Weber
2016-07-25 17:45 Chí-Thanh Christopher Nguyễn
2016-06-17 11:13 Michael Weber
2016-05-07 21:44 Michael Weber
2016-05-07 21:44 Michael Weber
2016-03-02 22:53 Michael Weber

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1668603093.914d1ff8dc20c2f4835fa12db1719771c1614472.hattya@gentoo \
    --to=hattya@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox