aboutsummaryrefslogtreecommitdiff
path: root/python/python3-soxr/python3-soxr.SlackBuild
diff options
context:
space:
mode:
authorJeremy Hansen <jebrhansen+github@gmail.com>2023-10-05 16:58:09 -0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-10-07 00:59:34 +0700
commitb2b3fc14804ede69ab086d367e4ab48d09e1ebbe (patch)
tree381d5c76724b35536776b3f54aa2f9318e8fe7b5 /python/python3-soxr/python3-soxr.SlackBuild
parent1814705a690677a99bc840bcc4925b37a68ca6c0 (diff)
python/python3-soxr: Version bump to 0.3.7
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/python3-soxr/python3-soxr.SlackBuild')
-rw-r--r--python/python3-soxr/python3-soxr.SlackBuild8
1 files changed, 3 insertions, 5 deletions
diff --git a/python/python3-soxr/python3-soxr.SlackBuild b/python/python3-soxr/python3-soxr.SlackBuild
index 6e24371cad..65f3a87a39 100644
--- a/python/python3-soxr/python3-soxr.SlackBuild
+++ b/python/python3-soxr/python3-soxr.SlackBuild
@@ -24,7 +24,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=python3-soxr
-VERSION=${VERSION:-0.3.6}
+VERSION=${VERSION:-0.3.7}
SOXRVER=${SOXRVER:-0.1.3}
SRCNAM=${SRCNAM:-python-soxr}
BUILD=${BUILD:-1}
@@ -68,10 +68,8 @@ find -L . \
export SETUPTOOLS_SCM_PRETEND_VERSION=$VERSION
-# Fix version importing when using setuptools_scm<7
-# Thanks to dofuuz
-# https://github.com/dofuuz/python-soxr/issues/21
-sed -i 's/import __version__/import version as __version__/' src/soxr/__init__.py
+# Correct naming or packaging issue
+sed -i 's|/_csoxr|/csoxr|g' setup.py
python3 setup.py install --root=$PKG