diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2022-02-01 14:20:37 +0100 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2022-02-01 14:20:37 +0100 |
commit | 57d08b65650094efddf0a9269e65ef7f4867f2af (patch) | |
tree | 3e055288a0f7cd0790e28d15fc399dbf7e10a2c3 /dev-ml | |
parent | dev-games/irrlicht-mt: initial import (diff) | |
download | gentoo-57d08b65650094efddf0a9269e65ef7f4867f2af.tar.gz gentoo-57d08b65650094efddf0a9269e65ef7f4867f2af.tar.bz2 gentoo-57d08b65650094efddf0a9269e65ef7f4867f2af.zip |
dev-ml/sedlex: 2.5 bump
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'dev-ml')
-rw-r--r-- | dev-ml/sedlex/Manifest | 4 | ||||
-rw-r--r-- | dev-ml/sedlex/sedlex-2.5.ebuild | 48 |
2 files changed, 52 insertions, 0 deletions
diff --git a/dev-ml/sedlex/Manifest b/dev-ml/sedlex/Manifest index 66b18bbb4a83..9ff6ea32be8d 100644 --- a/dev-ml/sedlex/Manifest +++ b/dev-ml/sedlex/Manifest @@ -2,3 +2,7 @@ DIST sedlex-2.3-DerivedCoreProperties.txt 993782 BLAKE2B 185f76580a496781524e191 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 +DIST sedlex-2.5-DerivedCoreProperties.txt 993782 BLAKE2B 185f76580a496781524e19124cc4d6d2f0eec6964d4dcf17c05e4a1f4a6031a821740a34e373c3be82c5f25acdb93a77f9591eafe37d026d40e027054e717c0f SHA512 e6b54579369edf361ee961171d9b4896449e16327d77749201e07a7022a4d9bd9e50ba25cc7397fb4e40c852347b1ef8599ed45bd5bb96a1b8dc5cd04ada5fda +DIST sedlex-2.5-DerivedGeneralCategory.txt 255731 BLAKE2B 4cc70d21872e6c8d4a26dddaf204531533b79bd58b7238395ca25db7346bc916bd85aa0343abc194b4aab499d481f40a6fe1d8ea287e873ff1199a1bdd195be7 SHA512 b45324cb2791be1d1cf10862ca1ca4008fed2f482aa20042cac7190d4a8d46f840cc65b7367379343d209c06fdf37cd677f887a99bfbf3aa7022fcb3d4212c2d +DIST sedlex-2.5-PropList.txt 123554 BLAKE2B 3b0a0e12315acfa67e51e48133652b12b45473a22a90f7d2cad91e149cf861f59daf02f8a15aa1138a879be4645d0d6bd48d6a2b39e61584d45f4e763b635ee0 SHA512 1979d14eaa43512ad681f8ebffd93b6bf5b0edacb72d01d7814aa293083e4834840223848c492d96f75a3cc8b219a6671e85158ccde4d283b37be3f9e2f071e4 +DIST sedlex-2.5.tar.gz 134289 BLAKE2B 47aa67ed34ee0226b92d538e61bbf7252dcead236dd51d4a291c7b81f7d0747d1024e9eb0a274d7648b25cfa078108e3e62d54ea2702450171b9ff4ab60f7706 SHA512 5c511a89e43999b34e50cc820a4ac71ecd0315ef144da2af1653077d7497b2ce3658898b723a7c558693766e6bc57369349cdf78c4a4b962a23d4528161b78ef diff --git a/dev-ml/sedlex/sedlex-2.5.ebuild b/dev-ml/sedlex/sedlex-2.5.ebuild new file mode 100644 index 000000000000..7b4bbcf44cc7 --- /dev/null +++ b/dev-ml/sedlex/sedlex-2.5.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2022 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" +SRC_URI="https://github.com/ocaml-community/${PN}/archive/v${PV}.tar.gz + -> ${P}.tar.gz" + +FILES=( DerivedCoreProperties extracted/DerivedGeneralCategory PropList ) +for file in ${FILES[@]} ; do + SRC_URI+=" https://www.unicode.org/Public/12.1.0/ucd/${file}.txt + -> ${P}-${file##*/}.txt" +done + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~x86" +IUSE="+ocamlopt" + +DEPEND=" + dev-ml/gen:= + dev-ml/ppxlib:= + dev-ml/uchar:= +" +RDEPEND="${DEPEND}" + +src_unpack() { + unpack "${P}.tar.gz" + + local file + for file in ${FILES[@]} ; do + ebegin "Copying ${file}" + cp "${DISTDIR}/${P}-${file##*/}.txt" \ + "${S}/src/generator/data/${file##*/}.txt" + eend $? || die + done +} + +src_prepare() { + default + + # Remove dune file with rules to download additional txt files + rm "${S}/src/generator/data/dune" || die +} |