diff options
author | B. Watson <urchlay@slackware.uk> | 2023-05-15 21:49:23 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-05-20 11:17:38 +0700 |
commit | 95452a8ecdbf0ed83debf0b1dfa69728ceb827f9 (patch) | |
tree | f6c31cc308852a086db4b0eae405be84f45430ae /python/django-sass/django-sass.SlackBuild | |
parent | 44a775dd6faf32f1e5eae9fad84794e26277d8bc (diff) |
python/django-sass: Align with template.
Signed-off-by: B. Watson <urchlay@slackware.uk>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/django-sass/django-sass.SlackBuild')
-rw-r--r-- | python/django-sass/django-sass.SlackBuild | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/python/django-sass/django-sass.SlackBuild b/python/django-sass/django-sass.SlackBuild index e12c753ac522..71ce53ae9956 100644 --- a/python/django-sass/django-sass.SlackBuild +++ b/python/django-sass/django-sass.SlackBuild @@ -49,7 +49,7 @@ if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then exit 0 fi -TMP=${TMP:-/tmp} +TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -68,10 +68,7 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -# Replacement of python-2.x Python3.x check presence and build if found. -if $(python3 -c 'import sys' 2>/dev/null); then - python3 setup.py install --root=$PKG -fi +python3 setup.py install --root=$PKG mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a PKG-INFO $PKG/usr/doc/$PRGNAM-$VERSION |