diff options
-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 fb49926cdd409..359ec1404c060 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 f2a0318d41cfa..eda7eed72eb7b 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 fc294fe76401e..b96885c552854 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 |