diff options
author | Jim Ramsay <lack@gentoo.org> | 2011-12-09 14:38:36 +0000 |
---|---|---|
committer | Jim Ramsay <lack@gentoo.org> | 2011-12-09 14:38:36 +0000 |
commit | 4be523d9cc38d4735d4ea1d857d98ba53ea9442f (patch) | |
tree | be1fd374a0c4cb699c4e982951b678bc5998b8be /net-misc | |
parent | Bug #393575: Version 0.5 is released (diff) | |
download | gentoo-2-4be523d9cc38d4735d4ea1d857d98ba53ea9442f.tar.gz gentoo-2-4be523d9cc38d4735d4ea1d857d98ba53ea9442f.tar.bz2 gentoo-2-4be523d9cc38d4735d4ea1d857d98ba53ea9442f.zip |
Version 0.9.1 is released
(Portage version: 2.1.10.39/cvs/Linux x86_64)
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/pymazon/ChangeLog | 7 | ||||
-rw-r--r-- | net-misc/pymazon/pymazon-0.9.1.ebuild | 60 |
2 files changed, 66 insertions, 1 deletions
diff --git a/net-misc/pymazon/ChangeLog b/net-misc/pymazon/ChangeLog index 29ee38829a65..7d2f60821a1f 100644 --- a/net-misc/pymazon/ChangeLog +++ b/net-misc/pymazon/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-misc/pymazon # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/pymazon/ChangeLog,v 1.6 2011/02/11 18:47:18 hwoarang Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/pymazon/ChangeLog,v 1.7 2011/12/09 14:38:36 lack Exp $ + +*pymazon-0.9.1 (09 Dec 2011) + + 09 Dec 2011; Jim Ramsay <jim_ramsay@gentoo.org> +pymazon-0.9.1.ebuild: + Version 0.9.1 is released 11 Feb 2011; Markos Chandras <hwoarang@gentoo.org> pymazon-0.9-r1.ebuild: Stable on amd64 wrt bug #354005 diff --git a/net-misc/pymazon/pymazon-0.9.1.ebuild b/net-misc/pymazon/pymazon-0.9.1.ebuild new file mode 100644 index 000000000000..7034bc6b78a0 --- /dev/null +++ b/net-misc/pymazon/pymazon-0.9.1.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/pymazon/pymazon-0.9.1.ebuild,v 1.1 2011/12/09 14:38:36 lack Exp $ + +EAPI=4 +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="~amd64 ~x86" +IUSE="+gtk +qt4" + +DEPEND="gtk? ( dev-python/pygtk ) + qt4? ( dev-python/PyQt4 )" +RDEPEND="${DEPEND} + dev-python/pycrypto" +S="${WORKDIR}/pymazon" + +pkg_setup() { + python_set_active_version 2 + python_pkg_setup +} + +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 +} |