Quick and dirty patch to solve the bug in Picard when we use the command
"pydoc -k". Also make the regress target works. from Amaury Gauthier (maintainer)
This commit is contained in:
parent
a4e80472aa
commit
355ab9e3b8
@ -1,9 +1,10 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2009/07/12 20:43:22 ajacoutot Exp $
|
||||
# $OpenBSD: Makefile,v 1.2 2009/07/19 09:06:43 ajacoutot Exp $
|
||||
|
||||
COMMENT = automatic audio files tagger
|
||||
|
||||
MODPY_EGG_VERSION = 0.11
|
||||
DISTNAME = picard-${MODPY_EGG_VERSION}
|
||||
PKGNAME = ${DISTNAME}p0
|
||||
|
||||
CATEGORIES = audio
|
||||
|
||||
@ -58,4 +59,7 @@ post-install:
|
||||
${INSTALL_DATA} ${WRKSRC}/contrib/plugins/${file} ${PREFIX}/share/picard/${file}
|
||||
.endfor
|
||||
|
||||
do-regress:
|
||||
cd ${WRKSRC} && ${MODPY_BIN} ./setup.py build_ext -i test
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
16
audio/picard/patches/patch-picard_const_py
Normal file
16
audio/picard/patches/patch-picard_const_py
Normal file
@ -0,0 +1,16 @@
|
||||
$OpenBSD: patch-picard_const_py,v 1.1 2009/07/19 09:06:43 ajacoutot Exp $
|
||||
|
||||
Quick and dirty patch to solve the bug in Picard when we use the command
|
||||
"pydoc -k". Also make the regress target works.
|
||||
|
||||
--- picard/const.py.orig Sat Jul 18 00:02:45 2009
|
||||
+++ picard/const.py Sat Jul 18 00:03:23 2009
|
||||
@@ -17,6 +17,8 @@
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
|
||||
+import __builtin__
|
||||
+__builtin__.__dict__['N_'] = lambda a: a
|
||||
|
||||
# Host for PUID submissions
|
||||
PUID_SUBMIT_HOST = "musicbrainz.org"
|
Loading…
Reference in New Issue
Block a user