diff options
author | Michał Górny <mgorny@gentoo.org> | 2020-03-29 14:09:22 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2020-03-29 14:09:22 +0200 |
commit | 89943e0c909375c82b90fadde38c43b864fa8348 (patch) | |
tree | bb796a9360cbdc6c3e39c846f9f537c39964bb3b /dev-python/xlwt | |
parent | dev-python/xlwt: Stabilize 1.3.0 ALLARCHES (diff) | |
download | gentoo-89943e0c909375c82b90fadde38c43b864fa8348.tar.gz gentoo-89943e0c909375c82b90fadde38c43b864fa8348.tar.bz2 gentoo-89943e0c909375c82b90fadde38c43b864fa8348.zip |
dev-python/xlwt: Remove redundant versions
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/xlwt')
-rw-r--r-- | dev-python/xlwt/Manifest | 1 | ||||
-rw-r--r-- | dev-python/xlwt/files/docbuild.patch | 17 | ||||
-rw-r--r-- | dev-python/xlwt/xlwt-1.2.0.ebuild | 53 |
3 files changed, 0 insertions, 71 deletions
diff --git a/dev-python/xlwt/Manifest b/dev-python/xlwt/Manifest index a8c2aff4dbc5..7b2af60312fb 100644 --- a/dev-python/xlwt/Manifest +++ b/dev-python/xlwt/Manifest @@ -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 index 20ed580a628e..000000000000 --- a/dev-python/xlwt/files/docbuild.patch +++ /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 index c3abfc46f697..000000000000 --- a/dev-python/xlwt/xlwt-1.2.0.ebuild +++ /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 -} |