From e3d40e6d354fbdd02123c17ae37750134877f29d Mon Sep 17 00:00:00 2001 From: Dane Smith Date: Fri, 16 Jul 2010 21:45:06 -0400 Subject: Intial commit for my public overlay. All working projects. --- app-backup/nssbackup/nssbackup-0.2.1.ebuild | 55 +++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 app-backup/nssbackup/nssbackup-0.2.1.ebuild (limited to 'app-backup/nssbackup/nssbackup-0.2.1.ebuild') diff --git a/app-backup/nssbackup/nssbackup-0.2.1.ebuild b/app-backup/nssbackup/nssbackup-0.2.1.ebuild new file mode 100644 index 0000000..2e5f45b --- /dev/null +++ b/app-backup/nssbackup/nssbackup-0.2.1.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +SUPPORT_PYTHON_ABIS="1" +PYTHON_DEPEND="2:2.5" + +inherit distutils python versionator + +MY_PV=$(get_version_component_range 1-2) + +DESCRIPTION="Fork of the sbackup project with better user interaction" +HOMEPAGE="https://launchpad.net/nssbackup" +SRC_URI="http://launchpad.net/${PN}/${MY_PV}/${MY_PV}/+download/${PN}_${PV}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DOCS="HACKING" + +DEPEND="dev-python/setuptools" +RDEPEND="dev-python/notify-python + dev-python/pexpect + dev-python/pygtk + net-fs/curlftpfs + sys-devel/gettext + sys-fs/fuse + sys-fs/sshfs-fuse" + +RESTRICT_PYTHON_ABIS="3.*" + +src_compile(){ + emake DISTDIR=/usr PREFIX=/usr || die + distutils_src_compile +} + +src_install(){ + local script + + distutils_src_install + cd scripts || die + for script in *.py; do + newbin ${script} ${script/.py/} || die + done +} + +pkg_postinst(){ + elog + elog "If you want better gnome integration you may" + elog "wish to install dev-python/gnome-python" + elog + +} -- cgit v1.2.3-65-gdbad