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/bottle: bottle-0.12.8.ebuild ChangeLog bottle-0.11.7.ebuild bottle-0.12.6.ebuild
Date: Tue, 03 Feb 2015 02:26:45
Message-Id: 20150203022639.EE30C10EF6@oystercatcher.gentoo.org
1 idella4 15/02/03 02:26:39
2
3 Modified: ChangeLog
4 Added: bottle-0.12.8.ebuild
5 Removed: bottle-0.11.7.ebuild bottle-0.12.6.ebuild
6 Log:
7 bump; add test phase with removal of 1 rogue test file, rm old
8
9 (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
10
11 Revision Changes Path
12 1.44 dev-python/bottle/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/bottle/ChangeLog?rev=1.44&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/bottle/ChangeLog?rev=1.44&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/bottle/ChangeLog?r1=1.43&r2=1.44
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/dev-python/bottle/ChangeLog,v
21 retrieving revision 1.43
22 retrieving revision 1.44
23 diff -u -r1.43 -r1.44
24 --- ChangeLog 16 Jan 2015 11:54:50 -0000 1.43
25 +++ ChangeLog 3 Feb 2015 02:26:39 -0000 1.44
26 @@ -1,6 +1,12 @@
27 # ChangeLog for dev-python/bottle
28 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/dev-python/bottle/ChangeLog,v 1.43 2015/01/16 11:54:50 armin76 Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/dev-python/bottle/ChangeLog,v 1.44 2015/02/03 02:26:39 idella4 Exp $
31 +
32 +*bottle-0.12.8 (03 Feb 2015)
33 +
34 + 03 Feb 2015; Ian Delaney <idella4@g.o> +bottle-0.12.8.ebuild,
35 + -bottle-0.11.7.ebuild, -bottle-0.12.6.ebuild:
36 + bump; add test phase with removal of 1 rogue test file, rm old
37
38 16 Jan 2015; Raúl Porcel <armin76@g.o> bottle-0.12.7.ebuild:
39 alpha/ia64/sparc stable wrt #530406
40
41
42
43 1.1 dev-python/bottle/bottle-0.12.8.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/bottle/bottle-0.12.8.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/bottle/bottle-0.12.8.ebuild?rev=1.1&content-type=text/plain
47
48 Index: bottle-0.12.8.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/bottle/bottle-0.12.8.ebuild,v 1.1 2015/02/03 02:26:39 idella4 Exp $
53
54 EAPI=5
55
56 PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy pypy3 )
57 inherit distutils-r1
58
59 DESCRIPTION="A fast and simple micro-framework for small web-applications"
60 HOMEPAGE="http://pypi.python.org/pypi/bottle http://bottlepy.org/"
61 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
62
63 LICENSE="MIT"
64 SLOT="0"
65 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
66 IUSE=""
67
68 DEPEND=""
69 RDEPEND=""
70
71 python_prepare_all() {
72 sed -i -e '/scripts/d' setup.py || die
73
74 # Remove test file requring connection to network
75 rm ./test/test_server.py || die
76 distutils-r1_python_prepare_all
77 }
78
79 python_test() {
80 # A few odd fails in the suite under pypy
81 # https://github.com/bottlepy/bottle/issues/714
82 "${PYTHON}" test/testall.py || die "tests failed under ${EPYTHON}"
83 }
84
85 pkg_postinst() {
86 elog "Due to problems with bottle.py being in /usr/bin (see bug #474874)"
87 elog "we do as most other distros and do not install the script anymore."
88 elog "If you do want/have to call it directly rather than through your app,"
89 elog "please use the following instead:"
90 elog ' `python -m bottle`'
91 }