python/pelican: Convert python to 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-15 16:28:43 +01:00 committed by Willy Sudiarto Raharjo
parent a90c5522a0
commit e1a17cbe47
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 2 additions and 2 deletions

View file

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

View file

@ -5,6 +5,6 @@ DOWNLOAD="https://files.pythonhosted.org/packages/5c/8d/130add2e4b7e960b78766d7a
MD5SUM="3efac5c5ea7bcaf975bdcf0dcc74a525"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="feedgenerator Jinja2 Unidecode blinker pytz python-dateutil Markdown"
REQUIRES="feedgenerator Jinja2 Unidecode blinker pytz python2-dateutil Markdown"
MAINTAINER="Markus Reichelt"
EMAIL="slackbuilds@mareichelt.de"