From bf3134c544b8d9c105d6dbbde8c6ec982ca8c58a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Bar=C4=87?= Date: Sun, 18 Apr 2021 04:51:45 +0200 Subject: [PATCH] dev-*: add haxe and dependencies MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maciej Barć --- dev-lang/haxe/Manifest | 1 + dev-lang/haxe/haxe-4.1.1.ebuild | 59 +++++++++++++++++++++++++++++++++ dev-lang/haxe/metadata.xml | 17 ++++++++++ dev-ml/gen/Manifest | 1 + dev-ml/gen/gen-0.5.3.ebuild | 24 ++++++++++++++ dev-ml/gen/metadata.xml | 11 ++++++ dev-ml/ptmap/Manifest | 1 + dev-ml/ptmap/metadata.xml | 14 ++++++++ dev-ml/ptmap/ptmap-2.0.5.ebuild | 27 +++++++++++++++ dev-ml/sedlex/Manifest | 4 +++ dev-ml/sedlex/metadata.xml | 14 ++++++++ dev-ml/sedlex/sedlex-2.3.ebuild | 54 ++++++++++++++++++++++++++++++ dev-ml/sha/Manifest | 1 + dev-ml/sha/metadata.xml | 16 +++++++++ dev-ml/sha/sha-1.14.ebuild | 30 +++++++++++++++++ 15 files changed, 274 insertions(+) create mode 100644 dev-lang/haxe/Manifest create mode 100644 dev-lang/haxe/haxe-4.1.1.ebuild create mode 100644 dev-lang/haxe/metadata.xml create mode 100644 dev-ml/gen/Manifest create mode 100644 dev-ml/gen/gen-0.5.3.ebuild create mode 100644 dev-ml/gen/metadata.xml create mode 100644 dev-ml/ptmap/Manifest create mode 100644 dev-ml/ptmap/metadata.xml create mode 100644 dev-ml/ptmap/ptmap-2.0.5.ebuild create mode 100644 dev-ml/sedlex/Manifest create mode 100644 dev-ml/sedlex/metadata.xml create mode 100644 dev-ml/sedlex/sedlex-2.3.ebuild create mode 100644 dev-ml/sha/Manifest create mode 100644 dev-ml/sha/metadata.xml create mode 100644 dev-ml/sha/sha-1.14.ebuild diff --git a/dev-lang/haxe/Manifest b/dev-lang/haxe/Manifest new file mode 100644 index 0000000..95a3bce --- /dev/null +++ b/dev-lang/haxe/Manifest @@ -0,0 +1 @@ +DIST haxe-4.1.1.tar.gz 8901707 BLAKE2B fc513af2371dc6923629203941ea4394490e4660a524963fe67ae71c7f72ecea3429a4421071c5badb7ba0da7ac836c43d124b239c9d098b19f32fafac3f871c SHA512 0cf20247f0eb6b74c6de9cd9ebd11f061bc28a2b2927b61b5a710c9abed3e7fb192d0e34a34ab2346589e38a66840c42e59a66ac54755c7e2df674b8207deb21 diff --git a/dev-lang/haxe/haxe-4.1.1.ebuild b/dev-lang/haxe/haxe-4.1.1.ebuild new file mode 100644 index 0000000..639207c --- /dev/null +++ b/dev-lang/haxe/haxe-4.1.1.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# Before updating first read the recipe: +# https://github.com/ocaml/opam-repository/tree/master/packages/haxe + +EAPI=7 + +# inherit dune + +DESCRIPTION="Multi-target universal programming language" +HOMEPAGE="https://haxe.org/" + +if [[ "${PV}" == *9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/HaxeFoundation/${PN}.git" +else + SRC_URI="https://github.com/HaxeFoundation/haxe-debian/archive/upstream/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" + S="${WORKDIR}/haxe-debian-upstream-${PV}" +fi + +LICENSE="GPL-2 MIT" +SLOT="0" +IUSE="+ocamlopt" + +RDEPEND=" + =dev-ml/extlib-1.7.6 + + dev-ml/ptmap + dev-ml/sedlex + dev-ml/sha + dev-ml/xml-light + + dev-lang/neko + dev-libs/libpcre + net-libs/mbedtls + sys-libs/zlib +" +DEPEND="${RDEPEND}" + +QA_PRESTRIPPED=" + usr/bin/haxelib +" + +src_compile() { + if use ocamlopt; then + export OCAMLOPT=ocamlopt.opt + fi + + emake -j1 +} + +src_install() { + emake DESTDIR="${D}" INSTALL_DIR=/usr install + + dodoc *.md +} diff --git a/dev-lang/haxe/metadata.xml b/dev-lang/haxe/metadata.xml new file mode 100644 index 0000000..09756f5 --- /dev/null +++ b/dev-lang/haxe/metadata.xml @@ -0,0 +1,17 @@ + + + + + xgqt@riseup.net + Maciej Barć + + + Haxe is an open source toolkit based on a modern, high level, + static-typed programming language, a cross-compiler, a complete + cross-platform standard library and ways to access each platform's + native capabilities. + + + HaxeFoundation/haxe/ + + diff --git a/dev-ml/gen/Manifest b/dev-ml/gen/Manifest new file mode 100644 index 0000000..828d96d --- /dev/null +++ b/dev-ml/gen/Manifest @@ -0,0 +1 @@ +DIST gen-0.5.3.tar.gz 30905 BLAKE2B a6b8351ec4a75dd986cc0b4e9ed60dbfa78c3b8e3625c1e294f8bc0253d92be1f5d27cc7162e1cfc4f6397bbe272df22d9b7b0d1dd410d7760f30cf4c36c4745 SHA512 192178de106d2ae5f936caead8b21b4b9ec1b8fe35ba56296825900ea15a4ea702caf8824ac34d4478d107b954e22c3dffd81f12d4c08fbd6d9760f49a0deb14 diff --git a/dev-ml/gen/gen-0.5.3.ebuild b/dev-ml/gen/gen-0.5.3.ebuild new file mode 100644 index 0000000..dd0f0c9 --- /dev/null +++ b/dev-ml/gen/gen-0.5.3.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit dune + +DESCRIPTION="Iterators for OCaml, both restartable and consumable" +HOMEPAGE="https://github.com/c-cube/gen/" + +if [[ "${PV}" == *9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/c-cube/gen.git" +else + SRC_URI="https://github.com/c-cube/gen/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" +fi + +# doc: odoc +# test: qcheck qtest +RESTRICT="test" +LICENSE="BSD-2" +SLOT="0" +IUSE="+ocamlopt" diff --git a/dev-ml/gen/metadata.xml b/dev-ml/gen/metadata.xml new file mode 100644 index 0000000..fd05cb1 --- /dev/null +++ b/dev-ml/gen/metadata.xml @@ -0,0 +1,11 @@ + + + + + xgqt@riseup.net + Maciej Barć + + + c-cube/gen + + diff --git a/dev-ml/ptmap/Manifest b/dev-ml/ptmap/Manifest new file mode 100644 index 0000000..2ce2c25 --- /dev/null +++ b/dev-ml/ptmap/Manifest @@ -0,0 +1 @@ +DIST ptmap-2.0.5.tbz 14093 BLAKE2B 96e291be16a7c91bbb49a273f1e73843de400409ed4760f061ac64417480a538963bae9dbe760108c78126b942d3a415ba42c2e4bf414b4cddd7ccafb4ad90ff SHA512 4a3f20d189d905cb588de3148361495adc40d5892473bf9cd7e49bc98558de29feb51efefb5aab77cad892dd288ad8fa0348832c78cc21e66539768a5a9cab5b diff --git a/dev-ml/ptmap/metadata.xml b/dev-ml/ptmap/metadata.xml new file mode 100644 index 0000000..86f6da8 --- /dev/null +++ b/dev-ml/ptmap/metadata.xml @@ -0,0 +1,14 @@ + + + + + xgqt@riseup.net + Maciej Barć + + + CHANGEME + + + CHANGEME + + diff --git a/dev-ml/ptmap/ptmap-2.0.5.ebuild b/dev-ml/ptmap/ptmap-2.0.5.ebuild new file mode 100644 index 0000000..edc9dfc --- /dev/null +++ b/dev-ml/ptmap/ptmap-2.0.5.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit dune + +DESCRIPTION="Maps of integers implemented as Patricia trees" +HOMEPAGE="https://github.com/backtracking/ptmap/" + +if [[ "${PV}" == *9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/backtracking/${PN}.git" +else + SRC_URI="https://github.com/backtracking/${PN}/releases/download/${PV}/${P}.tbz" + KEYWORDS="~amd64" +fi + +LICENSE="LGPL-2.1" +SLOT="0" +IUSE="+ocamlopt" + +RDEPEND=" + dev-ml/seq + dev-ml/stdlib-shims +" +DEPEND="${RDEPEND}" diff --git a/dev-ml/sedlex/Manifest b/dev-ml/sedlex/Manifest new file mode 100644 index 0000000..66b18bb --- /dev/null +++ b/dev-ml/sedlex/Manifest @@ -0,0 +1,4 @@ +DIST sedlex-2.3-DerivedCoreProperties.txt 993782 BLAKE2B 185f76580a496781524e19124cc4d6d2f0eec6964d4dcf17c05e4a1f4a6031a821740a34e373c3be82c5f25acdb93a77f9591eafe37d026d40e027054e717c0f SHA512 e6b54579369edf361ee961171d9b4896449e16327d77749201e07a7022a4d9bd9e50ba25cc7397fb4e40c852347b1ef8599ed45bd5bb96a1b8dc5cd04ada5fda +DIST sedlex-2.3-DerivedGeneralCategory.txt 255731 BLAKE2B 4cc70d21872e6c8d4a26dddaf204531533b79bd58b7238395ca25db7346bc916bd85aa0343abc194b4aab499d481f40a6fe1d8ea287e873ff1199a1bdd195be7 SHA512 b45324cb2791be1d1cf10862ca1ca4008fed2f482aa20042cac7190d4a8d46f840cc65b7367379343d209c06fdf37cd677f887a99bfbf3aa7022fcb3d4212c2d +DIST sedlex-2.3-PropList.txt 123554 BLAKE2B 3b0a0e12315acfa67e51e48133652b12b45473a22a90f7d2cad91e149cf861f59daf02f8a15aa1138a879be4645d0d6bd48d6a2b39e61584d45f4e763b635ee0 SHA512 1979d14eaa43512ad681f8ebffd93b6bf5b0edacb72d01d7814aa293083e4834840223848c492d96f75a3cc8b219a6671e85158ccde4d283b37be3f9e2f071e4 +DIST sedlex-2.3.tar.gz 114507 BLAKE2B ba777d90ceba41136ac552a2aea860b2932dc2c27d02a5875e8533d6740bcababe444d27427fbae59739a42901b3fb85f7b2ed8fd318f984734e7283ecd7e69e SHA512 f91bbda9e79417e0a7c723a8efd9644404ffc91c60898b8fa07a514c38bc8472eae34419405354ae80966feb8d3203943f78776ad395a16132c7c890e3dbd7d8 diff --git a/dev-ml/sedlex/metadata.xml b/dev-ml/sedlex/metadata.xml new file mode 100644 index 0000000..86f6da8 --- /dev/null +++ b/dev-ml/sedlex/metadata.xml @@ -0,0 +1,14 @@ + + + + + xgqt@riseup.net + Maciej Barć + + + CHANGEME + + + CHANGEME + + diff --git a/dev-ml/sedlex/sedlex-2.3.ebuild b/dev-ml/sedlex/sedlex-2.3.ebuild new file mode 100644 index 0000000..3c83112 --- /dev/null +++ b/dev-ml/sedlex/sedlex-2.3.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit dune + +DESCRIPTION="An OCaml lexer generator for Unicode" +HOMEPAGE="https://github.com/ocaml-community/sedlex/" + +if [[ "${PV}" == *9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/ocaml-community/${PN}.git" +else + SRC_URI="https://github.com/ocaml-community/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" +fi + +UCD_URL_BASE="https://www.unicode.org/Public/12.1.0/ucd" +SRC_URI+=" + ${UCD_URL_BASE}/DerivedCoreProperties.txt -> ${P}-DerivedCoreProperties.txt + ${UCD_URL_BASE}/extracted/DerivedGeneralCategory.txt -> ${P}-DerivedGeneralCategory.txt + ${UCD_URL_BASE}/PropList.txt -> ${P}-PropList.txt +" + +LICENSE="MIT" +SLOT="0" +IUSE="+ocamlopt" + +RDEPEND=" + + + + + xgqt@riseup.net + Maciej Barć + + + This is the binding for SHA interface code in OCaml. Offering the same + interface than the MD5 digest included in the OCaml standard library. + It's currently providing SHA1, SHA256 and SHA512 hash functions. + + + djs55/ocaml-sha + + diff --git a/dev-ml/sha/sha-1.14.ebuild b/dev-ml/sha/sha-1.14.ebuild new file mode 100644 index 0000000..38139a9 --- /dev/null +++ b/dev-ml/sha/sha-1.14.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit dune + +DESCRIPTION="Binding to the SHA cryptographic functions" +HOMEPAGE="https://github.com/djs55/ocaml-sha" + +if [[ "${PV}" == *9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/djs55/ocaml-sha.git" +else + SRC_URI="https://github.com/djs55/ocaml-sha/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" + S="${WORKDIR}/ocaml-sha-${PV}" +fi + +LICENSE="ISC" +SLOT="0" +IUSE="+ocamlopt test" + +RDEPEND=" + dev-ml/stdlib-shims + test? ( + dev-ml/ounit2 + ) +" +DEPEND="${RDEPEND}"