Gentoo Archives: gentoo-commits

From: Horea Christian <horea.christ@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: dev-python/traits/
Date: Fri, 25 Sep 2020 08:53:14
Message-Id: 1601023984.a5c686a673a83cec73fcd39f34f655bdcdab54fe.chymera@gentoo
1 commit: a5c686a673a83cec73fcd39f34f655bdcdab54fe
2 Author: Horea Christian <chr <AT> chymera <DOT> eu>
3 AuthorDate: Fri Sep 25 08:53:04 2020 +0000
4 Commit: Horea Christian <horea.christ <AT> gmail <DOT> com>
5 CommitDate: Fri Sep 25 08:53:04 2020 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=a5c686a6
7
8 dev-python/traits: removed old versions, PYTHON_COMPAT update
9
10 Package-Manager: Portage-3.0.8, Repoman-3.0.1
11 Signed-off-by: Horea Christian <chr <AT> chymera.eu>
12
13 dev-python/traits/traits-4.5.0.ebuild | 38 --------------------------
14 dev-python/traits/traits-4.6.0.ebuild | 43 ------------------------------
15 dev-python/traits/traits-5.0.0.ebuild | 50 -----------------------------------
16 dev-python/traits/traits-5.1.0.ebuild | 4 +--
17 dev-python/traits/traits-6.0.0.ebuild | 2 +-
18 5 files changed, 3 insertions(+), 134 deletions(-)
19
20 diff --git a/dev-python/traits/traits-4.5.0.ebuild b/dev-python/traits/traits-4.5.0.ebuild
21 deleted file mode 100644
22 index 528d28b25..000000000
23 --- a/dev-python/traits/traits-4.5.0.ebuild
24 +++ /dev/null
25 @@ -1,38 +0,0 @@
26 -# Copyright 1999-2019 Gentoo Authors
27 -# Distributed under the terms of the GNU General Public License v2
28 -
29 -EAPI=7
30 -
31 -PYTHON_COMPAT=( python2_7 )
32 -
33 -inherit distutils-r1 virtualx
34 -
35 -DESCRIPTION="Enthought Tool Suite: Explicitly typed attributes for Python"
36 -HOMEPAGE="http://docs.enthought.com/traits/
37 - https://github.com/enthought/traits
38 - https://pypi.org/project/traits/"
39 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
40 -
41 -LICENSE="BSD"
42 -SLOT="0"
43 -KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
44 -IUSE="test"
45 -
46 -RDEPEND="dev-python/numpy[${PYTHON_USEDEP}]"
47 -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
48 - test? ( ${RDEPEND} )"
49 -
50 -python_prepare_all() {
51 - sed -i -e "s/'-O3'//g" setup.py || die
52 - distutils-r1_python_prepare_all
53 -}
54 -
55 -python_compile() {
56 - local -x CFLAGS="${CFLAGS} -fno-strict-aliasing"
57 - distutils-r1_python_compile
58 -}
59 -
60 -python_test() {
61 - cd "${BUILD_DIR}"/lib || die
62 - nosetests || die
63 -}
64
65 diff --git a/dev-python/traits/traits-4.6.0.ebuild b/dev-python/traits/traits-4.6.0.ebuild
66 deleted file mode 100644
67 index 5685ceeb5..000000000
68 --- a/dev-python/traits/traits-4.6.0.ebuild
69 +++ /dev/null
70 @@ -1,43 +0,0 @@
71 -# Copyright 1999-2019 Gentoo Authors
72 -# Distributed under the terms of the GNU General Public License v2
73 -
74 -EAPI=7
75 -
76 -PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
77 -
78 -inherit distutils-r1 virtualx
79 -
80 -DESCRIPTION="Enthought Tool Suite: Explicitly typed attributes for Python"
81 -HOMEPAGE="http://docs.enthought.com/traits/
82 - https://github.com/enthought/traits
83 - https://pypi.org/project/traits/"
84 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
85 -
86 -LICENSE="BSD"
87 -SLOT="0"
88 -KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
89 -IUSE="test"
90 -
91 -RDEPEND="dev-python/numpy[${PYTHON_USEDEP}]"
92 -
93 -DEPEND="
94 - dev-python/setuptools[${PYTHON_USEDEP}]
95 - test? (
96 - dev-python/nose[${PYTHON_USEDEP}]
97 - ${RDEPEND}
98 - )"
99 -
100 -python_prepare_all() {
101 - sed -i -e "s/'-O3'//g" setup.py || die
102 - distutils-r1_python_prepare_all
103 -}
104 -
105 -python_compile() {
106 - python_is_python3 || local -x CFLAGS="${CFLAGS} -fno-strict-aliasing"
107 - distutils-r1_python_compile
108 -}
109 -
110 -python_test() {
111 - cd "${BUILD_DIR}"/lib || die
112 - nosetests || die
113 -}
114
115 diff --git a/dev-python/traits/traits-5.0.0.ebuild b/dev-python/traits/traits-5.0.0.ebuild
116 deleted file mode 100644
117 index f0b7d6dd0..000000000
118 --- a/dev-python/traits/traits-5.0.0.ebuild
119 +++ /dev/null
120 @@ -1,50 +0,0 @@
121 -# Copyright 1999-2019 Gentoo Authors
122 -# Distributed under the terms of the GNU General Public License v2
123 -
124 -EAPI=7
125 -
126 -PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
127 -
128 -inherit distutils-r1 virtualx
129 -
130 -DESCRIPTION="Enthought Tool Suite: Explicitly typed attributes for Python"
131 -HOMEPAGE="http://docs.enthought.com/traits/
132 - https://github.com/enthought/traits
133 - https://pypi.org/project/traits/"
134 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
135 -
136 -LICENSE="BSD"
137 -SLOT="0"
138 -KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
139 -IUSE="test"
140 -
141 -RDEPEND="dev-python/numpy[${PYTHON_USEDEP}]"
142 -
143 -DEPEND="
144 - dev-python/setuptools[${PYTHON_USEDEP}]
145 - test? (
146 - dev-python/nose[${PYTHON_USEDEP}]
147 - ${RDEPEND}
148 - )"
149 -
150 -python_prepare_all() {
151 - sed -i -e "s/'-O3'//g" setup.py || die
152 - if use test; then
153 - # Errors reported upstream: https://github.com/enthought/traits/issues/458
154 - sed -i \
155 - -e '1s/^/from nose.plugins.skip import SkipTest \n/' \
156 - -e "/class TraitTypesTest(unittest.TestCase):/i@SkipTest" \
157 - traits/tests/test_trait_types.py || die
158 - fi
159 - distutils-r1_python_prepare_all
160 -}
161 -
162 -python_compile() {
163 - python_is_python3 || local -x CFLAGS="${CFLAGS} -fno-strict-aliasing"
164 - distutils-r1_python_compile
165 -}
166 -
167 -python_test() {
168 - cd "${BUILD_DIR}"/lib || die
169 - nosetests || die
170 -}
171
172 diff --git a/dev-python/traits/traits-5.1.0.ebuild b/dev-python/traits/traits-5.1.0.ebuild
173 index 5685ceeb5..e575e72a0 100644
174 --- a/dev-python/traits/traits-5.1.0.ebuild
175 +++ b/dev-python/traits/traits-5.1.0.ebuild
176 @@ -1,9 +1,9 @@
177 -# Copyright 1999-2019 Gentoo Authors
178 +# Copyright 1999-2020 Gentoo Authors
179 # Distributed under the terms of the GNU General Public License v2
180
181 EAPI=7
182
183 -PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
184 +PYTHON_COMPAT=( python3_{6,7,8} )
185
186 inherit distutils-r1 virtualx
187
188
189 diff --git a/dev-python/traits/traits-6.0.0.ebuild b/dev-python/traits/traits-6.0.0.ebuild
190 index 163fc881e..f109a0c09 100644
191 --- a/dev-python/traits/traits-6.0.0.ebuild
192 +++ b/dev-python/traits/traits-6.0.0.ebuild
193 @@ -3,7 +3,7 @@
194
195 EAPI=7
196
197 -PYTHON_COMPAT=( python{3_6,3_7} )
198 +PYTHON_COMPAT=( python3_{6,7,8,9} )
199
200 inherit distutils-r1 virtualx