import py-mutagen, from giovanni@ with tweaks by me and suggestions

from wcmaier. ok giovanni@ wcmaier@

Mutagen is a Python module to handle audio metadata.
It supports ASF, FLAC, M4A, Monkey's Audio, MP3, Musepack, Ogg FLAC,
Ogg Speex, Ogg Theora, Ogg Vorbis, True Audio, WavPack and OptimFROG
audio files. All versions of ID3v2 are supported, and all standard
ID3v2.4 frames are parsed. It can read Xing headers to accurately
calculate the bitrate and length of MP3s. ID3 and APEv2 tags can be
edited regardless of audio format. It can also manipulate Ogg streams
on an individual packet/page level.
This commit is contained in:
sthen 2009-01-29 17:44:27 +00:00
parent 5c4f46ca0f
commit 0f651030b1
5 changed files with 109 additions and 0 deletions

27
audio/py-mutagen/Makefile Normal file
View File

@ -0,0 +1,27 @@
# $OpenBSD: Makefile,v 1.1.1.1 2009/01/29 17:44:27 sthen Exp $
COMMENT = Python module to handle audio metadata
MODPY_EGG_VERSION = 1.15
DISTNAME = mutagen-${MODPY_EGG_VERSION}
PKGNAME = py-${DISTNAME}
CATEGORIES = audio
HOMEPAGE = http://code.google.com/p/quodlibet/wiki/Development/Mutagen
MASTER_SITES = http://quodlibet.googlecode.com/files/
# GPLv2
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
MODULES = lang/python
REGRESS_TARGET = test
do-regress:
${_MODPY_CMD} ${REGRESS_TARGET}
.include <bsd.port.mk>

View File

@ -0,0 +1,5 @@
MD5 (mutagen-1.15.tar.gz) = c346e1290711a38c123727c31f3602f8
RMD160 (mutagen-1.15.tar.gz) = 2763d311941e8408d800d929a731a89f443c66b6
SHA1 (mutagen-1.15.tar.gz) = 831e618f6f0778a5cc285332d3d1e363dd31d652
SHA256 (mutagen-1.15.tar.gz) = 636d816aa4c7e754496b9daec8a00d7e5f62b67d640440c91dea6d694c83c944
SIZE (mutagen-1.15.tar.gz) = 590439

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-setup_py,v 1.1.1.1 2009/01/29 17:44:27 sthen Exp $
--- setup.py.orig Mon Jan 19 19:19:52 2009
+++ setup.py Mon Jan 19 19:20:13 2009
@@ -191,7 +191,7 @@ class coverage_cmd(Command):
100.0 * (total_lines - bad_lines) / float(total_lines))
if os.name == "posix":
- data_files = [('share/man/man1', glob.glob("man/*.1"))]
+ data_files = [('man/man1', glob.glob("man/*.1"))]
else:
data_files = []

View File

@ -0,0 +1,8 @@
Mutagen is a Python module to handle audio metadata.
It supports ASF, FLAC, M4A, Monkey's Audio, MP3, Musepack, Ogg FLAC,
Ogg Speex, Ogg Theora, Ogg Vorbis, True Audio, WavPack and OptimFROG
audio files. All versions of ID3v2 are supported, and all standard
ID3v2.4 frames are parsed. It can read Xing headers to accurately
calculate the bitrate and length of MP3s. ID3 and APEv2 tags can be
edited regardless of audio format. It can also manipulate Ogg streams
on an individual packet/page level.

View File

@ -0,0 +1,57 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2009/01/29 17:44:27 sthen Exp $
bin/mid3iconv
bin/mid3v2
bin/moggsplit
bin/mutagen-inspect
bin/mutagen-pony
lib/python${MODPY_VERSION}/site-packages/mutagen/
lib/python${MODPY_VERSION}/site-packages/mutagen-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info
lib/python${MODPY_VERSION}/site-packages/mutagen/__init__.py
lib/python${MODPY_VERSION}/site-packages/mutagen/__init__.pyc
lib/python${MODPY_VERSION}/site-packages/mutagen/_constants.py
lib/python${MODPY_VERSION}/site-packages/mutagen/_constants.pyc
lib/python${MODPY_VERSION}/site-packages/mutagen/_util.py
lib/python${MODPY_VERSION}/site-packages/mutagen/_util.pyc
lib/python${MODPY_VERSION}/site-packages/mutagen/_vorbis.py
lib/python${MODPY_VERSION}/site-packages/mutagen/_vorbis.pyc
lib/python${MODPY_VERSION}/site-packages/mutagen/apev2.py
lib/python${MODPY_VERSION}/site-packages/mutagen/apev2.pyc
lib/python${MODPY_VERSION}/site-packages/mutagen/asf.py
lib/python${MODPY_VERSION}/site-packages/mutagen/asf.pyc
lib/python${MODPY_VERSION}/site-packages/mutagen/easyid3.py
lib/python${MODPY_VERSION}/site-packages/mutagen/easyid3.pyc
lib/python${MODPY_VERSION}/site-packages/mutagen/flac.py
lib/python${MODPY_VERSION}/site-packages/mutagen/flac.pyc
lib/python${MODPY_VERSION}/site-packages/mutagen/id3.py
lib/python${MODPY_VERSION}/site-packages/mutagen/id3.pyc
lib/python${MODPY_VERSION}/site-packages/mutagen/m4a.py
lib/python${MODPY_VERSION}/site-packages/mutagen/m4a.pyc
lib/python${MODPY_VERSION}/site-packages/mutagen/monkeysaudio.py
lib/python${MODPY_VERSION}/site-packages/mutagen/monkeysaudio.pyc
lib/python${MODPY_VERSION}/site-packages/mutagen/mp3.py
lib/python${MODPY_VERSION}/site-packages/mutagen/mp3.pyc
lib/python${MODPY_VERSION}/site-packages/mutagen/mp4.py
lib/python${MODPY_VERSION}/site-packages/mutagen/mp4.pyc
lib/python${MODPY_VERSION}/site-packages/mutagen/musepack.py
lib/python${MODPY_VERSION}/site-packages/mutagen/musepack.pyc
lib/python${MODPY_VERSION}/site-packages/mutagen/ogg.py
lib/python${MODPY_VERSION}/site-packages/mutagen/ogg.pyc
lib/python${MODPY_VERSION}/site-packages/mutagen/oggflac.py
lib/python${MODPY_VERSION}/site-packages/mutagen/oggflac.pyc
lib/python${MODPY_VERSION}/site-packages/mutagen/oggspeex.py
lib/python${MODPY_VERSION}/site-packages/mutagen/oggspeex.pyc
lib/python${MODPY_VERSION}/site-packages/mutagen/oggtheora.py
lib/python${MODPY_VERSION}/site-packages/mutagen/oggtheora.pyc
lib/python${MODPY_VERSION}/site-packages/mutagen/oggvorbis.py
lib/python${MODPY_VERSION}/site-packages/mutagen/oggvorbis.pyc
lib/python${MODPY_VERSION}/site-packages/mutagen/optimfrog.py
lib/python${MODPY_VERSION}/site-packages/mutagen/optimfrog.pyc
lib/python${MODPY_VERSION}/site-packages/mutagen/trueaudio.py
lib/python${MODPY_VERSION}/site-packages/mutagen/trueaudio.pyc
lib/python${MODPY_VERSION}/site-packages/mutagen/wavpack.py
lib/python${MODPY_VERSION}/site-packages/mutagen/wavpack.pyc
@man man/man1/mid3iconv.1
@man man/man1/mid3v2.1
@man man/man1/moggsplit.1
@man man/man1/mutagen-inspect.1
@man man/man1/mutagen-pony.1