python/Flask-SQLAlchemy: Updated for version 2.4.1.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
parent
e8c06f622c
commit
23394e3bf8
|
@ -23,7 +23,7 @@
|
||||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
PRGNAM=Flask-SQLAlchemy
|
PRGNAM=Flask-SQLAlchemy
|
||||||
VERSION=${VERSION:-2.3.0}
|
VERSION=${VERSION:-2.4.1}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
|
|
||||||
|
@ -71,11 +71,16 @@ find -L . \
|
||||||
|
|
||||||
python setup.py install --root=$PKG
|
python setup.py install --root=$PKG
|
||||||
|
|
||||||
|
# Install python3 bindings. Default is no.
|
||||||
|
if [ "${PYTHON3:-no}" = "yes" ]; then
|
||||||
|
python3 setup.py install --root=$PKG
|
||||||
|
fi
|
||||||
|
|
||||||
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
|
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
|
||||||
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||||
|
|
||||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
cp -a README CHANGES LICENSE docs/*.rst $PKG/usr/doc/$PRGNAM-$VERSION
|
cp -a README.rst CHANGES.rst LICENSE.rst docs/*.rst $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||||
|
|
||||||
mkdir -p $PKG/install
|
mkdir -p $PKG/install
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
PRGNAM="Flask-SQLAlchemy"
|
PRGNAM="Flask-SQLAlchemy"
|
||||||
VERSION="2.3.0"
|
VERSION="2.4.1"
|
||||||
HOMEPAGE="https://github.com/mitsuhiko/flask-sqlalchemy"
|
HOMEPAGE="https://github.com/mitsuhiko/flask-sqlalchemy"
|
||||||
DOWNLOAD="https://pypi.python.org/packages/31/50/f4bfe4c1bad62e5efa2ec8987d7b290975713a15c50a332b6993cc994ea4/Flask-SQLAlchemy-2.3.0.tar.gz"
|
DOWNLOAD="https://files.pythonhosted.org/packages/52/7a/35bacbedafdc652d5198b80eb22eacccae0c97a49740a45da828b05cc37b/Flask-SQLAlchemy-2.4.1.tar.gz"
|
||||||
MD5SUM="c86449f44e90e996142872ac4b97f7ee"
|
MD5SUM="1f5781cf3e1a2b1aabda47a5b20d2073"
|
||||||
DOWNLOAD_x86_64=""
|
DOWNLOAD_x86_64=""
|
||||||
MD5SUM_x86_64=""
|
MD5SUM_x86_64=""
|
||||||
REQUIRES="Flask SQLAlchemy"
|
REQUIRES="Flask SQLAlchemy"
|
||||||
|
|
|
@ -1,2 +1,10 @@
|
||||||
Flask-SQLAlchemy is a Flask microframework extension which adds
|
Flask-SQLAlchemy is a Flask microframework extension which adds
|
||||||
support for the SQLAlchemy SQL toolkit/ORM.
|
support for the SQLAlchemy SQL toolkit/ORM.
|
||||||
|
|
||||||
|
python3 and python3-Flask is an optional dependencies.
|
||||||
|
|
||||||
|
You need to set PYTHON3=yes,
|
||||||
|
|
||||||
|
for example:
|
||||||
|
|
||||||
|
PYTHON3=yes ./Flask-SQLAlchemy.SlackBuild
|
||||||
|
|
Loading…
Reference in New Issue