diff options
author | Maciej Barć <xgqt@gentoo.org> | 2023-04-24 22:32:11 +0200 |
---|---|---|
committer | Maciej Barć <xgqt@gentoo.org> | 2023-04-24 22:45:27 +0200 |
commit | 27bd7fa32466fc17d890adef711cbca82715d8e4 (patch) | |
tree | 3dd9342b153e3393ce27f4e5b33f78f6f68f3f99 /dev-ml | |
parent | net-libs/libnatpmp: install natpmo_declspec.h (diff) | |
download | gentoo-27bd7fa32466fc17d890adef711cbca82715d8e4.tar.gz gentoo-27bd7fa32466fc17d890adef711cbca82715d8e4.tar.bz2 gentoo-27bd7fa32466fc17d890adef711cbca82715d8e4.zip |
dev-ml/sedlex: bump to 3.1
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'dev-ml')
-rw-r--r-- | dev-ml/sedlex/Manifest | 1 | ||||
-rw-r--r-- | dev-ml/sedlex/sedlex-3.1.ebuild | 36 |
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-ml/sedlex/Manifest b/dev-ml/sedlex/Manifest index b0efce8d4d7a..5499f4432595 100644 --- a/dev-ml/sedlex/Manifest +++ b/dev-ml/sedlex/Manifest @@ -1,2 +1,3 @@ DIST sedlex-2.5.tar.gz 134289 BLAKE2B 47aa67ed34ee0226b92d538e61bbf7252dcead236dd51d4a291c7b81f7d0747d1024e9eb0a274d7648b25cfa078108e3e62d54ea2702450171b9ff4ab60f7706 SHA512 5c511a89e43999b34e50cc820a4ac71ecd0315ef144da2af1653077d7497b2ce3658898b723a7c558693766e6bc57369349cdf78c4a4b962a23d4528161b78ef DIST sedlex-3.0.tar.gz 133248 BLAKE2B f1adb73087b132d4e99b4785af3a99d3d82ee860d16691c48fbec6bd2776d8de23f736f5d6f21b734c846ef793caa8e7c925ce58dfc472d205268eab39973c6a SHA512 564780b7af8b3ddd32c9164caa42fd24b2ff59e0bf9977bcee4c3ddea2be3f0c870bd95949b639c5f1942e0fa2604902f5cd3eb9041d59b6ee2367895df556df +DIST sedlex-3.1.tar.gz 139786 BLAKE2B 6bacf781f25a5a21ea4cf710ffef04949fbeea90033eb429a5f9d7733e64108526de7f94b56c2da5c8a3af4fab6eff94421b705de9ffe8137a4e8282aa9900cd SHA512 27c7954c03a9d78f252167708afe7d91648ad3d3aa529e00c73da75bac49c2cf552cc9d27d29f1d9a04b1e2b47b7c6de9e9850c53124ad9f311d0a8f54bb9cae diff --git a/dev-ml/sedlex/sedlex-3.1.ebuild b/dev-ml/sedlex/sedlex-3.1.ebuild new file mode 100644 index 000000000000..4c5d9b412edd --- /dev/null +++ b/dev-ml/sedlex/sedlex-3.1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Using "--for-release-of-packages" skips the regeneration of "unicode.ml" file +# (using curl), see "src_compile" and "src_test" and "dune-release". +DUNE_PKG_NAME=${PN} + +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" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~x86" +IUSE="+ocamlopt test" +RESTRICT="!test? ( test )" + +DEPEND=" + dev-ml/gen:= + >=dev-ml/ppxlib-0.26:= +" +RDEPEND="${DEPEND}" +BDEPEND="test? ( dev-ml/ppx_expect )" + +src_compile() { + dune-compile ${DUNE_PKG_NAME} +} + +src_test() { + dune-test ${DUNE_PKG_NAME} +} |