pkgsrc-Changes archive

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

CVS commit: pkgsrc/audio



Module Name:    pkgsrc
Committed By:   bsiegert
Date:           Sun Nov 21 11:06:18 UTC 2021

Modified Files:
        pkgsrc/audio: Makefile
Added Files:
        pkgsrc/audio/py-mediafile: DESCR Makefile PLIST distinfo
        pkgsrc/audio/py-mediafile/patches: patch-setup.py

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.644 -r1.645 pkgsrc/audio/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/audio/py-mediafile/DESCR \
    pkgsrc/audio/py-mediafile/Makefile pkgsrc/audio/py-mediafile/PLIST \
    pkgsrc/audio/py-mediafile/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/audio/py-mediafile/patches/patch-setup.py

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/audio/Makefile
diff -u pkgsrc/audio/Makefile:1.644 pkgsrc/audio/Makefile:1.645
--- pkgsrc/audio/Makefile:1.644 Sat Nov 20 18:09:45 2021
+++ pkgsrc/audio/Makefile       Sun Nov 21 11:06:17 2021
@@ -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-karaoke
 SUBDIR+=       py-last
 SUBDIR+=       py-libmtag
 SUBDIR+=       py-mad
+SUBDIR+=       py-mediafile
 SUBDIR+=       py-mpd
 SUBDIR+=       py-mpd2
 SUBDIR+=       py-music21

Added files:

Index: pkgsrc/audio/py-mediafile/DESCR
diff -u /dev/null pkgsrc/audio/py-mediafile/DESCR:1.1
--- /dev/null   Sun Nov 21 11:06:18 2021
+++ pkgsrc/audio/py-mediafile/DESCR     Sun Nov 21 11:06:18 2021
@@ -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.
Index: pkgsrc/audio/py-mediafile/Makefile
diff -u /dev/null pkgsrc/audio/py-mediafile/Makefile:1.1
--- /dev/null   Sun Nov 21 11:06:18 2021
+++ pkgsrc/audio/py-mediafile/Makefile  Sun Nov 21 11:06:18 2021
@@ -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"
Index: pkgsrc/audio/py-mediafile/PLIST
diff -u /dev/null pkgsrc/audio/py-mediafile/PLIST:1.1
--- /dev/null   Sun Nov 21 11:06:18 2021
+++ pkgsrc/audio/py-mediafile/PLIST     Sun Nov 21 11:06:18 2021
@@ -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
Index: pkgsrc/audio/py-mediafile/distinfo
diff -u /dev/null pkgsrc/audio/py-mediafile/distinfo:1.1
--- /dev/null   Sun Nov 21 11:06:18 2021
+++ pkgsrc/audio/py-mediafile/distinfo  Sun Nov 21 11:06:18 2021
@@ -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

Index: pkgsrc/audio/py-mediafile/patches/patch-setup.py
diff -u /dev/null pkgsrc/audio/py-mediafile/patches/patch-setup.py:1.1
--- /dev/null   Sun Nov 21 11:06:18 2021
+++ pkgsrc/audio/py-mediafile/patches/patch-setup.py    Sun Nov 21 11:06:18 2021
@@ -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