summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2022-08-29 04:35:49 +0200
committerMaciej Barć <xgqt@gentoo.org>2022-08-29 04:35:49 +0200
commit16e90c5367a2f5115906ccd58c32aaa26c1c562f (patch)
tree77d0809b820e7f3fdee00523bf17f309feea78cb /dev-lang/fennel
parentsys-kernel/git-sources: add 6.0_rc3 (diff)
downloadgentoo-16e90c5367a2f5115906ccd58c32aaa26c1c562f.tar.gz
gentoo-16e90c5367a2f5115906ccd58c32aaa26c1c562f.tar.bz2
gentoo-16e90c5367a2f5115906ccd58c32aaa26c1c562f.zip
dev-lang/fennel: bump to 1.2.0
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'dev-lang/fennel')
-rw-r--r--dev-lang/fennel/Manifest1
-rw-r--r--dev-lang/fennel/fennel-1.2.0.ebuild36
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-lang/fennel/Manifest b/dev-lang/fennel/Manifest
index 03e035206e58..763df8e82b6c 100644
--- a/dev-lang/fennel/Manifest
+++ b/dev-lang/fennel/Manifest
@@ -1,3 +1,4 @@
DIST fennel-0.9.1.tar.gz 203441 BLAKE2B 74f461b3e7a24cdae0c8dde590814cb9753a12ab62e797746cc8753d178007a09084037e443d8309fa11ff309a5c6bf6c2e369942ef357aa0402883cef278542 SHA512 87e7ffbef0b49499a93255f50e77f53b9be4faa6d4609d8d65e3a64470bbf07b49a55e7dd547fda4b0e5fe0f4f1e6ece18282cc89955a57ed0a50be8dc01261c
DIST fennel-1.0.0.tar.gz 243719 BLAKE2B 07758493c8c96d2d5151a1cb38da9fec002eb2522926dc2cad0a125c3e608daf2035a3d21743a8634a5fd0cab372e78ee0179710388c56888cb9a2fef167ea58 SHA512 4ad1635807d244297fdc7bf7c06568ae708ae805dcaac2bb190fad412da21c9e3c3b86a6afa223e343488c725afea94682f213332fb22ba66eb5190e97f18415
DIST fennel-1.1.0.tar.gz 261279 BLAKE2B fc77cc82b164477e3b8ef2b40a14439b49953efbea1395330ae60c1f68989816b8477823e1d8b26813dc492a235b1268124b03c0d6dcb773007c6e8435be5a33 SHA512 86e92e399118a3aff8d49098b1a914bca6fdcd898aabcdfda38803a2e69a1d179bd972edece500ce2d912a895d15b8aaf1b05c8840e0062cf6d4043b862457b3
+DIST fennel-1.2.0.tar.gz 270255 BLAKE2B b5cacec8bc6b4baf30e1219b55184176b50819c3c71492450b6d0730c249ab8c2d41259ba4cd5e57c67b2f9a6e4651032d8066c42f365a9735b9c90ae8f3ab52 SHA512 ec1d967b19244d014f0f960d9eb0643232ccd17ebe3f60f2500d9fc34f9bafcf1a612396f14bb0a240956765d42414072ef3a0540d0618cbd20f612e69eb240e
diff --git a/dev-lang/fennel/fennel-1.2.0.ebuild b/dev-lang/fennel/fennel-1.2.0.ebuild
new file mode 100644
index 000000000000..f470a84c2717
--- /dev/null
+++ b/dev-lang/fennel/fennel-1.2.0.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2022 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/"
+
+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}"
+DEPEND="${RDEPEND}"
+
+src_install() {
+ emake LUA_LIB_DIR="${ED}/$(lua_get_lmod_dir)" PREFIX="${ED}/usr" install
+
+ rm -r "${ED}"/usr/man || die
+ doman ${PN}.1
+
+ dodoc *.md
+}