Gentoo Archives: gentoo-commits

From: Pacho Ramos <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/datashape/
Date: Sun, 19 Jan 2020 19:54:23
Message-Id: 1579463653.09881367a674bf725f8365892c1214ccefac5f3d.pacho@gentoo
1 commit: 09881367a674bf725f8365892c1214ccefac5f3d
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jan 19 19:51:21 2020 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Sun Jan 19 19:54:13 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09881367
7
8 (cat_pn): No reverse dep needs py2 support
9
10 Package-Manager: Portage-2.3.84, Repoman-2.3.20
11 Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>
12
13 dev-python/datashape/datashape-0.5.4-r1.ebuild | 50 ++++++++++++++++++++++++++
14 1 file changed, 50 insertions(+)
15
16 diff --git a/dev-python/datashape/datashape-0.5.4-r1.ebuild b/dev-python/datashape/datashape-0.5.4-r1.ebuild
17 new file mode 100644
18 index 00000000000..ba87920acb0
19 --- /dev/null
20 +++ b/dev-python/datashape/datashape-0.5.4-r1.ebuild
21 @@ -0,0 +1,50 @@
22 +# Copyright 1999-2020 Gentoo Authors
23 +# Distributed under the terms of the GNU General Public License v2
24 +
25 +EAPI=6
26 +
27 +PYTHON_COMPAT=( python3_6 )
28 +
29 +inherit distutils-r1
30 +
31 +DESCRIPTION="Language defining a data description protocol"
32 +HOMEPAGE="https://github.com/blaze/datashape"
33 +SRC_URI="https://github.com/blaze/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
34 +
35 +LICENSE="BSD"
36 +SLOT="0"
37 +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
38 +IUSE="doc test"
39 +RESTRICT="!test? ( test )"
40 +
41 +RDEPEND="
42 + >=dev-python/numpy-1.7[${PYTHON_USEDEP}]
43 + >=dev-python/multipledispatch-0.4.7[${PYTHON_USEDEP}]
44 + dev-python/python-dateutil[${PYTHON_USEDEP}]
45 +"
46 +DEPEND="
47 + doc? ( ${RDEPEND} dev-python/sphinx[${PYTHON_USEDEP}] )
48 + test? ( ${RDEPEND}
49 + dev-python/mock[${PYTHON_USEDEP}]
50 + dev-python/pytest[${PYTHON_USEDEP}]
51 + )
52 +"
53 +
54 +python_prepare_all() {
55 + # Prevent un-needed d'loading
56 + sed -e "s/'sphinx.ext.intersphinx', //" -i docs/source/conf.py || die
57 + distutils-r1_python_prepare_all
58 +}
59 +
60 +python_compile_all() {
61 + use doc && emake -C docs html
62 +}
63 +
64 +python_test() {
65 + py.test || die "Tests failed under ${EPYTHON}"
66 +}
67 +
68 +python_install_all() {
69 + use doc && local HTML_DOCS=( docs/build/html/. )
70 + distutils-r1_python_install_all
71 +}