From 1eb4ac78adc18e0b8cde51b89486c87dac56da58 Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Wed, 5 Feb 2020 13:49:07 +0100 Subject: dev-python/errorhandler: Remove old (drop to ~arch) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/errorhandler/Manifest | 1 - .../errorhandler/errorhandler-1.1.1-r2.ebuild | 49 ---------------------- dev-python/errorhandler/files/docs.patch | 12 ------ .../files/errorhandler-1.1.1-test.patch | 9 ---- 4 files changed, 71 deletions(-) delete mode 100644 dev-python/errorhandler/errorhandler-1.1.1-r2.ebuild delete mode 100644 dev-python/errorhandler/files/docs.patch delete mode 100644 dev-python/errorhandler/files/errorhandler-1.1.1-test.patch diff --git a/dev-python/errorhandler/Manifest b/dev-python/errorhandler/Manifest index 11918a6331fc..77580a35cd46 100644 --- a/dev-python/errorhandler/Manifest +++ b/dev-python/errorhandler/Manifest @@ -1,2 +1 @@ -DIST errorhandler-1.1.1.tar.gz 8321 BLAKE2B f2b0cc9dcf9bf86c1b89356f66fca2d64d49acb919ae6bfc18b1dcb013cb67a358f2f81d47cd1c3bca601c85fc3bb5f870e1cc2452d25b187309a844efed15b3 SHA512 a2f875537103086be956becfdac25a43a646a89b404b6a7a2a243c6d2ddbc29d55948b781529d0a0fa82b163187747f3396b62ed0be98d39834de038cc4a1fd2 DIST errorhandler-2.0.1.tar.gz 8534 BLAKE2B 2a1db016acef81b5e625800614b2b5084cb6e8175d623e42726a728018871d200709ec66db16847ae0cf604551925a18fd2207c861388844f324a6eaae4bbe90 SHA512 b2fe44f400551e2af8aa589aefce042ee761893678b211a0e3ec7eb4527803001ac930d0941425f6e1487d36493d0c8f439e0bf672536ec27f041309fd69420e diff --git a/dev-python/errorhandler/errorhandler-1.1.1-r2.ebuild b/dev-python/errorhandler/errorhandler-1.1.1-r2.ebuild deleted file mode 100644 index b418252ed2a9..000000000000 --- a/dev-python/errorhandler/errorhandler-1.1.1-r2.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -PYTHON_COMPAT=( python2_7 ) - -inherit distutils-r1 - -DESCRIPTION="Logging framework handler that tracks when messages above a certain level have been logged" -HOMEPAGE="https://pypi.org/project/errorhandler/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -KEYWORDS="amd64 x86" -IUSE="doc" - -LICENSE="MIT" -SLOT="0" - -RDEPEND="" -DEPEND=" - dev-python/pkginfo[${PYTHON_USEDEP}] - dev-python/setuptools[${PYTHON_USEDEP}] - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )" - -PATCHES=( - "${FILESDIR}"/${P}-test.patch - "${FILESDIR}"/docs.patch -) - -python_prepare_all() { - sed -e 's:../bin/sphinx-build:/usr/bin/sphinx-build:' -i docs/Makefile || die - distutils-r1_python_prepare_all -} - -python_compile_all() { - use doc && emake -C docs html -} - -python_test() { - "${PYTHON}" -c "import errorhandler.tests as et, unittest; \ - unittest.TextTestRunner().run(et.test_suite())" \ - || die "Tests fail with ${EPYTHON}" -} - -python_install_all() { - use doc && local HTML_DOCS=( docs/_build/html/. ) - distutils-r1_python_install_all -} diff --git a/dev-python/errorhandler/files/docs.patch b/dev-python/errorhandler/files/docs.patch deleted file mode 100644 index 10c704d6fec3..000000000000 --- a/dev-python/errorhandler/files/docs.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -ur errorhandler-1.1.1.orig/docs/conf.py errorhandler-1.1.1/docs/conf.py ---- docs/conf.py 2009-11-07 20:08:10.000000000 +0800 -+++ docs/conf.py 2013-06-07 14:05:17.321475285 +0800 -@@ -8,8 +8,6 @@ - 'sphinx.ext.intersphinx' - ] - --intersphinx_mapping = {'http://docs.python.org/dev': None} -- - # General - source_suffix = '.txt' - master_doc = 'index' diff --git a/dev-python/errorhandler/files/errorhandler-1.1.1-test.patch b/dev-python/errorhandler/files/errorhandler-1.1.1-test.patch deleted file mode 100644 index 126b508b9923..000000000000 --- a/dev-python/errorhandler/files/errorhandler-1.1.1-test.patch +++ /dev/null @@ -1,9 +0,0 @@ -diff -ur errorhandler-1.1.1.orig/errorhandler/tests.py errorhandler-1.1.1/errorhandler/tests.py ---- errorhandler/tests.py 2010-03-01 16:41:46.000000000 +0800 -+++ errorhandler/tests.py 2012-04-26 02:28:11.991954681 +0800 -@@ -134,3 +134,5 @@ - tearDown=tearDown, - optionflags=options), - )) -+if __name__ == "__main__": -+ unittest.main() -- cgit v1.2.3-65-gdbad