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/testpath/
Date: Sat, 28 Nov 2015 17:58:22
Message-Id: 1448732973.708ddd341f8315b32ab21aac63ab2b16a4743bb1.marbre@gentoo
1 commit: 708ddd341f8315b32ab21aac63ab2b16a4743bb1
2 Author: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
3 AuthorDate: Sat Nov 28 17:49:33 2015 +0000
4 Commit: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
5 CommitDate: Sat Nov 28 17:49:33 2015 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=708ddd34
7
8 dev-python/testpath: Moved to tree
9
10 Package-Manager: portage-2.2.20.1
11
12 dev-python/testpath/ChangeLog | 4 +++
13 dev-python/testpath/testpath-0.2.ebuild | 55 ---------------------------------
14 2 files changed, 4 insertions(+), 55 deletions(-)
15
16 diff --git a/dev-python/testpath/ChangeLog b/dev-python/testpath/ChangeLog
17 index 1a53cdd..edc631f 100644
18 --- a/dev-python/testpath/ChangeLog
19 +++ b/dev-python/testpath/ChangeLog
20 @@ -2,6 +2,10 @@
21 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
22 # $Id$
23
24 + 28 Nov 2015; Marius Brehler <marbre@××××××××××××××.de> -Manifest,
25 + -testpath-0.2.ebuild:
26 + dev-python/testpath: Moved to tree
27 +
28 21 Sep 2015; Marius Brehler <marbre@××××××××××××××.de> testpath-9999.ebuild:
29 dev-python/testpath: Add ~x86 to KEYWORDS
30
31
32 diff --git a/dev-python/testpath/testpath-0.2.ebuild b/dev-python/testpath/testpath-0.2.ebuild
33 deleted file mode 100644
34 index a3ee765..0000000
35 --- a/dev-python/testpath/testpath-0.2.ebuild
36 +++ /dev/null
37 @@ -1,55 +0,0 @@
38 -# Copyright 1999-2015 Gentoo Foundation
39 -# Distributed under the terms of the GNU General Public License v2
40 -# $Id$
41 -
42 -EAPI=5
43 -
44 -PYTHON_COMPAT=( python2_7 python3_{3,4,5} )
45 -
46 -inherit distutils-r1
47 -
48 -DESCRIPTION="Test utilities for code working with files and commands"
49 -HOMEPAGE="http://jupyter.org"
50 -SRC_URI="https://github.com/jupyter/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
51 -KEYWORDS="~amd64 ~x86"
52 -
53 -LICENSE="BSD"
54 -SLOT="0"
55 -IUSE="doc test"
56 -
57 -DEPEND="
58 - test? (
59 - dev-python/pytest[${PYTHON_USEDEP}]
60 - virtual/python-pathlib[${PYTHON_USEDEP}]
61 - )
62 - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
63 - "
64 -
65 -PATCHES=(
66 - "${FILESDIR}/${P}"-setup.py.patch
67 - )
68 -
69 -python_prepare_all() {
70 - # Prevent un-needed download during build
71 - if use doc; then
72 - sed -e "/^ 'sphinx.ext.intersphinx',/d" -i doc/conf.py || die
73 - fi
74 -
75 -distutils-r1_python_prepare_all
76 -}
77 -
78 -python_compile_all() {
79 - use doc && emake -C doc html
80 -}
81 -
82 -python_install_all() {
83 - use doc && HTML_DOCS=( doc/_build/html/. )
84 - distutils-r1_python_install_all
85 - }
86 -
87 -python_test() {
88 - distutils_install_for_testing
89 - cd "${TEST_DIR}"/lib || die
90 - cp -r "${S}"/tests "${TEST_DIR}"/lib/ || die
91 - py.test || die
92 -}