aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Woodfall <dave@slackbuilds.org>2021-05-06 18:15:09 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-08 01:41:57 +0700
commit63bfebcf6a2d985a0034aedaea5faf5b90411f56 (patch)
tree9aed4b669858e4eee4a7d751ed5c5b8e6b309f08
parent264198a83cf31a9bc6e428018290c0e67ea2d7ca (diff)
python/python-django-tagging: Fix REQUIRES for python2.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--python/python-django-tagging/README4
-rw-r--r--python/python-django-tagging/python-django-tagging.SlackBuild8
-rw-r--r--python/python-django-tagging/python-django-tagging.info2
3 files changed, 7 insertions, 7 deletions
diff --git a/python/python-django-tagging/README b/python/python-django-tagging/README
index a2fb6fdec65a6..c1373ede9aaca 100644
--- a/python/python-django-tagging/README
+++ b/python/python-django-tagging/README
@@ -1,5 +1,5 @@
python-django-tagging (Generic tagging application for Django)
This is a generic tagging application for Django projects, which allows
-association of a number of tags with any Model instance and makes retrieval
-of tags simple.
+association of a number of tags with any Model instance and makes
+retrieval of tags simple.
diff --git a/python/python-django-tagging/python-django-tagging.SlackBuild b/python/python-django-tagging/python-django-tagging.SlackBuild
index 8413f17584477..6326e43a45491 100644
--- a/python/python-django-tagging/python-django-tagging.SlackBuild
+++ b/python/python-django-tagging/python-django-tagging.SlackBuild
@@ -30,7 +30,7 @@ TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -41,8 +41,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -70,7 +70,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 {} \;
-python setup.py install --root=$PKG
+python2 setup.py install --root=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a CHANGELOG.txt LICENSE.txt README.rst \
diff --git a/python/python-django-tagging/python-django-tagging.info b/python/python-django-tagging/python-django-tagging.info
index 2def0aef39fe2..bf2827423072a 100644
--- a/python/python-django-tagging/python-django-tagging.info
+++ b/python/python-django-tagging/python-django-tagging.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://pypi.debian.net/django-tagging/django-tagging-0.4.3.tar.gz"
MD5SUM="0da5b6090a4352a8edcaff0f51c37adb"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python-django"
+REQUIRES="python2-django"
MAINTAINER="Mario Preksavec"
EMAIL="mario at slackware dot hr"