pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/audio Add py-musique, a program for buying iTunes songs.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5cae59f1c4f4
branches:  trunk
changeset: 494250:5cae59f1c4f4
user:      augustss <augustss%pkgsrc.org@localhost>
date:      Sat May 21 23:20:23 2005 +0000

description:
Add py-musique, a program for buying iTunes songs.

diffstat:

 audio/Makefile                    |   3 ++-
 audio/py-musique/DESCR            |   7 +++++++
 audio/py-musique/Makefile         |  25 +++++++++++++++++++++++++
 audio/py-musique/PLIST            |  18 ++++++++++++++++++
 audio/py-musique/distinfo         |   6 ++++++
 audio/py-musique/patches/patch-aa |  18 ++++++++++++++++++
 6 files changed, 76 insertions(+), 1 deletions(-)

diffs (111 lines):

diff -r 5cdd83f64aed -r 5cae59f1c4f4 audio/Makefile
--- a/audio/Makefile    Sat May 21 23:09:36 2005 +0000
+++ b/audio/Makefile    Sat May 21 23:20:23 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.282 2005/05/21 03:17:00 grant Exp $
+# $NetBSD: Makefile,v 1.283 2005/05/21 23:20:23 augustss Exp $
 #
 
 COMMENT=       Audio tools
@@ -200,6 +200,7 @@
 SUBDIR+=       py-ao
 SUBDIR+=       py-cddb
 SUBDIR+=       py-mad
+SUBDIR+=       py-musique
 SUBDIR+=       py-ogg
 SUBDIR+=       py-vorbis
 SUBDIR+=       py-xmms
diff -r 5cdd83f64aed -r 5cae59f1c4f4 audio/py-musique/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/py-musique/DESCR    Sat May 21 23:20:23 2005 +0000
@@ -0,0 +1,7 @@
+The fair interface to the iTunes Music Store.
+
+Features:
+    * Preview songs
+    * Signup for an account
+    * Buy songs
+    * Redownload songs that were bought with PyMusique 
diff -r 5cdd83f64aed -r 5cae59f1c4f4 audio/py-musique/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/py-musique/Makefile Sat May 21 23:20:23 2005 +0000
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1 2005/05/21 23:20:24 augustss Exp $
+#
+
+DISTNAME=      pymusique-0.5
+PKGNAME=        ${PYPKGPREFIX}-${DISTNAME:S/py//}
+PKGREVISION=   1
+CATEGORIES=    audio
+MASTER_SITES=  http://fuware.nanocrew.net/pymusique/
+
+MAINTAINER=    augustss%NetBSD.org@localhost
+HOMEPAGE=      http://fuware.nanocrew.net/pymusique/
+COMMENT=       Interface to the iTunes Music Store
+
+DEPENDS+=      ${PYPKGPREFIX}-twisted-[0-9]*:../../net/py-twisted
+DEPENDS+=      ${PYPKGPREFIX}-OpenSSL-[0-9]*:../../security/py-OpenSSL
+DEPENDS+=      ${PYPKGPREFIX}-mcrypt-[0-9]*:../../security/py-mcrypt
+DEPENDS+=      ${PYPKGPREFIX}-libxml2-[0-9]*:../../textproc/py-libxml2
+DEPENDS+=      ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat
+
+PYDISTUTILSPKG= yes
+
+.include "../../lang/python/application.mk"
+.include "../../lang/python/extension.mk"
+.include "../../x11/py-gtk2/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 5cdd83f64aed -r 5cae59f1c4f4 audio/py-musique/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/py-musique/PLIST    Sat May 21 23:20:23 2005 +0000
@@ -0,0 +1,18 @@
+@comment $NetBSD: PLIST,v 1.1 2005/05/21 23:20:24 augustss Exp $
+bin/pymusique
+lib/pymusique/config.py
+lib/pymusique/debug.py
+lib/pymusique/dedrms.py
+lib/pymusique/player.py
+lib/pymusique/qtstream.py
+lib/pymusique/scramble.py
+lib/pymusique/store.py
+lib/pymusique/storebase.py
+share/applications/pymusique.desktop
+share/doc/pymusique/AUTHORS
+share/doc/pymusique/COPYING
+share/doc/pymusique/ChangeLog
+share/doc/pymusique/README
+share/pixmaps/pymusique.png
+@dirrm lib/pymusique
+@dirrm share/doc/pymusique
diff -r 5cdd83f64aed -r 5cae59f1c4f4 audio/py-musique/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/py-musique/distinfo Sat May 21 23:20:23 2005 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2005/05/21 23:20:24 augustss Exp $
+
+SHA1 (pymusique-0.5.tar.gz) = 7e6ca4fb4845bf74d44dbc8fa38a20646ae1fdac
+RMD160 (pymusique-0.5.tar.gz) = a152f4bbd196805a6b8022e9f2e822bbe727906f
+Size (pymusique-0.5.tar.gz) = 40386 bytes
+SHA1 (patch-aa) = b5cffe2a490fdc0b673e6ec5af37e46af8bb2043
diff -r 5cdd83f64aed -r 5cae59f1c4f4 audio/py-musique/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/py-musique/patches/patch-aa Sat May 21 23:20:23 2005 +0000
@@ -0,0 +1,18 @@
+$NetBSD: patch-aa,v 1.1 2005/05/21 23:20:24 augustss Exp $
+--- bin/pymusique.orig 2005-04-10 22:57:54.000000000 +0200
++++ bin/pymusique      2005-05-20 20:17:36.000000000 +0200
+@@ -460,7 +460,13 @@
+         if not os.path.isdir(self.config['songdir']):
+             os.mkdir(self.config['songdir'])
+         metadata = self.download['metaData']
+-        filename = metadata['playlistArtistName'] + ' - ' + metadata['playlistName'] + ' - ' + metadata['songName']
++      trackNo = ''
++      if 'trackNumber' in metadata:
++            trackNo = metadata['trackNumber']
++          if len(trackNo) < 2:
++              trackNo = '0' + trackNo
++          trackNo = trackNo + ' - '
++        filename = metadata['playlistArtistName'] + ' - ' + metadata['playlistName'] + ' - ' + trackNo + metadata['songName']
+         filename = os.path.join(self.config['songdir'], filename.replace('/', '-') + '.m4a')
+         file(filename, 'wb').write(data)
+         try:



Home | Main Index | Thread Index | Old Index