Gentoo Archives: gentoo-commits

From: "Sebastien Fabbro (bicatali)" <bicatali@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/traits: metadata.xml traits-4.4.0.ebuild ChangeLog
Date: Wed, 29 Jan 2014 16:59:02
Message-Id: 20140129165857.4A6332004C@flycatcher.gentoo.org
1 bicatali 14/01/29 16:58:57
2
3 Modified: metadata.xml ChangeLog
4 Added: traits-4.4.0.ebuild
5 Log:
6 Version bump, add pypi upstream check
7
8 (Portage version: 2.2.8-prefix/cvs/Linux x86_64, signed Manifest commit with key 0x13CB1360)
9
10 Revision Changes Path
11 1.2 dev-python/traits/metadata.xml
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/traits/metadata.xml?rev=1.2&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/traits/metadata.xml?rev=1.2&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/traits/metadata.xml?r1=1.1&r2=1.2
16
17 Index: metadata.xml
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-python/traits/metadata.xml,v
20 retrieving revision 1.1
21 retrieving revision 1.2
22 diff -u -r1.1 -r1.2
23 --- metadata.xml 15 Jan 2009 09:37:09 -0000 1.1
24 +++ metadata.xml 29 Jan 2014 16:58:57 -0000 1.2
25 @@ -1,12 +1,12 @@
26 <?xml version="1.0" encoding="UTF-8"?>
27 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
28 <pkgmetadata>
29 - <herd>python</herd>
30 - <longdescription lang="en">
31 - The traits package from the Enthought Tool Suite provides a
32 - metaclass with special attributes that are called traits. A trait
33 - is a type definition that can be used for normal Python object
34 - attributes, giving the attributes some additional characteristics:
35 +<herd>python</herd>
36 +<longdescription lang="en">
37 + The traits package from the Enthought Tool Suite provides a
38 + metaclass with special attributes that are called traits. A trait
39 + is a type definition that can be used for normal Python object
40 + attributes, giving the attributes some additional characteristics:
41 * Initialization: A trait attribute can have a default value
42 * Validation: A trait attribute is manifestly typed.
43 * Delegation: The value of a trait attribute can be contained in another
44 @@ -15,5 +15,8 @@
45 callbacks
46 * Visualization: With the TraitsUI package, GUIs can be generated
47 automatically from traited objects.
48 - </longdescription>
49 +</longdescription>
50 +<upstream>
51 + <remote-id type="pypi">traits</remote-id>
52 +</upstream>
53 </pkgmetadata>
54
55
56
57 1.43 dev-python/traits/ChangeLog
58
59 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/traits/ChangeLog?rev=1.43&view=markup
60 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/traits/ChangeLog?rev=1.43&content-type=text/plain
61 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/traits/ChangeLog?r1=1.42&r2=1.43
62
63 Index: ChangeLog
64 ===================================================================
65 RCS file: /var/cvsroot/gentoo-x86/dev-python/traits/ChangeLog,v
66 retrieving revision 1.42
67 retrieving revision 1.43
68 diff -u -r1.42 -r1.43
69 --- ChangeLog 9 Oct 2013 22:12:15 -0000 1.42
70 +++ ChangeLog 29 Jan 2014 16:58:57 -0000 1.43
71 @@ -1,6 +1,12 @@
72 # ChangeLog for dev-python/traits
73 -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
74 -# $Header: /var/cvsroot/gentoo-x86/dev-python/traits/ChangeLog,v 1.42 2013/10/09 22:12:15 floppym Exp $
75 +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
76 +# $Header: /var/cvsroot/gentoo-x86/dev-python/traits/ChangeLog,v 1.43 2014/01/29 16:58:57 bicatali Exp $
77 +
78 +*traits-4.4.0 (29 Jan 2014)
79 +
80 + 29 Jan 2014; Sébastien Fabbro <bicatali@g.o> +traits-4.4.0.ebuild,
81 + metadata.xml:
82 + Version bump, add pypi upstream check
83
84 09 Oct 2013; Mike Gilbert <floppym@g.o> traits-4.3.0-r1.ebuild:
85 Fix docs installation, bug 487448 by Juergen Rose. Add -fno-strict-aliasing to
86
87
88
89 1.1 dev-python/traits/traits-4.4.0.ebuild
90
91 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/traits/traits-4.4.0.ebuild?rev=1.1&view=markup
92 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/traits/traits-4.4.0.ebuild?rev=1.1&content-type=text/plain
93
94 Index: traits-4.4.0.ebuild
95 ===================================================================
96 # Copyright 1999-2014 Gentoo Foundation
97 # Distributed under the terms of the GNU General Public License v2
98 # $Header: /var/cvsroot/gentoo-x86/dev-python/traits/traits-4.4.0.ebuild,v 1.1 2014/01/29 16:58:57 bicatali Exp $
99
100 EAPI=5
101
102 PYTHON_COMPAT=( python{2_6,2_7} )
103
104 inherit distutils-r1 virtualx
105
106 DESCRIPTION="Enthought Tool Suite: Explicitly typed attributes for Python"
107 HOMEPAGE="http://code.enthought.com/projects/traits/"
108 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
109
110 LICENSE="BSD"
111 SLOT="0"
112 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
113 IUSE="test"
114
115 RDEPEND="dev-python/numpy[${PYTHON_USEDEP}]"
116 DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
117 test? ( dev-python/numpy[${PYTHON_USEDEP}] )"
118
119 python_prepare_all() {
120 sed -i -e "s/'-O3'//g" setup.py || die
121 distutils-r1_python_prepare_all
122 }
123
124 python_compile() {
125 python_is_python3 || local -x CFLAGS="${CFLAGS} -fno-strict-aliasing"
126 distutils-r1_python_compile
127 }
128
129 python_test() {
130 cd "${BUILD_DIR}"/lib || die
131 nosetests || die
132 }