mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-22 21:43:03 -04:00
Merge updates from master
This commit is contained in:
@@ -6,6 +6,6 @@ EAPI=7
|
|||||||
inherit acct-group
|
inherit acct-group
|
||||||
|
|
||||||
DESCRIPTION="A user group for www-servers/hinsightd"
|
DESCRIPTION="A user group for www-servers/hinsightd"
|
||||||
KEYWORDS=""
|
KEYWORDS="~amd64"
|
||||||
|
|
||||||
ACCT_GROUP_ID=-1
|
ACCT_GROUP_ID=-1
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ EAPI=7
|
|||||||
inherit acct-user
|
inherit acct-user
|
||||||
|
|
||||||
DESCRIPTION="A user account for www-servers/hinsightd"
|
DESCRIPTION="A user account for www-servers/hinsightd"
|
||||||
KEYWORDS=""
|
KEYWORDS="~amd64"
|
||||||
|
|
||||||
ACCT_USER_ID=-1
|
ACCT_USER_ID=-1
|
||||||
ACCT_USER_GROUPS=( hinsightd )
|
ACCT_USER_GROUPS=( hinsightd )
|
||||||
|
|||||||
@@ -16,6 +16,9 @@ LICENSE="BSD"
|
|||||||
SLOT="0"
|
SLOT="0"
|
||||||
KEYWORDS="~amd64"
|
KEYWORDS="~amd64"
|
||||||
|
|
||||||
|
DEPEND="test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
|
||||||
|
RDEPEND="!dev-python/glicko2[${PYTHON_USEDEP}]"
|
||||||
|
|
||||||
S="${WORKDIR}/${MYPN}-${COMMIT}"
|
S="${WORKDIR}/${MYPN}-${COMMIT}"
|
||||||
|
|
||||||
distutils_enable_tests setup.py
|
distutils_enable_tests setup.py
|
||||||
|
|||||||
@@ -0,0 +1,29 @@
|
|||||||
|
From f82733908da155f598cfec46d132c3121d793030 Mon Sep 17 00:00:00 2001
|
||||||
|
From: tastytea <tastytea@tastytea.de>
|
||||||
|
Date: Wed, 21 Apr 2021 20:50:29 +0200
|
||||||
|
Subject: [PATCH] Disable failing tests.
|
||||||
|
|
||||||
|
---
|
||||||
|
app/tests/Makefile.am | 4 ----
|
||||||
|
1 file changed, 4 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/app/tests/Makefile.am b/app/tests/Makefile.am
|
||||||
|
index d4203358d0..54c51e8dc4 100644
|
||||||
|
--- a/app/tests/Makefile.am
|
||||||
|
+++ b/app/tests/Makefile.am
|
||||||
|
@@ -31,12 +31,8 @@ endif
|
||||||
|
TESTS = \
|
||||||
|
test-core \
|
||||||
|
test-gimpidtable \
|
||||||
|
- test-save-and-export \
|
||||||
|
test-session-2-8-compatibility-multi-window \
|
||||||
|
test-session-2-8-compatibility-single-window \
|
||||||
|
- test-single-window-mode \
|
||||||
|
- test-tools \
|
||||||
|
- test-ui \
|
||||||
|
test-xcf
|
||||||
|
|
||||||
|
EXTRA_PROGRAMS = $(TESTS)
|
||||||
|
--
|
||||||
|
2.26.3
|
||||||
|
|
||||||
@@ -94,6 +94,7 @@ DOCS=( "AUTHORS" "HACKING.md" "NEWS" "README.md" )
|
|||||||
PATCHES=(
|
PATCHES=(
|
||||||
"${FILESDIR}/${PN}-0.2.0_fix_test-appdata.patch" # Bug 685210, bug #691070
|
"${FILESDIR}/${PN}-0.2.0_fix_test-appdata.patch" # Bug 685210, bug #691070
|
||||||
"${FILESDIR}/${PN}-0.2.0_fix_autoconf-2.70.patch" # Bug #776679
|
"${FILESDIR}/${PN}-0.2.0_fix_autoconf-2.70.patch" # Bug #776679
|
||||||
|
"${FILESDIR}/${PN}-0.2.0_disable-failing-tests.patch" # Bug #784410
|
||||||
)
|
)
|
||||||
|
|
||||||
src_prepare() {
|
src_prepare() {
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
DIST nuclear-bin-0.6.11.tar.gz 100883653 BLAKE2B bc99721c4ea914a5453e6366b18491c81f55a009a6b83fc0f52bd1182e81ac71d5856cb7c507c8f5759f56e33dbc39afd0e1b4bcdf3a95196ac569f509537168 SHA512 39a425f8a5fc59b2d8f2c66a5c2aab971e9b2af935fa38146da7772a47e2de61073bc11d5499b7897dab90325570e836bbd87a6932b3dc5a63066ac93e83415c
|
DIST nuclear-bin-0.6.12.tar.gz 100924874 BLAKE2B c78580ce58da3591c4be4e908c2727ee63d31a09b1018343a751ffca7f0da009b0527333a1a909c6c372378910a2e0ce9b67231555bba8d8a46df668a2f5e344 SHA512 b4e0d8d453964663fc3349d2d2207393d8de91201eaf679a9da195c27a2790299eca5073a631e3db7245d0d60947912db5d5f665a3f1246b442d4630487b9647
|
||||||
|
|||||||
@@ -5,11 +5,12 @@ EAPI=7
|
|||||||
|
|
||||||
inherit desktop xdg
|
inherit desktop xdg
|
||||||
|
|
||||||
MY_P="nuclear-${PV}"
|
MY_PV="v${PV}"
|
||||||
|
MY_P="nuclear-${MY_PV}"
|
||||||
|
|
||||||
DESCRIPTION="Nuclear is a streaming program that pulls content from free sources on internet"
|
DESCRIPTION="Nuclear is a streaming program that pulls content from free sources on internet"
|
||||||
HOMEPAGE="https://nuclear.js.org/"
|
HOMEPAGE="https://nuclear.js.org/"
|
||||||
SRC_URI="https://github.com/nukeop/nuclear/releases/download/v${PV}/${MY_P}.tar.gz -> ${P}.tar.gz"
|
SRC_URI="https://github.com/nukeop/nuclear/releases/download/${MY_PV}/${MY_P}.tar.gz -> ${P}.tar.gz"
|
||||||
|
|
||||||
LICENSE="MIT"
|
LICENSE="MIT"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
@@ -6,7 +6,9 @@ EAPI=7
|
|||||||
PYTHON_COMPAT=( python3_{7..9} )
|
PYTHON_COMPAT=( python3_{7..9} )
|
||||||
DISTUTILS_USE_SETUPTOOLS=rdepend
|
DISTUTILS_USE_SETUPTOOLS=rdepend
|
||||||
|
|
||||||
inherit distutils-r1 udev
|
inherit distutils-r1
|
||||||
|
|
||||||
|
MY_P="bmap-tools-${PV}"
|
||||||
|
|
||||||
DESCRIPTION="Bmaptool is a tool for creating and copyng files using block maps"
|
DESCRIPTION="Bmaptool is a tool for creating and copyng files using block maps"
|
||||||
HOMEPAGE="https://github.com/intel/bmap-tools"
|
HOMEPAGE="https://github.com/intel/bmap-tools"
|
||||||
@@ -16,7 +18,7 @@ SRC_URI="https://github.com/intel/bmap-tools/archive/refs/tags/v${PV}.tar.gz ->
|
|||||||
LICENSE="GPL-2"
|
LICENSE="GPL-2"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
KEYWORDS="~amd64 ~x86"
|
KEYWORDS="~amd64 ~x86"
|
||||||
S="${WORKDIR}/bmap-tools-3.6"
|
S="${WORKDIR}/${MY_P}"
|
||||||
RDEPEND="dev-python/six"
|
RDEPEND="dev-python/six"
|
||||||
|
|
||||||
python_install_all() {
|
python_install_all() {
|
||||||
|
|||||||
@@ -61,12 +61,8 @@ src_configure() {
|
|||||||
$(use_enable embed-code-changes)
|
$(use_enable embed-code-changes)
|
||||||
$(use_enable execution-workflow)
|
$(use_enable execution-workflow)
|
||||||
)
|
)
|
||||||
|
use dlb && myconf+=( "--with-dlb=${EPREFIX}/usr" )
|
||||||
|
|
||||||
if use dlb; then
|
|
||||||
myconf+=( "--with-dlb=${EPREFIX}/usr" )
|
|
||||||
else
|
|
||||||
myconf+=( "--without-dlb" )
|
|
||||||
fi
|
|
||||||
if use embed-code-changes; then
|
if use embed-code-changes; then
|
||||||
myconf+=( "--with-git=${EPREFIX}/usr" )
|
myconf+=( "--with-git=${EPREFIX}/usr" )
|
||||||
else
|
else
|
||||||
|
|||||||
1
www-servers/hinsightd/Manifest
Normal file
1
www-servers/hinsightd/Manifest
Normal file
@@ -0,0 +1 @@
|
|||||||
|
DIST hin9-v0.9.0.tar.gz 65320 BLAKE2B c1348bc5afffa8804494f6ae228f54874d25cc5f40c17ee2a36f23104286f96f5d616cdc3e98de0854cf7d4b18165a2b70600b32f58024b679d213b2156c1f18 SHA512 60a1ff72d1abf57d8f764ebb77ab77f7069b40bfdbb5bb1c95324b366d1052378ffe36198112a595e08238622654a9c1e1d89679924883f8ff42b98ca7cf139e
|
||||||
66
www-servers/hinsightd/hinsightd-0.9.0.ebuild
Normal file
66
www-servers/hinsightd/hinsightd-0.9.0.ebuild
Normal file
@@ -0,0 +1,66 @@
|
|||||||
|
# Copyright 2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
LUA_COMPAT=( lua5-{1..4} )
|
||||||
|
|
||||||
|
inherit fcaps
|
||||||
|
|
||||||
|
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"
|
||||||
|
LICENSE="BSD"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
IUSE="" #+openssl
|
||||||
|
|
||||||
|
S="${WORKDIR}/hin9-v${PV}"
|
||||||
|
|
||||||
|
BDEPEND="
|
||||||
|
dev-util/ninja
|
||||||
|
"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
acct-user/hinsightd
|
||||||
|
acct-group/hinsightd
|
||||||
|
sys-libs/liburing
|
||||||
|
dev-lang/lua:*
|
||||||
|
sys-libs/zlib
|
||||||
|
dev-libs/openssl
|
||||||
|
"
|
||||||
|
|
||||||
|
DEPEND="${RDEPEND}"
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
"${FILESDIR}/hinsightd-redefine-directories.patch"
|
||||||
|
)
|
||||||
|
|
||||||
|
#src_configure() {
|
||||||
|
#}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
cd build
|
||||||
|
ninja || die
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
newbin "${S}/build/hin9" hinsightd
|
||||||
|
newinitd "${FILESDIR}/init.d.sh" hinsightd
|
||||||
|
#systemd_dounit "${FILESDIR}/hinsightd.service" # not tested
|
||||||
|
|
||||||
|
insinto /etc/hinsightd
|
||||||
|
newins "${S}/workdir/main.lua" hinsightd.lua
|
||||||
|
|
||||||
|
# logrotate
|
||||||
|
insinto /etc/logrotate.d
|
||||||
|
newins "${FILESDIR}"/logrotate.d.sh hinsightd
|
||||||
|
|
||||||
|
keepdir /var/www/localhost/htdocs
|
||||||
|
keepdir /var/log/hinsightd
|
||||||
|
keepdir /var/tmp/hinsightd
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
fcaps CAP_NET_BIND_SERVICE /usr/bin/hinsightd
|
||||||
|
}
|
||||||
@@ -2,6 +2,10 @@
|
|||||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
<pkgmetadata>
|
<pkgmetadata>
|
||||||
<!-- maintainer-needed -->
|
<!-- maintainer-needed -->
|
||||||
|
<upstream>
|
||||||
|
<changelog>https://gitlab.com/tiotags/hin9/-/blob/master/docs/changes.md</changelog>
|
||||||
|
<bugs-to>https://gitlab.com/tiotags/hin9/-/issues</bugs-to>
|
||||||
|
</upstream>
|
||||||
<longdescription lang="en">
|
<longdescription lang="en">
|
||||||
hinsightd is a http/1.1 webserver with a focus on simple code and
|
hinsightd is a http/1.1 webserver with a focus on simple code and
|
||||||
reliable behaviour.
|
reliable behaviour.
|
||||||
|
|||||||
Reference in New Issue
Block a user