Initial import of py-tagger-0.4

pytagger is a ID3 tag reader and writer implemented purely in Python. It
supports all the current ID3 tag implementations including ID3v1,
ID3v1.1, ID3v2.2, ID3v2.3 and ID3v2.4.
This commit is contained in:
xsa 2005-06-15 09:19:52 +00:00
parent b7e876e56f
commit ee4fda6a4e
6 changed files with 95 additions and 0 deletions

38
audio/py-tagger/Makefile Normal file
View File

@ -0,0 +1,38 @@
# $OpenBSD: Makefile,v 1.1.1.1 2005/06/15 09:19:52 xsa Exp $
COMMENT= "Python ID3 tag reader/writer module"
DISTNAME= pytagger-0.4
PKGNAME= ${DISTNAME:S/^py/py-/}
CATEGORIES= audio
HOMEPAGE= http://www.liquidx.net/pytagger/
MAINTAINER= Xavier Santolaria <xsa@openbsd.org>
# BSD
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= http://www.liquidx.net/static/pytagger/
MODULES= lang/python
NO_REGRESS= Yes
DOCSDIR= ${PREFIX}/share/doc/py-tagger
EXAMPLESDIR= ${PREFIX}/share/examples/py-tagger
post-configure:
@perl -pi -e 's,/usr/bin/env python,${MODPY_BIN},g' \
${WRKBUILD}/mp3check.py
post-install:
${INSTALL_DATA_DIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
${INSTALL_DATA_DIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKBUILD}/mp3check.py ${EXAMPLESDIR}
.include <bsd.port.mk>

4
audio/py-tagger/distinfo Normal file
View File

@ -0,0 +1,4 @@
MD5 (pytagger-0.4.tar.gz) = 15fb12e551c1269cf06c615b0eab7f1e
RMD160 (pytagger-0.4.tar.gz) = 2da187e51d041ba27fd6e8f4bc4f58274636060f
SHA1 (pytagger-0.4.tar.gz) = 0dd505bd9ec5f25d1fea13b4ac38c2cd86e2af7e
SIZE (pytagger-0.4.tar.gz) = 17181

View File

@ -0,0 +1,16 @@
$OpenBSD: patch-README,v 1.1.1.1 2005/06/15 09:19:52 xsa Exp $
--- README.orig Sun Apr 17 21:30:29 2005
+++ README Wed Jun 15 11:13:10 2005
@@ -41,12 +41,6 @@ Included are a couple of example scripts
MP3 collection.
mp3check.py - Checks MP3s for ID3v2 and ID3v1 tags
-mp3conv.py - Converts MP3 tags from one encoding to another,
- also attempts to fill in missing ID3v2 tags with
- information from ID3v1 tags, if they exists
-mp3stat.py - Polls recursively a directory and outputs a list of
- statistics about the files, including what version of
- ID3v2 tags are in use and what frame types are present
Quirks
------

View File

@ -0,0 +1,10 @@
$OpenBSD: patch-setup_py,v 1.1.1.1 2005/06/15 09:19:52 xsa Exp $
--- setup.py.orig Mon May 9 20:58:56 2005
+++ setup.py Wed Jun 15 11:09:59 2005
@@ -16,5 +16,5 @@ setup(
py_modules = ["tagger", "tagger.id3v1", "tagger.id3v2", "tagger.exceptions",
"tagger.constants", "tagger.utility", "tagger.id3v2frame",
"tagger.encoding", "tagger.debug"],
- scripts = ["mp3check.py"]
+ #scripts = ["mp3check.py"]
)

View File

@ -0,0 +1,3 @@
pytagger is a ID3 tag reader and writer implemented purely in Python. It
supports all the current ID3 tag implementations including ID3v1,
ID3v1.1, ID3v2.2, ID3v2.3 and ID3v2.4.

24
audio/py-tagger/pkg/PLIST Normal file
View File

@ -0,0 +1,24 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2005/06/15 09:19:52 xsa Exp $
lib/python${MODPY_VERSION}/site-packages/tagger/
lib/python${MODPY_VERSION}/site-packages/tagger/__init__.py
lib/python${MODPY_VERSION}/site-packages/tagger/__init__.pyc
lib/python${MODPY_VERSION}/site-packages/tagger/constants.py
lib/python${MODPY_VERSION}/site-packages/tagger/constants.pyc
lib/python${MODPY_VERSION}/site-packages/tagger/debug.py
lib/python${MODPY_VERSION}/site-packages/tagger/debug.pyc
lib/python${MODPY_VERSION}/site-packages/tagger/encoding.py
lib/python${MODPY_VERSION}/site-packages/tagger/encoding.pyc
lib/python${MODPY_VERSION}/site-packages/tagger/exceptions.py
lib/python${MODPY_VERSION}/site-packages/tagger/exceptions.pyc
lib/python${MODPY_VERSION}/site-packages/tagger/id3v1.py
lib/python${MODPY_VERSION}/site-packages/tagger/id3v1.pyc
lib/python${MODPY_VERSION}/site-packages/tagger/id3v2.py
lib/python${MODPY_VERSION}/site-packages/tagger/id3v2.pyc
lib/python${MODPY_VERSION}/site-packages/tagger/id3v2frame.py
lib/python${MODPY_VERSION}/site-packages/tagger/id3v2frame.pyc
lib/python${MODPY_VERSION}/site-packages/tagger/utility.py
lib/python${MODPY_VERSION}/site-packages/tagger/utility.pyc
share/doc/py-tagger/
share/doc/py-tagger/README
share/examples/py-tagger/
share/examples/py-tagger/mp3check.py