mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-31 10:58:21 -07:00
dev-python/logbook: Clean old up
This commit is contained in:
@@ -1,3 +1,2 @@
|
||||
DIST logbook-0.9.1.tar.gz 106615 BLAKE2B 4100bda341a1c946bbabfb6ff423b4906f0ada754ebcbaefca93d768bd8c5135a9b1e00207fba4b13ce297cb7eca27364000e9f8b9f52935608af6c9586302aa SHA512 d136dd5a7219a23a50db857919d794e7b721cc629443ac2bf92374aef68889d8a7146886fc4484c6d0dea56ec5c1c1ccca3f0b20310c2e12dba9d40dcac9c188
|
||||
DIST logbook-1.0.0.tar.gz 365307 BLAKE2B c345dfa63f194c8c72f9c29882fbcc241417f7f4b912d95fc540e7e9eb0b3b5101ad3a679cd157ede698496eac3035a96879f87c33d73869863af080b054ba57 SHA512 0ff2348cc04155d13e911bb7f080d2621e2c46e827c1823e6a4f977d39569271001f64c84ca24fcaf269209c15b88fd50c28c2fcf87312761dcf16ab414abc1d
|
||||
DIST logbook-1.1.0.tar.gz 367541 BLAKE2B 26e27e94f1238c9188fc66b6eb1f5622d96e1c0db97817dba30c8c70107544ea80ab1f11b71592db6a8e2a9c5d32dd659782a532cb7d263c2f042b41ef88d2ad SHA512 55ec7a026a08baed405e29d7cdcc9d3cc423c9faf13788c2447ac7ccff688de9bd9e332ad78077b1eef8bc8ad9aea572f9c124888f46ecabc2abf22d8ac9086b
|
||||
|
||||
@@ -1,45 +0,0 @@
|
||||
# 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
|
||||
}
|
||||
Reference in New Issue
Block a user