diff options
author | Alexis Ballier <aballier@gentoo.org> | 2017-04-01 18:28:56 +0200 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2017-04-02 10:37:54 +0200 |
commit | 74b84b878c45777cafbd001ddc77177a003850fe (patch) | |
tree | a952e64666a38e99c2d2370ec93077ff933ac042 /dev-ml/re2 | |
parent | dev-ml/ppx_hash: initial import (diff) | |
download | gentoo-74b84b878c45777cafbd001ddc77177a003850fe.tar.gz gentoo-74b84b878c45777cafbd001ddc77177a003850fe.tar.bz2 gentoo-74b84b878c45777cafbd001ddc77177a003850fe.zip |
dev-ml/re2: Bump to 0.9.0
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'dev-ml/re2')
-rw-r--r-- | dev-ml/re2/Manifest | 2 | ||||
-rw-r--r-- | dev-ml/re2/re2-0.9.0.ebuild | 31 | ||||
-rw-r--r-- | dev-ml/re2/re2-113.33.00.ebuild | 52 |
3 files changed, 32 insertions, 53 deletions
diff --git a/dev-ml/re2/Manifest b/dev-ml/re2/Manifest index 09ecc3f295ad..093558bcfe22 100644 --- a/dev-ml/re2/Manifest +++ b/dev-ml/re2/Manifest @@ -1 +1 @@ -DIST re2-113.33.00.tar.gz 440555 SHA256 e5d097e8ad18e62236e71b4606daa55f3a4885b7bc50a9ddb0a53cac91822f45 SHA512 52a10754c39c19f878a79cf962246e0a0b235c73bf0c94929396ad8a9fd55efc598601a1325823caa2cdbbf930e4476d9a5dfc837fbd1ebc00f3b3ee29c66ab9 WHIRLPOOL dd8d12c887b0136720d81701f449bbdd3d8283251f12c13f890542cb438829bb6320deb03dfa79f2c6dc67f99e0eafe9f730bb5afc7408a2505d9c205b71ee7f +DIST re2-0.9.0.tar.gz 388868 SHA256 9bc1b404c15e8cb399ce84f91d17e867e55e50792e3bc432926a84531aa84e94 SHA512 d11cde52c151486025e05318930253f37312eb6498698ffd3b271f4ba0c83cae0ff8c0c1a11e01b6ab333770400108f3de33fd68f73ab6df1c832e7edffb5e77 WHIRLPOOL 168d42bc449d532a80ebcc0b8c5ea2ca1041761c745a4d6683f168c0c928cc39a4df96c4f366280808e1a937b554765622e4215311bd68c93c76ef21eb3c4dca diff --git a/dev-ml/re2/re2-0.9.0.ebuild b/dev-ml/re2/re2-0.9.0.ebuild new file mode 100644 index 000000000000..2aaecc90b223 --- /dev/null +++ b/dev-ml/re2/re2-0.9.0.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="OCaml bindings for RE2" +HOMEPAGE="https://github.com/janestreet/re2" +SRC_URI="https://github.com/janestreet/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="" + +DEPEND=" + dev-lang/ocaml:= + dev-ml/core_kernel:= + dev-ml/ppx_driver:= + dev-ml/ppx_jane:= + dev-ml/ocaml-migrate-parsetree:= +" +RDEPEND="${DEPEND}" +DEPEND="${DEPEND} dev-ml/opam dev-ml/jbuilder" + +src_install() { + opam-installer -i \ + --prefix="${ED}/usr" \ + --libdir="${D}/$(ocamlc -where)" \ + --docdir="${ED}/usr/share/doc/${PF}" \ + ${PN}.install || die +} diff --git a/dev-ml/re2/re2-113.33.00.ebuild b/dev-ml/re2/re2-113.33.00.ebuild deleted file mode 100644 index 9dcc38cc4348..000000000000 --- a/dev-ml/re2/re2-113.33.00.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="5" - -OASIS_BUILD_DOCS=1 - -inherit oasis - -DESCRIPTION="OCaml bindings for RE2" -HOMEPAGE="http://www.janestreet.com/ocaml" -SRC_URI="http://ocaml.janestreet.com/ocaml-core/${PV%.*}/files/${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0/${PV}" -KEYWORDS="~amd64" -IUSE="" - -DEPEND=" - dev-ml/bin-prot:= - dev-ml/core_kernel:= - dev-ml/fieldslib:= - dev-ml/ppx_assert:= - dev-ml/ppx_bench:= - dev-ml/ppx_driver:= - dev-ml/ppx_expect:= - dev-ml/ppx_inline_test:= - dev-ml/ppx_jane:= - dev-ml/sexplib:= - dev-ml/typerep:= - dev-ml/variantslib:= -" -RDEPEND="${DEPEND}" -DEPEND="${DEPEND} dev-ml/opam" - -src_configure() { - emake setup.exe - OASIS_SETUP_COMMAND="./setup.exe" oasis_src_configure -} - -src_compile() { - emake -} - -src_install() { - opam-installer -i \ - --prefix="${ED}/usr" \ - --libdir="${D}/$(ocamlc -where)" \ - --docdir="${ED}/usr/share/doc/${PF}" \ - ${PN}.install || die - dodoc CHANGES.md -} |