idella4     15/02/03 02:26:39

  Modified:             ChangeLog
  Added:                bottle-0.12.8.ebuild
  Removed:              bottle-0.11.7.ebuild bottle-0.12.6.ebuild
  Log:
  bump; add test phase with removal of 1 rogue test file, rm old
  
  (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 
0xB8072B0D)

Revision  Changes    Path
1.44                 dev-python/bottle/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/bottle/ChangeLog?rev=1.44&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/bottle/ChangeLog?rev=1.44&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/bottle/ChangeLog?r1=1.43&r2=1.44

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-python/bottle/ChangeLog,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -r1.43 -r1.44
--- ChangeLog   16 Jan 2015 11:54:50 -0000      1.43
+++ ChangeLog   3 Feb 2015 02:26:39 -0000       1.44
@@ -1,6 +1,12 @@
 # ChangeLog for dev-python/bottle
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/bottle/ChangeLog,v 1.43 
2015/01/16 11:54:50 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/bottle/ChangeLog,v 1.44 
2015/02/03 02:26:39 idella4 Exp $
+
+*bottle-0.12.8 (03 Feb 2015)
+
+  03 Feb 2015; Ian Delaney <[email protected]> +bottle-0.12.8.ebuild,
+  -bottle-0.11.7.ebuild, -bottle-0.12.6.ebuild:
+  bump; add test phase with removal of 1 rogue test file, rm old
 
   16 Jan 2015; Raúl Porcel <[email protected]> bottle-0.12.7.ebuild:
   alpha/ia64/sparc stable wrt #530406



1.1                  dev-python/bottle/bottle-0.12.8.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/bottle/bottle-0.12.8.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/bottle/bottle-0.12.8.ebuild?rev=1.1&content-type=text/plain

Index: bottle-0.12.8.ebuild
===================================================================
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/bottle/bottle-0.12.8.ebuild,v 1.1 
2015/02/03 02:26:39 idella4 Exp $

EAPI=5

PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy pypy3 )
inherit distutils-r1

DESCRIPTION="A fast and simple micro-framework for small web-applications"
HOMEPAGE="http://pypi.python.org/pypi/bottle http://bottlepy.org/";
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
IUSE=""

DEPEND=""
RDEPEND=""

python_prepare_all() {
        sed -i -e '/scripts/d' setup.py || die

        # Remove test file requring connection to network
        rm ./test/test_server.py || die
        distutils-r1_python_prepare_all
}

python_test() {
        # A few odd fails in the suite under pypy
        # https://github.com/bottlepy/bottle/issues/714
        "${PYTHON}" test/testall.py || die "tests failed under ${EPYTHON}"
}

pkg_postinst() {
        elog "Due to problems with bottle.py being in /usr/bin (see bug 
#474874)"
        elog "we do as most other distros and do not install the script 
anymore."
        elog "If you do want/have to call it directly rather than through your 
app,"
        elog "please use the following instead:"
        elog '  `python -m bottle`'
}




Reply via email to