summaryrefslogtreecommitdiff
path: root/python/Flask-SQLAlchemy/Flask-SQLAlchemy.SlackBuild
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2019-12-22 13:21:00 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-12-31 18:06:26 +0700
commit23394e3bf89bee106759f25db3da9013ad384a6c (patch)
tree975f9a71d5b19a26ddeb4905f52be91170a90d9c /python/Flask-SQLAlchemy/Flask-SQLAlchemy.SlackBuild
parente8c06f622cfd8737f374f150d68a7c94111b55a9 (diff)
downloadslackbuilds-23394e3bf89bee106759f25db3da9013ad384a6c.tar.gz
python/Flask-SQLAlchemy: Updated for version 2.4.1.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
Diffstat (limited to 'python/Flask-SQLAlchemy/Flask-SQLAlchemy.SlackBuild')
-rw-r--r--python/Flask-SQLAlchemy/Flask-SQLAlchemy.SlackBuild9
1 files changed, 7 insertions, 2 deletions
diff --git a/python/Flask-SQLAlchemy/Flask-SQLAlchemy.SlackBuild b/python/Flask-SQLAlchemy/Flask-SQLAlchemy.SlackBuild
index fb49926cdd..359ec1404c 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