Browse Source

l/python-pickleshare: Removed Python2 support.

slackware-15.0
parent
commit
b19a6c1c6e
  1. 10
      l/python-pickleshare/python-pickleshare.SlackBuild

10
l/python-pickleshare/python-pickleshare.SlackBuild

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2018 Damien Goutte-Gattat
# Copyright (C) 2018,2020 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -24,10 +24,6 @@
#
# Latest pickleshare sourcecode is available at:
# <https://github.com/pickleshare/pickleshare>.
#
# Note: python-pathlib2 is a dependency under Python 2 only.
#
# Optional: l/python-pathlib2
# Source package infos
NAMESRC=${NAMESRC:-pickleshare}
@ -71,10 +67,6 @@ cd $TMP
echo "Building $ARCHIVE..."
tar xf $CWD/$ARCHIVE
cd $NAME
# We build for both Python 2 and Python 3. Running under Python 2
# will require that l/python-pathlib2 is installed.
python2 setup.py build
python2 setup.py install --root=$PKG
python3 setup.py build
python3 setup.py install --root=$PKG

Loading…
Cancel
Save