python/license-expression: Updated for version 30.1.0.

Signed-off-by: bedlam <dave@slackbuilds.org>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Vijay Marcel 2023-05-18 23:31:14 +01:00 committed by Willy Sudiarto Raharjo
parent 18449a633e
commit 985fe1a2aa
No known key found for this signature in database
GPG key ID: 3F617144D7238786
3 changed files with 19 additions and 9 deletions

View file

@ -0,0 +1,10 @@
Changelog license-expression pmdk SlackBuild Script
--------------------------------------------------------------------
05/11/2022:
Added to slackbuilds.org
17/05/2023:
Updated to version 30.1.0

View file

@ -2,7 +2,7 @@
# Slackware build script for license-expression
# Copyright 2022 Vijay Marcel
# Copyright 2022-2023 Vijay Marcel
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=license-expression
VERSION=${VERSION:-30.0.0}
VERSION=${VERSION:-30.1.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -51,13 +51,13 @@ PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
SLKCFLAGS="-march=i586 -mtune=i686 -pipe -O2 -fPIC"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
SLKCFLAGS="-march=i686 -mtune=i686 -pipe -O2 -fPIC"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
SLKCFLAGS="-march=x86-64 -mtune=native -pipe -O2 -fPIC"
LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
@ -86,7 +86,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a docs apache-2.0.LICENSE CHANGELOG.rst NOTICE PKG-INFO README.rst $PKG/usr/doc/$PRGNAM-$VERSION
cp -a docs apache-2.0.LICENSE CHANGELOG.rst NOTICE PKG-INFO README.rst AUTHORS.rst CODE_OF_CONDUCT.rst $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install

View file

@ -1,8 +1,8 @@
PRGNAM="license-expression"
VERSION="30.0.0"
VERSION="30.1.0"
HOMEPAGE="https://github.com/nexB/license-expression"
DOWNLOAD="https://pypi.io/packages/source/l/license-expression/license-expression-30.0.0.tar.gz"
MD5SUM="253c39f105199625d9ac35f0a50976e2"
DOWNLOAD="https://pypi.io/packages/source/l/license-expression/license-expression-30.1.0.tar.gz"
MD5SUM="37a93065d65d511ea70c7b93d01f8cf0"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="boolean-py"