aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfourtysixandtwo <fourtysixandtwo@sliderr.net>2022-11-04 00:29:50 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-11-05 21:15:05 +0700
commit3491f575160f59e08e66f02cb436133520d6af47 (patch)
tree24934e21740418fb436d45abbce8d48181f69c6a
parent0751515fa482ac859626c2231054e6fdbf6017a3 (diff)
python/python-mediafile: Updated for version 0.10.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--python/python-mediafile/python-mediafile.SlackBuild10
-rw-r--r--python/python-mediafile/python-mediafile.info8
2 files changed, 9 insertions, 9 deletions
diff --git a/python/python-mediafile/python-mediafile.SlackBuild b/python/python-mediafile/python-mediafile.SlackBuild
index aa114209f4cfe..b9a399c9c240c 100644
--- a/python/python-mediafile/python-mediafile.SlackBuild
+++ b/python/python-mediafile/python-mediafile.SlackBuild
@@ -22,11 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220908 46and2: Updated version, changed build process.
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=python-mediafile
SRCNAM=$(echo $PRGNAM | cut -c8-16)
-VERSION=${VERSION:-0.9.0}
+VERSION=${VERSION:-0.10.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -80,10 +82,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 {} \;
-#fix setup.py as it tries to import from wrong library
-/usr/bin/sed -i 's/distutils.core/setuptools/' setup.py
-
-python3 setup.py install --root=$PKG
+python3 -m build --no-isolation
+python3 -m installer -d "$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/python/python-mediafile/python-mediafile.info b/python/python-mediafile/python-mediafile.info
index 03384b3692af2..95d6835cdaa29 100644
--- a/python/python-mediafile/python-mediafile.info
+++ b/python/python-mediafile/python-mediafile.info
@@ -1,10 +1,10 @@
PRGNAM="python-mediafile"
-VERSION="0.9.0"
+VERSION="0.10.1"
HOMEPAGE="https://github.com/beetbox/mediafile"
-DOWNLOAD="https://files.pythonhosted.org/packages/ca/e7/0135e7afbd1fb0a38759b80e37aba61c9a5d762c7d3b291e05972d86a7c2/mediafile-0.9.0.tar.gz"
-MD5SUM="f082f5b58b3b1310d085369b1bb0bd15"
+DOWNLOAD="https://files.pythonhosted.org/packages/source/m/mediafile/mediafile-0.10.1.tar.gz"
+MD5SUM="8a6698325770bce6fd59e834ecbde5f3"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="mutagen"
+REQUIRES="mutagen python3-flit_core"
MAINTAINER="fourtysixandtwo"
EMAIL="fourtysixandtwo@sliderr.net"