1 |
commit: 89943e0c909375c82b90fadde38c43b864fa8348 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Mar 29 12:09:22 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Mar 29 12:09:22 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89943e0c |
7 |
|
8 |
dev-python/xlwt: Remove redundant versions |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/xlwt/Manifest | 1 - |
13 |
dev-python/xlwt/files/docbuild.patch | 17 ------------ |
14 |
dev-python/xlwt/xlwt-1.2.0.ebuild | 53 ------------------------------------ |
15 |
3 files changed, 71 deletions(-) |
16 |
|
17 |
diff --git a/dev-python/xlwt/Manifest b/dev-python/xlwt/Manifest |
18 |
index a8c2aff4dbc..7b2af60312f 100644 |
19 |
--- a/dev-python/xlwt/Manifest |
20 |
+++ b/dev-python/xlwt/Manifest |
21 |
@@ -1,2 +1 @@ |
22 |
-DIST xlwt-1.2.0.tar.gz 153909 BLAKE2B 553315b6f6ba822122c18cfabaf5a30f25a6ccdc1c507bf7fbf293df42e380520ef647d3501b51443a90f77c59497b87c70f6a71d3b3ce53658d3a6cf2356f6a SHA512 e0be61f6a54ac39c91cf03a1a7535c464045539f6a040f000921815e3280bd341770d72f4353891a10dde7c1b51eab4ccb1ae1c10bbf779108346fba8484eef8 |
23 |
DIST xlwt-1.3.0.tar.gz 153929 BLAKE2B f0edb823201e477aca23af1edaa2a7bcf95aeb5b9b191f4d9a8be9e052d68699887cd829c2304b26334fb3e92d4a1fc1d0dbfabb477889a1295255170408715c SHA512 e09c515bda7edadb9624b842796a537316c1e2e06f3e74aca5440a5797dbc259036539fd64ea61648a30894f4091d3be829411d36e6170894980728c798c5963 |
24 |
|
25 |
diff --git a/dev-python/xlwt/files/docbuild.patch b/dev-python/xlwt/files/docbuild.patch |
26 |
deleted file mode 100644 |
27 |
index 20ed580a628..00000000000 |
28 |
--- a/dev-python/xlwt/files/docbuild.patch |
29 |
+++ /dev/null |
30 |
@@ -1,17 +0,0 @@ |
31 |
-diff -Nur xlwt-1.0.0.orig xlwt-1.0.0 |
32 |
---- xlwt-1.0.0.orig/docs/conf.py |
33 |
-+++ xlwt-1.0.0/docs/conf.py |
34 |
-@@ -4,7 +4,7 @@ |
35 |
- on_rtd = os.environ.get('READTHEDOCS', None) == 'True' |
36 |
- pkg_info = pkginfo.Develop(os.path.join(os.path.dirname(__file__), os.pardir)) |
37 |
- |
38 |
--extensions = ['sphinx.ext.autodoc', 'sphinx.ext.intersphinx'] |
39 |
-+extensions = ['sphinx.ext.autodoc'] |
40 |
- source_suffix = '.rst' |
41 |
- master_doc = 'index' |
42 |
- project = u'xlwt' |
43 |
-@@ -19,4 +19,3 @@ |
44 |
- html_theme = 'classic' |
45 |
- |
46 |
- htmlhelp_basename = project+'doc' |
47 |
--intersphinx_mapping = {'python': ('http://docs.python.org', None)} |
48 |
|
49 |
diff --git a/dev-python/xlwt/xlwt-1.2.0.ebuild b/dev-python/xlwt/xlwt-1.2.0.ebuild |
50 |
deleted file mode 100644 |
51 |
index c3abfc46f69..00000000000 |
52 |
--- a/dev-python/xlwt/xlwt-1.2.0.ebuild |
53 |
+++ /dev/null |
54 |
@@ -1,53 +0,0 @@ |
55 |
-# Copyright 1999-2020 Gentoo Authors |
56 |
-# Distributed under the terms of the GNU General Public License v2 |
57 |
- |
58 |
-EAPI=6 |
59 |
- |
60 |
-PYTHON_COMPAT=( python2_7 python3_{6,7} ) |
61 |
- |
62 |
-inherit distutils-r1 |
63 |
- |
64 |
-DESCRIPTION="Python library to create spreadsheet files compatible with Excel" |
65 |
-HOMEPAGE="https://pypi.org/project/xlwt/" |
66 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
67 |
- |
68 |
-LICENSE="BSD" |
69 |
-SLOT="0" |
70 |
-KEYWORDS="amd64 arm arm64 ppc ppc64 x86 ~amd64-linux ~x86-linux" |
71 |
-IUSE="doc examples test" |
72 |
-RESTRICT="!test? ( test )" |
73 |
- |
74 |
-DEPEND=" |
75 |
- dev-python/setuptools[${PYTHON_USEDEP}] |
76 |
- doc? ( |
77 |
- >=dev-python/sphinx-1.3.1[${PYTHON_USEDEP}] |
78 |
- dev-python/pkginfo[${PYTHON_USEDEP}] |
79 |
- ) |
80 |
- test? ( dev-python/nose[${PYTHON_USEDEP}] )" |
81 |
- |
82 |
-# Prevent d'loading in the doc build |
83 |
-PATCHES=( "${FILESDIR}"/docbuild.patch ) |
84 |
- |
85 |
-python_prepare_all() { |
86 |
- # Don't install documentation and examples in site-packages directories. |
87 |
- sed -e "/package_data/d" -i setup.py || die |
88 |
- |
89 |
- distutils-r1_python_prepare_all |
90 |
-} |
91 |
- |
92 |
-python_compile_all() { |
93 |
- use doc && emake -C docs html |
94 |
-} |
95 |
- |
96 |
-python_test() { |
97 |
- nosetests tests || die "tests failed under ${EPYTHON}}" |
98 |
-} |
99 |
- |
100 |
-python_install_all() { |
101 |
- use doc && local HTML_DOCS=( docs/_build/html/. ) |
102 |
- if use examples; then |
103 |
- dodoc -r examples |
104 |
- docompress -x /usr/share/doc/${PF} |
105 |
- fi |
106 |
- distutils-r1_python_install_all |
107 |
-} |