From b2b3fc14804ede69ab086d367e4ab48d09e1ebbe Mon Sep 17 00:00:00 2001 From: Jeremy Hansen Date: Thu, 5 Oct 2023 16:58:09 -0700 Subject: python/python3-soxr: Version bump to 0.3.7 Signed-off-by: Willy Sudiarto Raharjo --- python/python3-soxr/python3-soxr.SlackBuild | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'python/python3-soxr/python3-soxr.SlackBuild') 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 -- cgit v1.2.3