commit:     4d80cc06ee59e44ae9548ebf9a593e3f5e2dcef6
Author:     tiotags <tiotags1 <AT> gmail <DOT> com>
AuthorDate: Fri Apr 23 07:21:59 2021 +0000
Commit:     Haelwenn Monnier <contact <AT> hacktivis <DOT> me>
CommitDate: Fri Apr 23 07:22:12 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4d80cc06

www-servers/hinsightd: lua-single, multiple tweaks

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Alexandru Campeanu <tiotags1 <AT> gmail.com>

 www-servers/hinsightd/hinsightd-0.9.0.ebuild | 6 +++---
 www-servers/hinsightd/hinsightd-9999.ebuild  | 4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/www-servers/hinsightd/hinsightd-0.9.0.ebuild 
b/www-servers/hinsightd/hinsightd-0.9.0.ebuild
index 744bf8aab..7f95594b6 100644
--- a/www-servers/hinsightd/hinsightd-0.9.0.ebuild
+++ b/www-servers/hinsightd/hinsightd-0.9.0.ebuild
@@ -5,11 +5,11 @@ EAPI=7
 
 LUA_COMPAT=( lua5-1 )
 
-inherit fcaps lua
+inherit fcaps lua-single
 
 DESCRIPTION="hinsightd a http/1.1 webserver with (hopefully) minimal goals"
 HOMEPAGE="https://gitlab.com/tiotags/hin9";
-SRC_URI="https://gitlab.com/tiotags/hin9/-/archive/v0.9.0/hin9-v0.9.0.tar.gz";
+SRC_URI="https://gitlab.com/tiotags/hin9/-/archive/v${PV}/hin9-v${PV}.tar.gz";
 
 LICENSE="BSD"
 SLOT="0"
@@ -51,7 +51,7 @@ src_compile() {
 src_install() {
        newbin "${S}/build/hin9" hinsightd
        newinitd "${FILESDIR}/init.d.sh" hinsightd
-       #systemd_dounit "${FILESDIR}/hinsightd.service" # not tested
+       systemd_dounit "${FILESDIR}/hinsightd.service" # not tested
 
        insinto /etc/hinsightd
        newins "${S}/workdir/main.lua" hinsightd.lua

diff --git a/www-servers/hinsightd/hinsightd-9999.ebuild 
b/www-servers/hinsightd/hinsightd-9999.ebuild
index d0fcda423..cfc31c90f 100644
--- a/www-servers/hinsightd/hinsightd-9999.ebuild
+++ b/www-servers/hinsightd/hinsightd-9999.ebuild
@@ -5,7 +5,7 @@ EAPI=7
 
 LUA_COMPAT=( lua5-{1..4} )
 
-inherit git-r3 fcaps lua
+inherit git-r3 fcaps lua-single
 
 DESCRIPTION="hinsightd a http/1.1 webserver with (hopefully) minimal goals"
 HOMEPAGE="https://gitlab.com/tiotags/hin9";
@@ -49,7 +49,7 @@ src_compile() {
 src_install() {
        newbin "${S}/build/hin9" hinsightd
        newinitd "${FILESDIR}/init.d.sh" hinsightd
-       #systemd_dounit "${FILESDIR}/hinsightd.service" # not tested
+       systemd_dounit "${FILESDIR}/hinsightd.service" # not tested
 
        insinto /etc/hinsightd
        newins "${S}/workdir/main.lua" hinsightd.lua

Reply via email to