diff options
-rw-r--r-- | sys-fs/s3ql/ChangeLog | 9 | ||||
-rw-r--r-- | sys-fs/s3ql/s3ql-1.9.ebuild | 59 |
2 files changed, 66 insertions, 2 deletions
diff --git a/sys-fs/s3ql/ChangeLog b/sys-fs/s3ql/ChangeLog index 1ceb371e7580..988a9a029c71 100644 --- a/sys-fs/s3ql/ChangeLog +++ b/sys-fs/s3ql/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-fs/s3ql -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/s3ql/ChangeLog,v 1.2 2011/12/08 10:20:11 radhermit Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-fs/s3ql/ChangeLog,v 1.3 2012/01/22 09:54:06 radhermit Exp $ + +*s3ql-1.9 (22 Jan 2012) + + 22 Jan 2012; Tim Harder <radhermit@gentoo.org> +s3ql-1.9.ebuild: + Version bump. 08 Dec 2011; Tim Harder <radhermit@gentoo.org> s3ql-1.8.1.ebuild: Make test skipping message more descriptive. diff --git a/sys-fs/s3ql/s3ql-1.9.ebuild b/sys-fs/s3ql/s3ql-1.9.ebuild new file mode 100644 index 000000000000..374b5c0fff3e --- /dev/null +++ b/sys-fs/s3ql/s3ql-1.9.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-fs/s3ql/s3ql-1.9.ebuild,v 1.1 2012/01/22 09:54:06 radhermit Exp $ + +EAPI="4" + +PYTHON_DEPEND="2" +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="3.*" +DISTUTILS_SRC_TEST="setup.py" + +inherit distutils + +DESCRIPTION="A full-featured file system for online data storage" +HOMEPAGE="http://code.google.com/p/s3ql/" +SRC_URI="http://s3ql.googlecode.com/files/${P}.tar.bz2" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="contrib doc test" + +RDEPEND="dev-python/setuptools + >=dev-python/apsw-3.7.0 + >=dev-python/llfuse-0.37 + dev-python/pycryptopp + dev-python/pyliblzma + || ( >=dev-lang/python-2.7 dev-python/argparse ) + sys-fs/fuse" +DEPEND="${RDEPEND} + test? ( + net-misc/rsync[xattr] + dev-python/unittest2 + )" + +src_test() { + if [[ ${EUID} -ne 0 ]] ; then + ewarn "Skipping tests: root privileges are required so userpriv must be disabled" + else + addwrite /dev/fuse + distutils_src_test + fi +} + +src_install() { + distutils_src_install + + if use contrib ; then + exeinto /usr/share/doc/${PF}/contrib + docompress -x /usr/share/doc/${PF}/contrib + doexe contrib/*.{py,sh} + doman contrib/*.1 + fi + + if use doc ; then + dodoc doc/manual.pdf + dohtml -r doc/html/* + fi +} |