mirror of
https://github.com/Ponce/slackbuilds
synced 2024-09-29 17:37:55 +02:00
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>
This commit is contained in:
parent
730d0c666e
commit
d698cfcc4b
3 changed files with 17 additions and 13 deletions
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue