diff options
Diffstat (limited to 'media-gfx/mirage')
-rw-r--r-- | media-gfx/mirage/Manifest | 2 | ||||
-rw-r--r-- | media-gfx/mirage/files/mirage-0.9.3-stop_cleaning_up.patch | 27 | ||||
-rw-r--r-- | media-gfx/mirage/metadata.xml | 5 | ||||
-rw-r--r-- | media-gfx/mirage/mirage-0.9.5.1.ebuild | 43 | ||||
-rw-r--r-- | media-gfx/mirage/mirage-0.9.5.2-r1.ebuild | 35 | ||||
-rw-r--r-- | media-gfx/mirage/mirage-0.9.5.2.ebuild | 43 |
6 files changed, 155 insertions, 0 deletions
diff --git a/media-gfx/mirage/Manifest b/media-gfx/mirage/Manifest new file mode 100644 index 000000000000..dfb0a501e8b4 --- /dev/null +++ b/media-gfx/mirage/Manifest @@ -0,0 +1,2 @@ +DIST mirage-0.9.5.1.tar.bz2 110288 SHA256 6dc3595ac416229eac7b75abae0a2f3971b98be9a0290595cc0f4d4abf3d87af +DIST mirage-0.9.5.2.tar.bz2 114991 SHA256 d214a1b6d99d1d1e83da5848a2cef181f6781e0990e93f7ebff5880b0c43f43c SHA512 c754c7c74523f060cf5c120750de3a5d9935eff2b04a30b4f266939528c1b01f26a27294765dbed47adeef88301cb3d7ff8f7464e6504ba5e8ff734ec0685c76 WHIRLPOOL 53893d24aec11c19c88cdf38ebc8c1efa6d5ad7c71002b32852f0cfd0ccb63c6d2ce8ce491f6d735a59e3c6a374277d55f917d8be2f700d62a1fd898f884b690 diff --git a/media-gfx/mirage/files/mirage-0.9.3-stop_cleaning_up.patch b/media-gfx/mirage/files/mirage-0.9.3-stop_cleaning_up.patch new file mode 100644 index 000000000000..0f315297184b --- /dev/null +++ b/media-gfx/mirage/files/mirage-0.9.3-stop_cleaning_up.patch @@ -0,0 +1,27 @@ +diff -ur mirage-0.9.3.orig/setup.py mirage-0.9.3/setup.py +--- mirage-0.9.3.orig/setup.py 2008-03-27 06:05:28.000000000 +0200 ++++ mirage-0.9.3/setup.py 2008-11-30 16:34:11.000000000 +0200 +@@ -70,23 +70,3 @@ + ('share/locale/cs/LC_MESSAGES', ['mo/cs/mirage.mo']), + ('share/locale/it/LC_MESSAGES', ['mo/it/mirage.mo'])], + ) +- +-# Cleanup (remove /build, /mo, and *.pyc files: +-print "Cleaning up..." +-try: +- removeall("build/") +- os.rmdir("build/") +-except: +- pass +-try: +- removeall("mo/") +- os.rmdir("mo/") +-except: +- pass +-try: +- for f in os.listdir("."): +- if os.path.isfile(f): +- if os.path.splitext(os.path.basename(f))[1] == ".pyc": +- os.remove(f) +-except: +- pass diff --git a/media-gfx/mirage/metadata.xml b/media-gfx/mirage/metadata.xml new file mode 100644 index 000000000000..9be90a258970 --- /dev/null +++ b/media-gfx/mirage/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>graphics</herd> +</pkgmetadata> diff --git a/media-gfx/mirage/mirage-0.9.5.1.ebuild b/media-gfx/mirage/mirage-0.9.5.1.ebuild new file mode 100644 index 000000000000..42945bc16d41 --- /dev/null +++ b/media-gfx/mirage/mirage-0.9.5.1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=3 + +PYTHON_DEPEND="2:2.6" +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="2.[45] 3.* *-jython" + +inherit distutils eutils + +DESCRIPTION="A fast and simple image viewer based on python and GTK+" +HOMEPAGE="http://mirageiv.berlios.de/" +SRC_URI="mirror://berlios/mirageiv/${P}.tar.bz2" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="amd64 ppc ppc64 x86 ~x86-fbsd" +IUSE="" + +RDEPEND="x11-libs/libX11 + >=dev-python/pygtk-2.12" +DEPEND="${RDEPEND} + sys-devel/gettext + !media-plugins/banshee-mirage" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-0.9.3-stop_cleaning_up.patch + distutils_src_prepare +} + +src_install() { + local DOCS="CHANGELOG README TODO TRANSLATORS" + distutils_src_install + + rm -f "${D}"/usr/share/mirage/COPYING + + local x + for x in ${DOCS}; do + rm -f "${D}"/usr/share/mirage/${x} + done +} diff --git a/media-gfx/mirage/mirage-0.9.5.2-r1.ebuild b/media-gfx/mirage/mirage-0.9.5.2-r1.ebuild new file mode 100644 index 000000000000..f86c32122a11 --- /dev/null +++ b/media-gfx/mirage/mirage-0.9.5.2-r1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 ) + +inherit distutils-r1 + +DESCRIPTION="A fast and simple image viewer based on python and GTK+" +HOMEPAGE="http://mirageiv.berlios.de/" +SRC_URI="mirror://berlios/mirageiv/${P}.tar.bz2" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~x86-fbsd" +IUSE="" + +RDEPEND="x11-libs/libX11 + >=dev-python/pygtk-2.12:2[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + sys-devel/gettext + !media-plugins/banshee-mirage" + +PATCHES=( "${FILESDIR}"/${PN}-0.9.3-stop_cleaning_up.patch ) + +src_install() { + distutils-r1_src_install + local XDOCS="COPYING CHANGELOG README TODO TRANSLATORS" + local x + for x in ${XDOCS}; do + rm -f "${D}"/usr/share/mirage/${x} + done +} diff --git a/media-gfx/mirage/mirage-0.9.5.2.ebuild b/media-gfx/mirage/mirage-0.9.5.2.ebuild new file mode 100644 index 000000000000..6671186aab9d --- /dev/null +++ b/media-gfx/mirage/mirage-0.9.5.2.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=3 + +PYTHON_DEPEND="2:2.6" +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="2.[45] 3.* *-jython" + +inherit distutils eutils + +DESCRIPTION="A fast and simple image viewer based on python and GTK+" +HOMEPAGE="http://mirageiv.berlios.de/" +SRC_URI="mirror://berlios/mirageiv/${P}.tar.bz2" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~x86-fbsd" +IUSE="" + +RDEPEND="x11-libs/libX11 + >=dev-python/pygtk-2.12:2" +DEPEND="${RDEPEND} + sys-devel/gettext + !media-plugins/banshee-mirage" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-0.9.3-stop_cleaning_up.patch + distutils_src_prepare +} + +src_install() { + local DOCS="CHANGELOG README TODO TRANSLATORS" + distutils_src_install + + rm -f "${D}"/usr/share/mirage/COPYING + + local x + for x in ${DOCS}; do + rm -f "${D}"/usr/share/mirage/${x} + done +} |