summaryrefslogtreecommitdiffstats
path: root/development
diff options
context:
space:
mode:
author Vijay Marcel <vijaymarcel@outlook.com>2023-05-18 23:34:09 +0100
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2023-05-20 11:17:11 +0700
commite2213e1dcdfacd9f0d8467e37772e5cb5b08b4f3 (patch)
tree172b4ba06c2245ab1b1c0bba1bbe3658764ebdce /development
parent13edb23e68d25849ed673e95f31c53f747be9d89 (diff)
downloadslackbuilds-e2213e1dcdfacd9f0d8467e37772e5cb5b08b4f3.tar.gz
slackbuilds-e2213e1dcdfacd9f0d8467e37772e5cb5b08b4f3.tar.xz
development/reuse-tool: Updated for version 1.1.2.
Signed-off-by: bedlam <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to '')
-rw-r--r--development/reuse-tool/changelog11
-rw-r--r--development/reuse-tool/reuse-tool.SlackBuild13
-rw-r--r--development/reuse-tool/reuse-tool.info8
3 files changed, 22 insertions, 10 deletions
diff --git a/development/reuse-tool/changelog b/development/reuse-tool/changelog
new file mode 100644
index 0000000000..b7a2e829c0
--- /dev/null
+++ b/development/reuse-tool/changelog
@@ -0,0 +1,11 @@
+Changelog for reuse-tool SlackBuild Script
+--------------------------------------------------------------------
+
+05/11/2022:
+
+Added to slackbuilds.org
+
+15/05/2023:
+
+updated Deps
+Updated to version 1.1.2
diff --git a/development/reuse-tool/reuse-tool.SlackBuild b/development/reuse-tool/reuse-tool.SlackBuild
index 96b3f6f7c1..3a3d771c34 100644
--- a/development/reuse-tool/reuse-tool.SlackBuild
+++ b/development/reuse-tool/reuse-tool.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for reuse-tool
-# 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=reuse-tool
-VERSION=${VERSION:-1.0.0}
+VERSION=${VERSION:-1.1.2}
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"
@@ -80,7 +80,8 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-python3 setup.py install --prefix=/usr --root=$PKG --optimize=1
+python3 -m build --wheel --no-isolation
+python3 -m installer --destdir="$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/development/reuse-tool/reuse-tool.info b/development/reuse-tool/reuse-tool.info
index 9390faa94c..f86f2fe954 100644
--- a/development/reuse-tool/reuse-tool.info
+++ b/development/reuse-tool/reuse-tool.info
@@ -1,10 +1,10 @@
PRGNAM="reuse-tool"
-VERSION="1.0.0"
+VERSION="1.1.2"
HOMEPAGE="https://reuse.software"
-DOWNLOAD="https://github.com/fsfe/reuse-tool/archive/v1.0.0/reuse-tool-1.0.0.tar.gz"
-MD5SUM="c36ea2e39355153bedc543adcb875882"
+DOWNLOAD="https://github.com/fsfe/reuse-tool/archive/v1.1.2/reuse-tool-1.1.2.tar.gz"
+MD5SUM="b99af0a2301b78a815f029e82be7b0aa"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="binaryornot boolean-py license-expression python-debian"
+REQUIRES="python3-build python3-wheel python3-poetry-core binaryornot boolean-py license-expression python-debian"
MAINTAINER="Vijay Marcel"
EMAIL="vijaymarcel@outlook.com"