pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/exaile make fetch of album cover art work again ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ccc7e7847559
branches:  trunk
changeset: 530235:ccc7e7847559
user:      drochner <drochner%pkgsrc.org@localhost>
date:      Tue Jun 19 18:28:39 2007 +0000

description:
make fetch of album cover art work again after amazon changed its "API",
patch from http://exaile.org/trac/ticket/485
bump PKGREVISION

diffstat:

 audio/exaile/Makefile         |   3 ++-
 audio/exaile/distinfo         |   3 ++-
 audio/exaile/patches/patch-ab |  14 ++++++++++++++
 3 files changed, 18 insertions(+), 2 deletions(-)

diffs (44 lines):

diff -r 8b07c8afdb5e -r ccc7e7847559 audio/exaile/Makefile
--- a/audio/exaile/Makefile     Tue Jun 19 17:10:55 2007 +0000
+++ b/audio/exaile/Makefile     Tue Jun 19 18:28:39 2007 +0000
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.2 2007/04/11 18:50:08 drochner Exp $
+# $NetBSD: Makefile,v 1.3 2007/06/19 18:28:39 drochner Exp $
 #
 
 DISTNAME=      exaile_0.2.9
 PKGNAME=       exaile-0.2.9
+PKGREVISION=   1
 CATEGORIES=    audio
 MASTER_SITES=  http://www.exaile.org/files/
 
diff -r 8b07c8afdb5e -r ccc7e7847559 audio/exaile/distinfo
--- a/audio/exaile/distinfo     Tue Jun 19 17:10:55 2007 +0000
+++ b/audio/exaile/distinfo     Tue Jun 19 18:28:39 2007 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.2 2007/04/11 18:50:08 drochner Exp $
+$NetBSD: distinfo,v 1.3 2007/06/19 18:28:39 drochner Exp $
 
 SHA1 (exaile_0.2.9.tar.gz) = 100e048b35b59f89c7874c60cb235df69005a8f4
 RMD160 (exaile_0.2.9.tar.gz) = 333362939e80f2feb5bd81d51e134cb4d29f74f2
 Size (exaile_0.2.9.tar.gz) = 421296 bytes
 SHA1 (patch-aa) = c9b35c1319d9d0bc230310d5fdd7afd695526b29
+SHA1 (patch-ab) = 59d1b5b8e9f2d8aaa8f80bae66d052c3bdc8819d
diff -r 8b07c8afdb5e -r ccc7e7847559 audio/exaile/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/exaile/patches/patch-ab     Tue Jun 19 18:28:39 2007 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-ab,v 1.1 2007/06/19 18:28:39 drochner Exp $
+
+--- xl/covers.py.orig  2007-06-19 20:14:56.000000000 +0200
++++ xl/covers.py
+@@ -42,7 +42,8 @@ KEY = "15VDQG80MCS2K1W2VRR2" # Adam Olse
+ QUERY = "/onca/xml3?t=webservices-20&dev-t=%s&mode=music&type=lite&" % (KEY) + \
+     "locale={locale}&page=1&f=xml&KeywordSearch="
+ IMAGE_PATTERN = re.compile(
+-    r"http://(images(?:-\w\w)?\.amazon\.com)(/images/.*?LZ+\.jpg)")
++    r"<ImageUrlMedium>http://(\w+\.images-amazon\.com)"
++    "(/images/.*?\.jpg)</ImageUrlMedium>", re.DOTALL)
+ 
+ """
+     Fetches album covers from Amazon.com



Home | Main Index | Thread Index | Old Index