dev-python/xlwt: Remove redundant versions
authorMichał Górny <mgorny@gentoo.org>
Sun, 29 Mar 2020 12:09:22 +0000 (14:09 +0200)
committerMichał Górny <mgorny@gentoo.org>
Sun, 29 Mar 2020 12:09:22 +0000 (14:09 +0200)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
dev-python/xlwt/Manifest
dev-python/xlwt/files/docbuild.patch [deleted file]
dev-python/xlwt/xlwt-1.2.0.ebuild [deleted file]

index a8c2aff4dbc50106dc7aa955d902090e05f750d3..7b2af60312fb0ec000465a645a84df4f8aa0f360 100644 (file)
@@ -1,2 +1 @@
-DIST xlwt-1.2.0.tar.gz 153909 BLAKE2B 553315b6f6ba822122c18cfabaf5a30f25a6ccdc1c507bf7fbf293df42e380520ef647d3501b51443a90f77c59497b87c70f6a71d3b3ce53658d3a6cf2356f6a SHA512 e0be61f6a54ac39c91cf03a1a7535c464045539f6a040f000921815e3280bd341770d72f4353891a10dde7c1b51eab4ccb1ae1c10bbf779108346fba8484eef8
 DIST xlwt-1.3.0.tar.gz 153929 BLAKE2B f0edb823201e477aca23af1edaa2a7bcf95aeb5b9b191f4d9a8be9e052d68699887cd829c2304b26334fb3e92d4a1fc1d0dbfabb477889a1295255170408715c SHA512 e09c515bda7edadb9624b842796a537316c1e2e06f3e74aca5440a5797dbc259036539fd64ea61648a30894f4091d3be829411d36e6170894980728c798c5963
diff --git a/dev-python/xlwt/files/docbuild.patch b/dev-python/xlwt/files/docbuild.patch
deleted file mode 100644 (file)
index 20ed580..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-diff -Nur xlwt-1.0.0.orig xlwt-1.0.0
---- xlwt-1.0.0.orig/docs/conf.py
-+++ xlwt-1.0.0/docs/conf.py
-@@ -4,7 +4,7 @@
- on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
- pkg_info = pkginfo.Develop(os.path.join(os.path.dirname(__file__), os.pardir))
--extensions = ['sphinx.ext.autodoc', 'sphinx.ext.intersphinx']
-+extensions = ['sphinx.ext.autodoc']
- source_suffix = '.rst'
- master_doc = 'index'
- project = u'xlwt'
-@@ -19,4 +19,3 @@
-     html_theme = 'classic'
- htmlhelp_basename = project+'doc'
--intersphinx_mapping = {'python': ('http://docs.python.org', None)}
diff --git a/dev-python/xlwt/xlwt-1.2.0.ebuild b/dev-python/xlwt/xlwt-1.2.0.ebuild
deleted file mode 100644 (file)
index c3abfc4..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python2_7 python3_{6,7} )
-
-inherit distutils-r1
-
-DESCRIPTION="Python library to create spreadsheet files compatible with Excel"
-HOMEPAGE="https://pypi.org/project/xlwt/"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="amd64 arm arm64 ppc ppc64 x86 ~amd64-linux ~x86-linux"
-IUSE="doc examples test"
-RESTRICT="!test? ( test )"
-
-DEPEND="
-       dev-python/setuptools[${PYTHON_USEDEP}]
-       doc? (
-               >=dev-python/sphinx-1.3.1[${PYTHON_USEDEP}]
-               dev-python/pkginfo[${PYTHON_USEDEP}]
-       )
-       test? ( dev-python/nose[${PYTHON_USEDEP}] )"
-
-# Prevent d'loading in the doc build
-PATCHES=( "${FILESDIR}"/docbuild.patch )
-
-python_prepare_all() {
-       # Don't install documentation and examples in site-packages directories.
-       sed -e "/package_data/d" -i setup.py || die
-
-       distutils-r1_python_prepare_all
-}
-
-python_compile_all() {
-       use doc && emake -C docs html
-}
-
-python_test() {
-       nosetests tests || die "tests failed under ${EPYTHON}}"
-}
-
-python_install_all() {
-       use doc && local HTML_DOCS=( docs/_build/html/. )
-       if use examples; then
-               dodoc -r examples
-               docompress -x /usr/share/doc/${PF}
-       fi
-       distutils-r1_python_install_all
-}