mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
dev-lua/hump: new package, add 0.4.2
Signed-off-by: Suleyman Farajli <suleyman@farajli.net>
This commit is contained in:
1
dev-lua/hump/Manifest
Normal file
1
dev-lua/hump/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST hump-0.4.2.tar.gz 372382 BLAKE2B d686c170181e2f3c2ba2d8227d33e4dd9b6ab6486c6cbfe0e7e89f80402178cdf8d876aa47ae3a78b324af2e10b53b32e9fb8ef65505b4f22cee3a86b9371b88 SHA512 facee81e1e9ad38ea3d00e510e4b8c20a5f2e10fe55dfa005139153c92115900cf26176a9b80dfc592adc8f7bd75a6d3af02b79ad855ff8ce16cd0f734764339
|
||||
50
dev-lua/hump/hump-0.4.2.ebuild
Normal file
50
dev-lua/hump/hump-0.4.2.ebuild
Normal file
@@ -0,0 +1,50 @@
|
||||
# Copyright 2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
LUA_COMPAT=( lua5-{1..4} luajit )
|
||||
|
||||
inherit lua
|
||||
|
||||
DESCRIPTION="Helper Utilities for a Multitude of Problems"
|
||||
HOMEPAGE="http://hump.readthedocs.org/"
|
||||
HOMEPAGE+=" https://github.com/vrld/hump/"
|
||||
EGIT_COMMIT="08937cc0ecf72d1a964a8de6cd552c5e136bf0d4"
|
||||
SRC_URI="https://github.com/vrld/hump/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
S="${WORKDIR}/${PN}-${EGIT_COMMIT}"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64"
|
||||
|
||||
IUSE="doc"
|
||||
REQUIRED_USE="${LUA_REQUIRED_USE}"
|
||||
|
||||
DEPEND="${LUA_DEPS}"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND="
|
||||
doc? (
|
||||
dev-python/sphinx
|
||||
dev-python/sphinx-rtd-theme
|
||||
)
|
||||
"
|
||||
|
||||
src_compile() {
|
||||
use doc && emake -C docs/ man html
|
||||
}
|
||||
|
||||
lua_src_install() {
|
||||
insinto $(lua_get_lmod_dir)/hump/
|
||||
doins *.lua
|
||||
}
|
||||
|
||||
src_install() {
|
||||
lua_foreach_impl lua_src_install
|
||||
if use doc; then
|
||||
doman docs/_build/man/hump.1
|
||||
local HTML_DOCS=( docs/_build/html/ )
|
||||
fi
|
||||
einstalldocs
|
||||
}
|
||||
11
dev-lua/hump/metadata.xml
Normal file
11
dev-lua/hump/metadata.xml
Normal file
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>suleyman@farajli.net</email>
|
||||
<name>Suleyman Farajli</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">vrld/hump</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user