From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9EA38139696 for ; Fri, 17 Feb 2017 22:44:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 80124E0CC8; Fri, 17 Feb 2017 22:44:18 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4271DE0C7A for ; Fri, 17 Feb 2017 22:44:18 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E0091340EF6 for ; Fri, 17 Feb 2017 22:44:16 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 445744B53 for ; Fri, 17 Feb 2017 22:44:15 +0000 (UTC) From: "Alexis Ballier" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alexis Ballier" Message-ID: <1487371448.47594412f6cac2b9de28861a33933cf572b1813c.aballier@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ml/ocaml-ipaddr/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ml/ocaml-ipaddr/Manifest dev-ml/ocaml-ipaddr/ocaml-ipaddr-2.7.2.ebuild X-VCS-Directories: dev-ml/ocaml-ipaddr/ X-VCS-Committer: aballier X-VCS-Committer-Name: Alexis Ballier X-VCS-Revision: 47594412f6cac2b9de28861a33933cf572b1813c X-VCS-Branch: master Date: Fri, 17 Feb 2017 22:44:15 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 20c825d6-51d8-4e5b-be9b-4a8cd048d2b3 X-Archives-Hash: 01ed08df1613e89c4334c27be1ef60c0 commit: 47594412f6cac2b9de28861a33933cf572b1813c Author: Alexis Ballier gentoo org> AuthorDate: Fri Feb 17 22:33:51 2017 +0000 Commit: Alexis Ballier gentoo org> CommitDate: Fri Feb 17 22:44:08 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47594412 dev-ml/ocaml-ipaddr: Bump to 2.7.2 Package-Manager: Portage-2.3.3, Repoman-2.3.1 dev-ml/ocaml-ipaddr/Manifest | 1 + dev-ml/ocaml-ipaddr/ocaml-ipaddr-2.7.2.ebuild | 43 +++++++++++++++++++++++++++ 2 files changed, 44 insertions(+) diff --git a/dev-ml/ocaml-ipaddr/Manifest b/dev-ml/ocaml-ipaddr/Manifest index d6750d89d2..29172d5afb 100644 --- a/dev-ml/ocaml-ipaddr/Manifest +++ b/dev-ml/ocaml-ipaddr/Manifest @@ -1 +1,2 @@ DIST ocaml-ipaddr-2.7.1.tar.gz 23652 SHA256 0d1d5fe983ff02ed09a0f03e5f1048c575d621599b42b5685d56f4da61186888 SHA512 9f640f10614666f3a7cc578e934b0424c1d6fdcdd2dc5620f4a8b4fa7799a07fdd7c4bbe4e91c4899d45612ce8d2d4cafc8bcd19e51253c6da5d12c504820903 WHIRLPOOL 5be5846d98fbec95c5d3ba47c3b59bbdd3c44e41d04270d0b0ca2331eb7e6aac3d79c4833bf8dd20edb2d0c9f03b3bc72c53f12e0d27fb9980bcf73dea2c17f4 +DIST ocaml-ipaddr-2.7.2.tar.gz 23698 SHA256 2dc1dc07bb62fe43382181a13f33b7ff1c0dbbeb6b591b7ab17ea32c7be0d256 SHA512 fe477bcdae82f6a259d99cb4191f942ba7a38d11c575fcaa92c2973c9cd0b3b2b008a1efdca73e11d94f892be2f84547c386bbfca95cfa78d2fefd83d77ca876 WHIRLPOOL bca829ebf37d6275631dea24b3264ec5103a625366e9357851068d90fd9fd6e7de6ad930638fa9acbc19f446a9e74cc2eaf8083f62114d3ea8680e8039f1e936 diff --git a/dev-ml/ocaml-ipaddr/ocaml-ipaddr-2.7.2.ebuild b/dev-ml/ocaml-ipaddr/ocaml-ipaddr-2.7.2.ebuild new file mode 100644 index 0000000000..fbb8988eb0 --- /dev/null +++ b/dev-ml/ocaml-ipaddr/ocaml-ipaddr-2.7.2.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +DESCRIPTION="OCaml library for manipulation of IP (and MAC) address representations" +HOMEPAGE="https://github.com/mirage/ocaml-ipaddr" +SRC_URI="https://github.com/mirage/ocaml-ipaddr/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="ISC" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="+ocamlopt test" + +RDEPEND="dev-ml/sexplib:= + dev-ml/ppx_sexp_conv:= + dev-lang/ocaml:=[ocamlopt?] +" +DEPEND="${RDEPEND} + dev-ml/ocamlbuild + dev-ml/topkg + dev-ml/findlib + test? ( dev-ml/ounit ) +" + +src_compile() { + ocaml pkg/pkg.ml build \ + --tests $(usex test "true" "false") || die +} + +src_test() { + ocaml pkg/pkg.ml test || die +} + +src_install() { + opam-installer -i \ + --prefix="${ED}/usr" \ + --libdir="${D}/$(ocamlc -where)" \ + --docdir="${ED}/usr/share/doc/${PF}" \ + ipaddr.install || die + dodoc CHANGES.md README.md +}