summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2017-09-24 17:12:56 -0700
committerZac Medico <zmedico@gentoo.org>2017-09-24 17:12:56 -0700
commit76e026ab77ec7097a573703c5cc969da97f5b52d (patch)
treef6139c60d96966c7d937d80741df4e5dc3436e26 /dev-python
parentdev-python/flask-socketio: version bump to 2.9.2 (diff)
downloadgentoo-76e026ab77ec7097a573703c5cc969da97f5b52d.tar.gz
gentoo-76e026ab77ec7097a573703c5cc969da97f5b52d.tar.bz2
gentoo-76e026ab77ec7097a573703c5cc969da97f5b52d.zip
dev-python/logbook: version bump to 1.1.0
Package-Manager: Portage-2.3.10, Repoman-2.3.3
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/logbook/Manifest1
-rw-r--r--dev-python/logbook/logbook-1.1.0.ebuild45
2 files changed, 46 insertions, 0 deletions
diff --git a/dev-python/logbook/Manifest b/dev-python/logbook/Manifest
index debd6195f326..4b5476aa8e89 100644
--- a/dev-python/logbook/Manifest
+++ b/dev-python/logbook/Manifest
@@ -1,2 +1,3 @@
DIST logbook-0.9.1.tar.gz 106615 SHA256 e2f49e922c7836a58418b1cb2680e71492f45150cb968afced9f6a98222e3524 SHA512 d136dd5a7219a23a50db857919d794e7b721cc629443ac2bf92374aef68889d8a7146886fc4484c6d0dea56ec5c1c1ccca3f0b20310c2e12dba9d40dcac9c188 WHIRLPOOL adfb8bd28565ec97904c63631c55ee17613fdf2259d039baa0351df870bfa1658ebc52c8dbf69c8b94b0230577f287b215324d95b186cf38cc4d68bb1040d502
DIST logbook-1.0.0.tar.gz 365307 SHA256 b09d45ae8aa2baf450347fd42dd74942b7fd726af7a336fbc089bb72e4fc0e71 SHA512 0ff2348cc04155d13e911bb7f080d2621e2c46e827c1823e6a4f977d39569271001f64c84ca24fcaf269209c15b88fd50c28c2fcf87312761dcf16ab414abc1d WHIRLPOOL 9d76d229462907218d3b922a02739db58e422be909d56c67a171f4d78458380417f3c7f21d05426c4864753cbf2fb96aab77812dec96f4114035e607445a4898
+DIST logbook-1.1.0.tar.gz 367541 SHA256 9b0998a1c1d7d33d6d23d9c66cbdf2bf0ec274d528daae015ab3dad33770e35f SHA512 55ec7a026a08baed405e29d7cdcc9d3cc423c9faf13788c2447ac7ccff688de9bd9e332ad78077b1eef8bc8ad9aea572f9c124888f46ecabc2abf22d8ac9086b WHIRLPOOL aa27ce1a9f07f309d3bfcfab73525ebe52ad75aab9fa2ef1fecf310ece10fc62084e2713a1637981d3c195271449ad0734d84f1603f8a2864640d3a22506ee33
diff --git a/dev-python/logbook/logbook-1.1.0.ebuild b/dev-python/logbook/logbook-1.1.0.ebuild
new file mode 100644
index 000000000000..119a2db91392
--- /dev/null
+++ b/dev-python/logbook/logbook-1.1.0.ebuild
@@ -0,0 +1,45 @@
+# 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,5,6}} pypy )
+
+inherit distutils-r1
+
+DESCRIPTION="A logging replacement for Python"
+HOMEPAGE="http://packages.python.org/Logbook/ https://pypi.python.org/pypi/Logbook"
+SRC_URI="https://github.com/mitsuhiko/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc test"
+DISTUTILS_IN_SOURCE_BUILD=1
+
+DEPEND="
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ test? ( dev-python/pytest[${PYTHON_USEDEP}] )
+ doc? ( >=dev-python/sphinx-1.1.3-r3[${PYTHON_USEDEP}] )"
+RDEPEND="dev-python/redis-py[${PYTHON_USEDEP}]"
+
+PATCHES=( "${FILESDIR}"/${PN}-0.4.2-objectsinv.patch )
+
+python_prepare_all() {
+ # Delete test file requiring local connection to redis server
+ rm tests/test_queues.py || die
+ distutils-r1_python_prepare_all
+}
+
+python_compile_all() {
+ use doc && emake -C docs html
+}
+
+python_test() {
+ py.test tests || die "Tests failed under ${EPYTHON}"
+}
+
+python_install_all() {
+ use doc && HTML_DOCS=( docs/_build/html/. )
+ distutils-r1_python_install_all
+}