summaryrefslogtreecommitdiff
path: root/net-irc
diff options
context:
space:
mode:
Diffstat (limited to 'net-irc')
-rw-r--r--net-irc/Manifest.gzbin8236 -> 8237 bytes
-rw-r--r--net-irc/limnoria/Manifest3
-rw-r--r--net-irc/limnoria/limnoria-20221116-r1.ebuild76
-rw-r--r--net-irc/limnoria/limnoria-99999999.ebuild4
4 files changed, 79 insertions, 4 deletions
diff --git a/net-irc/Manifest.gz b/net-irc/Manifest.gz
index 091ad6cb9434..c1ae0ddd2a0a 100644
--- a/net-irc/Manifest.gz
+++ b/net-irc/Manifest.gz
Binary files differ
diff --git a/net-irc/limnoria/Manifest b/net-irc/limnoria/Manifest
index 78982831ece4..7aa9dd031930 100644
--- a/net-irc/limnoria/Manifest
+++ b/net-irc/limnoria/Manifest
@@ -3,6 +3,7 @@ DIST limnoria-20220927.tar.gz 1125411 BLAKE2B f10c112c59e74ad018291df770ad9ae882
DIST limnoria-20221116.tar.gz 1125332 BLAKE2B b5007cb832ea98f41ad9513554177eab2cf7948b363c4cfad538a7e4c4f91390625bbf187e046118551da2fbe8272968acb1280b8d4ea19ffe2ac67b2b83af92 SHA512 3c26a36b7094d2a36397d7d0cfbb9b9503b6beaec123c6022146a5c241e5cc2ff70c56ad4064269b315d2f5c07e9e09853f27b251b35d3efc3065c4831742e2c
EBUILD limnoria-20220814.ebuild 2389 BLAKE2B 52506709991e5ea36c71dfb307e23ca3984a9ea22c21510f8510f9941637478fef102d3ab17bcf51b53582b949d386044ceaa29f0bf29f9a7642ff4715e22abf SHA512 5e15665d40c0d88736b1984340eb4c272963e0a1e715c445cf87e69a44356d3fcda2fe97891f3cae4ae3a77fdac22aeabc65e3c181706814a1bb300bec89ad66
EBUILD limnoria-20220927.ebuild 2389 BLAKE2B 52506709991e5ea36c71dfb307e23ca3984a9ea22c21510f8510f9941637478fef102d3ab17bcf51b53582b949d386044ceaa29f0bf29f9a7642ff4715e22abf SHA512 5e15665d40c0d88736b1984340eb4c272963e0a1e715c445cf87e69a44356d3fcda2fe97891f3cae4ae3a77fdac22aeabc65e3c181706814a1bb300bec89ad66
+EBUILD limnoria-20221116-r1.ebuild 2302 BLAKE2B 8214be47ae21c66534a6a881e152c0fee453429b374073ca93ba1e34df5a138139a9c79362dcb2bf76bfdd769efc281ca1cf92927f905e40a61d0eae2d72dbf6 SHA512 e191165f26f95f2bef005909003626680bb7a340457f08abb3d1d702315b00040b72607fab3a6c1f4db5ca2ab832e4a491ac862993099f56dade8472f5f3919e
EBUILD limnoria-20221116.ebuild 2389 BLAKE2B a122ae3d7418be694ae5f0d010ae5242ed9f445679d8225690d802ac7ba96168705e8822a94a09e53bebcf03878955f666aaa1aed72335b8fa142c710f01b6cc SHA512 d0add708a5ab60a0e88ed2f8c1607ec031c6c9d833f697675d0bc9925f0c1b795ab4167f9d9f18bdb249bc43b82f6a7e8861d6ff632531f32be0af407a56192e
-EBUILD limnoria-99999999.ebuild 2411 BLAKE2B d73b79b190ea0a3a15d979cffc40ab9feb35b0a57b1d8390b62628a9d39495776558828427a99396efe9bef7256a2ecb600ec90afd378ff779fc0be666894b4c SHA512 dce83b0e1086c32f92450d934bb0d18a736dbf5fb0d28603a4f290796789dc047ddd0a8d39371397561d0defc1a66f50b7deb192150d94f83b893b7088431238
+EBUILD limnoria-99999999.ebuild 2324 BLAKE2B fa6eebd688bc3cc32a261253281facddde13c81ea58105828ddf0145aefcd0740a79aa64a55ab13cc38f388d780f0bb09d1aa0eb82494cd65a27338a69ea5ae8 SHA512 bdb9803024ab2f797480447d99de4b9c5a92e9170505de186ec78a7b67a72fd54586e61cb337b097b0373f44ef39db024f7e406abff69c2479f2d3a0eb43b556
MISC metadata.xml 428 BLAKE2B b5671a9d1bad38c23e299fbe21b84e74c6f2d7e99bcfd061d1a74ba9820bd361892fe75518c8f28f89433aa44e7db26e71a7538aad5f391bee801ad341991525 SHA512 d97770c2b4c2b80584d88d7f701e054b103170da71cb65494d42454005204d39b2b052ecefdefe08ac3f4e4e5e148be58a4d509a569e33325bf3c90e1027f875
diff --git a/net-irc/limnoria/limnoria-20221116-r1.ebuild b/net-irc/limnoria/limnoria-20221116-r1.ebuild
new file mode 100644
index 000000000000..3da735a7e56b
--- /dev/null
+++ b/net-irc/limnoria/limnoria-20221116-r1.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{9..11} )
+DISTUTILS_IN_SOURCE_BUILD=yes # needed for tests
+inherit distutils-r1
+
+MY_PV="${PV:0:4}-${PV:4:2}-${PV:6:2}"
+MY_PN="Limnoria"
+MY_P="${MY_PN}-${MY_PV}"
+
+if [[ ${PV} == *9999 ]]; then
+ EGIT_REPO_URI="https://github.com/ProgVal/${MY_PN}.git"
+ EGIT_BRANCH="testing"
+ inherit git-r3
+else
+ SRC_URI="https://github.com/ProgVal/${MY_PN}/archive/master-${MY_PV}.tar.gz -> ${P}.tar.gz"
+ S="${WORKDIR}/${MY_PN}-master-${MY_PV}"
+ KEYWORDS="~amd64 ~riscv ~x86"
+fi
+
+DESCRIPTION="Python based extensible IRC infobot and channel bot"
+HOMEPAGE="https://docs.limnoria.net"
+LICENSE="BSD GPL-2 GPL-2+"
+SLOT="0"
+IUSE="crypt ssl"
+
+RDEPEND="
+ dev-python/chardet[${PYTHON_USEDEP}]
+ dev-python/cryptography[${PYTHON_USEDEP}]
+ dev-python/ecdsa[${PYTHON_USEDEP}]
+ dev-python/feedparser[${PYTHON_USEDEP}]
+ dev-python/python-dateutil[${PYTHON_USEDEP}]
+ dev-python/pytz[${PYTHON_USEDEP}]
+ dev-python/PySocks[${PYTHON_USEDEP}]
+ dev-python/sqlalchemy[${PYTHON_USEDEP}]
+ crypt? ( dev-python/python-gnupg[${PYTHON_USEDEP}] )
+ ssl? ( dev-python/pyopenssl[${PYTHON_USEDEP}] )"
+
+python_prepare_all() {
+ # replace "installed on ${timestamp}" with real version
+ echo "version='${MY_PV//-/.}'" > "${S}"/src/version.py || die
+ distutils-r1_python_prepare_all
+}
+
+python_test() {
+ pushd "${T}" > /dev/null || die
+ PLUGINS_DIR="${BUILD_DIR}"/lib/supybot/plugins
+ EXCLUDE_PLUGINS=()
+ # intermittent failure due to issues loading libsandbox.so from LD_PRELOAD
+ # runs successfully when running the tests on the installed system
+ EXCLUDE_PLUGINS+=(
+ --exclude="${PLUGINS_DIR}/Unix"
+ --exclude="${PLUGINS_DIR}/Aka"
+ --exclude="${PLUGINS_DIR}/Misc"
+ )
+ "${EPYTHON}" "${BUILD_DIR}"/scripts/supybot-test "${BUILD_DIR}/../test" \
+ --plugins-dir="${PLUGINS_DIR}" --no-network \
+ --disable-multiprocessing "${EXCLUDE_PLUGINS[@]}" \
+ || die "Tests failed under ${EPYTHON}"
+ popd > /dev/null || die
+}
+
+python_install_all() {
+ distutils-r1_python_install_all
+ doman man/*
+}
+
+pkg_postinst() {
+ elog "Complete user documentation is available at https://limnoria-doc.readthedocs.org/"
+ elog ""
+ elog "Use supybot-wizard to create a configuration file."
+ elog "Run supybot </path/to/config> to use the bot."
+}
diff --git a/net-irc/limnoria/limnoria-99999999.ebuild b/net-irc/limnoria/limnoria-99999999.ebuild
index 9f3c9f0c7e1d..2bb6c682e6e1 100644
--- a/net-irc/limnoria/limnoria-99999999.ebuild
+++ b/net-irc/limnoria/limnoria-99999999.ebuild
@@ -25,8 +25,7 @@ DESCRIPTION="Python based extensible IRC infobot and channel bot"
HOMEPAGE="https://docs.limnoria.net"
LICENSE="BSD GPL-2 GPL-2+"
SLOT="0"
-IUSE="crypt ssl test"
-RESTRICT=" !test? ( test )"
+IUSE="crypt ssl"
RDEPEND="
dev-python/chardet[${PYTHON_USEDEP}]
@@ -41,7 +40,6 @@ RDEPEND="
ssl? ( dev-python/pyopenssl[${PYTHON_USEDEP}] )
!net-irc/supybot
!net-irc/supybot-plugins"
-BDEPEND="test? ( dev-python/mock[${PYTHON_USEDEP}] )"
python_prepare() {
einfo "Removing the RSS plugin because of clashes between libxml2's Python3"