diff options
Diffstat (limited to 'python/python3-soxr/python3-soxr.SlackBuild')
-rw-r--r-- | python/python3-soxr/python3-soxr.SlackBuild | 8 |
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 |