summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/irc')
-rw-r--r--dev-python/irc/Manifest1
-rw-r--r--dev-python/irc/irc-13.3.1.ebuild50
2 files changed, 51 insertions, 0 deletions
diff --git a/dev-python/irc/Manifest b/dev-python/irc/Manifest
index 3584a40bc339..b938a74781ef 100644
--- a/dev-python/irc/Manifest
+++ b/dev-python/irc/Manifest
@@ -1,2 +1,3 @@
DIST irc-11.0.1.zip 120409 SHA256 25d818003780fd6d62e93d3ff32580e74c0e527c6290ae14b47af50b58339233 SHA512 fca2fe653d921c9ec65dfb2b072c16658d88d4a22ae91568b1eaf722a90179920808db157f587afe6de0055af3a04a528eb9022122e539150e5635f05b58f466 WHIRLPOOL dd9b9e8624e6bd86d27fead1f3006a2b80832d236ad21f50c147c07a27b2cc4933d68efd951dece44398dbc0299b73ba7a98e4eff2061d0e3a8a01833518113b
DIST irc-13.2.tar.gz 81594 SHA256 247e14fe9d7e25b41b2af39a81e5ced10bd45da44f4a86505d4f02895d710552 SHA512 e0472eea9186d549d2c3a6733d623161f94a905627d32878f02a50198b29cc5fc5a1a1636d7d1b3432b56ac42d4f48efd32285ebe80f8a7a8311a923795688bd WHIRLPOOL cec6e5505f9461c6b16c6fabc1cac406fd99e718733512112da50bb34a87b50b12d3529f09cc40ee7a4a97871bf28417f030fa418fcf415d59fcaa416eefb1ba
+DIST irc-13.3.1.tar.gz 81931 SHA256 be4b57f2fb296f0e83fe2bcfd91e886b13423d8cf4ebaf2b8077b8efa9783bee SHA512 fd82712a8446dbccdd50ba75e0ec0f45f0b327ff35e4fa172fe4a1fe92ca8dbb81afecc0aa0b3ba14b2864e7d78ce0b03496bde64181d66ebd3c4a7670e20fd9 WHIRLPOOL 7baa08a978980baf09257886b4c89e62abce9439082197549e9ffdda9acb7711fec4c2464f2c811b5c70803e43c663957bf2b38f50cfc5ec8fbbbdac8309b1fa
diff --git a/dev-python/irc/irc-13.3.1.ebuild b/dev-python/irc/irc-13.3.1.ebuild
new file mode 100644
index 000000000000..4d101a44882b
--- /dev/null
+++ b/dev-python/irc/irc-13.3.1.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+PYTHON_COMPAT=( python{2_7,3_4,3_5} )
+
+inherit distutils-r1
+
+DESCRIPTION="IRC client framework written in Python"
+HOMEPAGE="https://github.com/jaraco/irc"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc examples test"
+
+RDEPEND="
+ dev-python/six[${PYTHON_USEDEP}]
+ dev-python/jaraco-collections[${PYTHON_USEDEP}]
+ dev-python/jaraco-text[${PYTHON_USEDEP}]
+ dev-python/jaraco-itertools[${PYTHON_USEDEP}]
+ dev-python/jaraco-logging[${PYTHON_USEDEP}]
+ >=dev-python/jaraco-functools-1.5[${PYTHON_USEDEP}]
+ dev-python/pytz[${PYTHON_USEDEP}]
+"
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
+ >=dev-python/setuptools_scm-1.9[${PYTHON_USEDEP}]
+ test? (
+ ${RDEPEND}
+ >=dev-python/pytest-2.8[${PYTHON_USEDEP}]
+ dev-python/pytest-runner[${PYTHON_USEDEP}]
+ dev-python/backports-unittest-mock[${PYTHON_USEDEP}]
+ )
+"
+
+python_compile_all() {
+ use doc && esetup.py build_sphinx
+}
+
+python_test() {
+ py.test || die "Tests failed with ${EPYTHON}"
+}
+
+python_install_all() {
+ use examples && local EXAMPLES=( scripts/. )
+ use doc && local HTML_DOCS=( "${BUILD_DIR}"/sphinx/html/. )
+ distutils-r1_python_install_all
+}