aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvs <vs@FreeBSD.org>2004-08-31 03:01:58 +0800
committervs <vs@FreeBSD.org>2004-08-31 03:01:58 +0800
commit46d64485ede17e76aa87abc91d9091b7a24e2d12 (patch)
treedf1e2a28526222c5957cb2bd2c28a4636f68d90d
parent084ba5a301ce1288fbd5b626ef604268683f83da (diff)
downloadfreebsd-ports-gnome-46d64485ede17e76aa87abc91d9091b7a24e2d12.tar.gz
freebsd-ports-gnome-46d64485ede17e76aa87abc91d9091b7a24e2d12.tar.zst
freebsd-ports-gnome-46d64485ede17e76aa87abc91d9091b7a24e2d12.zip
Update to 1.0.b1 (requires PORTEPOCH-bump)
PR: ports/69447 Submitted by: Radim Kolar Approved by: maintainer timeout
-rw-r--r--audio/py-musicbrainz/Makefile38
-rw-r--r--audio/py-musicbrainz/distinfo3
-rw-r--r--audio/py-musicbrainz/pkg-plist8
3 files changed, 27 insertions, 22 deletions
diff --git a/audio/py-musicbrainz/Makefile b/audio/py-musicbrainz/Makefile
index 0417c9f04f0e..514bb56dbf91 100644
--- a/audio/py-musicbrainz/Makefile
+++ b/audio/py-musicbrainz/Makefile
@@ -6,33 +6,45 @@
#
PORTNAME= musicbrainz
-PORTVERSION= 1.0
-PORTREVISION= 2
+PORTVERSION= 1.0.b1
+PORTEPOCH= 1
CATEGORIES= audio python
-MASTER_SITES= # none
+MASTER_SITES= http://icepick.info/projects/python-musicbrainz/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
-DISTFILES= # none
+DISTNAME= python-${PORTNAME}-${PORTVERSION:R}${PORTVERSION:E}
MAINTAINER= knu@FreeBSD.org
COMMENT= MusicBrainz bindings for Python
-EXTRACT_DEPENDS= ${NONEXISTENT}:${LIBMUSICBRAINZ_PORTDIR}:patch
+BUILD_DEPENDS= ${PYTHONPREFIX_SITELIBDIR}/ctypes/__init__.py:${PORTSDIR}/devel/py-ctypes
+RUN_DEPENDS= ${BUILD_DEPENDS}
LIB_DEPENDS= musicbrainz.4:${LIBMUSICBRAINZ_PORTDIR}
LIBMUSICBRAINZ_PORTDIR= ${PORTSDIR}/audio/libmusicbrainz
+EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}
+EXAMPLES= cd2trm.py findartist.py getcdtracklengths.py cdid.py \
+ findtrack.py gettrm.py cdlookup.py generatetrm.py \
+ fileinfolookup.py getalbum.py
USE_PYTHON= yes
USE_PYDISTUTILS= yes
PYDISTUTILS_BUILDARGS= build_ext -I${LOCALBASE}/include -L${LOCALBASE}/lib
-IGNORE= Distfile needs to catch up with libmusicbrainz
-DEPRECATED= ${IGNORE}
-EXPIRATION_DATE=2004-08-20
+PLIST_FILES= %%PYTHON_SITELIBDIR%%/musicbrainz.py \
+ %%PYTHON_SITELIBDIR%%/musicbrainz.pyc \
+ %%PYTHON_SITELIBDIR%%/musicbrainz.pyo
-.include <bsd.port.pre.mk>
+.ifndef(NOPORTDOCS)
+PLIST_FILES+= ${EXAMPLES:S/^/%%EXAMPLESDIR%%\//}
+PLIST_DIRS= %%EXAMPLESDIR%%
+.endif
-do-extract:
- ${MKDIR} ${WRKDIR}
- ${LN} -fs `cd ${LIBMUSICBRAINZ_PORTDIR}; ${MAKE} -V WRKSRC`/python ${WRKSRC}
+post-install:
+.ifndef(NOPORTDOCS)
+ ${MKDIR} ${EXAMPLESDIR}
+.for i in ${EXAMPLES}
+ ${INSTALL_SCRIPT} ${WRKSRC}/examples/${i} ${EXAMPLESDIR}
+.endfor
+.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/audio/py-musicbrainz/distinfo b/audio/py-musicbrainz/distinfo
index c1dd8136d074..e79b09d40af6 100644
--- a/audio/py-musicbrainz/distinfo
+++ b/audio/py-musicbrainz/distinfo
@@ -1 +1,2 @@
-MD5 (pyvorbis-1.0.tar.gz) = 158e38785543f2d945e20f67f77299b9
+MD5 (python-musicbrainz-1.0b1.tar.gz) = 8f07d75e67f3b2f1de89327126c0f418
+SIZE (python-musicbrainz-1.0b1.tar.gz) = 21029
diff --git a/audio/py-musicbrainz/pkg-plist b/audio/py-musicbrainz/pkg-plist
deleted file mode 100644
index 68237a97f204..000000000000
--- a/audio/py-musicbrainz/pkg-plist
+++ /dev/null
@@ -1,8 +0,0 @@
-%%PYTHON_SITELIBDIR%%/musicbrainz/__init__.py
-%%PYTHON_SITELIBDIR%%/musicbrainz/__init__.pyc
-%%PYTHON_SITELIBDIR%%/musicbrainz/__init__.pyo
-%%PYTHON_SITELIBDIR%%/musicbrainz/_musicbrainz.so
-%%PYTHON_SITELIBDIR%%/musicbrainz/queries.py
-%%PYTHON_SITELIBDIR%%/musicbrainz/queries.pyc
-%%PYTHON_SITELIBDIR%%/musicbrainz/queries.pyo
-@dirrm %%PYTHON_SITELIBDIR%%/musicbrainz