From 7bfe42074c8a85ac0e456699e74304f4dc7991ac Mon Sep 17 00:00:00 2001 From: Patrick Lauer Date: Tue, 5 Mar 2013 13:57:44 +0800 Subject: app-cdr/furiusisomount: Add ~amd64 keyword, EAPI bump --- app-cdr/furiusisomount/Manifest | 2 +- .../furiusisomount-0.11.3.1-r1.ebuild | 72 ++++++++++++++++++++++ .../furiusisomount/furiusisomount-0.11.3.1.ebuild | 72 ---------------------- 3 files changed, 73 insertions(+), 73 deletions(-) create mode 100644 app-cdr/furiusisomount/furiusisomount-0.11.3.1-r1.ebuild delete mode 100644 app-cdr/furiusisomount/furiusisomount-0.11.3.1.ebuild diff --git a/app-cdr/furiusisomount/Manifest b/app-cdr/furiusisomount/Manifest index 279f82292..787ed7e25 100644 --- a/app-cdr/furiusisomount/Manifest +++ b/app-cdr/furiusisomount/Manifest @@ -1,4 +1,4 @@ DIST furiusisomount_0.11.3.1.tar.gz 267388 SHA256 ea16ac56343e94e3563c447e0b9ecce7700ffbcd7d3c0d32c7792405f3c302a2 SHA512 8652af6d4895ab050074e9e6c667dee0b41fea72aab2fcd46b4f4bd1f7665329684582d60d2f3d401ff58317e0eda3af37af75171896ac4832f12b11c8d28fda WHIRLPOOL 4a6bae2520e835a69dc02850c9348b948eadc1e179cebde2aad980a5fdef1abd2ced011cc3fab790c53147f91435151bd97ee1655b2f8443289196cdccca92db -EBUILD furiusisomount-0.11.3.1.ebuild 2027 SHA256 bcf4390bc8a54279475759b2550f8156d8da6fb9a4e4300f9192ffcd7ea57fe4 SHA512 7f2456cc63eb408cd51f0bdcf1dd01179f6f34ee622a6ff6547db8a7e6a77008aa8e50a0487177aa1695adf201465107bf59d9e6c98ac27f13a77d17f5290a03 WHIRLPOOL 150361758e7a77589581e72a831eed0cbb1cf7fe6bec8c5a1fac93d359bfa84f72c605cb1e72aec86db9b5b28340f539b0f2cfa4c3ee954eaeabd6e205bb7afd +EBUILD furiusisomount-0.11.3.1-r1.ebuild 2019 SHA256 bf12d65fd52a24db847d238d49c0d7c88a670a97ba53cb03d10b2b4ff414877d SHA512 abe3141f1ab10ae629b316995e6b1357adacc2bb5db13fc049a118f1abb0a3fb31858a1162c53c5cc89ac8693f465b00a7178065383a0fdd33db6cdc74184fb5 WHIRLPOOL 5563f54a96aa0704d976a61cc01ba7695161b446ff72fb9e14a01ba71e49b42a4bcf5a79703246d3e2a110b5c8714f24d4b40be0f33bc420be94d3306823299c MISC ChangeLog 435 SHA256 c30ab733e030bf12b854dcf25000b3a88409e15023c34307784784de894ad9ce SHA512 7e874bb8cb9f2cf4a59ca18d821d19723d0e3aae444168a1062e7efd1682c07d288e35649abcb40b08d828ca3e1a7727c40ca62c33947e1d259d46c8a8385ced WHIRLPOOL 60f5500339fa9df43d14ce8aa232aa3924fde32774c67643f873e0b1e0cde21e92849526ffb7bf5d63d8b93b0988338dfa521c00d7483eaef7c5606eab927737 MISC metadata.xml 335 SHA256 b57f5eff0e17013c7813c71a444d35efb0a7178f2f334e5efc628a87deed6254 SHA512 b3bc00ce78bbe1ad21d0714494c9aed533fa63f6338f18eb2a3085d91ae6f5fb478a701e47aa4cfbbaef796d55119ec6e26d4c6f663ff893e4740f1688093b82 WHIRLPOOL 449618a347108d22688f3fb3a10506b240be3f0dd4b7aa6ea27faaa5a999af3e9e3654f5bf82ef51bff1137c7d53d50eb444c943db6e74c4d69f189220fcf70b diff --git a/app-cdr/furiusisomount/furiusisomount-0.11.3.1-r1.ebuild b/app-cdr/furiusisomount/furiusisomount-0.11.3.1-r1.ebuild new file mode 100644 index 000000000..f05c55e3f --- /dev/null +++ b/app-cdr/furiusisomount/furiusisomount-0.11.3.1-r1.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="5" + +PYTHON_DEPEND="2:2.5" +PYTHON_USE_WITH="threads" + +inherit eutils python + +MY_P=${PN}_${PV} +DESCRIPTION="Simple Gtk+ Interface to Mount ISO, IMG, BIN, MDF and NRG Image files without burning to disk" +HOMEPAGE="http://www.marcus-furius.com/?page_id=170" +SRC_URI="http://launchpad.net/${PN}/python/${PV}/+download/${MY_P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="brasero" + +RDEPEND="dev-python/pygobject:2 + dev-python/pygtk:2 + sys-fs/fuseiso + gnome-base/nautilus + x11-libs/gksu + brasero? ( app-cdr/brasero )" + +S="${WORKDIR}/${MY_P}" + +pkg_setup() { + python_set_active_version 2 + python_pkg_setup +} + +src_prepare() { + # The tarball ships *.pyc files, but we should not install them. + rm src/*.pyc || die "rm failed" + + # Change python binary call and path to main in furiusisomount + sed -e 's:^python "\(src/main.py\)":'$(PYTHON -a)' "/usr/share/'${PN}'/\1":' -i ${PN} || die "sed failed" + + # Disable the nautilus radio button because we can't use it anyway, Gentoo does not have nautilus-cd-burner + sed -e '// a\ + False' -i res/main_window.glade + + # If brasero is disabled, we disable all burning-related widgets + if ! use brasero; then + sed -e '// a\ + False' -i res/main_window.glade + sed -e "s/self.interface.get_widget('button_burn').set_sensitive(True)/#&/" -i src/main.py + fi + + python_convert_shebangs -r 2 src +} + +src_install() { + insinto /usr/share/${PN}/ + doins -r src res po pix locale || die "doins failed" + + dobin ${PN} || die "dobin failed" + doicon pix/${PN}.png || die "doicon failed" + newmenu app.desktop ${PN}.desktop || die "newmenu failed" +} + +pkg_postinst() { + python_mod_optimize /usr/share/${PN}/src/ +} + +pkg_postrm() { + python_mod_cleanup /usr/share/${PN}/src/ +} diff --git a/app-cdr/furiusisomount/furiusisomount-0.11.3.1.ebuild b/app-cdr/furiusisomount/furiusisomount-0.11.3.1.ebuild deleted file mode 100644 index b9995c559..000000000 --- a/app-cdr/furiusisomount/furiusisomount-0.11.3.1.ebuild +++ /dev/null @@ -1,72 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=3 - -PYTHON_DEPEND="2:2.5" -PYTHON_USE_WITH="threads" - -inherit eutils python - -MY_P=${PN}_${PV} -DESCRIPTION="Simple Gtk+ Interface to Mount ISO, IMG, BIN, MDF and NRG Image files without burning to disk" -HOMEPAGE="http://www.marcus-furius.com/?page_id=170" -SRC_URI="http://launchpad.net/${PN}/python/${PV}/+download/${MY_P}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="brasero" - -RDEPEND="dev-python/pygobject:2 - dev-python/pygtk:2 - sys-fs/fuseiso - gnome-base/nautilus - x11-libs/gksu - brasero? ( app-cdr/brasero )" - -S="${WORKDIR}/${MY_P}" - -pkg_setup() { - python_set_active_version 2 - python_pkg_setup -} - -src_prepare() { - # The tarball ships *.pyc files, but we don't want to install them, do we? - rm src/*.pyc || die "rm failed" - - # Change python binary call and path to main in furiusisomount - sed -e 's:^python "\(src/main.py\)":'$(PYTHON -a)' "/usr/share/'${PN}'/\1":' -i ${PN} || die "sed failed" - - # Disable the nautilus radio button because we can't use it anyway, Gentoo does not have nautilus-cd-burner - sed -e '// a\ - False' -i res/main_window.glade - - # If brasero is disabled, we disable all burning-related widgets - if ! use brasero; then - sed -e '// a\ - False' -i res/main_window.glade - sed -e "s/self.interface.get_widget('button_burn').set_sensitive(True)/#&/" -i src/main.py - fi - - python_convert_shebangs -r 2 src -} - -src_install() { - insinto /usr/share/${PN}/ - doins -r src res po pix locale || die "doins failed" - - dobin ${PN} || die "dobin failed" - doicon pix/${PN}.png || die "doicon failed" - newmenu app.desktop ${PN}.desktop || die "newmenu failed" -} - -pkg_postinst() { - python_mod_optimize /usr/share/${PN}/src/ -} - -pkg_postrm() { - python_mod_cleanup /usr/share/${PN}/src/ -} -- cgit v1.2.3-18-g5258