dev-lua/hump - 0.4.2 (guru)

Search

Install

Install this version:

emerge -a =dev-lua/hump-0.4.2

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-lua/hump-0.4.2

Or alternatively:

emerge --autounmask-write -a =dev-lua/hump-0.4.2

Package Information

Description:
Helper Utilities for a Multitude of Problems
Homepage:
http://hump.readthedocs.org/ https://github.com/vrld/hump/
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
0.4.2 8 ~amd64 0
View Raw Ebuild
# 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
}

USE Flags

Manage flags for this package: euse -i <flag> -p dev-lua/hump | euse -E <flag> -p dev-lua/hump | euse -D <flag> -p dev-lua/hump

Global/Standard Flags

doc

Inherited Eclasses

lua

Dependencies

BDEPEND

	doc? (
		dev-python/sphinx
		dev-python/sphinx-rtd-theme
	)

Manifest for 0.4.2

Type File Size Source URLs
DIST hump-0.4.2.tar.gz 372382 bytes https://github.com/vrld/hump/archive/08937cc0ecf72d1a964a8de6cd552c5e136bf0d4.tar.gz