libraries/zope.proxy: updated for version 5.0.0 Python3. New maintainer.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Arn0 2023-07-04 15:15:34 +02:00 committed by Willy Sudiarto Raharjo
parent d236f38870
commit 3f6aa0a5d4
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
2 changed files with 12 additions and 11 deletions

View File

@ -3,6 +3,7 @@
# Slackware build script for zope.proxy # Slackware build script for zope.proxy
# Copyright 2014 Mikko Värri, Finland # Copyright 2014 Mikko Värri, Finland
# Copyright 2023 Yth | Pont-en-Royans, France | yth@ythogtha.org
# All rights reserved. # All rights reserved.
# #
# Redistribution and use of this script, with or without modification, is # Redistribution and use of this script, with or without modification, is
@ -25,7 +26,7 @@
cd $(dirname $0) ; CWD=$(pwd) cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=zope.proxy PRGNAM=zope.proxy
VERSION=${VERSION:-4.1.4} VERSION=${VERSION:-5.0.0}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz} PKGTYPE=${PKGTYPE:-tgz}
@ -60,12 +61,12 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION cd $PRGNAM-$VERSION
chown -R root:root . chown -R root:root .
find -L . \ find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-exec chmod 755 {} \; -o \ -o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-exec chmod 644 {} \; -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
python 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 \ 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 | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true

View File

@ -1,10 +1,10 @@
PRGNAM="zope.proxy" PRGNAM="zope.proxy"
VERSION="4.1.4" VERSION="5.0.0"
HOMEPAGE="https://pypi.python.org/pypi/zope.proxy" HOMEPAGE="https://pypi.python.org/pypi/zope.proxy"
DOWNLOAD="https://pypi.python.org/packages/source/z/zope.proxy/zope.proxy-4.1.4.tar.gz" DOWNLOAD="https://pypi.python.org/packages/source/z/zope.proxy/zope.proxy-5.0.0.tar.gz"
MD5SUM="3bcaf8b8512a99649ecf2f158c11d05b" MD5SUM="256fe9eb0dcddd17b908fddeb03198e0"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
REQUIRES="zope.interface" REQUIRES="zope.interface"
MAINTAINER="Mikko Värri" MAINTAINER="Yth - Arnaud"
EMAIL="vmj@linuxbox.fi" EMAIL="yth@ythogtha.org"