public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-python/flask: ChangeLog flask-0.8.ebuild
@ 2011-10-08 17:17 Rafael Martins (rafaelmartins)
  0 siblings, 0 replies; 2+ messages in thread
From: Rafael Martins (rafaelmartins) @ 2011-10-08 17:17 UTC (permalink / raw
  To: gentoo-commits

rafaelmartins    11/10/08 17:17:46

  Modified:             ChangeLog
  Added:                flask-0.8.ebuild
  Log:
  Version bump.
  
  (Portage version: 2.2.0_alpha59_p57/cvs/Linux x86_64)

Revision  Changes    Path
1.9                  dev-python/flask/ChangeLog

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

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-python/flask/ChangeLog,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- ChangeLog	6 Jul 2011 18:58:42 -0000	1.8
+++ ChangeLog	8 Oct 2011 17:17:45 -0000	1.9
@@ -1,6 +1,11 @@
 # ChangeLog for dev-python/flask
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/flask/ChangeLog,v 1.8 2011/07/06 18:58:42 djc Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/flask/ChangeLog,v 1.9 2011/10/08 17:17:45 rafaelmartins Exp $
+
+*flask-0.8 (08 Oct 2011)
+
+  08 Oct 2011; Rafael G. Martins <rafaelmartins@gentoo.org> +flask-0.8.ebuild:
+  Version bump.
 
 *flask-0.7.2 (06 Jul 2011)
 



1.1                  dev-python/flask/flask-0.8.ebuild

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

Index: flask-0.8.ebuild
===================================================================
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/flask/flask-0.8.ebuild,v 1.1 2011/10/08 17:17:45 rafaelmartins Exp $

EAPI="3"
PYTHON_DEPEND="2"
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="3.*"

inherit distutils

MY_PN="Flask"
MY_P="${MY_PN}-${PV}"

DESCRIPTION="A microframework based on Werkzeug, Jinja2 and good intentions"
HOMEPAGE="http://pypi.python.org/pypi/Flask"
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc examples test"

RDEPEND="dev-python/blinker
	>=dev-python/jinja-2.4
	dev-python/setuptools
	>=dev-python/werkzeug-0.6.1"
DEPEND="${RDEPEND}
	doc? ( >=dev-python/sphinx-0.6 )"

S="${WORKDIR}/${MY_P}"

src_compile() {
	distutils_src_compile

	if use doc; then
		einfo "Generation of documentation"
		pushd docs > /dev/null
		PYTHONPATH=".." emake html || die "Generation of documentation failed"
		popd > /dev/null
	fi
}

src_test() {
	testing() {
		PYTHONPATH="." "$(PYTHON)" run-tests.py
	}
	python_execute_function testing
}

src_install() {
	distutils_src_install

	if use doc; then
		pushd docs/_build/html > /dev/null
		insinto /usr/share/doc/${PF}/html
		doins -r [a-z]* _images _static || die "Installation of documentation failed"
		popd > /dev/null
	fi

	if use examples; then
		insinto /usr/share/doc/${PF}
		doins -r examples || die "Installation of examples failed"
	fi
}






^ permalink raw reply	[flat|nested] 2+ messages in thread

* [gentoo-commits] gentoo-x86 commit in dev-python/flask: ChangeLog flask-0.8.ebuild
@ 2011-10-08 19:13 Mike Gilbert (floppym)
  0 siblings, 0 replies; 2+ messages in thread
From: Mike Gilbert (floppym) @ 2011-10-08 19:13 UTC (permalink / raw
  To: gentoo-commits

floppym     11/10/08 19:13:50

  Modified:             ChangeLog flask-0.8.ebuild
  Log:
  Fix compilation with py2.5; thanks to Arfrever catching this.
  
  (Portage version: 2.2.0_alpha64/cvs/Linux x86_64)

Revision  Changes    Path
1.11                 dev-python/flask/ChangeLog

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

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-python/flask/ChangeLog,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- ChangeLog	8 Oct 2011 17:37:12 -0000	1.10
+++ ChangeLog	8 Oct 2011 19:13:50 -0000	1.11
@@ -1,6 +1,9 @@
 # ChangeLog for dev-python/flask
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/flask/ChangeLog,v 1.10 2011/10/08 17:37:12 floppym Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/flask/ChangeLog,v 1.11 2011/10/08 19:13:50 floppym Exp $
+
+  08 Oct 2011; Mike Gilbert <floppym@gentoo.org> flask-0.8.ebuild:
+  Fix compilation with py2.5; thanks to Arfrever catching this.
 
   08 Oct 2011; Mike Gilbert <floppym@gentoo.org> flask-0.7.2.ebuild,
   flask-0.8.ebuild:



1.3                  dev-python/flask/flask-0.8.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/flask/flask-0.8.ebuild?rev=1.3&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/flask/flask-0.8.ebuild?rev=1.3&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/flask/flask-0.8.ebuild?r1=1.2&r2=1.3

Index: flask-0.8.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-python/flask/flask-0.8.ebuild,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- flask-0.8.ebuild	8 Oct 2011 17:37:12 -0000	1.2
+++ flask-0.8.ebuild	8 Oct 2011 19:13:50 -0000	1.3
@@ -1,6 +1,6 @@
 # Copyright 1999-2011 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/flask/flask-0.8.ebuild,v 1.2 2011/10/08 17:37:12 floppym Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/flask/flask-0.8.ebuild,v 1.3 2011/10/08 19:13:50 floppym Exp $
 
 EAPI="3"
 PYTHON_DEPEND="2:2.5"
@@ -30,6 +30,14 @@
 
 S="${WORKDIR}/${MY_P}"
 
+src_prepare() {
+	distutils_src_prepare
+
+	# Fixed an issue with an unused module for Python 2.5 (flask.session)
+	# https://github.com/mitsuhiko/flask/commit/0dd9dc37b6618b8091c2a0f849f5f3143dc6eafc
+	sed -e "s/\(from .sessions import\).*/\1 SecureCookieSession, NullSession/" -i flask/session.py || die
+}
+
 src_compile() {
 	distutils_src_compile
 






^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-10-08 19:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-08 17:17 [gentoo-commits] gentoo-x86 commit in dev-python/flask: ChangeLog flask-0.8.ebuild Rafael Martins (rafaelmartins)
  -- strict thread matches above, loose matches on Subject: below --
2011-10-08 19:13 Mike Gilbert (floppym)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox