Gentoo Archives: gentoo-commits

From: "Ian Delaney (idella4)" <idella4@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-irc/limnoria: limnoria-20150318.ebuild ChangeLog limnoria-20150208.ebuild
Date: Mon, 30 Mar 2015 06:45:29
Message-Id: 20150330064522.CEB1414D45@oystercatcher.gentoo.org
1 idella4 15/03/30 06:45:21
2
3 Modified: ChangeLog
4 Added: limnoria-20150318.ebuild
5 Removed: limnoria-20150208.ebuild
6 Log:
7 bump; add ssl support, temporarily set mock to be built for all python_targets until upstream fixes mock import, rm old by maintainer's discretion
8
9 (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
10
11 Revision Changes Path
12 1.2 net-irc/limnoria/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/limnoria/ChangeLog?rev=1.2&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/limnoria/ChangeLog?rev=1.2&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/limnoria/ChangeLog?r1=1.1&r2=1.2
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/net-irc/limnoria/ChangeLog,v
21 retrieving revision 1.1
22 retrieving revision 1.2
23 diff -u -r1.1 -r1.2
24 --- ChangeLog 4 Mar 2015 09:13:38 -0000 1.1
25 +++ ChangeLog 30 Mar 2015 06:45:21 -0000 1.2
26 @@ -1,6 +1,13 @@
27 # ChangeLog for net-irc/limnoria
28 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/net-irc/limnoria/ChangeLog,v 1.1 2015/03/04 09:13:38 idella4 Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/net-irc/limnoria/ChangeLog,v 1.2 2015/03/30 06:45:21 idella4 Exp $
31 +
32 +*limnoria-20150318 (30 Mar 2015)
33 +
34 + 30 Mar 2015; Ian Delaney <idella4@g.o> +limnoria-20150318.ebuild,
35 + -limnoria-20150208.ebuild:
36 + bump; add ssl support, temporarily set mock to be built for all python_targets
37 + until upstream fixes mock import, rm old by maintainer's discretion
38
39 *limnoria-20150208 (04 Mar 2015)
40 *limnoria-99999999 (04 Mar 2015)
41
42
43
44 1.1 net-irc/limnoria/limnoria-20150318.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/limnoria/limnoria-20150318.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/limnoria/limnoria-20150318.ebuild?rev=1.1&content-type=text/plain
48
49 Index: limnoria-20150318.ebuild
50 ===================================================================
51 # Copyright 1999-2015 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/net-irc/limnoria/limnoria-20150318.ebuild,v 1.1 2015/03/30 06:45:21 idella4 Exp $
54
55 EAPI="5"
56 PYTHON_COMPAT=( python{2_7,3_3,3_4} )
57
58 inherit distutils-r1
59
60 MY_PV="${PV:0:4}-${PV:4:2}-${PV:6:2}"
61 MY_PN="Limnoria"
62 MY_P="${MY_PN}-${MY_PV}"
63
64 if [[ ${PV} == "99999999" ]]; then
65 EGIT_REPO_URI="git://github.com/ProgVal/Limnoria.git"
66 EGIT_BRANCH="master"
67 inherit git-r3
68 SRC_URI=""
69 else
70 SRC_URI="https://github.com/ProgVal/${MY_PN}/archive/master-${MY_PV}.tar.gz -> ${P}.tar.gz"
71 KEYWORDS="~amd64 ~x86"
72 S="${WORKDIR}/${MY_PN}-master-${MY_PV}"
73 fi
74
75 DESCRIPTION="Python based extensible IRC infobot and channel bot"
76 HOMEPAGE="http://supybot.aperio.fr/"
77 LICENSE="BSD"
78 SLOT="0"
79 IUSE="crypt ssl test"
80
81 RDEPEND="
82 dev-python/charade[${PYTHON_USEDEP}]
83 dev-python/ecdsa[${PYTHON_USEDEP}]
84 dev-python/feedparser[${PYTHON_USEDEP}]
85 dev-python/python-dateutil[${PYTHON_USEDEP}]
86 dev-python/pytz[${PYTHON_USEDEP}]
87 dev-python/socksipy[${PYTHON_USEDEP}]
88 dev-python/sqlalchemy[${PYTHON_USEDEP}]
89 crypt? ( dev-python/python-gnupg[${PYTHON_USEDEP}] )
90 ssl? ( dev-python/pyopenssl[${PYTHON_USEDEP}] )
91 !net-irc/supybot
92 !net-irc/supybot-plugins
93 "
94 DEPEND="${RDEPEND}
95 test? ( dev-python/mock[${PYTHON_USEDEP}] )"
96
97 src_unpack() {
98 if [[ ${PV} == "99999999" ]]; then
99 git-r3_src_unpack
100 else
101 unpack ${P}.tar.gz
102 fi
103 }
104
105 python_prepare(){
106 distutils-r1_python_prepare
107 if python_is_python3; then
108 einfo "Removing the RSS plugin because of clashes between libxml2's Python3"
109 einfo "bindings and feedparser."
110 rm -rf "plugins/RSS" || die
111 fi
112 }
113
114 python_install_all() {
115 distutils-r1_python_install_all
116 doman man/*
117 }
118
119 python_test() {
120 pushd "${T}" > /dev/null
121 PLUGINS_DIR="${BUILD_DIR}/lib/supybot/plugins"
122 # recommended by upstream, unknown random failure
123 EXCLUDE_PLUGINS=( --exclude="${PLUGINS_DIR}/Scheduler" )
124 # recommended by upstream, unknown random failure
125 EXCLUDE_PLUGINS+=( --exclude="${PLUGINS_DIR}/Filter" )
126 # intermittent failure due to issues loading libsandbox.so from LD_PRELOAD
127 # runs successfully when running the tests on the installed system
128 EXCLUDE_PLUGINS+=( --exclude="${PLUGINS_DIR}/Unix" )
129 "${PYTHON}" "${BUILD_DIR}"/scripts/supybot-test "${BUILD_DIR}/../test" \
130 --plugins-dir="${PLUGINS_DIR}" --no-network \
131 --disable-multiprocessing "${EXCLUDE_PLUGINS[@]}" \
132 || die "Tests failed under ${EPYTHON}"
133 popd > /dev/null
134 }
135
136 pkg_postinst() {
137 elog "Complete user documentation is available at https://limnoria-doc.readthedocs.org/"
138 elog ""
139 elog "Use supybot-wizard to create a configuration file."
140 elog "Run supybot </path/to/config> to use the bot."
141 }