From 7bc9c63c9da678a7e6fceb095d56c634afd22c56 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 15 Dec 2019 18:09:03 +0000 Subject: gentoo resync : 15.12.2019 --- dev-ml/camlpdf/Manifest | 7 +++---- dev-ml/camlpdf/camlpdf-2.1.1.ebuild | 40 ------------------------------------- dev-ml/camlpdf/camlpdf-2.3.ebuild | 36 +++++++++++++++++++++++++++++++++ dev-ml/camlpdf/files/ocaml43.patch | 13 ------------ dev-ml/camlpdf/metadata.xml | 5 +---- 5 files changed, 40 insertions(+), 61 deletions(-) delete mode 100644 dev-ml/camlpdf/camlpdf-2.1.1.ebuild create mode 100644 dev-ml/camlpdf/camlpdf-2.3.ebuild delete mode 100644 dev-ml/camlpdf/files/ocaml43.patch (limited to 'dev-ml/camlpdf') diff --git a/dev-ml/camlpdf/Manifest b/dev-ml/camlpdf/Manifest index 69f9e8f22ebf..d06b7d9ce68e 100644 --- a/dev-ml/camlpdf/Manifest +++ b/dev-ml/camlpdf/Manifest @@ -1,6 +1,5 @@ -AUX ocaml43.patch 513 BLAKE2B 0e072dd9550e836739405bce85d81c38e5f03c4c8c6b400113c1b18a7719f65d82bb2e965337abbd41f9c4407dbad89ed9f289af9cb2b2d9eb8f501f8c346e97 SHA512 d0208633e71699fda0335b4542ef1d888ea8d090debe248dbbcaa0ce056df3f89cc7dc3d58d9fd8c3f329dc1b13b0481a1b0f5e0c832490d7efe314c4e5e3442 -DIST camlpdf-2.1.1.tar.gz 563633 BLAKE2B 3ff7ec46bbac70eabe6695911e834a5f2122136fecba661ff708c86dfb8d928694d67054504028670c3138c600f7f770b540d87c4e1a0ed1e04c71e083afdc23 SHA512 db6f9f61c43113e1f4d8741d88766bacc489a45b8e7164e4619f8bb88c527bc7cbeebdaaa673a77ab16c60dc3c90d21a69844e9fed92c222fc8fe0424f328cf2 DIST camlpdf-2.2.1.tar.gz 570782 BLAKE2B 218dc3f0de67eebd983a849769372daa5630b1c5b4f488f4eeb1c73defc8da76ce65c73e43dc6fed5474f78aa01331a93e83ae6289aa099d71e30cd6c13f0777 SHA512 7539294434479b529edb7b46017f324b98bc0b83d25c1254a52ab1b67f8e3e04c2b8709ba22c6a0ac5e4444c65ef37e4645a495ea3ee011d3e95cd3021d559c2 -EBUILD camlpdf-2.1.1.ebuild 894 BLAKE2B 634572c7d71247b979133d041e3cb02bebe7be7f08e3afb0c054ac793b46b8887754b4d7ed28d216075bdeb015eb5c0a7dc07db8b2e3d46df90b207e0a420445 SHA512 5fb9224253ff7e7e00ca265be4cbea3894b9dc6604104f95b6a581449ea099f60c1796d248648fca59cb2bae1ce0fa9728a84834df1bc58e21860eb79a8045f1 +DIST camlpdf-2.3.tar.gz 601250 BLAKE2B 9b2a7f6a90d33a69d3a6c15c4c299e7fde4633a78cbd43e1b779f713d371ee16dc588449e024e35a83cef8c24d7059844c92f3354391381437bea37595b604a7 SHA512 dfb81692f894f071bb32634e371cdb202af17f671fb1b9c379ff3d360453a0909c3b6d9960aae45cac49e20f06aeb49ad6db276324542e7be306831ef586d255 EBUILD camlpdf-2.2.1.ebuild 792 BLAKE2B 6f284e640a8fbb0cb4c164d81323453d346da3e249cf6c0577200658f501019c5d0fd224240eae718d1d57230222b6bbbf879f9560803b622bdba70d3684c2b6 SHA512 751bb870ffb7dfde242c531ced14ac37bf09d3786c9b1aac313b2490d4e4a0fe6f27509ab706327057ee4eca59b571ed8b883aef56d9de59df05ecd50557f978 -MISC metadata.xml 343 BLAKE2B 66027af918b340e99bb310ca9a0aa08b629ce77e509238a0bebba37825aab79787ca274f61b920e0aa23028d1cf4589fbf5634c9e1ccffe4c5b49f6933c6dd08 SHA512 242e854715e8106261330caa84e1b974d69659d004b21128d666011a3eac226667e3af5ce47b92433262be26a10570adce7dcd79d98970a779d63d962334fdd4 +EBUILD camlpdf-2.3.ebuild 792 BLAKE2B ed804c71e8eed524e0b119f39865bc57b28f736854066f47daa5b773a793a302b692e65d6273e2e77f9908aa0f0be0f97c2eec7987a49b824d24cf87c493fbb4 SHA512 e59b4c2de92c39d6f115b4d4487a90aadebf3fea79f8921c59ed40594c2c5151fe3f3928df8a0a4006cb01e2d76271df58a55a6779529ffb2cef91bececa32d5 +MISC metadata.xml 259 BLAKE2B fe31735dbcfbcf15b67d7085e3fed88028fc88aa887e4fe70d0be4b9f08de55c77ce99256334addb84f5dd03617d93df664cc10a02c1ff44a1d056c0c1302de1 SHA512 34db28ebcb8cc68ffd1fc9cf026723b895666cffd58814c2a58117ed6e5a4269e7c7c66ae77f305c66f63fcf1e9c3cfb09aac5a3681cf00364dc5865e697fcd6 diff --git a/dev-ml/camlpdf/camlpdf-2.1.1.ebuild b/dev-ml/camlpdf/camlpdf-2.1.1.ebuild deleted file mode 100644 index e2be0d457ace..000000000000 --- a/dev-ml/camlpdf/camlpdf-2.1.1.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit findlib eutils - -DESCRIPTION="OCaml library for reading, writing, and modifying PDF files" -HOMEPAGE="https://github.com/johnwhitington/camlpdf/" -SRC_URI="https://github.com/johnwhitington/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -# technically LGPL-2.1+ with linking exception -LICENSE="LGPL-2.1-with-linking-exception" -SLOT="0/${PV}" -KEYWORDS="~amd64 ~x86" -IUSE="doc examples" - -RDEPEND="dev-lang/ocaml:=" -DEPEND="${RDEPEND}" - -src_prepare() { - has_version '>=dev-lang/ocaml-4.03.0_beta1' && epatch "${FILESDIR}/ocaml43.patch" -} - -src_compile() { - # parallel make bugs - emake -j1 -} - -src_install() { - findlib_src_install - dodoc Changes README.md - - if use doc ; then - dodoc introduction_to_camlpdf.pdf - dohtml doc/camlpdf/html/* - fi - - use examples && dodoc -r examples -} diff --git a/dev-ml/camlpdf/camlpdf-2.3.ebuild b/dev-ml/camlpdf/camlpdf-2.3.ebuild new file mode 100644 index 000000000000..965e0ef70c14 --- /dev/null +++ b/dev-ml/camlpdf/camlpdf-2.3.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit findlib + +DESCRIPTION="OCaml library for reading, writing, and modifying PDF files" +HOMEPAGE="https://github.com/johnwhitington/camlpdf/" +SRC_URI="https://github.com/johnwhitington/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +# technically LGPL-2.1+ with linking exception +LICENSE="LGPL-2.1-with-linking-exception" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~x86" +IUSE="doc examples" + +RDEPEND="dev-lang/ocaml:=[ocamlopt]" +DEPEND="${RDEPEND}" + +src_compile() { + # parallel make bugs + emake -j1 +} + +src_install() { + findlib_src_install + dodoc Changes README.md + + if use doc ; then + dodoc introduction_to_camlpdf.pdf + dodoc -r doc/camlpdf/html + fi + + use examples && dodoc -r examples +} diff --git a/dev-ml/camlpdf/files/ocaml43.patch b/dev-ml/camlpdf/files/ocaml43.patch deleted file mode 100644 index 86ffbe23eb14..000000000000 --- a/dev-ml/camlpdf/files/ocaml43.patch +++ /dev/null @@ -1,13 +0,0 @@ -Index: camlpdf-2.1.1/flatestubs.c -=================================================================== ---- camlpdf-2.1.1.orig/flatestubs.c -+++ camlpdf-2.1.1/flatestubs.c -@@ -170,7 +170,7 @@ value camlzip_inflateEnd(value vzs) - - value camlzip_update_crc32(value crc, value buf, value pos, value len) - { -- return copy_int32(crc32((uint32) Int32_val(crc), -+ return copy_int32(crc32((uint32_t) Int32_val(crc), - &Byte_u(buf, Long_val(pos)), - Long_val(len))); - } diff --git a/dev-ml/camlpdf/metadata.xml b/dev-ml/camlpdf/metadata.xml index 1e93b8f9e9d6..f338f6f42e76 100644 --- a/dev-ml/camlpdf/metadata.xml +++ b/dev-ml/camlpdf/metadata.xml @@ -1,10 +1,7 @@ - - radhermit@gentoo.org - Tim Harder - + johnwhitington/camlpdf -- cgit v1.2.3