commit: 9bec04a824bac2f9c9fc20a10ac272b27c10df48 Author: Maciej Barć <xgqt <AT> gentoo <DOT> org> AuthorDate: Sat Apr 16 16:25:47 2022 +0000 Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org> CommitDate: Sat Apr 16 16:28:17 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9bec04a8
dev-lang/fennel: bump to 1.1.0 Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org> dev-lang/fennel/Manifest | 1 + dev-lang/fennel/fennel-1.1.0.ebuild | 36 ++++++++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+) diff --git a/dev-lang/fennel/Manifest b/dev-lang/fennel/Manifest index 448de1dc17f6..03e035206e58 100644 --- a/dev-lang/fennel/Manifest +++ b/dev-lang/fennel/Manifest @@ -1,2 +1,3 @@ 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 diff --git a/dev-lang/fennel/fennel-1.1.0.ebuild b/dev-lang/fennel/fennel-1.1.0.ebuild new file mode 100644 index 000000000000..f470a84c2717 --- /dev/null +++ b/dev-lang/fennel/fennel-1.1.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 +}