diff options
author | Patrick Lauer <patrick@gentoo.org> | 2016-06-29 20:48:53 +0200 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2016-06-29 20:49:13 +0200 |
commit | bfc4512a8e1a1872bbc674a6a4f675b62cba280f (patch) | |
tree | bf07ff0c0f4f8e22c52f40670983db8f3693abd8 /dev-python | |
parent | dev-python/pytest-timeout: Bump (diff) | |
download | gentoo-bfc4512a8e1a1872bbc674a6a4f675b62cba280f.tar.gz gentoo-bfc4512a8e1a1872bbc674a6a4f675b62cba280f.tar.bz2 gentoo-bfc4512a8e1a1872bbc674a6a4f675b62cba280f.zip |
dev-python/logbook: Bump
Package-Manager: portage-2.3.0
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/logbook/Manifest | 1 | ||||
-rw-r--r-- | dev-python/logbook/logbook-1.0.0.ebuild | 46 |
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-python/logbook/Manifest b/dev-python/logbook/Manifest index 59df86c40afd..b7132638d978 100644 --- a/dev-python/logbook/Manifest +++ b/dev-python/logbook/Manifest @@ -2,3 +2,4 @@ DIST logbook-0.10.0.tar.gz 107284 SHA256 ff227d9a48dcd539f25bdab26d36dd2ba1459bc 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 +DIST logbook-1.0.0.tar.gz 365307 SHA256 b09d45ae8aa2baf450347fd42dd74942b7fd726af7a336fbc089bb72e4fc0e71 SHA512 0ff2348cc04155d13e911bb7f080d2621e2c46e827c1823e6a4f977d39569271001f64c84ca24fcaf269209c15b88fd50c28c2fcf87312761dcf16ab414abc1d WHIRLPOOL 9d76d229462907218d3b922a02739db58e422be909d56c67a171f4d78458380417f3c7f21d05426c4864753cbf2fb96aab77812dec96f4114035e607445a4898 diff --git a/dev-python/logbook/logbook-1.0.0.ebuild b/dev-python/logbook/logbook-1.0.0.ebuild new file mode 100644 index 000000000000..774b6e75d84a --- /dev/null +++ b/dev-python/logbook/logbook-1.0.0.ebuild @@ -0,0 +1,46 @@ +# 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_{3,4,5}} 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 +} |