diff options
author | Patrick Lauer <patrick@gentoo.org> | 2015-03-17 07:16:02 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2015-03-17 07:16:02 +0000 |
commit | df0a214b5ddde0e23e350edaecd470985e5bea86 (patch) | |
tree | 8c7908545627a71c2ef0aabd063f22871454dc49 /dev-python/logbook | |
parent | Bump (diff) | |
download | gentoo-2-df0a214b5ddde0e23e350edaecd470985e5bea86.tar.gz gentoo-2-df0a214b5ddde0e23e350edaecd470985e5bea86.tar.bz2 gentoo-2-df0a214b5ddde0e23e350edaecd470985e5bea86.zip |
Bump
(Portage version: 2.2.18/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'dev-python/logbook')
-rw-r--r-- | dev-python/logbook/ChangeLog | 9 | ||||
-rw-r--r-- | dev-python/logbook/logbook-0.9.0.ebuild | 44 |
2 files changed, 51 insertions, 2 deletions
diff --git a/dev-python/logbook/ChangeLog b/dev-python/logbook/ChangeLog index 1fb4fae6d17e..311d7fc680a5 100644 --- a/dev-python/logbook/ChangeLog +++ b/dev-python/logbook/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-python/logbook -# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/logbook/ChangeLog,v 1.21 2014/12/14 10:52:16 idella4 Exp $ +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/logbook/ChangeLog,v 1.22 2015/03/17 07:16:02 patrick Exp $ + +*logbook-0.9.0 (17 Mar 2015) + + 17 Mar 2015; Patrick Lauer <patrick@gentoo.org> +logbook-0.9.0.ebuild: + Bump *logbook-0.8.1 (14 Dec 2014) diff --git a/dev-python/logbook/logbook-0.9.0.ebuild b/dev-python/logbook/logbook-0.9.0.ebuild new file mode 100644 index 000000000000..f307fdcf4ed4 --- /dev/null +++ b/dev-python/logbook/logbook-0.9.0.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/logbook/logbook-0.9.0.ebuild,v 1.1 2015/03/17 07:16:02 patrick Exp $ + +EAPI=5 +PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy ) + +inherit distutils-r1 + +DESCRIPTION="A logging replacement for Python" +HOMEPAGE="http://packages.python.org/Logbook/ http://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}] )" +REDEPEND="dev-python/redis-py[${PYTHON_USEDEP}]" + +PATCHES=( "${FILESDIR}"/${PN}-0.4.2-objectsinv.patch ) + +python_prepare_all() { + # Delete test file requiring local conncetion 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 +} |