Gentoo Archives: gentoo-commits

From: "Ian Delaney (idella4)" <idella4@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/natsort: natsort-4.0.1.ebuild ChangeLog
Date: Sat, 27 Jun 2015 09:57:33
Message-Id: 20150627095716.D1652730@oystercatcher.gentoo.org
1 idella4 15/06/27 09:57:16
2
3 Modified: ChangeLog
4 Added: natsort-4.0.1.ebuild
5 Log:
6 bump' update deps, test phase, drop keyword ia64 to allow for new dep for tests
7
8 (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
9
10 Revision Changes Path
11 1.9 dev-python/natsort/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/natsort/ChangeLog?rev=1.9&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/natsort/ChangeLog?rev=1.9&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/natsort/ChangeLog?r1=1.8&r2=1.9
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-python/natsort/ChangeLog,v
20 retrieving revision 1.8
21 retrieving revision 1.9
22 diff -u -r1.8 -r1.9
23 --- ChangeLog 3 Jun 2015 20:25:52 -0000 1.8
24 +++ ChangeLog 27 Jun 2015 09:57:16 -0000 1.9
25 @@ -1,6 +1,12 @@
26 # ChangeLog for dev-python/natsort
27 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-python/natsort/ChangeLog,v 1.8 2015/06/03 20:25:52 jlec Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-python/natsort/ChangeLog,v 1.9 2015/06/27 09:57:16 idella4 Exp $
30 +
31 +*natsort-4.0.1 (27 Jun 2015)
32 +
33 + 27 Jun 2015; Ian Delaney <idella4@g.o> +natsort-4.0.1.ebuild:
34 + bump' update deps, test phase, drop keyword ia64 to allow for new dep for
35 + tests
36
37 03 Jun 2015; Justin Lecher <jlec@g.o> metadata.xml:
38 Add pypi to remote-id in metadata.xml
39
40
41
42 1.1 dev-python/natsort/natsort-4.0.1.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/natsort/natsort-4.0.1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/natsort/natsort-4.0.1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: natsort-4.0.1.ebuild
48 ===================================================================
49 # Copyright 1999-2015 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/dev-python/natsort/natsort-4.0.1.ebuild,v 1.1 2015/06/27 09:57:16 idella4 Exp $
52
53 EAPI=5
54
55 PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy )
56
57 inherit distutils-r1
58
59 DESCRIPTION="Natural sorting for Python"
60 HOMEPAGE="https://pypi.python.org/pypi/natsort"
61 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
62
63 LICENSE="MIT"
64 SLOT="0"
65 KEYWORDS="~amd64 ~x86"
66 IUSE="test"
67
68 DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
69 test? ( dev-python/pytest[${PYTHON_USEDEP}]
70 dev-python/hypothesis[${PYTHON_USEDEP}]
71 dev-python/pytest-cov[${PYTHON_USEDEP}]
72 $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' python2_7 pypy)
73 )"
74
75 python_prepare_all() {
76 # Skip troublesome test that require a setting of LC_ALL-C
77 sed -e 's:test_locale_convert_transforms_float_string_to_float_with_de_locale:_&:g' \
78 -i test_natsort/test_locale_help.py || die
79 sed -e 's:test_natsorted_with_LOCALE_and_de_setting_returns_results_sorted_by_de_language:_&:' \
80 -i test_natsort/test_natsort.py || die
81 distutils-r1_python_prepare_all
82 }
83
84 python_test() {
85 # https://github.com/SethMMorton/natsort/issues/31
86 # For now elect to run the testsuite with a msg reporting cause of breakage by upstream
87 einfo "Testsuite fails reporting no module slow_splitters"
88 einfo "The tarball form upstream is missing 1 folder and 4 files"
89 py.test || die "Tests failed under ${EPYTHON}"
90 }