public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Alexis Ballier" <aballier@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ml/uutf/
Date: Wed,  8 Mar 2017 08:55:49 +0000 (UTC)	[thread overview]
Message-ID: <1488963336.45735cf35399b1944ad4eeb90a85196962d6613d.aballier@gentoo> (raw)

commit:     45735cf35399b1944ad4eeb90a85196962d6613d
Author:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Wed Mar  8 07:15:44 2017 +0000
Commit:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Wed Mar  8 08:55:36 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45735cf3

dev-ml/uutf: Bump to 1.0.1

Package-Manager: Portage-2.3.4, Repoman-2.3.2

 dev-ml/uutf/Manifest          |  1 +
 dev-ml/uutf/uutf-1.0.1.ebuild | 55 +++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 56 insertions(+)

diff --git a/dev-ml/uutf/Manifest b/dev-ml/uutf/Manifest
index d555c3e0162..522ca90b855 100644
--- a/dev-ml/uutf/Manifest
+++ b/dev-ml/uutf/Manifest
@@ -1 +1,2 @@
 DIST uutf-1.0.0.tbz 22182 SHA256 67dc4bd7ef6c8ab23ca62d34eb8c861a1f30624f3b009d45ac84772600672022 SHA512 ca033175aeaf2dafac9a7d2ad846f128d728bfbd7688c2c95d0db1d2a9b92a781d82c37d7bbfbede8934bbb6fa59a2df7530db0f0006032994971a7e4570999c WHIRLPOOL ad6e86cb3bc30cb4a139f6bfd081a256ea5a7054bd4fa06f2a8017b26a77265c352389961deb19f5affc3e6c6a72f5ad6cbfe9435b0a4d0b1adb9aba53a82ee4
+DIST uutf-1.0.1.tbz 22215 SHA256 123b26e7a471f2c5bd0fce454ccf515d299610ec356e321241fae0f75833e9be SHA512 35cbee8c82a566f2fe4fcd549936d4c4dc67f5b71bfd3ea97ff25d7cf21cfb77cb5ee313c95ad26a2a61bb84aa48c300bbb79a1a7128c6161e9abe9c390a7d18 WHIRLPOOL 31fe4dd2e7b9011e1788559d1e366c216921a5c65ec8f4b42788a2d3e65c8cf4b7870861f917932937dc132be75ef15fc4ecdd69791dbf651ff7c8585e133581

diff --git a/dev-ml/uutf/uutf-1.0.1.ebuild b/dev-ml/uutf/uutf-1.0.1.ebuild
new file mode 100644
index 00000000000..e8b1a1e0b2d
--- /dev/null
+++ b/dev-ml/uutf/uutf-1.0.1.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+inherit findlib
+
+DESCRIPTION="Non-blocking streaming Unicode codec for OCaml"
+HOMEPAGE="http://erratique.ch/software/uutf"
+SRC_URI="http://erratique.ch/software/uutf/releases/${P}.tbz"
+
+LICENSE="ISC"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE="doc utftrip +ocamlopt test"
+
+RDEPEND=">=dev-lang/ocaml-3.12:=[ocamlopt?]
+	dev-ml/uchar:=
+	utftrip? ( dev-ml/cmdliner:= )"
+DEPEND="${RDEPEND}
+	dev-ml/ocamlbuild
+	dev-ml/topkg
+	test? ( dev-ml/cmdliner )"
+
+src_compile() {
+	ocaml pkg/pkg.ml build \
+		--with-cmdliner "$(usex utftrip true false)" \
+		|| die
+}
+
+src_test() {
+	if use ocamlopt ; then
+		ocamlbuild -use-ocamlfind tests.otarget || die
+		pushd _build/test || die
+		./test.native || die
+		#Rebuild to avoid mismatches between installed files, bug #604674
+		popd || die
+		ocaml pkg/pkg.ml build \
+			--with-cmdliner "$(usex utftrip true false)" \
+			|| die
+	else
+		ewarn "Sorry, ${PN} tests require native support (ocamlopt)"
+	fi
+}
+
+src_install() {
+	# Can't use opam-installer here as it is an opam dep...
+	findlib_src_preinst
+	local nativelibs=""
+	use ocamlopt && nativelibs="$(echo _build/src/uutf.cm{x,xa,xs} _build/src/uutf.a)"
+	ocamlfind install uutf _build/pkg/META _build/src/uutf.mli _build/src/uutf.cm{a,i} ${nativelibs} || die
+	use utftrip && newbin utftrip.$(usex ocamlopt native byte) utftrip
+	dodoc CHANGES.md README.md
+	use doc && dohtml -r doc/*
+}


             reply	other threads:[~2017-03-08  8:55 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-08  8:55 Alexis Ballier [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-03-17 10:00 [gentoo-commits] repo/gentoo:master commit in: dev-ml/uutf/ Arthur Zamarin
2023-03-17  2:29 Sam James
2023-03-17  2:29 Sam James
2023-03-16 23:16 Sam James
2023-03-16 23:16 Sam James
2022-07-03  8:18 Alfredo Tupone
2022-03-08 14:59 Maciej Barć
2021-10-29  5:55 Agostino Sarubbo
2021-10-29  5:54 Agostino Sarubbo
2021-10-18 23:49 Sam James
2021-10-17  0:13 Sam James
2021-10-16 14:02 Agostino Sarubbo
2021-10-16  7:10 Agostino Sarubbo
2021-10-15  3:51 Sam James
2021-07-05 19:23 Alfredo Tupone
2021-04-21  2:10 Sam James
2021-03-13 14:05 Sam James
2021-03-04 14:28 Agostino Sarubbo
2021-02-25 17:54 Sam James
2021-02-25 13:09 Sam James
2021-02-10 16:38 Sam James
2021-02-09 20:22 Sam James
2021-02-09 20:22 Sam James
2021-02-09 20:22 Sam James
2017-08-02 11:23 Alexis Ballier
2017-08-02 11:23 Alexis Ballier
2017-04-05 17:50 Markus Meier
2017-04-05  9:51 Michael Weber
2017-03-15 14:26 Alexis Ballier
2017-01-24 10:55 Alexis Ballier
2017-01-14  2:32 Alexis Ballier
2016-11-29 12:21 Alexis Ballier
2016-11-28 20:27 Alexis Ballier
2016-03-01 18:47 Alexis Ballier

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=1488963336.45735cf35399b1944ad4eeb90a85196962d6613d.aballier@gentoo \
    --to=aballier@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