1 |
commit: d0ebdf01f6d05948f4f2e2c4a46d649253375b51 |
2 |
Author: NP-Hardass <NP-Hardass <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Nov 12 16:50:08 2017 +0000 |
4 |
Commit: NP Hardass <np-hardass <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Nov 12 16:50:08 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d0ebdf01 |
7 |
|
8 |
net-irc/limnoria: Bump to 20171025 |
9 |
|
10 |
Bug: https://bugs.gentoo.org/636992 |
11 |
Package-Manager: Portage-2.3.13, Repoman-2.3.4 |
12 |
|
13 |
net-irc/limnoria/Manifest | 1 + |
14 |
net-irc/limnoria/limnoria-20171025.ebuild | 90 +++++++++++++++++++++++++++++++ |
15 |
2 files changed, 91 insertions(+) |
16 |
|
17 |
diff --git a/net-irc/limnoria/Manifest b/net-irc/limnoria/Manifest |
18 |
index eebee71e57e..f5538b20e4b 100644 |
19 |
--- a/net-irc/limnoria/Manifest |
20 |
+++ b/net-irc/limnoria/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST limnoria-20150523.tar.gz 937583 SHA256 16d7e9ccfddfb67eca616997be938b268347be7b17ccc43d38aea6b48bb3cd0e SHA512 d94ea8fe64a648605e8e45317f3283fac837e8bfe1465407fa7522ea5e2259c64a0ea3aa4585313b5c21def735fa7b0e62d7774fabfc2647683efc2f4c38d599 WHIRLPOOL 40baeebf15051a5bc36a39645f984ba9aa4710e8da08cf53bb69e330b3ba6a62c40317919ba5a7ea0e3841187e89087054f1072862d512dff9443e812d4728b8 |
23 |
DIST limnoria-20150829.tar.gz 939733 SHA256 b86ca1cb24b6f54c9e892a978c1afad1df17cb9308883764f6cc7381e2d124dc SHA512 51c941adf596716a610f6233a606958eae39fb90ad2ab02fcde670596c174b99196da7d29d31c438db0eeb79bd2d8c1067fdf21f0e6e42ba25a80cd5249b89a2 WHIRLPOOL 118f532c2ec4c9b75a7194bc2ea65e9aa707601276fbb3abf7066f5e96d297a7454fb0d477aa9e595d9dadb4750f00a549e78f5408a15a3c264526a8b83dd507 |
24 |
+DIST limnoria-20171025.tar.gz 957078 SHA256 9cd4ab29d510fe7e84ed54bd8ba273acd2d2de2de5b133e679db54505f6c36b2 SHA512 513a04b860e1fc1788de41238c858fa487899988111d9f5bfaa4acde6506dbd4bdf4dd26e48d268f6ca2f1b301b3e8d9aad8a2733013c09db69ffb4f925a7c12 WHIRLPOOL 9f80cfb7ba16de146c4378d457ce998fd04d16e1324f88ba6ab1563c2165db11c20d1c5bf8c60c39388f5e1390623cc640830d4436abf903d291c02618c315c3 |
25 |
|
26 |
diff --git a/net-irc/limnoria/limnoria-20171025.ebuild b/net-irc/limnoria/limnoria-20171025.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..0280102ac95 |
29 |
--- /dev/null |
30 |
+++ b/net-irc/limnoria/limnoria-20171025.ebuild |
31 |
@@ -0,0 +1,90 @@ |
32 |
+# Copyright 1999-2017 Gentoo Foundation |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI="5" |
36 |
+PYTHON_COMPAT=( python{2_7,3_4,3_5} ) |
37 |
+ |
38 |
+inherit distutils-r1 |
39 |
+ |
40 |
+MY_PV="${PV:0:4}-${PV:4:2}-${PV:6:2}" |
41 |
+MY_PN="Limnoria" |
42 |
+MY_P="${MY_PN}-${MY_PV}" |
43 |
+ |
44 |
+if [[ ${PV} == "99999999" ]]; then |
45 |
+ EGIT_REPO_URI="https://github.com/ProgVal/${MY_PN}.git" |
46 |
+ EGIT_BRANCH="testing" |
47 |
+ inherit git-r3 |
48 |
+ SRC_URI="" |
49 |
+else |
50 |
+ SRC_URI="https://github.com/ProgVal/${MY_PN}/archive/master-${MY_PV}.tar.gz -> ${P}.tar.gz" |
51 |
+ KEYWORDS="~amd64 ~x86" |
52 |
+ S="${WORKDIR}/${MY_PN}-master-${MY_PV}" |
53 |
+fi |
54 |
+ |
55 |
+DESCRIPTION="Python based extensible IRC infobot and channel bot" |
56 |
+HOMEPAGE="https://supybot.aperio.fr/" |
57 |
+LICENSE="BSD" |
58 |
+SLOT="0" |
59 |
+IUSE="crypt ssl test" |
60 |
+ |
61 |
+RDEPEND=" |
62 |
+ dev-python/chardet[${PYTHON_USEDEP}] |
63 |
+ dev-python/ecdsa[${PYTHON_USEDEP}] |
64 |
+ dev-python/feedparser[${PYTHON_USEDEP}] |
65 |
+ dev-python/python-dateutil[${PYTHON_USEDEP}] |
66 |
+ dev-python/pytz[${PYTHON_USEDEP}] |
67 |
+ dev-python/PySocks[${PYTHON_USEDEP}] |
68 |
+ dev-python/sqlalchemy[${PYTHON_USEDEP}] |
69 |
+ crypt? ( dev-python/python-gnupg[${PYTHON_USEDEP}] ) |
70 |
+ ssl? ( dev-python/pyopenssl[${PYTHON_USEDEP}] ) |
71 |
+ !net-irc/supybot |
72 |
+ !net-irc/supybot-plugins |
73 |
+ " |
74 |
+DEPEND="${RDEPEND} |
75 |
+ test? ( $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' python2_7) )" |
76 |
+ |
77 |
+src_unpack() { |
78 |
+ if [[ ${PV} == "99999999" ]]; then |
79 |
+ git-r3_src_unpack |
80 |
+ else |
81 |
+ unpack ${P}.tar.gz |
82 |
+ fi |
83 |
+} |
84 |
+ |
85 |
+python_prepare(){ |
86 |
+ distutils-r1_python_prepare |
87 |
+ if python_is_python3; then |
88 |
+ einfo "Removing the RSS plugin because of clashes between libxml2's Python3" |
89 |
+ einfo "bindings and feedparser." |
90 |
+ rm -rf "plugins/RSS" || die |
91 |
+ fi |
92 |
+} |
93 |
+ |
94 |
+python_install_all() { |
95 |
+ distutils-r1_python_install_all |
96 |
+ doman man/* |
97 |
+} |
98 |
+ |
99 |
+python_test() { |
100 |
+ pushd "${T}" > /dev/null |
101 |
+ PLUGINS_DIR="${BUILD_DIR}/lib/supybot/plugins" |
102 |
+ # recommended by upstream, unknown random failure |
103 |
+ EXCLUDE_PLUGINS=( --exclude="${PLUGINS_DIR}/Scheduler" ) |
104 |
+ # recommended by upstream, unknown random failure |
105 |
+ EXCLUDE_PLUGINS+=( --exclude="${PLUGINS_DIR}/Filter" ) |
106 |
+ # intermittent failure due to issues loading libsandbox.so from LD_PRELOAD |
107 |
+ # runs successfully when running the tests on the installed system |
108 |
+ EXCLUDE_PLUGINS+=( --exclude="${PLUGINS_DIR}/Unix" ) |
109 |
+ "${PYTHON}" "${BUILD_DIR}"/scripts/supybot-test "${BUILD_DIR}/../test" \ |
110 |
+ --plugins-dir="${PLUGINS_DIR}" --no-network \ |
111 |
+ --disable-multiprocessing "${EXCLUDE_PLUGINS[@]}" \ |
112 |
+ || die "Tests failed under ${EPYTHON}" |
113 |
+ popd > /dev/null |
114 |
+} |
115 |
+ |
116 |
+pkg_postinst() { |
117 |
+ elog "Complete user documentation is available at https://limnoria-doc.readthedocs.org/" |
118 |
+ elog "" |
119 |
+ elog "Use supybot-wizard to create a configuration file." |
120 |
+ elog "Run supybot </path/to/config> to use the bot." |
121 |
+} |