python3 support temporarily is out

Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
Dimitris Zlatanidis 2017-12-30 20:32:14 +01:00
parent de7856c728
commit fb48070473
4 changed files with 7 additions and 17 deletions

View file

@ -83,11 +83,6 @@ Download latest release:
$ cd slpkg-3.3.2
$ ./install.sh
If you want to build slpkg for use with Python 3.x (needs the
optional dependency python3) pass the script PYTHON3=yes, like:
PYTHON3=yes ./install.sh
Installed as Slackware package
Uninstall:

View file

@ -22,10 +22,6 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# If you want to build slpkg for use with Python 3.x (needs the
# optional dependency python3) pass the script PYTHON3=yes, like:
# PYTHON3=yes ./install.sh
__version() {
# Grab version from __metadata_.py file
cat slpkg/__metadata__.py | grep "__version_info__ = (" \

View file

@ -10,5 +10,3 @@
# pygraphviz >= 1.3.1 (drawing dependencies diagram)
# perl 5 language and graph-easy >= 0.75 (drawing dependencies ascii diagram)
# python2-pythondialog >= 3.3.0 (Python interface to the UNIX dialog utility)
# python3-pythondialog >= 3.3.0 (Python interface to the UNIX dialog utility)
# python3 (for support Python 3.x)

View file

@ -64,7 +64,7 @@ fi
set -e
PYTHON=python
[ "${PYTHON3:-no}" = "yes" ] && PYTHON=python3
# [ "${PYTHON3:-no}" = "yes" ] && PYTHON=python3
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
@ -83,11 +83,12 @@ find -L . \
# avoid install man page and configuration files over setup.py
sed -i 's/if "install"/if ""/' setup.py
# Python 3 support
if [ "$PYTHON3" = "yes" ]; then
sh convert-py3k
cd py3k/$PRGNAM
fi
# Python 3 support temporarily is out until new Slackware version
# will be release
# if [ "$PYTHON3" = "yes" ]; then
# sh convert-py3k
# cd py3k/$PRGNAM
#fi
$PYTHON setup.py install --root=$PKG