mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
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:
parent
18449a633e
commit
985fe1a2aa
3 changed files with 19 additions and 9 deletions
10
python/license-expression/changelog
Normal file
10
python/license-expression/changelog
Normal 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
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
# Slackware build script for license-expression
|
# Slackware build script for license-expression
|
||||||
|
|
||||||
# Copyright 2022 Vijay Marcel
|
# Copyright 2022-2023 Vijay Marcel
|
||||||
# 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 +25,7 @@
|
||||||
cd $(dirname $0) ; CWD=$(pwd)
|
cd $(dirname $0) ; CWD=$(pwd)
|
||||||
|
|
||||||
PRGNAM=license-expression
|
PRGNAM=license-expression
|
||||||
VERSION=${VERSION:-30.0.0}
|
VERSION=${VERSION:-30.1.0}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
PKGTYPE=${PKGTYPE:-tgz}
|
PKGTYPE=${PKGTYPE:-tgz}
|
||||||
|
@ -51,13 +51,13 @@ PKG=$TMP/package-$PRGNAM
|
||||||
OUTPUT=${OUTPUT:-/tmp}
|
OUTPUT=${OUTPUT:-/tmp}
|
||||||
|
|
||||||
if [ "$ARCH" = "i586" ]; then
|
if [ "$ARCH" = "i586" ]; then
|
||||||
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
|
SLKCFLAGS="-march=i586 -mtune=i686 -pipe -O2 -fPIC"
|
||||||
LIBDIRSUFFIX=""
|
LIBDIRSUFFIX=""
|
||||||
elif [ "$ARCH" = "i686" ]; then
|
elif [ "$ARCH" = "i686" ]; then
|
||||||
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
SLKCFLAGS="-march=i686 -mtune=i686 -pipe -O2 -fPIC"
|
||||||
LIBDIRSUFFIX=""
|
LIBDIRSUFFIX=""
|
||||||
elif [ "$ARCH" = "x86_64" ]; then
|
elif [ "$ARCH" = "x86_64" ]; then
|
||||||
SLKCFLAGS="-O2 -fPIC"
|
SLKCFLAGS="-march=x86-64 -mtune=native -pipe -O2 -fPIC"
|
||||||
LIBDIRSUFFIX="64"
|
LIBDIRSUFFIX="64"
|
||||||
else
|
else
|
||||||
SLKCFLAGS="-O2"
|
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
|
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||||
|
|
||||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
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
|
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||||
|
|
||||||
mkdir -p $PKG/install
|
mkdir -p $PKG/install
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
PRGNAM="license-expression"
|
PRGNAM="license-expression"
|
||||||
VERSION="30.0.0"
|
VERSION="30.1.0"
|
||||||
HOMEPAGE="https://github.com/nexB/license-expression"
|
HOMEPAGE="https://github.com/nexB/license-expression"
|
||||||
DOWNLOAD="https://pypi.io/packages/source/l/license-expression/license-expression-30.0.0.tar.gz"
|
DOWNLOAD="https://pypi.io/packages/source/l/license-expression/license-expression-30.1.0.tar.gz"
|
||||||
MD5SUM="253c39f105199625d9ac35f0a50976e2"
|
MD5SUM="37a93065d65d511ea70c7b93d01f8cf0"
|
||||||
DOWNLOAD_x86_64=""
|
DOWNLOAD_x86_64=""
|
||||||
MD5SUM_x86_64=""
|
MD5SUM_x86_64=""
|
||||||
REQUIRES="boolean-py"
|
REQUIRES="boolean-py"
|
||||||
|
|
Loading…
Reference in a new issue