Browse Source

l/python-pkginfo: Removed Python2 support.

current-20200608
Damien Goutte-Gattat 10 months ago
parent
commit
3c6547a2c3
  1. 5
      l/python-pkginfo/python-pkginfo.SlackBuild

5
l/python-pkginfo/python-pkginfo.SlackBuild

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2019 Damien Goutte-Gattat
# Copyright (C) 2019,2020 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -67,9 +67,6 @@ cd $TMP
echo "Building $ARCHIVE..."
tar xf $CWD/$ARCHIVE
cd $NAME
python2 setup.py build
python2 setup.py install --root=$PKG
mv $PKG/usr/bin/pkginfo $PKG/usr/bin/pkginfo-2.7
python3 setup.py build
python3 setup.py install --root=$PKG

Loading…
Cancel
Save