| 1 |
# Copyright 1999-2013 Gentoo Foundation
|
| 2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
# $Header: /var/cvsroot/gentoo-x86/app-backup/duplicity/duplicity-0.6.20.ebuild,v 1.3 2013/01/16 15:01:32 ago Exp $
|
| 4 |
|
| 5 |
EAPI="4"
|
| 6 |
|
| 7 |
PYTHON_DEPEND="2"
|
| 8 |
SUPPORT_PYTHON_ABIS="1"
|
| 9 |
RESTRICT_PYTHON_ABIS="3.* *-jython 2.7-pypy-*"
|
| 10 |
|
| 11 |
inherit distutils
|
| 12 |
|
| 13 |
DESCRIPTION="Secure backup system using gnupg to encrypt data"
|
| 14 |
HOMEPAGE="http://www.nongnu.org/duplicity/"
|
| 15 |
SRC_URI="http://code.launchpad.net/${PN}/0.6-series/${PV}/+download/${P}.tar.gz"
|
| 16 |
|
| 17 |
LICENSE="GPL-3"
|
| 18 |
SLOT="0"
|
| 19 |
KEYWORDS="amd64 ppc ~sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
|
| 20 |
IUSE="s3"
|
| 21 |
|
| 22 |
DEPEND="
|
| 23 |
net-libs/librsync
|
| 24 |
app-crypt/gnupg
|
| 25 |
"
|
| 26 |
RDEPEND="${DEPEND}
|
| 27 |
dev-python/paramiko
|
| 28 |
>=dev-python/pexpect-2.1
|
| 29 |
>=dev-python/py-gnupg-0.3.2
|
| 30 |
s3? ( dev-python/boto )
|
| 31 |
"
|
| 32 |
|
| 33 |
src_prepare() {
|
| 34 |
distutils_src_prepare
|
| 35 |
sed -i -r "s/'COPYING',//" setup.py || die "Couldn't remove unnecessary COPYING file."
|
| 36 |
}
|