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/traits/
Date: Tue, 02 May 2017 09:48:41
Message-Id: 1493718478.3d0d3634019486bb0c22f4cadd32eeadb8fa1834.mgorny@gentoo
1 commit: 3d0d3634019486bb0c22f4cadd32eeadb8fa1834
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Tue May 2 09:05:45 2017 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue May 2 09:47:58 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d0d3634
7
8 dev-python/traits: Clean old versions up
9
10 dev-python/traits/traits-4.5.0-r1.ebuild | 45 --------------------------------
11 1 file changed, 45 deletions(-)
12
13 diff --git a/dev-python/traits/traits-4.5.0-r1.ebuild b/dev-python/traits/traits-4.5.0-r1.ebuild
14 deleted file mode 100644
15 index cf82be9f549..00000000000
16 --- a/dev-python/traits/traits-4.5.0-r1.ebuild
17 +++ /dev/null
18 @@ -1,45 +0,0 @@
19 -# Copyright 1999-2016 Gentoo Foundation
20 -# Distributed under the terms of the GNU General Public License v2
21 -
22 -EAPI=6
23 -
24 -PYTHON_COMPAT=( python{2_7,3_4,3_5} )
25 -
26 -inherit distutils-r1 virtualx
27 -
28 -DESCRIPTION="Enthought Tool Suite: Explicitly typed attributes for Python"
29 -HOMEPAGE="http://code.enthought.com/projects/traits/"
30 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
31 -
32 -LICENSE="BSD"
33 -SLOT="0"
34 -KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
35 -IUSE="test"
36 -
37 -RDEPEND="dev-python/numpy[${PYTHON_USEDEP}]"
38 -
39 -DEPEND="
40 - dev-python/setuptools[${PYTHON_USEDEP}]
41 - test? ( ${RDEPEND} )"
42 -
43 -python_prepare() {
44 - if python_is_python3; then
45 - einfo "Converting tests to Python 3 syntax"
46 - 2to3 -w -n --no-diffs traits/testing || die
47 - fi
48 -}
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 -}