mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-06 08:26:50 +01:00
python/python-zipp: Fixed missing version in setup.cfg.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
f34051d76c
commit
eaed60098d
2 changed files with 5 additions and 2 deletions
|
@ -1 +1,2 @@
|
||||||
A pathlib-compatible Zipfile object wrapper. A backport of the Path object.
|
A pathlib-compatible Zipfile object wrapper. A backport of the Path
|
||||||
|
object.
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
|
|
||||||
PRGNAM=python-zipp
|
PRGNAM=python-zipp
|
||||||
VERSION=${VERSION:-2.2.0}
|
VERSION=${VERSION:-2.2.0}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-2}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
|
|
||||||
SRCNAM=zipp
|
SRCNAM=zipp
|
||||||
|
@ -71,6 +71,8 @@ find -L . \
|
||||||
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
||||||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||||
|
|
||||||
|
sed -i "s,^name =.*$,&\nversion = $VERSION," setup.cfg
|
||||||
|
|
||||||
python3 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 \
|
||||||
|
|
Loading…
Reference in a new issue