diff options
author | fourtysixandtwo | 2023-05-08 00:29:34 +0200 |
---|---|---|
committer | Willy Sudiarto Raharjo | 2023-05-13 14:27:19 +0200 |
commit | d698cfcc4b6379057415414fddd68a2fbd3b7d6b (patch) | |
tree | 43a5f8658e1e8e95e6145796656bf84f9bab55de | |
parent | 730d0c666e03e580472897a23db3d86e8f5cd2bc (diff) | |
download | slackbuilds-d698cfcc4b6379057415414fddd68a2fbd3b7d6b.tar.gz |
python/python3-build: Updated for version 0.10.0, new maintainer.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | python/python3-build/python3-build.SlackBuild | 16 | ||||
-rw-r--r-- | python/python3-build/python3-build.info | 12 | ||||
-rw-r--r-- | python/python3-build/slack-desc | 2 |
3 files changed, 17 insertions, 13 deletions
diff --git a/python/python3-build/python3-build.SlackBuild b/python/python3-build/python3-build.SlackBuild index afee47271f..7b0c46dffc 100644 --- a/python/python3-build/python3-build.SlackBuild +++ b/python/python3-build/python3-build.SlackBuild @@ -2,6 +2,7 @@ # Slackware build script for python3-build +# Copyright 2023 fourtysixandtwo <fourtysixandtwo@sliderr.net> # Copyright 2022 toolonely <lonely_@tutanota.com> # All rights reserved. # @@ -22,16 +23,18 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# 20230507 46and2: New maintainer, updated version and deps. +# -build process changed + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-build -VERSION=${VERSION:-0.7.0} +SRCNAM=${PRGNAM#python3-*} +VERSION=${VERSION:-0.10.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} -SRCNAM=build - if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i586 ;; @@ -74,11 +77,12 @@ cd $SRCNAM-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ + -o -perm 511 \) -exec chmod 755 {} \+ -o \ \( -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 {} \+ -python3 setup.py install --root=$PKG +python3 -m flit_core.wheel +python3 -m installer -d "$PKG" dist/*.whl 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 diff --git a/python/python3-build/python3-build.info b/python/python3-build/python3-build.info index 752f1382e2..8cd61853f3 100644 --- a/python/python3-build/python3-build.info +++ b/python/python3-build/python3-build.info @@ -1,10 +1,10 @@ PRGNAM="python3-build" -VERSION="0.7.0" +VERSION="0.10.0" HOMEPAGE="https://github.com/pypa/build" -DOWNLOAD="https://files.pythonhosted.org/packages/f0/62/c73b775216bb1f34962beaf005f38460c6161177fef6e068a7a0c30a1597/build-0.7.0.tar.gz" -MD5SUM="ec3dbe55359ee735b45766b30dfad877" +DOWNLOAD="https://files.pythonhosted.org/packages/source/b/build/build-0.10.0.tar.gz" +MD5SUM="742e7cd0a67455c1df90061b42088bd2" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="python3-pep517" -MAINTAINER="toolonely" -EMAIL="lonely_@tutanota.com" +REQUIRES="python3-pyproject-hooks" +MAINTAINER="fourtysixandtwo" +EMAIL="fourtysixandtwo@sliderr.net" diff --git a/python/python3-build/slack-desc b/python/python3-build/slack-desc index 501e7c3eba..e81b98eb3b 100644 --- a/python/python3-build/slack-desc +++ b/python/python3-build/slack-desc @@ -8,7 +8,7 @@ |-----handy-ruler------------------------------------------------------| python3-build: python3-build (a simple, correct PEP517 package builder) python3-build: -python3-build: +python3-build: Homepage: https://github.com/pypa/build python3-build: python3-build: python3-build: |