From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C53F41396D9 for ; Sun, 12 Nov 2017 16:50:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0498AE0FA2; Sun, 12 Nov 2017 16:50:47 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C32BCE0FA2 for ; Sun, 12 Nov 2017 16:50:45 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3817733BF01 for ; Sun, 12 Nov 2017 16:50:43 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 82CAE9A8C for ; Sun, 12 Nov 2017 16:50:41 +0000 (UTC) From: "NP Hardass" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "NP Hardass" Message-ID: <1510505408.d0ebdf01f6d05948f4f2e2c4a46d649253375b51.np-hardass@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-irc/limnoria/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-irc/limnoria/Manifest net-irc/limnoria/limnoria-20171025.ebuild X-VCS-Directories: net-irc/limnoria/ X-VCS-Committer: np-hardass X-VCS-Committer-Name: NP Hardass X-VCS-Revision: d0ebdf01f6d05948f4f2e2c4a46d649253375b51 X-VCS-Branch: master Date: Sun, 12 Nov 2017 16:50:41 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 6e7da3f6-2d56-4ee2-acc5-c1463c9bda37 X-Archives-Hash: 5bcb07fb50c742f4f9d8fe00fb20358a commit: d0ebdf01f6d05948f4f2e2c4a46d649253375b51 Author: NP-Hardass gentoo org> AuthorDate: Sun Nov 12 16:50:08 2017 +0000 Commit: NP Hardass gentoo org> CommitDate: Sun Nov 12 16:50:08 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d0ebdf01 net-irc/limnoria: Bump to 20171025 Bug: https://bugs.gentoo.org/636992 Package-Manager: Portage-2.3.13, Repoman-2.3.4 net-irc/limnoria/Manifest | 1 + net-irc/limnoria/limnoria-20171025.ebuild | 90 +++++++++++++++++++++++++++++++ 2 files changed, 91 insertions(+) diff --git a/net-irc/limnoria/Manifest b/net-irc/limnoria/Manifest index eebee71e57e..f5538b20e4b 100644 --- a/net-irc/limnoria/Manifest +++ b/net-irc/limnoria/Manifest @@ -1,2 +1,3 @@ DIST limnoria-20150523.tar.gz 937583 SHA256 16d7e9ccfddfb67eca616997be938b268347be7b17ccc43d38aea6b48bb3cd0e SHA512 d94ea8fe64a648605e8e45317f3283fac837e8bfe1465407fa7522ea5e2259c64a0ea3aa4585313b5c21def735fa7b0e62d7774fabfc2647683efc2f4c38d599 WHIRLPOOL 40baeebf15051a5bc36a39645f984ba9aa4710e8da08cf53bb69e330b3ba6a62c40317919ba5a7ea0e3841187e89087054f1072862d512dff9443e812d4728b8 DIST limnoria-20150829.tar.gz 939733 SHA256 b86ca1cb24b6f54c9e892a978c1afad1df17cb9308883764f6cc7381e2d124dc SHA512 51c941adf596716a610f6233a606958eae39fb90ad2ab02fcde670596c174b99196da7d29d31c438db0eeb79bd2d8c1067fdf21f0e6e42ba25a80cd5249b89a2 WHIRLPOOL 118f532c2ec4c9b75a7194bc2ea65e9aa707601276fbb3abf7066f5e96d297a7454fb0d477aa9e595d9dadb4750f00a549e78f5408a15a3c264526a8b83dd507 +DIST limnoria-20171025.tar.gz 957078 SHA256 9cd4ab29d510fe7e84ed54bd8ba273acd2d2de2de5b133e679db54505f6c36b2 SHA512 513a04b860e1fc1788de41238c858fa487899988111d9f5bfaa4acde6506dbd4bdf4dd26e48d268f6ca2f1b301b3e8d9aad8a2733013c09db69ffb4f925a7c12 WHIRLPOOL 9f80cfb7ba16de146c4378d457ce998fd04d16e1324f88ba6ab1563c2165db11c20d1c5bf8c60c39388f5e1390623cc640830d4436abf903d291c02618c315c3 diff --git a/net-irc/limnoria/limnoria-20171025.ebuild b/net-irc/limnoria/limnoria-20171025.ebuild new file mode 100644 index 00000000000..0280102ac95 --- /dev/null +++ b/net-irc/limnoria/limnoria-20171025.ebuild @@ -0,0 +1,90 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" +PYTHON_COMPAT=( python{2_7,3_4,3_5} ) + +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="https://github.com/ProgVal/${MY_PN}.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="https://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/PySocks[${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 to use the bot." +}