summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Feldman <np-hardass@gentoo.org>2015-06-19 18:30:38 +0000
committerAdam Feldman <np-hardass@gentoo.org>2015-06-19 18:30:38 +0000
commitf8c25ab20c0c49a41c3396e56c93ada8d37ca656 (patch)
treeab5e5ccec07c71f203655cc61da8a691b7b34ca4 /net-irc
parentVersion bump. Remove old. (diff)
downloadgentoo-2-f8c25ab20c0c49a41c3396e56c93ada8d37ca656.tar.gz
gentoo-2-f8c25ab20c0c49a41c3396e56c93ada8d37ca656.tar.bz2
gentoo-2-f8c25ab20c0c49a41c3396e56c93ada8d37ca656.zip
Version bump to 20150523.
(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 18F89C67)
Diffstat (limited to 'net-irc')
-rw-r--r--net-irc/limnoria/ChangeLog8
-rw-r--r--net-irc/limnoria/limnoria-20150523.ebuild91
-rw-r--r--net-irc/limnoria/metadata.xml7
3 files changed, 99 insertions, 7 deletions
diff --git a/net-irc/limnoria/ChangeLog b/net-irc/limnoria/ChangeLog
index 83c17ef5d983..6f0284d4fd73 100644
--- a/net-irc/limnoria/ChangeLog
+++ b/net-irc/limnoria/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-irc/limnoria
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-irc/limnoria/ChangeLog,v 1.5 2015/05/19 05:28:10 idella4 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-irc/limnoria/ChangeLog,v 1.6 2015/06/19 18:30:38 np-hardass Exp $
+
+*limnoria-20150523 (19 Jun 2015)
+
+ 19 Jun 2015; NP-Hardass <NP-Hardass@gentoo.org> +limnoria-20150523.ebuild,
+ metadata.xml:
+ Version bump to 20150523.
19 May 2015; Ian Delaney <idella4@gentoo.org> -limnoria-20150318.ebuild,
limnoria-20150429.ebuild, limnoria-99999999.ebuild:
diff --git a/net-irc/limnoria/limnoria-20150523.ebuild b/net-irc/limnoria/limnoria-20150523.ebuild
new file mode 100644
index 000000000000..12e39cab1f16
--- /dev/null
+++ b/net-irc/limnoria/limnoria-20150523.ebuild
@@ -0,0 +1,91 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-irc/limnoria/limnoria-20150523.ebuild,v 1.1 2015/06/19 18:30:38 np-hardass Exp $
+
+EAPI="5"
+PYTHON_COMPAT=( python{2_7,3_3,3_4} )
+
+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} == "99999999" ]]; then
+ EGIT_REPO_URI="git://github.com/ProgVal/Limnoria.git"
+ EGIT_BRANCH="testing"
+ inherit git-r3
+ SRC_URI=""
+else
+ SRC_URI="https://github.com/ProgVal/${MY_PN}/archive/master-${MY_PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+ S="${WORKDIR}/${MY_PN}-master-${MY_PV}"
+fi
+
+DESCRIPTION="Python based extensible IRC infobot and channel bot"
+HOMEPAGE="http://supybot.aperio.fr/"
+LICENSE="BSD"
+SLOT="0"
+IUSE="crypt ssl test"
+
+RDEPEND="
+ dev-python/chardet[${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/socksipy[${PYTHON_USEDEP}]
+ dev-python/sqlalchemy[${PYTHON_USEDEP}]
+ crypt? ( dev-python/python-gnupg[${PYTHON_USEDEP}] )
+ ssl? ( dev-python/pyopenssl[${PYTHON_USEDEP}] )
+ !net-irc/supybot
+ !net-irc/supybot-plugins
+ "
+DEPEND="${RDEPEND}
+ test? ( $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' python2_7) )"
+
+src_unpack() {
+ if [[ ${PV} == "99999999" ]]; then
+ git-r3_src_unpack
+ else
+ unpack ${P}.tar.gz
+ fi
+}
+
+python_prepare(){
+ distutils-r1_python_prepare
+ if python_is_python3; then
+ einfo "Removing the RSS plugin because of clashes between libxml2's Python3"
+ einfo "bindings and feedparser."
+ rm -rf "plugins/RSS" || die
+ fi
+}
+
+python_install_all() {
+ distutils-r1_python_install_all
+ doman man/*
+}
+
+python_test() {
+ pushd "${T}" > /dev/null
+ PLUGINS_DIR="${BUILD_DIR}/lib/supybot/plugins"
+ # recommended by upstream, unknown random failure
+ EXCLUDE_PLUGINS=( --exclude="${PLUGINS_DIR}/Scheduler" )
+ # recommended by upstream, unknown random failure
+ EXCLUDE_PLUGINS+=( --exclude="${PLUGINS_DIR}/Filter" )
+ # 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" )
+ "${PYTHON}" "${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
+}
+
+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/metadata.xml b/net-irc/limnoria/metadata.xml
index f51fe1db5ad5..96bbc73c8379 100644
--- a/net-irc/limnoria/metadata.xml
+++ b/net-irc/limnoria/metadata.xml
@@ -1,14 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <herd>proxy-maintainers</herd>
<maintainer>
- <email>idella4@gentoo.org</email>
- </maintainer>
- <maintainer>
- <email>np.hardass@gmail.com</email>
+ <email>NP-Hardass@gentoo.org</email>
<name>NP-Hardass</name>
- <description>proxy maintainer and recipient of bugs</description>
</maintainer>
<use>
<flag name="crypt">Enables user authentication with GPG</flag>