Date: Thu, 22 Jul 2004 20:11:59 +0200 From: Radim Kolar <hsn@netmag.cz> To: FreeBSD-gnats-submit@FreeBSD.org Cc: knu@FreeBSD.org Subject: ports/69447: portupgrade: py-musicbrain - unbroke port Message-ID: <E1Bni2x-0006GA-BY@sanatana.dharma> Resent-Message-ID: <200407222020.i6MKKWWw079358@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 69447 >Category: ports >Synopsis: portupgrade: py-musicbrain - unbroke port >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Thu Jul 22 20:20:31 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Radim Kolar >Release: FreeBSD 5.2.1-RELEASE-p8 i386 >Organization: Sanatana >Environment: System: FreeBSD sanatana.dharma 5.2.1-RELEASE-p8 FreeBSD 5.2.1-RELEASE-p8 #8: Tue Jul 20 20:32:29 CEST 2004 root@sanatana.dharma:/usr/src/sys/i386/compile/UP i386 >Description: the old python musicbrain binding seems to be dead and removed from main web site. This is a new different project. pkg-plist file axed. p.s. port tools generates diff against incorrect port - audio/musicbrain ! >How-To-Repeat: >Fix: diff -Naur /usr/ports/audio/py-musicbrainz/Makefile py-musicbrainz/Makefile --- /usr/ports/audio/py-musicbrainz/Makefile Tue Jun 22 19:20:11 2004 +++ py-musicbrainz/Makefile Thu Jul 22 20:01:45 2004 @@ -6,33 +6,47 @@ # 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} 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 + +.ifndef(NOPORTDOCS) +.for i in ${EXAMPLES} +PLIST_FILES+=%%EXAMPLESDIR%%/${i} +.endfor +PLIST_DIRS= %%EXAMPLESDIR%% +.endif + +post-install: +.ifndef(NOPORTDOCS) + ${MKDIR} ${EXAMPLESDIR} +.for i in ${EXAMPLES} + ${INSTALL_SCRIPT} ${WRKSRC}/examples/${i} ${EXAMPLESDIR} +.endfor +.endif -.include <bsd.port.pre.mk> - -do-extract: - ${MKDIR} ${WRKDIR} - ${LN} -fs `cd ${LIBMUSICBRAINZ_PORTDIR}; ${MAKE} -V WRKSRC`/python ${WRKSRC} - -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff -Naur /usr/ports/audio/py-musicbrainz/distinfo py-musicbrainz/distinfo --- /usr/ports/audio/py-musicbrainz/distinfo Mon Mar 24 03:47:16 2003 +++ py-musicbrainz/distinfo Wed Jul 21 22:23:52 2004 @@ -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 -Naur /usr/ports/audio/py-musicbrainz/pkg-plist py-musicbrainz/pkg-plist --- /usr/ports/audio/py-musicbrainz/pkg-plist Mon Mar 24 03:47:16 2003 +++ py-musicbrainz/pkg-plist Thu Jan 1 01:00:00 1970 @@ -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 >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1Bni2x-0006GA-BY>