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/python-sqlparse: python-sqlparse-0.1.10.ebuild ChangeLog
Date: Thu, 23 Jan 2014 04:55:13
Message-Id: 20140123045509.527B42004C@flycatcher.gentoo.org
1 idella4 14/01/23 04:55:09
2
3 Modified: ChangeLog
4 Added: python-sqlparse-0.1.10.ebuild
5 Log:
6 bump; drop py2.6, add py3 support, add pytest to tun tests, unrestrict test phase, re-write of test phase
7
8 (Portage version: 2.2.8/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
9
10 Revision Changes Path
11 1.21 dev-python/python-sqlparse/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-sqlparse/ChangeLog?rev=1.21&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-sqlparse/ChangeLog?rev=1.21&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-sqlparse/ChangeLog?r1=1.20&r2=1.21
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-python/python-sqlparse/ChangeLog,v
20 retrieving revision 1.20
21 retrieving revision 1.21
22 diff -u -r1.20 -r1.21
23 --- ChangeLog 6 Jan 2014 08:22:54 -0000 1.20
24 +++ ChangeLog 23 Jan 2014 04:55:09 -0000 1.21
25 @@ -1,6 +1,13 @@
26 # ChangeLog for dev-python/python-sqlparse
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-python/python-sqlparse/ChangeLog,v 1.20 2014/01/06 08:22:54 jlec Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-python/python-sqlparse/ChangeLog,v 1.21 2014/01/23 04:55:09 idella4 Exp $
30 +
31 +*python-sqlparse-0.1.10 (23 Jan 2014)
32 +
33 + 23 Jan 2014; Ian Delaney <idella4@g.o> +python-sqlparse-0.1.10.ebuild,
34 + python-sqlparse-0.1.5-r1.ebuild:
35 + bump; drop py2.6, add py3 support, add pytest to tun tests, unrestrict test
36 + phase, re-write of test phase
37
38 06 Jan 2014; Justin Lecher <jlec@g.o> -python-sqlparse-0.1.3.ebuild,
39 -python-sqlparse-0.1.4.ebuild, -python-sqlparse-0.1.5.ebuild:
40
41
42
43 1.1 dev-python/python-sqlparse/python-sqlparse-0.1.10.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-sqlparse/python-sqlparse-0.1.10.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-sqlparse/python-sqlparse-0.1.10.ebuild?rev=1.1&content-type=text/plain
47
48 Index: python-sqlparse-0.1.10.ebuild
49 ===================================================================
50 # Copyright 1999-2014 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/dev-python/python-sqlparse/python-sqlparse-0.1.10.ebuild,v 1.1 2014/01/23 04:55:09 idella4 Exp $
53
54 EAPI=5
55
56 PYTHON_COMPAT=( python{2_7,3_2,3_3} )
57
58 inherit distutils-r1
59
60 DESCRIPTION="A non-validating SQL parser module for Python"
61 HOMEPAGE="http://code.google.com/p/python-sqlparse/ https://github.com/andialbrecht/sqlparse"
62 SRC_URI="https://github.com/andialbrecht/sqlparse/archive/${PV}.tar.gz -> ${P}.tar.gz"
63
64 SLOT="0"
65 KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
66 LICENSE="BSD-2"
67 IUSE="test"
68
69 DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
70 test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
71 DISTUTILS_IN_SOURCE_BUILD=1 # Required for running tests
72
73 S="${WORKDIR}"/${P#python-}
74
75 python_test() {
76 if python_is_python3; then
77 2to3 -w --no-diffs -n tests/ sqlparse/
78 py.test ./tests || die "testsuite failed ${EPYTHON}"
79 else
80 py.test tests || die "testsuite failed under ${EPYTHON}"
81 fi
82 }