From cbe33ec5067669e2476296c91443d6fcc6600157 Mon Sep 17 00:00:00 2001 From: Elijah El Lazkani Date: Thu, 28 Jun 2012 00:56:50 -0400 Subject: IMPORTANT: Bumped python packages, changed installation directory for python packages... --- .../subdownloader/subdownloader-2.0.14-r1.ebuild | 32 +++++++++++++++ .../gnome-connection-manager-1.0.0-r1.ebuild | 45 ++++++++++++++++++++++ 2 files changed, 77 insertions(+) create mode 100644 media-video/subdownloader/subdownloader-2.0.14-r1.ebuild create mode 100644 net-misc/gnome-connection-manager/gnome-connection-manager-1.0.0-r1.ebuild diff --git a/media-video/subdownloader/subdownloader-2.0.14-r1.ebuild b/media-video/subdownloader/subdownloader-2.0.14-r1.ebuild new file mode 100644 index 0000000..f8e5b09 --- /dev/null +++ b/media-video/subdownloader/subdownloader-2.0.14-r1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=4 + +inherit python eutils + +DESCRIPTION="GUI application for automatic downloading/uploading of subtitles for videofiles" +HOMEPAGE="http://www.subdownloader.net/" +SRC_URI="http://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND=" + dev-python/PyQt4 + dev-python/kaa-metadata" +RDEPEND="${DEPEND}" + +src_install() { + insinto /usr/share/"${PN}" + doins -r cli FileManagement gui languages locale modules run.py + fperms 755 /usr/share/"${PN}"/run.py + dosym /usr/share/"${PN}"/run.py /usr/bin/"${PN}" + doman subdownloader.1 + dodoc README ChangeLog + doicon gui/images/subdownloader.png + domenu subdownloader.desktop +} diff --git a/net-misc/gnome-connection-manager/gnome-connection-manager-1.0.0-r1.ebuild b/net-misc/gnome-connection-manager/gnome-connection-manager-1.0.0-r1.ebuild new file mode 100644 index 0000000..945e58a --- /dev/null +++ b/net-misc/gnome-connection-manager/gnome-connection-manager-1.0.0-r1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=4 +PYTHON_DEPEND="2" + +inherit python eutils + +DESCRIPTION="Gnome Connection Manager is a tabbed ssh connection manager for gtk" +HOMEPAGE="http://kuthulu.com/gcm/" +SRC_URI="http://kuthulu.com/gcm/gnome-connection-manager_${PV}_all.tgz -> ${P}.tgz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +# DEPEND=" +# dev-python/pygtk +# dev-tcltk/expect +# dev-util/glade[python] +# gnome-base/libglade:2.0 +# net-misc/openssh +# x11-libs/vte[python]" +# RDEPEND="${DEPEND}" + +S="${WORKDIR}"/gcm-"${PV}" + +src_prepare() { + sed -i "s|BASE_PATH = os.path.*|BASE_PATH = '/usr/$(get_libdir)/"${PN}"'|" gnome_connection_manager.py || die "Can not apply patch to BASE_PATH" + sed -i "s|glade_dir = \"\"|glade_dir = BASE_PATH|" gnome_connection_manager.py || die "Can not apply patch to glade_dir" + sed -i "s|env python\s*$|env python2|" gnome_connection_manager.py || die "Can not apply patch to python" +} + +src_install() { + insinto /usr/share/"${PN}" + doins -r donate.gif gnome-connection-manager.glade \ + gnome_connection_manager.py lang pyAES.py \ + SimpleGladeApp.py SimpleGladeApp.pyc ssh.expect + fperms 755 /usr/share/"${PN}"/gnome_connection_manager.py + dosym /usr/share/"${PN}"/gnome_connection_manager.py /usr/bin/"${PN}" + newdoc README.txt README + doicon icon.png +} -- cgit v1.2.3-65-gdbad