diff options
author | Patrick Lauer <patrick@gentoo.org> | 2016-02-18 21:26:00 +0100 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2016-02-18 21:43:53 +0100 |
commit | 9d1dd1b917aabf0fa6279d0159bdefecf7109832 (patch) | |
tree | a2a7f3d2e2ead802badc6433aa4a5611fbac654c /dev-python | |
parent | dev-python/llfuse: Bump (diff) | |
download | gentoo-9d1dd1b917aabf0fa6279d0159bdefecf7109832.tar.gz gentoo-9d1dd1b917aabf0fa6279d0159bdefecf7109832.tar.bz2 gentoo-9d1dd1b917aabf0fa6279d0159bdefecf7109832.zip |
dev-python/logbook: Bump
Package-Manager: portage-2.2.27
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/logbook/Manifest | 1 | ||||
-rw-r--r-- | dev-python/logbook/logbook-0.12.5.ebuild | 46 |
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-python/logbook/Manifest b/dev-python/logbook/Manifest index b44f97831230..59df86c40afd 100644 --- a/dev-python/logbook/Manifest +++ b/dev-python/logbook/Manifest @@ -1,3 +1,4 @@ DIST logbook-0.10.0.tar.gz 107284 SHA256 ff227d9a48dcd539f25bdab26d36dd2ba1459bcc5ebce2926e92fecc917e5d26 SHA512 121fb5ed24a2c53b357d17d31c63c6d305014f5c9aa248df2b251e0c15ce1e7052be380b3032c3bdec0b767278b0b5d4a3f998ac596336f681ac6d353e0ed533 WHIRLPOOL 79700e9165b6c1f9ffe2f118c1033ce713a364b15ca3c1798f80c4f535411464fb329cd639ec0fb1887c542601554be444dd9e6f7b828f6bcc315af4d287f453 DIST logbook-0.12.3.tar.gz 115932 SHA256 2f3a974d05f7e414bab529cbaa5a7b0faba661516df2e978995247066da86d23 SHA512 0b4242ec476b8e6bbcfaf6db75848e3d36b343c62a83e338a6d3fe7ec8029a0199a7dec783cf27cc2a5a4586a8b9ba938c939dc6121079525fbf608e34eefb7f WHIRLPOOL 877b25d9116af4e7752841abf17f14db830bc0d3d6fff87a552e04c6dcb0e9d80871e2853a3e259fb61491952ebfd46d31b406baab97dee8bbd76634fee9cdc2 +DIST logbook-0.12.5.tar.gz 115937 SHA256 87000862d9151891c24e64b38f10acdc1682408ee9f98407bfea65b1ac5eec10 SHA512 48f9f64c1c581e54c22e459f3d3e0123f2ee537e3f126f88593bc2ce0255d42712de230ab37a215afb53d047d0a1708c8eb980776014166856e873ddae8ebf18 WHIRLPOOL af020986eb85603438b3073d374c29807fb0f42464f90e956f345fb6c44cb5e83885efc690a1710bf923d36040cd4d4ea9fa2d2531325cf8c99171e4babfc5b6 DIST logbook-0.9.1.tar.gz 106615 SHA256 e2f49e922c7836a58418b1cb2680e71492f45150cb968afced9f6a98222e3524 SHA512 d136dd5a7219a23a50db857919d794e7b721cc629443ac2bf92374aef68889d8a7146886fc4484c6d0dea56ec5c1c1ccca3f0b20310c2e12dba9d40dcac9c188 WHIRLPOOL adfb8bd28565ec97904c63631c55ee17613fdf2259d039baa0351df870bfa1658ebc52c8dbf69c8b94b0230577f287b215324d95b186cf38cc4d68bb1040d502 diff --git a/dev-python/logbook/logbook-0.12.5.ebuild b/dev-python/logbook/logbook-0.12.5.ebuild new file mode 100644 index 000000000000..a86c3ef1c6bc --- /dev/null +++ b/dev-python/logbook/logbook-0.12.5.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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/ 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}] + >=dev-python/six-1.4.0[${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 +} |