Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 415123 - dev-python/flask-sqlalchemy-0.16 version bump
Summary: dev-python/flask-sqlalchemy-0.16 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords: EBUILD, PATCH
Depends on:
Blocks:
 
Reported: 2012-05-08 11:02 UTC by Johan Bergström
Modified: 2012-11-15 14:26 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
flask-sqlalchemy-0.16.ebuild (flask-sqlalchemy-0.16.ebuild,752 bytes, text/plain)
2012-05-08 11:02 UTC, Johan Bergström
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Johan Bergström 2012-05-08 11:02:03 UTC
Created attachment 311161 [details]
flask-sqlalchemy-0.16.ebuild

Two changes - both the result of how flask progressed their api:
 * flaskext import in test.py is invalid
 * the python modname is now flask_sqlalchemy.py

tests passes on amd64, x86. Choo choo.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2012-05-08 15:10:38 UTC
Comment on attachment 311161 [details]
flask-sqlalchemy-0.16.ebuild

--- flask-sqlalchemy-0.15.ebuild        2011-09-08 09:03:16.000000000 +0200
+++ -   2012-05-08 17:10:15.831771946 +0200
@@ -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-sqlalchemy/flask-sqlalchemy-0.15.ebuild,v 1.1 2011/09/08 07:03:16 rafaelmartins Exp $
+# $Header: $
 
 EAPI="3"
 PYTHON_DEPEND="2"
@@ -29,4 +29,8 @@
 
 S="${WORKDIR}/${MY_P}"
 
-PYTHON_MODNAME="flaskext/sqlalchemy.py"
+PYTHON_MODNAME="flask_sqlalchemy.py"
+
+src_prepare() {
+       sed -ie "s/flaskext/flask.ext/" test.py || die
+}
\ No newline at end of file
Comment 2 Johan Bergström 2012-05-08 20:34:56 UTC
Jer: Is diff's generally the way to go for lesser changes? Thanks
Comment 3 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2012-05-09 07:40:38 UTC
(In reply to comment #2)
> Jer: Is diff's generally the way to go for lesser changes? Thanks
I don't see him cc'ed, so I'll answer for him :)
Yeah, generally patches to original ebuild are the way to go. That allows to easily evaluate the changes.
Comment 4 Ian Delaney (RETIRED) gentoo-dev 2012-11-15 14:26:07 UTC
/dev-python/flask-sqlalchemy $ USE_PYTHON="2.5 2.6 2.7 2.7-pypy-1.9" ebuild flask-sqlalchemy-0.16.ebuild clean test

 * Testing of dev-python/flask-sqlalchemy-0.16 with CPython 2.5...
 * Testing of dev-python/flask-sqlalchemy-0.16 with CPython 2.6...
 * Testing of dev-python/flask-sqlalchemy-0.16 with CPython 2.7...
 * Testing of dev-python/flask-sqlalchemy-0.16 with PyPy 1.9 (Python 2.7)...

Ran 17 tests in 1.915s

OK
# USE_PYTHON="2.5 2.6 2.7 2.7-pypy-1.9" ebuild flask-sqlalchemy-0.16.ebuild clean merge
>>> Original instance of package unmerged safely.
 * Compilation and optimization of Python modules for CPython 2.5     [ ok ]
 * Compilation and optimization of Python modules for CPython 2.6     [ ok ]
 * Compilation and optimization of Python modules for CPython 2.7     [ ok ]
 * Compilation and optimization of Python modules for PyPy 1.9 (Python 2.7) [ ok ]

>>> dev-python/flask-sqlalchemy-0.16 merged.

good.  There are docs in there too. If you'd like me to add use doc and build for docs, just give the word.