Gentoo Archives: gentoo-commits

From: "Justin Lecher (jlec)" <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/dynd-python: metadata.xml ChangeLog dynd-python-0.6.5.ebuild
Date: Wed, 29 Oct 2014 15:39:26
Message-Id: 20141029153921.A386A9025@oystercatcher.gentoo.org
1 jlec 14/10/29 15:39:21
2
3 Modified: metadata.xml ChangeLog
4 Added: dynd-python-0.6.5.ebuild
5 Log:
6 dev-python/dynd-python: Version BUmp
7
8 (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!)
9
10 Revision Changes Path
11 1.3 dev-python/dynd-python/metadata.xml
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/dynd-python/metadata.xml?rev=1.3&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/dynd-python/metadata.xml?rev=1.3&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/dynd-python/metadata.xml?r1=1.2&r2=1.3
16
17 Index: metadata.xml
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-python/dynd-python/metadata.xml,v
20 retrieving revision 1.2
21 retrieving revision 1.3
22 diff -u -r1.2 -r1.3
23 --- metadata.xml 10 Jun 2014 20:48:30 -0000 1.2
24 +++ metadata.xml 29 Oct 2014 15:39:21 -0000 1.3
25 @@ -1,9 +1,9 @@
26 <?xml version="1.0" encoding="UTF-8"?>
27 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
28 <pkgmetadata>
29 -<herd>sci</herd>
30 -<herd>python</herd>
31 -<longdescription lang='en'>
32 + <herd>sci</herd>
33 + <herd>python</herd>
34 + <longdescription lang="en">
35 DyND-Python, a component of the Blaze project, is the Python
36 exposure of the DyND dynamic multi-dimensional array library.
37 </longdescription>
38
39
40
41 1.4 dev-python/dynd-python/ChangeLog
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/dynd-python/ChangeLog?rev=1.4&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/dynd-python/ChangeLog?rev=1.4&content-type=text/plain
45 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/dynd-python/ChangeLog?r1=1.3&r2=1.4
46
47 Index: ChangeLog
48 ===================================================================
49 RCS file: /var/cvsroot/gentoo-x86/dev-python/dynd-python/ChangeLog,v
50 retrieving revision 1.3
51 retrieving revision 1.4
52 diff -u -r1.3 -r1.4
53 --- ChangeLog 2 Sep 2014 03:28:57 -0000 1.3
54 +++ ChangeLog 29 Oct 2014 15:39:21 -0000 1.4
55 @@ -1,6 +1,12 @@
56 # ChangeLog for dev-python/dynd-python
57 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
58 -# $Header: /var/cvsroot/gentoo-x86/dev-python/dynd-python/ChangeLog,v 1.3 2014/09/02 03:28:57 patrick Exp $
59 +# $Header: /var/cvsroot/gentoo-x86/dev-python/dynd-python/ChangeLog,v 1.4 2014/10/29 15:39:21 jlec Exp $
60 +
61 +*dynd-python-0.6.5 (29 Oct 2014)
62 +
63 + 29 Oct 2014; Justin Lecher <jlec@g.o> +dynd-python-0.6.5.ebuild,
64 + metadata.xml:
65 + Version BUmp
66
67 02 Sep 2014; Patrick Lauer <patrick@g.o> dynd-python-0.6.2.ebuild:
68 Add py3.4 support
69
70
71
72 1.1 dev-python/dynd-python/dynd-python-0.6.5.ebuild
73
74 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/dynd-python/dynd-python-0.6.5.ebuild?rev=1.1&view=markup
75 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/dynd-python/dynd-python-0.6.5.ebuild?rev=1.1&content-type=text/plain
76
77 Index: dynd-python-0.6.5.ebuild
78 ===================================================================
79 # Copyright 1999-2014 Gentoo Foundation
80 # Distributed under the terms of the GNU General Public License v2
81 # $Header: /var/cvsroot/gentoo-x86/dev-python/dynd-python/dynd-python-0.6.5.ebuild,v 1.1 2014/10/29 15:39:21 jlec Exp $
82
83 EAPI=5
84
85 PYTHON_COMPAT=( python{2_7,3_2,3_3,3_4} )
86
87 inherit cmake-utils python-r1
88
89 # change each release, to avoid git in tree dependency
90 DYND_GIT_SHA1=e5578b6b862c025dd757f77aaae69be48cde5613
91
92 DESCRIPTION="Python exposure of multidimensionnal array library libdynd"
93 HOMEPAGE="https://github.com/ContinuumIO/dynd-python"
94 SRC_URI="https://github.com/ContinuumIO/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
95
96 LICENSE="BSD"
97
98 SLOT="0"
99 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
100
101 IUSE="doc test"
102
103 RDEPEND="
104 ~dev-libs/libdynd-${PV}
105 >=dev-python/numpy-1.5[${PYTHON_USEDEP}]
106 "
107 DEPEND="${RDEPEND}
108 >=dev-python/cython-0.19[${PYTHON_USEDEP}]
109 test? ( dev-python/nose[${PYTHON_USEDEP}] )
110 "
111
112 PATCHES=( "${FILESDIR}"/${PN}-0.6.2-out-of-git-versioning.patch )
113
114 src_prepare() {
115 cmake-utils_src_prepare
116 # each relase comes with a different set...
117 # remove forced strong flags
118 sed -i \
119 -e "s|@DYND_GIT_SHA1@|${DYND_GIT_SHA1}|" \
120 -e "s|@DYND_VERSION@|${PV}|" \
121 -e 's|-g -fomit-frame-pointer||' \
122 -e 's|-Werror||g' \
123 CMakeLists.txt || die
124 }
125
126 src_configure() {
127 local mycmakeargs=(
128 -DUSE_SEPARATE_LIBDYND=ON
129 -DDYND_INSTALL_LIB=ON
130 $(cmake-utils_use test DYND_BUILD_TESTS)
131 )
132 python_foreach_impl cmake-utils_src_configure
133 }
134
135 src_compile() {
136 python_foreach_impl cmake-utils_src_make
137 use doc && emake -C doc html
138 }
139
140 src_test() {
141 testing() {
142 cmake-utils_src_make DESTDIR="${WORKDIR}-test-${EPYTHON}" install
143 cd "${WORKDIR}-test-${EPYTHON}"/$(python_get_sitedir) || die
144 ${PYTHON} -c 'import dynd; dynd.test()' || die
145 }
146 python_foreach_impl testing
147 }
148
149 src_install() {
150 python_foreach_impl cmake-utils_src_install
151 dodoc README.md
152 use doc && dohtml -r doc/build/html/*
153 }