python/python3-lazy-object-proxy: Updated script & new maintainer.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
940bdb8f3c
commit
951cb40ed8
|
@ -2,6 +2,7 @@
|
|||
|
||||
# Slackware build script for python3-lazy-object-proxy
|
||||
|
||||
# Copyright 2022 Dimitris Zlatanidis Orestiada, Greece
|
||||
# Copyright 2018 Markus Rinne Finland
|
||||
# All rights reserved.
|
||||
#
|
||||
|
@ -27,7 +28,7 @@ cd $(dirname $0) ; CWD=$(pwd)
|
|||
PRGNAM=python3-lazy-object-proxy
|
||||
SRCNAM=lazy-object-proxy
|
||||
VERSION=${VERSION:-1.8.0}
|
||||
BUILD=${BUILD:-1}
|
||||
BUILD=${BUILD:-2}
|
||||
TAG=${TAG:-_SBo}
|
||||
PKGTYPE=${PKGTYPE:-tgz}
|
||||
|
||||
|
@ -73,8 +74,6 @@ cd $TMP
|
|||
rm -rf $SRCNAM-$VERSION
|
||||
tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
|
||||
cd $SRCNAM-$VERSION
|
||||
# allow building with newer python-setuptools_scm on included in slackware
|
||||
sed -i 's/3.3.1,<6.0/3.3.1,<6.4/' setup.cfg
|
||||
chown -R root:root .
|
||||
find -L . \
|
||||
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
|
||||
|
@ -82,6 +81,9 @@ 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 {} \;
|
||||
|
||||
# allow building with newer python-setuptools_scm on included in slackware
|
||||
sed -i 's/3.3.1,<6.0/3.3.1,<6.4/' setup.cfg
|
||||
|
||||
python3 setup.py install --root=$PKG
|
||||
|
||||
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
|
||||
|
|
|
@ -6,5 +6,5 @@ MD5SUM="05edbb9fb04cef94e186e525aa2fd897"
|
|||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
MAINTAINER="Markus Rinne"
|
||||
EMAIL="markus.ka.rinne@gmail.com"
|
||||
MAINTAINER="Dimitris Zlatanidis"
|
||||
EMAIL="d.zlatanidis@gmail.com"
|
||||
|
|
Loading…
Reference in New Issue