ports/92341: [UPDATE] audio/py-musicbrainz: update to version 2.1.2, take maintainership

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

ports/92341: [UPDATE] audio/py-musicbrainz: update to version 2.1.2, take maintainership

Jason E. Hale-2

>Number:         92341
>Category:       ports
>Synopsis:       [UPDATE] audio/py-musicbrainz: update to version 2.1.2, take maintainership
>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 Jan 26 03:10:03 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Jason E. Hale
>Release:        FreeBSD 6.0-RELEASE-p2 i386
>Organization:
none
>Environment:
System: FreeBSD 6.0-RELEASE-p2 #0: Sun Jan 15 02:05:35 EST 2006 i386
       
>Description:
o Upgrade audio/py-musicbrainz to version 2.1.2 using the bindings included with
  the libmusicbrainz distfile rather than the older separately packaged bindings
o Port currently has no maintainer, take maintainership
o Alphabetize EXAMPLES
       
>How-To-Repeat:
o Apply the patch supplied in the Fix section.
o Remove the following files from the ports directory:
        py-musicbrainz/distinfo (we'll use distinfo from audio/libmusicbrainz)
        py-musicbrainz/pkg-descr (use pkg-descr from audio/libmusicbrainz since
                current pkg-descr is pretty much the same as COMMENT)
       
>Fix:

       

--- py-musicbrainz.diff begins here ---
diff -ruN py-musicbrainz.orig/Makefile py-musicbrainz/Makefile
--- py-musicbrainz.orig/Makefile Wed Jan 25 15:30:59 2006
+++ py-musicbrainz/Makefile Wed Jan 25 21:37:48 2006
@@ -6,14 +6,15 @@
 #
 
 PORTNAME= musicbrainz
-PORTVERSION= 1.0.b3
+PORTVERSION= 2.1.2
 PORTEPOCH= 1
 CATEGORIES= audio python
-MASTER_SITES= ftp://ftp.musicbrainz.org/pub/musicbrainz/picard/
+MASTER_SITES= ftp://ftp.musicbrainz.org/pub/musicbrainz/ \
+ ftp://ftp.au.musicbrainz.org/pub/musicbrainz/
 PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
-DISTNAME= python-${PORTNAME}-${PORTVERSION:R}${PORTVERSION:E}-picard
+DISTNAME= libmusicbrainz-${PORTVERSION}
 
-MAINTAINER= [hidden email]
+MAINTAINER= [hidden email]
 COMMENT= MusicBrainz bindings for Python
 
 BUILD_DEPENDS= ${PYTHONPREFIX_SITELIBDIR}/ctypes/__init__.py:${PORTSDIR}/devel/py-ctypes
@@ -21,29 +22,31 @@
 LIB_DEPENDS= musicbrainz.4:${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
+EXAMPLES= cd2trm.py cdid.py cdlookup.py fileinfolookup.py findartist.py \
+ findtrack.py generatetrm.py getalbum.py getcdtracklengths.py \
+ gettrm.py
 
 USE_PYTHON= yes
 USE_PYDISTUTILS= yes
 PYDISTUTILS_BUILDARGS= build_ext -I${LOCALBASE}/include -L${LOCALBASE}/lib
 
+DESCR= ${PORTSDIR}/audio/libmusicbrainz/pkg-descr
+MD5_FILE= ${PORTSDIR}/audio/libmusicbrainz/distinfo
 PLIST_FILES= %%PYTHON_SITELIBDIR%%/musicbrainz.py \
  %%PYTHON_SITELIBDIR%%/musicbrainz.pyc \
  %%PYTHON_SITELIBDIR%%/musicbrainz.pyo
 
 .ifndef(NOPORTDOCS)
-PLIST_FILES+= ${EXAMPLES:S/^/%%EXAMPLESDIR%%\//}
+PLIST_FILES+= ${EXAMPLES:S|^|%%EXAMPLESDIR%%/|}
 PLIST_DIRS= %%EXAMPLESDIR%%
 .endif
 
+WRKSRC= ${WRKDIR}/libmusicbrainz-${PORTVERSION}/python
+
 post-install:
 .ifndef(NOPORTDOCS)
- ${MKDIR} ${EXAMPLESDIR}
-.for i in ${EXAMPLES}
- ${INSTALL_SCRIPT} ${WRKSRC}/examples/${i} ${EXAMPLESDIR}
-.endfor
+ @${MKDIR} ${EXAMPLESDIR}
+ @${INSTALL_SCRIPT} ${EXAMPLES:S|^|${WRKSRC}/examples/|} ${EXAMPLESDIR}
 .endif
 
 .include <bsd.port.mk>
diff -ruN py-musicbrainz.orig/distinfo py-musicbrainz/distinfo
--- py-musicbrainz.orig/distinfo Wed Jan 25 15:30:59 2006
+++ py-musicbrainz/distinfo Wed Dec 31 19:00:00 1969
@@ -1,3 +0,0 @@
-MD5 (python-musicbrainz-1.0b3-picard.tar.gz) = 0f37fc72695e0909ad9cb183b3660d75
-SHA256 (python-musicbrainz-1.0b3-picard.tar.gz) = 72f074b6ddb802607e9240d99e7bbffcbfb31fd91ebf175989efa96a45adda04
-SIZE (python-musicbrainz-1.0b3-picard.tar.gz) = 21468
diff -ruN py-musicbrainz.orig/pkg-descr py-musicbrainz/pkg-descr
--- py-musicbrainz.orig/pkg-descr Wed Jan 25 15:30:59 2006
+++ py-musicbrainz/pkg-descr Wed Dec 31 19:00:00 1969
@@ -1,3 +0,0 @@
-This is MusicBrainz bindings for Python.
-
-WWW: http://www.musicbrainz.org/
--- py-musicbrainz.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

Re: ports/92341: [UPDATE] audio/py-musicbrainz: update to version 2.1.2, take maintainership

Renato Botelho-2
Synopsis: [UPDATE] audio/py-musicbrainz: update to version 2.1.2, take maintainership

Responsible-Changed-From-To: freebsd-ports-bugs->garga
Responsible-Changed-By: garga
Responsible-Changed-When: Thu Jan 26 14:10:14 UTC 2006
Responsible-Changed-Why:
I'll take it.

http://www.freebsd.org/cgi/query-pr.cgi?pr=92341
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs
To unsubscribe, send any mail to "[hidden email]"