mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
python/pluggy: Remove python3 support.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
24584bda44
commit
db083da9c9
3 changed files with 6 additions and 5 deletions
|
@ -2,3 +2,5 @@ pluggy (mechanisms for python)
|
|||
|
||||
This is the plugin manager as used by pytest but stripped of pytest
|
||||
specific details.
|
||||
|
||||
This is the Python 2 build of pluggy.
|
||||
|
|
|
@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd)
|
|||
|
||||
PRGNAM=pluggy
|
||||
VERSION=${VERSION:-0.13.1}
|
||||
BUILD=${BUILD:-1}
|
||||
BUILD=${BUILD:-2}
|
||||
TAG=${TAG:-_SBo}
|
||||
PKGTYPE=${PKGTYPE:-tgz}
|
||||
|
||||
|
@ -81,13 +81,12 @@ find -L . \
|
|||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||
|
||||
python2 setup.py install --root=$PKG
|
||||
python3 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
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a README.rst PKG-INFO LICENSE $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a CHANGELOG.rst LICENSE README.rst $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
|
||||
mkdir -p $PKG/install
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
PRGNAM="pluggy"
|
||||
VERSION="0.13.1"
|
||||
HOMEPAGE="https://github.com/pytest-dev/pluggy"
|
||||
DOWNLOAD="https://files.pythonhosted.org/packages/f8/04/7a8542bed4b16a65c2714bf76cf5a0b026157da7f75e87cc88774aa10b14/pluggy-0.13.1.tar.gz"
|
||||
DOWNLOAD="https://files.pythonhosted.org/packages/source/p/pluggy/pluggy-0.13.1.tar.gz"
|
||||
MD5SUM="7f610e28b8b34487336b585a3dfb803d"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="python2-setuptools-scm"
|
||||
MAINTAINER="Isaac Yu"
|
||||
EMAIL="isaacyu1@isaacyu1.coM"
|
||||
EMAIL="isaacyu1@isaacyu1.com"
|
||||
|
|
Loading…
Reference in a new issue