aboutsummaryrefslogtreecommitdiff
path: root/python
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
parent1814705a690677a99bc840bcc4925b37a68ca6c0 (diff)
python/python3-soxr: Version bump to 0.3.7
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python')
-rw-r--r--python/python3-soxr/python3-soxr.SlackBuild8
-rw-r--r--python/python3-soxr/python3-soxr.info6
2 files changed, 6 insertions, 8 deletions
diff --git a/python/python3-soxr/python3-soxr.SlackBuild b/python/python3-soxr/python3-soxr.SlackBuild
index 6e24371cad031..65f3a87a39dca 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
diff --git a/python/python3-soxr/python3-soxr.info b/python/python3-soxr/python3-soxr.info
index 08272f523ffd9..f230523a3535a 100644
--- a/python/python3-soxr/python3-soxr.info
+++ b/python/python3-soxr/python3-soxr.info
@@ -1,9 +1,9 @@
PRGNAM="python3-soxr"
-VERSION="0.3.6"
+VERSION="0.3.7"
HOMEPAGE="https://github.com/dofuuz/python-soxr/"
-DOWNLOAD="https://github.com/dofuuz/python-soxr/archive/refs/tags/v0.3.6/python-soxr-0.3.6.tar.gz \
+DOWNLOAD="https://github.com/dofuuz/python-soxr/archive/refs/tags/v0.3.7/python-soxr-0.3.7.tar.gz \
https://github.com/dofuuz/soxr/archive/refs/tags/0.1.3/soxr-0.1.3.tar.gz"
-MD5SUM="761c75ac76786e393803aa344c323cd1 \
+MD5SUM="32699ee810503b4b0889e08be48843a9 \
e5e698e1f08971b6544c3639cd0cda4a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""