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>
This commit is contained in:
Dave Woodfall 2021-05-06 18:15:09 +01:00 committed by Willy Sudiarto Raharjo
parent 264198a83c
commit 63bfebcf6a
No known key found for this signature in database
GPG key ID: 3F617144D7238786
3 changed files with 7 additions and 7 deletions

View file

@ -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.

View file

@ -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 \

View file

@ -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"