Gentoo Archives: gentoo-commits

From: "Justin Lecher (jlec)" <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/python-sqlparse: python-sqlparse-0.1.16.ebuild ChangeLog
Date: Thu, 30 Jul 2015 18:35:36
Message-Id: 20150730183531.AEDBA110@oystercatcher.gentoo.org
1 jlec 15/07/30 18:35:31
2
3 Modified: ChangeLog
4 Added: python-sqlparse-0.1.16.ebuild
5 Log:
6 Version Bump
7
8 (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key E9402A79B03529A2!)
9
10 Revision Changes Path
11 1.54 dev-python/python-sqlparse/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-sqlparse/ChangeLog?rev=1.54&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-sqlparse/ChangeLog?rev=1.54&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-sqlparse/ChangeLog?r1=1.53&r2=1.54
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-python/python-sqlparse/ChangeLog,v
20 retrieving revision 1.53
21 retrieving revision 1.54
22 diff -u -r1.53 -r1.54
23 --- ChangeLog 7 Jun 2015 15:46:46 -0000 1.53
24 +++ ChangeLog 30 Jul 2015 18:35:31 -0000 1.54
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-python/python-sqlparse
27 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-python/python-sqlparse/ChangeLog,v 1.53 2015/06/07 15:46:46 jlec Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-python/python-sqlparse/ChangeLog,v 1.54 2015/07/30 18:35:31 jlec Exp $
30 +
31 +*python-sqlparse-0.1.16 (30 Jul 2015)
32 +
33 + 30 Jul 2015; Justin Lecher <jlec@g.o> +python-sqlparse-0.1.16.ebuild:
34 + Version Bump
35
36 07 Jun 2015; Justin Lecher <jlec@g.o> metadata.xml:
37 Add github to remote-id in metadata.xml
38
39
40
41 1.1 dev-python/python-sqlparse/python-sqlparse-0.1.16.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-sqlparse/python-sqlparse-0.1.16.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-sqlparse/python-sqlparse-0.1.16.ebuild?rev=1.1&content-type=text/plain
45
46 Index: python-sqlparse-0.1.16.ebuild
47 ===================================================================
48 # Copyright 1999-2015 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-python/python-sqlparse/python-sqlparse-0.1.16.ebuild,v 1.1 2015/07/30 18:35:31 jlec Exp $
51
52 EAPI=5
53
54 PYTHON_COMPAT=( python2_7 python3_{3,4} pypy )
55
56 inherit distutils-r1
57
58 MY_PN="${PN##python-}"
59 MY_P="${MY_PN}-${PV}"
60
61 DESCRIPTION="A non-validating SQL parser module for Python"
62 HOMEPAGE="http://code.google.com/p/python-sqlparse/ https://github.com/andialbrecht/sqlparse"
63 SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
64
65 SLOT="0"
66 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
67 LICENSE="BSD-2"
68 IUSE="doc test"
69
70 DEPEND="
71 dev-python/setuptools[${PYTHON_USEDEP}]
72 test? (
73 dev-python/pytest[${PYTHON_USEDEP}]
74 dev-python/pytest-cov[${PYTHON_USEDEP}]
75 )"
76 # Required for running tests
77 DISTUTILS_IN_SOURCE_BUILD=1
78
79 S="${WORKDIR}"/${P#python-}
80
81 python_compile_all() {
82 use doc && emake -C docs html
83 }
84
85 python_test() {
86 if python_is_python3; then
87 2to3 -w --no-diffs -n tests/ sqlparse/
88 py.test ./tests || die "testsuite failed ${EPYTHON}"
89 else
90 py.test tests || die "testsuite failed under ${EPYTHON}"
91 fi
92 }
93
94 python_install_all() {
95 use doc && local HTML_DOCS=( docs/build/html/. )
96 distutils-r1_python_install_all
97 }