net-irc/znc-palaver - 1.2.2 (gentoo)

Search

Package Information

Description:
A ZNC module which provides push notifications to Palaver
Homepage:
https://github.com/cocodelabs/znc-palaver
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
1.2.2 8 amd64 x86 0
View Raw Ebuild
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

PYTHON_COMPAT=( python3_{10..13} )

inherit python-single-r1 toolchain-funcs

DESCRIPTION="A ZNC module which provides push notifications to Palaver"
HOMEPAGE="https://github.com/cocodelabs/znc-palaver"
SRC_URI="https://github.com/cocodelabs/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 x86"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"

# Tests need network
RESTRICT="test"

RDEPEND="
	${PYTHON_DEPS}
	net-irc/znc:=[ssl]"

BDEPEND="
	${RDEPEND}
	$(python_gen_cond_dep '
		dev-python/pytest[${PYTHON_USEDEP}]
		dev-python/pytest-asyncio[${PYTHON_USEDEP}]
		dev-python/semantic-version[${PYTHON_USEDEP}]
	')
"

DOCS=( "CHANGELOG.md" "README.md" )

src_compile() {
	tc-export CXX

	# Building znc modules by 'znc-buildmod'
	# does not support multiple threads.
	emake -j1
}

src_test() {
	default

	emake test-integration
}

src_install() {
	insinto /usr/$(get_libdir)/znc
	doins palaver.so

	einstalldocs
}

Dependencies

RDEPEND

	${PYTHON_DEPS}
	net-irc/znc:=[ssl]

BDEPEND

	
	${PYTHON_DEPS}
	net-irc/znc:=[ssl]
	$(python_gen_cond_dep '
		dev-python/pytest[${PYTHON_USEDEP}]
		dev-python/pytest-asyncio[${PYTHON_USEDEP}]
		dev-python/semantic-version[${PYTHON_USEDEP}]
	')

Manifest for 1.2.2

Type File Size Source URLs
DIST znc-palaver-1.2.2.tar.gz 14649 bytes https://github.com/cocodelabs/znc-palaver/archive/1.2.2.tar.gz