summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Ramsay <lack@gentoo.org>2010-06-28 16:03:16 +0000
committerJim Ramsay <lack@gentoo.org>2010-06-28 16:03:16 +0000
commit17f59882221096ac2a1589f3ffd3fb2ff6420653 (patch)
tree920537a850c10d951f4486740633b993148e92dd /net-misc/pymazon
parentMore QA (die missing) (diff)
downloadhistorical-17f59882221096ac2a1589f3ffd3fb2ff6420653.tar.gz
historical-17f59882221096ac2a1589f3ffd3fb2ff6420653.tar.bz2
historical-17f59882221096ac2a1589f3ffd3fb2ff6420653.zip
Introducing Pymazon-0.9, a graphical open-source replacement for the Amazon.com media downloader (Bug #321599)
Package-Manager: portage-2.1.8.3/cvs/Linux x86_64
Diffstat (limited to 'net-misc/pymazon')
-rw-r--r--net-misc/pymazon/ChangeLog11
-rw-r--r--net-misc/pymazon/Manifest5
-rw-r--r--net-misc/pymazon/files/amz.xml11
-rw-r--r--net-misc/pymazon/metadata.xml10
-rw-r--r--net-misc/pymazon/pymazon-0.9.ebuild55
5 files changed, 92 insertions, 0 deletions
diff --git a/net-misc/pymazon/ChangeLog b/net-misc/pymazon/ChangeLog
new file mode 100644
index 000000000000..3b7e474abba3
--- /dev/null
+++ b/net-misc/pymazon/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for net-misc/pymazon
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/pymazon/ChangeLog,v 1.1 2010/06/28 16:03:16 lack Exp $
+
+*pymazon-0.9 (28 Jun 2010)
+
+ 28 Jun 2010; Jim Ramsay <lack@gentoo.org> +pymazon-0.9.ebuild,
+ +files/amz.xml, +metadata.xml:
+ Introducing Pymazon-0.9, a graphical open-source replacement for the
+ Amazon.com media downloader (Bug #321599)
+
diff --git a/net-misc/pymazon/Manifest b/net-misc/pymazon/Manifest
new file mode 100644
index 000000000000..553dbdadbfd6
--- /dev/null
+++ b/net-misc/pymazon/Manifest
@@ -0,0 +1,5 @@
+AUX amz.xml 376 RMD160 e8eeada3266d28ed1044cb26e92f8dbc1e3e2d9f SHA1 fd18dc584c000f9618f231685613440f4dace7f8 SHA256 f8a1009bc8dcc798463026ecb6071c305c79dd5b01d00da5bc9fd5a05d4a8ff1
+DIST Pymazon-0.9.tar.gz 58435 RMD160 7867345dfa31dd7abadea98da36a0c531a9bae1d SHA1 7e57a7faf86a930550263029e0afc8a55298bdaf SHA256 1f064ee8aa9882406d463244d8c0584e0348bbb91afa7ccb8352f6a8d142656c
+EBUILD pymazon-0.9.ebuild 1447 RMD160 920d9867531fb8498cbb7d98021998b90c0cd699 SHA1 035f2f404f0a8733b86723a1d9720bb6a15bc4b8 SHA256 246c9691ca86ac2ada6178e1dfb1469f27bee53e68e95afe5fa5056c61758bcc
+MISC ChangeLog 445 RMD160 bf903c389b1c7d3988a560dcfa49798aba136e0d SHA1 460889b3f350fbd909e224c9a06ca2f3783750b4 SHA256 e07ec6fb9356ff312421e70bd61d24ea9a402b9c60bb0093cec2378d6211997c
+MISC metadata.xml 255 RMD160 2e5514ea208e220a2d2b5780925be2a79ecd7d41 SHA1 e6cc4e2498a8aa5e325006da842fa43db365dcde SHA256 a845367d23d1fbccc1884ad4954871d6027a63408caab5eac21159e987e4fede
diff --git a/net-misc/pymazon/files/amz.xml b/net-misc/pymazon/files/amz.xml
new file mode 100644
index 000000000000..8fd3a61d69ae
--- /dev/null
+++ b/net-misc/pymazon/files/amz.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<mime-info xmlns='http://www.freedesktop.org/standards/shared-mime-info'>
+ <mime-type type="audio/x-amzxml">
+ <sub-class-of type="text/plain"/>
+ <comment>AmazonMP3 Download Queue</comment>
+ <glob pattern="*.amz"/>
+ <magic>
+ <match type="string" offset="0" value="gtBcZ7b78K" />
+ </magic>
+ </mime-type>
+</mime-info>
diff --git a/net-misc/pymazon/metadata.xml b/net-misc/pymazon/metadata.xml
new file mode 100644
index 000000000000..13c3c93a929c
--- /dev/null
+++ b/net-misc/pymazon/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>desktop-misc</herd>
+ <maintainer>
+ <email>lack@gentoo.org</email>
+ <name>Jim Ramsay</name>
+ </maintainer>
+</pkgmetadata>
+
diff --git a/net-misc/pymazon/pymazon-0.9.ebuild b/net-misc/pymazon/pymazon-0.9.ebuild
new file mode 100644
index 000000000000..14a70d986c50
--- /dev/null
+++ b/net-misc/pymazon/pymazon-0.9.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/pymazon/pymazon-0.9.ebuild,v 1.1 2010/06/28 16:03:16 lack Exp $
+
+EAPI=3
+PYTHON_DEPEND="2"
+inherit eutils distutils fdo-mime
+
+MY_P="Pymazon-${PV}"
+DESCRIPTION="Downloader for the Amazon.com MP3 music store"
+HOMEPAGE="http://code.google.com/p/pymazon/"
+SRC_URI="http://pymazon.googlecode.com/files/${MY_P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE="+gtk +qt4"
+
+DEPEND=""
+DEPEND="gtk? ( dev-python/pygtk )
+ qt4? ( dev-python/PyQt4 )"
+REPEND="${DEPEND}"
+S="${WORKDIR}/${MY_P}"
+
+src_install() {
+ distutils_src_install
+
+ insinto /usr/share/pixmaps
+ newins pymazon/resource/icons/download.png pymazon.png
+
+ if ! use gtk && ! use qt4; then
+ EXTRA_FIELDS="\nTerminal=true\nNoDisplay=true"
+ DEFAULTARGS=" -c"
+ fi
+ make_desktop_entry "pymazon${DEFAULTARGS}" "Pymazon MP3 Downloader" \
+ pymazon "Network;FileTransfer" \
+ "MimeType=audio/x-amzxml;${EXTRA_FIELDS}"
+
+ insinto /usr/share/mime/packages
+ doins "${FILESDIR}/amz.xml"
+}
+
+pkg_postinst() {
+ distutils_pkg_postinst
+ fdo-mime_desktop_database_update
+ fdo-mime_mime_database_update
+ einfo "To link pymazon with your amazon.com account, visit:"
+ einfo " http://www.amazon.com/gp/dmusic/after_download_manager_install.html"
+}
+
+pkg_postrm() {
+ distutils_pkg_postrm
+ fdo-mime_desktop_database_update
+ fdo-mime_mime_database_update
+}