pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio New package for py-mediafile-0.8.1.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a560358c57ad
branches:  trunk
changeset: 769861:a560358c57ad
user:      bsiegert <bsiegert%pkgsrc.org@localhost>
date:      Sun Nov 21 11:06:17 2021 +0000

description:
New package for py-mediafile-0.8.1.

This is part of addressing PR pkg/56378.

MediaFile is a simple interface to the metadata tags for many audio file
formats. It wraps Mutagen, a high-quality library for low-level tag
manipulation, with a high-level, format-independent interface for a common set
of tags.

MediaFile is part of the beets project. It was originally written by Adrian
Sampson and is now developed by the beets community.

diffstat:

 audio/Makefile                            |   3 ++-
 audio/py-mediafile/DESCR                  |   7 +++++++
 audio/py-mediafile/Makefile               |  19 +++++++++++++++++++
 audio/py-mediafile/PLIST                  |   9 +++++++++
 audio/py-mediafile/distinfo               |   6 ++++++
 audio/py-mediafile/patches/patch-setup.py |  15 +++++++++++++++
 6 files changed, 58 insertions(+), 1 deletions(-)

diffs (93 lines):

diff -r 5576d421f32e -r a560358c57ad audio/Makefile
--- a/audio/Makefile    Sun Nov 21 10:51:36 2021 +0000
+++ b/audio/Makefile    Sun Nov 21 11:06:17 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.644 2021/11/20 18:09:45 nia Exp $
+# $NetBSD: Makefile,v 1.645 2021/11/21 11:06:17 bsiegert Exp $
 #
 
 COMMENT=       Audio tools, players, and libraries
@@ -410,6 +410,7 @@
 SUBDIR+=       py-last
 SUBDIR+=       py-libmtag
 SUBDIR+=       py-mad
+SUBDIR+=       py-mediafile
 SUBDIR+=       py-mpd
 SUBDIR+=       py-mpd2
 SUBDIR+=       py-music21
diff -r 5576d421f32e -r a560358c57ad audio/py-mediafile/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/py-mediafile/DESCR  Sun Nov 21 11:06:17 2021 +0000
@@ -0,0 +1,7 @@
+MediaFile is a simple interface to the metadata tags for many audio file
+formats. It wraps Mutagen, a high-quality library for low-level tag
+manipulation, with a high-level, format-independent interface for a common set
+of tags.
+
+MediaFile is part of the beets project. It was originally written by Adrian
+Sampson and is now developed by the beets community.
diff -r 5576d421f32e -r a560358c57ad audio/py-mediafile/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/py-mediafile/Makefile       Sun Nov 21 11:06:17 2021 +0000
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1 2021/11/21 11:06:18 bsiegert Exp $
+
+DISTNAME=      mediafile-0.8.1
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=    audio python
+MASTER_SITES=  https://files.pythonhosted.org/packages/b9/ab/14e45cb4869aa3bf91d82e2fac66101e4a00e7e0b2af5e04ab5e06c49e1d/
+
+MAINTAINER=    bsiegert%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/beetbox/mediafile
+COMMENT=       Handles low-level interfacing for files' tags. Wraps Mutagen to
+LICENSE=       mit
+
+DEPENDS+=      ${PYPKGPREFIX}-six>=1.9:../../lang/py-six
+DEPENDS+=      ${PYPKGPREFIX}-mutagen>=1.45:../../audio/py-mutagen
+
+PYTHON_VERSIONS_INCOMPATIBLE=  27
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 5576d421f32e -r a560358c57ad audio/py-mediafile/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/py-mediafile/PLIST  Sun Nov 21 11:06:17 2021 +0000
@@ -0,0 +1,9 @@
+@comment $NetBSD: PLIST,v 1.1 2021/11/21 11:06:18 bsiegert Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/mediafile.py
+${PYSITELIB}/mediafile.pyc
+${PYSITELIB}/mediafile.pyo
diff -r 5576d421f32e -r a560358c57ad audio/py-mediafile/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/py-mediafile/distinfo       Sun Nov 21 11:06:17 2021 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2021/11/21 11:06:18 bsiegert Exp $
+
+BLAKE2s (mediafile-0.8.1.tar.gz) = 3a10d717be5b948de442debffdfcde89b628b0ad805cf0cb09093fe14a274476
+SHA512 (mediafile-0.8.1.tar.gz) = ee7d19816a3278e3b5d0e8f97844895af2cd4739c7284042fdc1eef98e50e14e55350e7326f04e5cf02c895620b759e869f53de58ce76784b476bde86bb6435f
+Size (mediafile-0.8.1.tar.gz) = 551910 bytes
+SHA1 (patch-setup.py) = 73f18182f8fc7f54c2d2ee841b12ecb1ad0d3090
diff -r 5576d421f32e -r a560358c57ad audio/py-mediafile/patches/patch-setup.py
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/py-mediafile/patches/patch-setup.py Sun Nov 21 11:06:17 2021 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-setup.py,v 1.1 2021/11/21 11:06:18 bsiegert Exp $
+
+Use setuptools because egg.mk expects it.
+
+--- setup.py.orig      1970-01-01 00:00:00.000000000 +0000
++++ setup.py
+@@ -1,7 +1,7 @@
+ #!/usr/bin/env python
+ # setup.py generated by flit for tools that don't yet use PEP 517
+ 
+-from distutils.core import setup
++from setuptools import setup
+ 
+ install_requires = \
+ ['six>=1.9', 'mutagen>=1.45']



Home | Main Index | Thread Index | Old Index