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/formencode: formencode-1.3.0-r1.ebuild ChangeLog formencode-1.2.6-r1.ebuild formencode-1.3.0.ebuild
Date: Tue, 30 Jun 2015 13:09:28
Message-Id: 20150630130916.B8D1274A@oystercatcher.gentoo.org
1 jlec 15/06/30 13:09:16
2
3 Modified: ChangeLog
4 Added: formencode-1.3.0-r1.ebuild
5 Removed: formencode-1.2.6-r1.ebuild formencode-1.3.0.ebuild
6 Log:
7 Don't install docs into side-packages, bug #553638
8
9 (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key E9402A79B03529A2!)
10
11 Revision Changes Path
12 1.37 dev-python/formencode/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/formencode/ChangeLog?rev=1.37&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/formencode/ChangeLog?rev=1.37&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/formencode/ChangeLog?r1=1.36&r2=1.37
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/dev-python/formencode/ChangeLog,v
21 retrieving revision 1.36
22 retrieving revision 1.37
23 diff -u -r1.36 -r1.37
24 --- ChangeLog 8 Apr 2015 08:05:27 -0000 1.36
25 +++ ChangeLog 30 Jun 2015 13:09:16 -0000 1.37
26 @@ -1,6 +1,12 @@
27 # ChangeLog for dev-python/formencode
28 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/dev-python/formencode/ChangeLog,v 1.36 2015/04/08 08:05:27 mgorny Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/dev-python/formencode/ChangeLog,v 1.37 2015/06/30 13:09:16 jlec Exp $
31 +
32 +*formencode-1.3.0-r1 (30 Jun 2015)
33 +
34 + 30 Jun 2015; Justin Lecher <jlec@g.o> +formencode-1.3.0-r1.ebuild,
35 + -formencode-1.2.6-r1.ebuild, -formencode-1.3.0.ebuild:
36 + Don't install docs into side-packages, bug #553638
37
38 08 Apr 2015; Michał Górny <mgorny@g.o> formencode-1.2.6-r1.ebuild:
39 Drop old Python implementations
40
41
42
43 1.1 dev-python/formencode/formencode-1.3.0-r1.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/formencode/formencode-1.3.0-r1.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/formencode/formencode-1.3.0-r1.ebuild?rev=1.1&content-type=text/plain
47
48 Index: formencode-1.3.0-r1.ebuild
49 ===================================================================
50 # Copyright 1999-2015 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/dev-python/formencode/formencode-1.3.0-r1.ebuild,v 1.1 2015/06/30 13:09:16 jlec Exp $
53
54 EAPI=5
55 PYTHON_COMPAT=( python{2_7,3_3,3_4} )
56
57 inherit distutils-r1
58
59 MY_PN="FormEncode"
60 MY_P="${MY_PN}-${PV}"
61
62 DESCRIPTION="HTML form validation, generation, and conversion package"
63 HOMEPAGE="http://formencode.org/ http://pypi.python.org/pypi/FormEncode"
64 SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.zip"
65
66 LICENSE="PSF-2"
67 SLOT="0"
68 KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
69 IUSE="doc test"
70
71 DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
72 test? ( dev-python/nose[${PYTHON_USEDEP}]
73 dev-python/pycountry[${PYTHON_USEDEP}]
74 >=dev-python/dnspython-1.12.0-r1[${PYTHON_USEDEP}] )"
75 RDEPEND=""
76
77 RESTRICT="test"
78 DOCS=( docs/. )
79
80 S="${WORKDIR}/${MY_P}"
81 DISTUTILS_IN_SOURCE_BUILD=1
82
83 python_prepare_all() {
84 sed -e '/package_data.*..docs/d' -i setup.py || die
85 distutils-r1_python_prepare_all
86 }
87
88 python_test() {
89 # https://github.com/formencode/formencode/issues/78
90 # 5 failures under py2.7. Although the package claims to cater to py3, the suite fails horribly
91 # Main problem is that it is written requiring to be system installed, then run.
92 # Suite found to pass on extended testing using tox.
93 nosetests || die "tests failed under ${EPYTHON}"
94 }