Gentoo Archives: gentoo-commits

From: Marius Brehler <marbre@××××××××××××××.de>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: dev-python/nbconvert/
Date: Sat, 28 Nov 2015 17:58:16
Message-Id: 1448732595.47ec47ad369cea635ea848b7925ebccace8d58a7.marbre@gentoo
1 commit: 47ec47ad369cea635ea848b7925ebccace8d58a7
2 Author: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
3 AuthorDate: Sat Nov 28 17:43:15 2015 +0000
4 Commit: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
5 CommitDate: Sat Nov 28 17:43:15 2015 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=47ec47ad
7
8 dev-python/nbconvert: Moved to tree
9
10 Package-Manager: portage-2.2.20.1
11
12 dev-python/nbconvert/ChangeLog | 4 ++
13 dev-python/nbconvert/nbconvert-4.0.0-r1.ebuild | 79 --------------------------
14 dev-python/nbconvert/nbconvert-4.1.0.ebuild | 78 -------------------------
15 3 files changed, 4 insertions(+), 157 deletions(-)
16
17 diff --git a/dev-python/nbconvert/ChangeLog b/dev-python/nbconvert/ChangeLog
18 index ca549aa..b03b909 100644
19 --- a/dev-python/nbconvert/ChangeLog
20 +++ b/dev-python/nbconvert/ChangeLog
21 @@ -2,6 +2,10 @@
22 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
23 # $Id$
24
25 + 28 Nov 2015; Marius Brehler <marbre@××××××××××××××.de> -Manifest,
26 + -nbconvert-4.0.0-r1.ebuild, -nbconvert-4.1.0.ebuild:
27 + dev-python/nbconvert: Moved to tree
28 +
29 22 Sep 2015; Marius Brehler <marbre@××××××××××××××.de> nbconvert-9999.ebuild:
30 dev-python/nbconvert: Add ~x86 to KEYWORDS, fixes #561032
31
32
33 diff --git a/dev-python/nbconvert/nbconvert-4.0.0-r1.ebuild b/dev-python/nbconvert/nbconvert-4.0.0-r1.ebuild
34 deleted file mode 100644
35 index ddbb31e..0000000
36 --- a/dev-python/nbconvert/nbconvert-4.0.0-r1.ebuild
37 +++ /dev/null
38 @@ -1,79 +0,0 @@
39 -# Copyright 1999-2015 Gentoo Foundation
40 -# Distributed under the terms of the GNU General Public License v2
41 -# $Id$
42 -
43 -EAPI=5
44 -
45 -PYTHON_COMPAT=( python2_7 python3_{3,4,5} )
46 -
47 -inherit distutils-r1
48 -
49 -MY_PN="nbconvert"
50 -
51 -DESCRIPTION="Converting Jupyter Notebooks"
52 -HOMEPAGE="http://jupyter.org"
53 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
54 -KEYWORDS="~amd64 ~x86"
55 -
56 -LICENSE="BSD"
57 -SLOT="0"
58 -IUSE="doc test"
59 -
60 -PATCHES=(
61 - "${FILESDIR}/${P}"-docs-Makefile.patch
62 - "${FILESDIR}/${P}"-pandoc-highlighting.patch
63 -)
64 -
65 -RDEPEND="
66 - dev-python/jupyter_core[${PYTHON_USEDEP}]
67 - dev-python/nbformat[${PYTHON_USEDEP}]
68 - dev-python/mistune[${PYTHON_USEDEP}]
69 - dev-python/jinja[${PYTHON_USEDEP}]
70 - dev-python/pygments[${PYTHON_USEDEP}]
71 - dev-python/traitlets[${PYTHON_USEDEP}]
72 - "
73 -DEPEND="${RDEPEND}
74 - doc? (
75 - dev-python/ipython[${PYTHON_USEDEP}]
76 - dev-python/jupyter_client[${PYTHON_USEDEP}]
77 - dev-python/sphinx[${PYTHON_USEDEP}]
78 - app-text/pandoc
79 - )
80 - test? (
81 - dev-python/nose[${PYTHON_USEDEP}]
82 - dev-python/coverage[${PYTHON_USEDEP}]
83 - dev-python/ipykernel[${PYTHON_USEDEP}]
84 - )
85 - "
86 -
87 -python_prepare_all() {
88 - # Prevent un-needed download during build
89 - if use doc; then
90 - sed -e "/^ 'sphinx.ext.intersphinx',/d" -i docs/source/conf.py || die
91 - fi
92 -
93 - distutils-r1_python_prepare_all
94 -}
95 -
96 -python_compile_all() {
97 - use doc && emake -C docs html
98 -}
99 -
100 -python_test() {
101 - distutils_install_for_testing
102 - cd "${TEST_DIR}"/lib || die
103 - nosetests --with-coverage --cover-package=nbconvert nbconvert || die
104 -}
105 -
106 -python_install_all() {
107 - use doc && HTML_DOCS=( docs/build/html/. )
108 - distutils-r1_python_install_all
109 -}
110 -
111 -pkg_postinst() {
112 - if ! has_version app-text/pandoc ; then
113 - einfo "Pandoc is required for converting to formats other than Python,"
114 - einfo "HTML, and Markdown. If you need this functionality, install"
115 - einfo "app-text/pandoc."
116 - fi
117 -}
118
119 diff --git a/dev-python/nbconvert/nbconvert-4.1.0.ebuild b/dev-python/nbconvert/nbconvert-4.1.0.ebuild
120 deleted file mode 100644
121 index 0eab8bc..0000000
122 --- a/dev-python/nbconvert/nbconvert-4.1.0.ebuild
123 +++ /dev/null
124 @@ -1,78 +0,0 @@
125 -# Copyright 1999-2015 Gentoo Foundation
126 -# Distributed under the terms of the GNU General Public License v2
127 -# $Id$
128 -
129 -EAPI=5
130 -
131 -PYTHON_COMPAT=( python2_7 python3_{3,4,5} )
132 -
133 -inherit distutils-r1
134 -
135 -MY_PN="nbconvert"
136 -
137 -DESCRIPTION="Converting Jupyter Notebooks"
138 -HOMEPAGE="http://jupyter.org"
139 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
140 -KEYWORDS="~amd64 ~x86"
141 -
142 -LICENSE="BSD"
143 -SLOT="0"
144 -IUSE="doc test"
145 -
146 -PATCHES=(
147 - "${FILESDIR}"/${PN}-4.0.0-docs-Makefile.patch
148 -)
149 -
150 -RDEPEND="
151 - dev-python/jupyter_core[${PYTHON_USEDEP}]
152 - dev-python/nbformat[${PYTHON_USEDEP}]
153 - dev-python/mistune[${PYTHON_USEDEP}]
154 - dev-python/jinja[${PYTHON_USEDEP}]
155 - dev-python/pygments[${PYTHON_USEDEP}]
156 - dev-python/traitlets[${PYTHON_USEDEP}]
157 - "
158 -DEPEND="${RDEPEND}
159 - doc? (
160 - dev-python/ipython[${PYTHON_USEDEP}]
161 - dev-python/jupyter_client[${PYTHON_USEDEP}]
162 - dev-python/sphinx[${PYTHON_USEDEP}]
163 - app-text/pandoc
164 - )
165 - test? (
166 - dev-python/nose[${PYTHON_USEDEP}]
167 - dev-python/coverage[${PYTHON_USEDEP}]
168 - dev-python/ipykernel[${PYTHON_USEDEP}]
169 - )
170 - "
171 -
172 -python_prepare_all() {
173 - # Prevent un-needed download during build
174 - if use doc; then
175 - sed -e "/^ 'sphinx.ext.intersphinx',/d" -i docs/source/conf.py || die
176 - fi
177 -
178 - distutils-r1_python_prepare_all
179 -}
180 -
181 -python_compile_all() {
182 - use doc && emake -C docs html
183 -}
184 -
185 -python_test() {
186 - distutils_install_for_testing
187 - cd "${TEST_DIR}"/lib || die
188 - nosetests --with-coverage --cover-package=nbconvert nbconvert || die
189 -}
190 -
191 -python_install_all() {
192 - use doc && HTML_DOCS=( docs/build/html/. )
193 - distutils-r1_python_install_all
194 -}
195 -
196 -pkg_postinst() {
197 - if ! has_version app-text/pandoc ; then
198 - einfo "Pandoc is required for converting to formats other than Python,"
199 - einfo "HTML, and Markdown. If you need this functionality, install"
200 - einfo "app-text/pandoc."
201 - fi
202 -}