Gentoo Archives: gentoo-commits

From: Sam Jorna <wraeth@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-irc/limnoria/
Date: Sun, 20 Jun 2021 02:48:40
Message-Id: 1624155501.84ef8ac737b808388376087e90adab5b5feff489.wraeth@gentoo
1 commit: 84ef8ac737b808388376087e90adab5b5feff489
2 Author: Sam Jorna <wraeth <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jun 20 02:18:21 2021 +0000
4 Commit: Sam Jorna <wraeth <AT> gentoo <DOT> org>
5 CommitDate: Sun Jun 20 02:18:21 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=84ef8ac7
7
8 net-irc/limnoria: bump to 2021-06-17
9
10 Package-Manager: Portage-3.0.20, Repoman-3.0.3
11 Signed-off-by: Sam Jorna <wraeth <AT> gentoo.org>
12
13 net-irc/limnoria/Manifest | 1 +
14 net-irc/limnoria/limnoria-20210617.ebuild | 78 +++++++++++++++++++++++++++++++
15 2 files changed, 79 insertions(+)
16
17 diff --git a/net-irc/limnoria/Manifest b/net-irc/limnoria/Manifest
18 index ab0318c46eb..560d6f06f36 100644
19 --- a/net-irc/limnoria/Manifest
20 +++ b/net-irc/limnoria/Manifest
21 @@ -1,2 +1,3 @@
22 DIST limnoria-20210411.tar.gz 1084991 BLAKE2B 6bca9a2583748ae2b1c26670a762d0ee1307478b6d587e32c816c880d4d1ac6495f79d07bd8d7068867b1a9dd1bff51233e5636c0d0371e2ee1c19617a9a7872 SHA512 2c53d6ecd2457fae77076ad5ee0c4fa61c42970f8d43891b6d9adbabae80176ccab2789fc6a7129db3545a76f1850cf86de50aa3814b335d42f1220a2818c36c
23 DIST limnoria-20210527.tar.gz 1092017 BLAKE2B 1c01ecbb47927d62e30e1768bb8e4574bad7422fea379ddd3d6700351a2f8dd006370a24aeeb7a5b10003e53f1010c8fb3998ecf1ef4f11a2ce48f9145605d30 SHA512 2e09415931cb3bdc358d4a243be3f1abccd569f2371d5d2b2c67e856492475affa473c8c32c77cb2c973b64202f9c6657397fa35b5b16086fbaf4e5b44706184
24 +DIST limnoria-20210617.tar.gz 1094438 BLAKE2B 3253af8ad764acfaadf90ce49d0f40a47f32554d75c3860079284f98373eb3bc8f60f1f308b501265973c0e6c2a552211415f4f9c3044ce78f818d305b598cbe SHA512 25dddf843e22967a95c769c62f9398129830f63e23d506f0a9abaf7044fa9ffbeca95138c494caf3b36813919c7b1f0880b0715a06bc519de1a87837a948a039
25
26 diff --git a/net-irc/limnoria/limnoria-20210617.ebuild b/net-irc/limnoria/limnoria-20210617.ebuild
27 new file mode 100644
28 index 00000000000..03b9171f694
29 --- /dev/null
30 +++ b/net-irc/limnoria/limnoria-20210617.ebuild
31 @@ -0,0 +1,78 @@
32 +# Copyright 1999-2021 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=7
36 +
37 +PYTHON_COMPAT=( python3_{7..9} )
38 +DISTUTILS_USE_SETUPTOOLS=no
39 +inherit distutils-r1
40 +
41 +MY_PV="${PV:0:4}-${PV:4:2}-${PV:6:2}"
42 +MY_PN="Limnoria"
43 +MY_P="${MY_PN}-${MY_PV}"
44 +
45 +if [[ ${PV} == *9999 ]]; then
46 + EGIT_REPO_URI="https://github.com/ProgVal/${MY_PN}.git"
47 + EGIT_BRANCH="testing"
48 + inherit git-r3
49 +else
50 + SRC_URI="https://github.com/ProgVal/${MY_PN}/archive/master-${MY_PV}.tar.gz -> ${P}.tar.gz"
51 + S="${WORKDIR}/${MY_PN}-master-${MY_PV}"
52 + KEYWORDS="~amd64 ~x86"
53 +fi
54 +
55 +DESCRIPTION="Python based extensible IRC infobot and channel bot"
56 +HOMEPAGE="https://docs.limnoria.net"
57 +LICENSE="BSD GPL-2 GPL-2+"
58 +SLOT="0"
59 +IUSE="crypt ssl test"
60 +RESTRICT=" !test? ( test )"
61 +
62 +RDEPEND="
63 + dev-python/chardet[${PYTHON_USEDEP}]
64 + dev-python/cryptography[${PYTHON_USEDEP}]
65 + dev-python/ecdsa[${PYTHON_USEDEP}]
66 + dev-python/feedparser[${PYTHON_USEDEP}]
67 + dev-python/python-dateutil[${PYTHON_USEDEP}]
68 + dev-python/pytz[${PYTHON_USEDEP}]
69 + dev-python/PySocks[${PYTHON_USEDEP}]
70 + dev-python/sqlalchemy[${PYTHON_USEDEP}]
71 + crypt? ( dev-python/python-gnupg[${PYTHON_USEDEP}] )
72 + ssl? ( dev-python/pyopenssl[${PYTHON_USEDEP}] )
73 + !net-irc/supybot
74 + !net-irc/supybot-plugins"
75 +BDEPEND="test? ( dev-python/mock[${PYTHON_USEDEP}] )"
76 +
77 +python_prepare() {
78 + einfo "Removing the RSS plugin because of clashes between libxml2's Python3"
79 + einfo "bindings and feedparser."
80 + rm -r "plugins/RSS" || die
81 +}
82 +
83 +python_test() {
84 + pushd "${T}" > /dev/null || die
85 + PLUGINS_DIR="${BUILD_DIR}"/lib/supybot/plugins
86 + EXCLUDE_PLUGINS=()
87 + # intermittent failure due to issues loading libsandbox.so from LD_PRELOAD
88 + # runs successfully when running the tests on the installed system
89 + EXCLUDE_PLUGINS+=( --exclude="${PLUGINS_DIR}/Unix" )
90 + # Runs despite --no-network (GH #1392)
91 + EXCLUDE_PLUGINS+=( --exclude="${PLUGINS_DIR}/Aka" )
92 + "${EPYTHON}" "${BUILD_DIR}"/scripts/supybot-test "${BUILD_DIR}/../test" \
93 + --plugins-dir="${PLUGINS_DIR}" --no-network \
94 + --disable-multiprocessing "${EXCLUDE_PLUGINS[@]}" \
95 + || die "Tests failed under ${EPYTHON}"
96 + popd > /dev/null || die
97 +}
98 +
99 +python_install_all() {
100 + distutils-r1_python_install_all
101 + doman man/*
102 +}
103 +
104 +pkg_postinst() {
105 + elog "Complete user documentation is available at https://limnoria-doc.readthedocs.org/"
106 + elog ""
107 + elog "Use supybot-wizard to create a configuration file."
108 + elog "Run supybot </path/to/config> to use the bot."
109 +}