diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-12-04 10:56:18 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-12-04 10:56:18 +0000 |
commit | 4ead5818a5d230bcc875202c487761a9b786e945 (patch) | |
tree | 63238d1977f2788cb5b7074037f15810af25bb88 /dev-lang/fennel | |
parent | d074d0ba59e3121dba0c27c4a18f1e481f67b62a (diff) |
gentoo auto-resync : 04:12:2023 - 10:56:18
Diffstat (limited to 'dev-lang/fennel')
-rw-r--r-- | dev-lang/fennel/Manifest | 2 | ||||
-rw-r--r-- | dev-lang/fennel/fennel-1.4.0.ebuild | 52 |
2 files changed, 54 insertions, 0 deletions
diff --git a/dev-lang/fennel/Manifest b/dev-lang/fennel/Manifest index 969b0d4653a9..327551bb0c3e 100644 --- a/dev-lang/fennel/Manifest +++ b/dev-lang/fennel/Manifest @@ -1,3 +1,5 @@ DIST fennel-1.3.1.tar.gz 293564 BLAKE2B 9fc465a06d8df86468197408dbb2c4e1c20a630911d1d999763cb274ed5bafa8dc4260416f10edc294bb9b7e56379f7842137d016059f0f2bc61d15391449447 SHA512 421d479c4527898123020ecc231e5eea38c5f5f1216f4a0bed0a39b8123d6a21ba1b0e876d281dfde447fe000e34a81f706303b4daa2626cc7559c063990cd5f +DIST fennel-1.4.0.tar.gz 299561 BLAKE2B a94bb15c04b69154dbea1bc562347cef0b9ddd9ec3c3994bf5999593ef89422338f54dfb0bbd6c8e6f487eeb6d1178cc916ed8a92ec7755c43108ff58d3a842e SHA512 0c92496db478eb5445d95057433b54a945c38a40541c6891c1d887a296ce3c89468c688702249488b34192ce1783b4891e292b9b1702a0620e51cc103602694a EBUILD fennel-1.3.1.ebuild 921 BLAKE2B cb433616b7e14b7462fc0167c14cad50436adc84d949d838019606a1a8d1f8414a550470f950e3fdc1a0430b4fbf3664140dd3a6f585113be7f49956a6c7c5f2 SHA512 8e3c313f82fe8fea9727e7129d7efb86abee9be87109708d3d86d674dbceaff52dab4abb81002cf7410a90552694667b507fd3573a145d3b79cd4857b5f82040 +EBUILD fennel-1.4.0.ebuild 962 BLAKE2B fe8411734f00da32953a232e33f29808d69a070f1b0ca65b9d8dc381aa2988bf81b6c0ffd18302b37d1b56734b7c020d711b888180f279087d261597744bb76b SHA512 058ddcccbf655fae460daa3681175cf948c4e5ece5e6125e7aeec9bea2beca26f5a02fc6d5f6006f725e5928aeb27db61e8aa73c173dbf56f29cd2fa9dd350a0 MISC metadata.xml 1061 BLAKE2B 49ef84fd44f2efd7526055bfc6fd1a37fa0d426a0746d769844ad6fd4ae1efc7dcc541f61fe6f3d8e0e92cb324c6bdfb061312c15ed1d696cf1985aa4cb4097d SHA512 3381a38c5c2ae6482325e6aeea556db767cc6166e89280511d0597c06fbc532a6592d526954f8b1fd40badcac7a951eece9f6aeaf18802f85ca16ccb5da4510d diff --git a/dev-lang/fennel/fennel-1.4.0.ebuild b/dev-lang/fennel/fennel-1.4.0.ebuild new file mode 100644 index 000000000000..6cdd0b3c123f --- /dev/null +++ b/dev-lang/fennel/fennel-1.4.0.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Fails to build with with "lua5-1". +LUA_COMPAT=( lua5-{3,4} luajit ) + +inherit lua-single + +DESCRIPTION="Lisp-like language that compiles to Lua" +HOMEPAGE="https://fennel-lang.org/ + https://sr.ht/~technomancy/fennel/" + +if [[ "${PV}" == *9999* ]] ; then + inherit git-r3 + + EGIT_REPO_URI="https://git.sr.ht/~technomancy/${PN}" +else + SRC_URI="https://git.sr.ht/~technomancy/${PN}/archive/${PV}.tar.gz + -> ${P}.tar.gz" + + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="MIT" +SLOT="0/${PV}" +REQUIRED_USE="${LUA_REQUIRED_USE}" + +RDEPEND=" + ${LUA_DEPS} +" +BDEPEND=" + ${RDEPEND} +" + +src_prepare() { + default + + # Turn off failing tests. bug https://bugs.gentoo.org/906351 + sed -e 's|"failures",||' -e 's|"repl",||' -i test/init.lua || die +} + +src_test() { + emake test +} + +src_install() { + emake LUA_LIB_DIR="${ED}/$(lua_get_lmod_dir)" PREFIX="${ED}/usr" install + + dodoc *.md +} |