Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/datashape/
Date: Thu, 30 Jan 2020 21:26:21
Message-Id: 1580419560.e63de3a37c303866298c846d0cf3a6b004420ea4.mgorny@gentoo
1 commit: e63de3a37c303866298c846d0cf3a6b004420ea4
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jan 30 21:03:42 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu Jan 30 21:26:00 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e63de3a3
7
8 dev-python/datashape: Combine both ebuilds (remove py2)
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/datashape/datashape-0.5.4-r1.ebuild | 2 +-
13 dev-python/datashape/datashape-0.5.4.ebuild | 50 --------------------------
14 2 files changed, 1 insertion(+), 51 deletions(-)
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 index ba87920acb0..e72858a26c4 100644
18 --- a/dev-python/datashape/datashape-0.5.4-r1.ebuild
19 +++ b/dev-python/datashape/datashape-0.5.4-r1.ebuild
20 @@ -13,7 +13,7 @@ SRC_URI="https://github.com/blaze/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
21
22 LICENSE="BSD"
23 SLOT="0"
24 -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
25 +KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
26 IUSE="doc test"
27 RESTRICT="!test? ( test )"
28
29
30 diff --git a/dev-python/datashape/datashape-0.5.4.ebuild b/dev-python/datashape/datashape-0.5.4.ebuild
31 deleted file mode 100644
32 index d62fc5beed9..00000000000
33 --- a/dev-python/datashape/datashape-0.5.4.ebuild
34 +++ /dev/null
35 @@ -1,50 +0,0 @@
36 -# Copyright 1999-2020 Gentoo Authors
37 -# Distributed under the terms of the GNU General Public License v2
38 -
39 -EAPI=6
40 -
41 -PYTHON_COMPAT=( python{2_7,3_6} )
42 -
43 -inherit distutils-r1
44 -
45 -DESCRIPTION="Language defining a data description protocol"
46 -HOMEPAGE="https://github.com/blaze/datashape"
47 -SRC_URI="https://github.com/blaze/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
48 -
49 -LICENSE="BSD"
50 -SLOT="0"
51 -KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
52 -IUSE="doc test"
53 -RESTRICT="!test? ( test )"
54 -
55 -RDEPEND="
56 - >=dev-python/numpy-1.7[${PYTHON_USEDEP}]
57 - >=dev-python/multipledispatch-0.4.7[${PYTHON_USEDEP}]
58 - dev-python/python-dateutil[${PYTHON_USEDEP}]
59 -"
60 -DEPEND="
61 - doc? ( ${RDEPEND} dev-python/sphinx[${PYTHON_USEDEP}] )
62 - test? ( ${RDEPEND}
63 - dev-python/mock[${PYTHON_USEDEP}]
64 - dev-python/pytest[${PYTHON_USEDEP}]
65 - )
66 -"
67 -
68 -python_prepare_all() {
69 - # Prevent un-needed d'loading
70 - sed -e "s/'sphinx.ext.intersphinx', //" -i docs/source/conf.py || die
71 - distutils-r1_python_prepare_all
72 -}
73 -
74 -python_compile_all() {
75 - use doc && emake -C docs html
76 -}
77 -
78 -python_test() {
79 - py.test || die "Tests failed under ${EPYTHON}"
80 -}
81 -
82 -python_install_all() {
83 - use doc && local HTML_DOCS=( docs/build/html/. )
84 - distutils-r1_python_install_all
85 -}