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/alembic: alembic-0.6.4.ebuild ChangeLog
Date: Thu, 01 May 2014 09:02:24
Message-Id: 20140501090220.A552F2004C@flycatcher.gentoo.org
1 idella4 14/05/01 09:02:19
2
3 Modified: ChangeLog
4 Added: alembic-0.6.4.ebuild
5 Log:
6 bump; drop py2.6 3.2 add py3.4, upgrade test phase
7
8 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
9
10 Revision Changes Path
11 1.12 dev-python/alembic/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/alembic/ChangeLog?rev=1.12&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/alembic/ChangeLog?rev=1.12&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/alembic/ChangeLog?r1=1.11&r2=1.12
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-python/alembic/ChangeLog,v
20 retrieving revision 1.11
21 retrieving revision 1.12
22 diff -u -r1.11 -r1.12
23 --- ChangeLog 22 Mar 2014 04:24:16 -0000 1.11
24 +++ ChangeLog 1 May 2014 09:02:19 -0000 1.12
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-python/alembic
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-python/alembic/ChangeLog,v 1.11 2014/03/22 04:24:16 idella4 Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-python/alembic/ChangeLog,v 1.12 2014/05/01 09:02:19 idella4 Exp $
30 +
31 +*alembic-0.6.4 (01 May 2014)
32 +
33 + 01 May 2014; Ian Delaney <idella4@g.o> +alembic-0.6.4.ebuild:
34 + bump; drop py2.6 3.2 add py3.4, upgrade test phase
35
36 22 Mar 2014; Ian Delaney <idella4@g.o> alembic-0.6.0.ebuild,
37 alembic-0.6.3.ebuild:
38
39
40
41 1.1 dev-python/alembic/alembic-0.6.4.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/alembic/alembic-0.6.4.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/alembic/alembic-0.6.4.ebuild?rev=1.1&content-type=text/plain
45
46 Index: alembic-0.6.4.ebuild
47 ===================================================================
48 # Copyright 1999-2014 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-python/alembic/alembic-0.6.4.ebuild,v 1.1 2014/05/01 09:02:19 idella4 Exp $
51
52 EAPI=5
53 PYTHON_COMPAT=( python{2_7,3_3,3_4} )
54
55 inherit distutils-r1
56
57 DESCRIPTION="database migrations tool, written by the author of SQLAlchemy"
58 HOMEPAGE="https://bitbucket.org/zzzeek/alembic"
59 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
60
61 LICENSE="MIT"
62 SLOT="0"
63 KEYWORDS="~amd64 ~x86"
64 IUSE="test doc"
65
66 # requires.txt cites 'SQLAlchemy>=0.7.3' which is really both old and silly
67 # because it shatters the testsuite. If 'someone' cares to adhere to correct form
68 # and edit to -0.7.3, feel free, and then pick up the pieces.
69 RDEPEND=">=dev-python/sqlalchemy-0.8.4[${PYTHON_USEDEP}]
70 dev-python/mako[${PYTHON_USEDEP}]
71 virtual/python-argparse[${PYTHON_USEDEP}]"
72 DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
73 test? ( ${RDEPEND}
74 dev-python/nose[${PYTHON_USEDEP}]
75 dev-python/mock[${PYTHON_USEDEP}] )"
76 # For test phase
77 DISTUTILS_IN_SOURCE_BUILD=1
78
79 python_prepare_all() {
80 # suite passes all if run from source. The residual fail & error are quite erroneous
81 sed -e 's:class SourcelessVersioningTest(VersioningTest):#&:' \
82 -e 's:sourceless = True:#&:' \
83 -e 's:test_needs_flag:_&:' \
84 -i tests/test_versioning.py || die
85
86 distutils-r1_python_prepare_all
87 }
88
89 python_test() {
90 nosetests tests || die "Testing failed with ${EPYTHON}"
91 }
92
93 python_install_all() {
94 use doc && local HTML_DOCS=( docs/. )
95
96 distutils-r1_python_install_all
97 }