diff options
author | Dimitris Zlatanidis <d.zlatanidis@gmail.com> | 2019-12-22 13:21:00 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2019-12-31 18:06:26 +0700 |
commit | 23394e3bf89bee106759f25db3da9013ad384a6c (patch) | |
tree | 975f9a71d5b19a26ddeb4905f52be91170a90d9c | |
parent | e8c06f622cfd8737f374f150d68a7c94111b55a9 (diff) |
python/Flask-SQLAlchemy: Updated for version 2.4.1.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
-rw-r--r-- | python/Flask-SQLAlchemy/Flask-SQLAlchemy.SlackBuild | 9 | ||||
-rw-r--r-- | python/Flask-SQLAlchemy/Flask-SQLAlchemy.info | 6 | ||||
-rw-r--r-- | python/Flask-SQLAlchemy/README | 8 |
3 files changed, 18 insertions, 5 deletions
diff --git a/python/Flask-SQLAlchemy/Flask-SQLAlchemy.SlackBuild b/python/Flask-SQLAlchemy/Flask-SQLAlchemy.SlackBuild index fb49926cdd40..359ec1404c06 100644 --- a/python/Flask-SQLAlchemy/Flask-SQLAlchemy.SlackBuild +++ b/python/Flask-SQLAlchemy/Flask-SQLAlchemy.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=Flask-SQLAlchemy -VERSION=${VERSION:-2.3.0} +VERSION=${VERSION:-2.4.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -71,11 +71,16 @@ find -L . \ 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 \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true 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 mkdir -p $PKG/install diff --git a/python/Flask-SQLAlchemy/Flask-SQLAlchemy.info b/python/Flask-SQLAlchemy/Flask-SQLAlchemy.info index f2a0318d41cf..eda7eed72eb7 100644 --- a/python/Flask-SQLAlchemy/Flask-SQLAlchemy.info +++ b/python/Flask-SQLAlchemy/Flask-SQLAlchemy.info @@ -1,8 +1,8 @@ PRGNAM="Flask-SQLAlchemy" -VERSION="2.3.0" +VERSION="2.4.1" HOMEPAGE="https://github.com/mitsuhiko/flask-sqlalchemy" -DOWNLOAD="https://pypi.python.org/packages/31/50/f4bfe4c1bad62e5efa2ec8987d7b290975713a15c50a332b6993cc994ea4/Flask-SQLAlchemy-2.3.0.tar.gz" -MD5SUM="c86449f44e90e996142872ac4b97f7ee" +DOWNLOAD="https://files.pythonhosted.org/packages/52/7a/35bacbedafdc652d5198b80eb22eacccae0c97a49740a45da828b05cc37b/Flask-SQLAlchemy-2.4.1.tar.gz" +MD5SUM="1f5781cf3e1a2b1aabda47a5b20d2073" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="Flask SQLAlchemy" diff --git a/python/Flask-SQLAlchemy/README b/python/Flask-SQLAlchemy/README index fc294fe76401..b96885c55285 100644 --- a/python/Flask-SQLAlchemy/README +++ b/python/Flask-SQLAlchemy/README @@ -1,2 +1,10 @@ Flask-SQLAlchemy is a Flask microframework extension which adds 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 |