diff options
author | Conrad Kostecki <conikost@gentoo.org> | 2020-08-29 02:43:41 +0200 |
---|---|---|
committer | Conrad Kostecki <conikost@gentoo.org> | 2020-08-29 02:44:08 +0200 |
commit | a4dc42a459fc2f2ecf185b54ddeba53d999034ab (patch) | |
tree | 8342a21e9e0025bb6ba1406f2cd31b0d4d54727d /net-irc/znc-palaver/znc-palaver-1.2.1.ebuild | |
parent | app-admin/sudo: Stabilize 1.9.2 arm64, #738336 (diff) | |
download | gentoo-a4dc42a459fc2f2ecf185b54ddeba53d999034ab.tar.gz gentoo-a4dc42a459fc2f2ecf185b54ddeba53d999034ab.tar.bz2 gentoo-a4dc42a459fc2f2ecf185b54ddeba53d999034ab.zip |
net-irc/znc-palaver: new package
Palaver ZNC module provides push notifications
to Palaver while Palaver is disconnected from IRC.
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'net-irc/znc-palaver/znc-palaver-1.2.1.ebuild')
-rw-r--r-- | net-irc/znc-palaver/znc-palaver-1.2.1.ebuild | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/net-irc/znc-palaver/znc-palaver-1.2.1.ebuild b/net-irc/znc-palaver/znc-palaver-1.2.1.ebuild new file mode 100644 index 000000000000..45c850d4f1f7 --- /dev/null +++ b/net-irc/znc-palaver/znc-palaver-1.2.1.ebuild @@ -0,0 +1,60 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6..9} ) + +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" +IUSE="test" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" +RESTRICT="!test? ( 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" ) + +PATCHES=( + "${FILESDIR}/${P}-python310.patch" + "${FILESDIR}/${P}-xunit2.patch" +) + +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 +} |