Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 03 Jul 2006 19:43:39 -0700 (PDT)
From:      "Jason E. Hale" <bsdkaffee@gmail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/99760: [MAINTAINER] audio/py-musicbrainz: Update to 2.1.3 
Message-ID:  <44a9d5db.0fccf74d.0682.2cb5@mx.gmail.com>
Resent-Message-ID: <200607040250.k642oGPJ052348@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         99760
>Category:       ports
>Synopsis:       [MAINTAINER] audio/py-musicbrainz: Update to 2.1.3
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jul 04 02:50:16 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Jason E. Hale
>Release:        FreeBSD 6.1-RELEASE i386
>Organization:
none 
>Environment:
System: FreeBSD black.attbi.com 6.1-RELEASE FreeBSD 6.1-RELEASE #1: Tue May 9 14:40:50 EDT 2006 Jason@black.attbi.com:/usr/obj/usr/src/sys/BLACK i386


	
>Description:
Update audio/py-musicbrainz to version 2.1.3 and update MASTER_SITES.
Changelog can be found here:
http://blog.musicbrainz.org/archives/2006/07/libmusicbrainz_3.html

	
>How-To-Repeat:
diff is attached

Files to be removed:
files/patch-musicbrainz.py (new version improves library loading)
files/ (no more patches)

Note: this port will break if not updated simultaneously with audio/libmusicbrainz

	
>Fix:

	

--- 2006-07-03-py-musicbrainz.diff begins here ---
diff -ruN py-musicbrainz.orig/Makefile py-musicbrainz/Makefile
--- py-musicbrainz.orig/Makefile	Mon Jul  3 20:11:04 2006
+++ py-musicbrainz/Makefile	Mon Jul  3 21:59:43 2006
@@ -6,19 +6,18 @@
 #
 
 PORTNAME=	musicbrainz
-PORTVERSION=	2.1.2
+PORTVERSION=	2.1.3
 PORTEPOCH=	1
 CATEGORIES=	audio python
 MASTER_SITES=	ftp://ftp.musicbrainz.org/pub/musicbrainz/ \
-		ftp://ftp.au.musicbrainz.org/pub/musicbrainz/
+		http://uk.musicbrainz.org/pub/musicbrainz/
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 DISTNAME=	libmusicbrainz-${PORTVERSION}
 
 MAINTAINER=	bsdkaffee@gmail.com
 COMMENT=	MusicBrainz bindings for Python
 
-BUILD_DEPENDS=	${PYTHON_SITELIBDIR}/ctypes/__init__.py:${PORTSDIR}/devel/py-ctypes
-RUN_DEPENDS=	${BUILD_DEPENDS}
+RUN_DEPENDS=	${PYTHON_SITELIBDIR}/ctypes/__init__.py:${PORTSDIR}/devel/py-ctypes
 LIB_DEPENDS=	musicbrainz.4:${PORTSDIR}/audio/libmusicbrainz
 
 EXAMPLESDIR=	${PREFIX}/share/examples/py-${PORTNAME}
diff -ruN py-musicbrainz.orig/files/patch-musicbrainz.py py-musicbrainz/files/patch-musicbrainz.py
--- py-musicbrainz.orig/files/patch-musicbrainz.py	Mon Jul  3 20:11:04 2006
+++ py-musicbrainz/files/patch-musicbrainz.py	Wed Dec 31 19:00:00 1969
@@ -1,19 +0,0 @@
---- musicbrainz.py.orig	Tue Aug 17 08:44:54 2004
-+++ musicbrainz.py	Sat Jan 14 14:04:01 2006
-@@ -28,15 +28,7 @@
- Error = MusicBrainzError
- 
- def findLibrary():
--    
--    if sys.platform == "darwin":
--        lib = "libmusicbrainz.4.dylib"
--    else:
--        if sys.platform == "linux2":
--           lib = "libmusicbrainz.so.4"
--        else:
--           raise MusicBrainzError, "Unknown platform: " + sys.platform 
--  
-+    lib = "libmusicbrainz.so.4"
-     path = "/usr/lib/" + lib
-     if os.access(path, os.F_OK):
-        return path;
--- 2006-07-03-py-musicbrainz.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44a9d5db.0fccf74d.0682.2cb5>