diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-04 16:24:49 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-04 16:24:49 -0500 |
| commit | a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7 (patch) | |
| tree | 0c52bbae1c242fbc296bd650fcd1167685f81492 /dev-lua/binaryheap/binaryheap-0.4.ebuild | |
| parent | bfd9c39e4712ebdb442d4ca0673061faed1e70e1 (diff) | |
| download | baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.gz baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.xz baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.zip | |
Adding metadata
Diffstat (limited to 'dev-lua/binaryheap/binaryheap-0.4.ebuild')
| -rw-r--r-- | dev-lua/binaryheap/binaryheap-0.4.ebuild | 65 |
1 files changed, 0 insertions, 65 deletions
diff --git a/dev-lua/binaryheap/binaryheap-0.4.ebuild b/dev-lua/binaryheap/binaryheap-0.4.ebuild deleted file mode 100644 index 13fc235b2159..000000000000 --- a/dev-lua/binaryheap/binaryheap-0.4.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -LUA_COMPAT=( lua5-{1,3,4} luajit ) - -inherit lua - -MY_PN="${PN}.lua" -MY_PV="version_$(ver_rs 1 v)" -MY_P="${MY_PN}-${MY_PV}" - -DESCRIPTION="Binary heap implementation in pure Lua" -HOMEPAGE="http://tieske.github.io/binaryheap.lua" -HOMEPAGE+=" https://github.com/Tieske/binaryheap.lua" -SRC_URI="https://github.com/Tieske/${MY_PN}/archive/${MY_PV}.tar.gz -> ${MY_P}.tar.gz" - -S="${WORKDIR}/${MY_P}" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" -IUSE="test" - -REQUIRED_USE="${LUA_REQUIRED_USE}" -RESTRICT="!test? ( test )" - -DEPEND="${LUA_DEPS}" -RDEPEND="${DEPEND}" -BDEPEND=" - test? ( - dev-lua/busted[${LUA_USEDEP}] - dev-lua/luacov[${LUA_USEDEP}] - ) -" - -src_prepare() { - default - lua_copy_sources -} - -lua_src_test() { - if [[ ${ELUA} == "lua5.3" ]]; then - # this test failed only with 5.3 - rm "${BUILD_DIR}"/spec/dijkstras_algorithm_spec.lua || die - fi - busted --lua="${ELUA}" --output="plainTerminal" "${BUILD_DIR}"/spec || die "Tests fail with ${ELUA}" -} - -src_test() { - lua_foreach_impl lua_src_test -} - -lua_src_install() { - insinto $(lua_get_lmod_dir) - doins src/${PN}.lua -} - -src_install() { - lua_foreach_impl lua_src_install - local HTML_DOCS=( docs ) - dodoc -r "examples" - einstalldocs -} |
