mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
net-fs/s3ql: remove old
This commit is contained in:
@@ -1,10 +1 @@
|
||||
DIST s3ql-1.19.tar.bz2 641689 BLAKE2B d9b878b79d60a02de652898e080bdeed8df09d6d3414e51030b09f941044ec00bc7819085370398f054baf78f834cc103e0a77cabab379ecf0ef55f105f6bc7c SHA512 5751f4d21abdc3996d877785bb07752fca75ec60ad716a102f666b5329e9b225519c4365c93031e056db78e3bffc80a7a1afe227c375e1c19e35b8bdffe5a0bf
|
||||
DIST s3ql-2.11.1.tar.bz2 897259 BLAKE2B 58aa0a166084d209a553f21a05dc6aa1e896ebd85f36e49dcb4580ad44f15b3ddf87ff2459a4fdf301955abaf277a118803aa154d78304378815c3606e918818 SHA512 72e873f0d23dd86ca5f7a65809189225feff0f6f14bb046dcc8117f3eb725c3327408fe504ffd80566d70bad620b5f5c34174784f1d318bf1f7e6abf4edcb1a7
|
||||
DIST s3ql-2.11.tar.bz2 867710 BLAKE2B 2a0db6ac704691ed909ceb952dfd1d2dd6609b7d0cc8160deae2a3947717811b3dac9096ec0b5970d0c978b20d7cf9f27ed6c2803698d8b0c3498c8ba8dd3c57 SHA512 86f3cb3294f38ab25ddf593dae2ea36af6d4df8871e15b3c99bddd7c8c5c038ab5cd0adaf067afb508dd3f7e163e8b86ab7994f2401cf33543cdeb43bc9fdb9d
|
||||
DIST s3ql-2.12.tar.bz2 906837 BLAKE2B af86076647918a85d07536a34c0a045e2d77e1bcedc5a1b79009870dfcc21e2d23a0b8d962c4ce8c9c877013465f20d30db0500002d7bd098e2036fb8d427a11 SHA512 51c90a983a6b076fd70468406e6a1c74592b85458068bc07325d43b75d1ca50fb80694fcab83e6c41a1e3ac8209a203716624971be1cecc9cad75a8f3f4761d9
|
||||
DIST s3ql-2.14.tar.bz2 907415 BLAKE2B 72648f2f28981cf585e6b978197b92f4ae3843561f205ff4639db15a64777989434786d26a0a39ca2fdf42fec1875767e944821be53a7843b03c92c1eb7e432f SHA512 8ada75934e438928bca03f59fc6b08f013887dfc926bfe1069108cf9172c1fbf20229db4c6248022b9af1e7f52ec9cf1ab536acddcc8993ca55f59a7be43c218
|
||||
DIST s3ql-2.17.1.tar.bz2 957313 BLAKE2B 1849cabd1cf0d88c6ee9474b67d5294cfb83cbf3847be45316c2ffe4732548d01592044086a1a44e07a8eb25ad0fae5e075875d650ac7159c7de262a7c471218 SHA512 dd2c16dd30c0f103e0cdd42329b2cf242dad7edf2aed773746a8e00cbfd3e4735174293347fa68bceacb2a8379099356b32b2c35e9f1c2524740e92929185611
|
||||
DIST s3ql-2.20.tar.bz2 726268 BLAKE2B 5751b7c8c68ca52fc98f1929fc50fc1967005fe80c61046950f62d86301a0e6e602cef6bf4c692bbfb55c10e6f6f95eb73ff73b8396e26f512c234344e2171f3 SHA512 a5a25a7b02c3d7bf5f87ad0130d24b8e0b95f20a269d74b35edeaec1a47011e30a3d1416c3d8332075be82dc09733321da8e7e4200893d893f37d1e4970cf7fb
|
||||
DIST s3ql-2.21.tar.bz2 726450 BLAKE2B 74d70d687e1b67f5b758c04cc8b4073575c04871908b6c5b9f259c0146c5829777867e45d4eaa2cb8be97fb5dc74faee6c0ed4db769068817d78ecefd62b948f SHA512 2aa5324d529feb73d9c562f42d5bcb49e4c605315e032924bec8005ee6cba24b8bd100a8ca6ab559dde4e7d4b25db9458b49bd8421bfeb74609ce32a6cdf7055
|
||||
DIST s3ql-2.23.tar.bz2 770488 BLAKE2B 44d7b0e67397db187932f7561bbaffab6e1a579919ff5024de2272d5a0c484213d6aa6a6727e74a98eac49e506e50bdec70e60ab413cf97004588fba508c7a88 SHA512 99863394002c5f941e1e8dabce606703a20a2614e316484c9d5b3de774ff2864284911283573dcebbcd10c4a3aefc1a3c12f1ae511af3f0c42be88ba8f6f1f7d
|
||||
DIST s3ql-2.24.tar.bz2 773766 BLAKE2B e780bc7d3376241d9b04ba0b09b064050f1ecaf22a44eac6e793ac4a01cc0ae7c44f1c40d39cc2984bb62f52dac9b55be22cfc63309dc4af4a1f93784303865f SHA512 20f32fcde425e2e5f07f1b52a5399bc6c1aaf8d6ad866e3496f7608a590f6a9bfa2ccf7c0ee18be7e8d6e374d1a2679ae72c5438775ca3b0b0c214735d26c9dc
|
||||
|
||||
@@ -1,75 +0,0 @@
|
||||
https://bitbucket.org/nikratio/s3ql/issues/190/sq3l-should-not-rely-on-xmlns-declarations
|
||||
https://bitbucket.org/nikratio/s3ql/pull-requests/5/s3c-be-more-lenient-about-xml-namespaces
|
||||
|
||||
--- s3ql-2.14/src/s3ql/backends/s3c.py 2015-07-20 19:41:07.000000000 -0700
|
||||
+++ s3ql-2.14/src/s3ql/backends/s3c.py 2016-01-21 22:41:33.000000000 -0800
|
||||
@@ -126,6 +126,15 @@
|
||||
conn.timeout = int(self.options.get('tcp-timeout', 20))
|
||||
return conn
|
||||
|
||||
+ @staticmethod
|
||||
+ def _tag_xmlns_uri(elem):
|
||||
+ '''Extract the XML namespace (xmlns) URI from an element'''
|
||||
+ if elem.tag[0] == '{':
|
||||
+ uri, ignore, tag = elem.tag[1:].partition("}")
|
||||
+ else:
|
||||
+ uri = None
|
||||
+ return uri
|
||||
+
|
||||
# This method is also used implicitly for the retry handling of
|
||||
# `gs.Backend._get_access_token`. When modifying this method, do not forget
|
||||
# to check if this makes it unsuitable for use by `_get_access_token` (in
|
||||
@@ -215,7 +224,6 @@
|
||||
keys_remaining = True
|
||||
marker = self.prefix + start_after
|
||||
prefix = self.prefix + prefix
|
||||
- ns_p = self.xml_ns_prefix
|
||||
|
||||
while keys_remaining:
|
||||
log.debug('requesting with marker=%s', marker)
|
||||
@@ -232,16 +240,27 @@
|
||||
try:
|
||||
itree = iter(ElementTree.iterparse(self.conn, events=("start", "end")))
|
||||
(event, root) = next(itree)
|
||||
+
|
||||
+ root_xmlns_uri = self._tag_xmlns_uri(root)
|
||||
+ if root_xmlns_uri is None:
|
||||
+ root_xmlns_prefix = ''
|
||||
+ else:
|
||||
+ # Validate the XML namespace
|
||||
+ root_xmlns_prefix = '{%s}' % (root_xmlns_uri, )
|
||||
+ if root_xmlns_prefix != self.xml_ns_prefix:
|
||||
+ log.error('Unexpected server reply to list operation:\n%s',
|
||||
+ self._dump_response(resp, body=None))
|
||||
+ raise RuntimeError('List response has %s as root tag, unknown namespace' % root.tag)
|
||||
|
||||
for (event, el) in itree:
|
||||
if event != 'end':
|
||||
continue
|
||||
|
||||
- if el.tag == ns_p + 'IsTruncated':
|
||||
+ if el.tag == root_xmlns_prefix + 'IsTruncated':
|
||||
keys_remaining = (el.text == 'true')
|
||||
|
||||
- elif el.tag == ns_p + 'Contents':
|
||||
- marker = el.findtext(ns_p + 'Key')
|
||||
+ elif el.tag == root_xmlns_prefix + 'Contents':
|
||||
+ marker = el.findtext(root_xmlns_prefix + 'Key')
|
||||
yield marker[len(self.prefix):]
|
||||
root.clear()
|
||||
|
||||
@@ -404,9 +423,12 @@
|
||||
return
|
||||
body = self.conn.readall()
|
||||
root = self._parse_xml_response(resp, body)
|
||||
- if root.tag == self.xml_ns_prefix + 'CopyObjectResult':
|
||||
+
|
||||
+ # Some S3 implemenentations do not have a namespace on
|
||||
+ # CopyObjectResult.
|
||||
+ if root.tag in [self.xml_ns_prefix + 'CopyObjectResult', 'CopyObjectResult']:
|
||||
return
|
||||
- elif root.tag == 'Error':
|
||||
+ elif root.tag in [self.xml_ns_prefix + 'Error', 'Error']:
|
||||
raise get_S3Error(root.findtext('Code'), root.findtext('Message'),
|
||||
resp.headers)
|
||||
else:
|
||||
@@ -1,60 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A full-featured file system for online data storage"
|
||||
HOMEPAGE="https://bitbucket.org/nikratio/s3ql/"
|
||||
SRC_URI="https://www.bitbucket.org/nikratio/s3ql/downloads/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="contrib doc test"
|
||||
|
||||
RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
>=dev-python/apsw-3.7.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/llfuse-0.37[${PYTHON_USEDEP}]
|
||||
dev-python/pycryptopp[${PYTHON_USEDEP}]
|
||||
dev-python/pyliblzma[${PYTHON_USEDEP}]
|
||||
sys-fs/fuse"
|
||||
DEPEND="${RDEPEND}
|
||||
test? (
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
net-misc/rsync[xattr]
|
||||
)"
|
||||
|
||||
python_prepare_all() {
|
||||
# use system setuptools
|
||||
sed -i '/use_setuptools/d' setup.py || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
if [[ ${EUID} -ne 0 ]] ; then
|
||||
ewarn "Skipping tests: root privileges are required so userpriv must be disabled"
|
||||
else
|
||||
addwrite /dev/fuse
|
||||
esetup.py test
|
||||
fi
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
|
||||
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
|
||||
}
|
||||
@@ -1,54 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python3_4 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A full-featured file system for online data storage"
|
||||
HOMEPAGE="https://bitbucket.org/nikratio/s3ql/"
|
||||
SRC_URI="https://www.bitbucket.org/nikratio/s3ql/downloads/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="contrib doc test"
|
||||
|
||||
RDEPEND=">=dev-db/sqlite-3.7.0:3
|
||||
dev-python/defusedxml[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
>=dev-python/apsw-3.7.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/dugong-3.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/llfuse-0.39[${PYTHON_USEDEP}]
|
||||
dev-python/pycrypto[${PYTHON_USEDEP}]
|
||||
dev-python/requests[${PYTHON_USEDEP}]
|
||||
sys-fs/fuse"
|
||||
DEPEND="${RDEPEND}
|
||||
test? (
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
net-misc/rsync[xattr]
|
||||
)"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
python_test() {
|
||||
addwrite /dev/fuse
|
||||
py.test -v tests || die "Tests fail with ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
|
||||
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
|
||||
}
|
||||
@@ -1,54 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python3_4 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A full-featured file system for online data storage"
|
||||
HOMEPAGE="https://bitbucket.org/nikratio/s3ql/"
|
||||
SRC_URI="https://www.bitbucket.org/nikratio/s3ql/downloads/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="contrib doc test"
|
||||
|
||||
RDEPEND=">=dev-db/sqlite-3.7.0:3
|
||||
dev-python/defusedxml[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
>=dev-python/apsw-3.7.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/dugong-3.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/llfuse-0.39[${PYTHON_USEDEP}]
|
||||
dev-python/pycrypto[${PYTHON_USEDEP}]
|
||||
dev-python/requests[${PYTHON_USEDEP}]
|
||||
sys-fs/fuse"
|
||||
DEPEND="${RDEPEND}
|
||||
test? (
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
net-misc/rsync[xattr]
|
||||
)"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
python_test() {
|
||||
addwrite /dev/fuse
|
||||
py.test -v tests || die "Tests fail with ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
|
||||
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
|
||||
}
|
||||
@@ -1,54 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python3_4 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A full-featured file system for online data storage"
|
||||
HOMEPAGE="https://bitbucket.org/nikratio/s3ql/"
|
||||
SRC_URI="https://www.bitbucket.org/nikratio/s3ql/downloads/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="contrib doc test"
|
||||
|
||||
RDEPEND=">=dev-db/sqlite-3.7.0:3
|
||||
dev-python/defusedxml[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
>=dev-python/apsw-3.7.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/dugong-3.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/llfuse-0.39[${PYTHON_USEDEP}]
|
||||
dev-python/pycrypto[${PYTHON_USEDEP}]
|
||||
dev-python/requests[${PYTHON_USEDEP}]
|
||||
sys-fs/fuse"
|
||||
DEPEND="${RDEPEND}
|
||||
test? (
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
net-misc/rsync[xattr]
|
||||
)"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
python_test() {
|
||||
addwrite /dev/fuse
|
||||
py.test -v tests || die "Tests fail with ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
|
||||
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
|
||||
}
|
||||
@@ -1,58 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python3_4 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A full-featured file system for online data storage"
|
||||
HOMEPAGE="https://bitbucket.org/nikratio/s3ql/"
|
||||
SRC_URI="https://www.bitbucket.org/nikratio/s3ql/downloads/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="contrib doc test"
|
||||
|
||||
RDEPEND=">=dev-db/sqlite-3.7.0:3
|
||||
dev-python/defusedxml[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
>=dev-python/apsw-3.7.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/dugong-3.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/llfuse-0.39[${PYTHON_USEDEP}]
|
||||
dev-python/pycrypto[${PYTHON_USEDEP}]
|
||||
dev-python/requests[${PYTHON_USEDEP}]
|
||||
sys-fs/fuse"
|
||||
DEPEND="${RDEPEND}
|
||||
test? (
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
net-misc/rsync[xattr]
|
||||
)"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
python_test() {
|
||||
addwrite /dev/fuse
|
||||
py.test -v tests || die "Tests fail with ${EPYTHON}"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/s3ql-2.14-ceph.patch
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
|
||||
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
|
||||
}
|
||||
@@ -1,54 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python3_4 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A full-featured file system for online data storage"
|
||||
HOMEPAGE="https://bitbucket.org/nikratio/s3ql/"
|
||||
SRC_URI="https://www.bitbucket.org/nikratio/s3ql/downloads/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="contrib doc test"
|
||||
|
||||
RDEPEND=">=dev-db/sqlite-3.7.0:3
|
||||
dev-python/defusedxml[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
>=dev-python/apsw-3.7.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/dugong-3.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/llfuse-0.39[${PYTHON_USEDEP}]
|
||||
dev-python/pycrypto[${PYTHON_USEDEP}]
|
||||
dev-python/requests[${PYTHON_USEDEP}]
|
||||
sys-fs/fuse"
|
||||
DEPEND="${RDEPEND}
|
||||
test? (
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
net-misc/rsync[xattr]
|
||||
)"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
python_test() {
|
||||
addwrite /dev/fuse
|
||||
py.test -v tests || die "Tests fail with ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
|
||||
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
|
||||
}
|
||||
@@ -1,54 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python3_{4,5} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A full-featured file system for online data storage"
|
||||
HOMEPAGE="https://bitbucket.org/nikratio/s3ql/"
|
||||
SRC_URI="https://www.bitbucket.org/nikratio/s3ql/downloads/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="contrib doc test"
|
||||
|
||||
RDEPEND=">=dev-db/sqlite-3.7.0:3
|
||||
dev-python/defusedxml[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
>=dev-python/apsw-3.7.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/dugong-3.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/llfuse-1.0[${PYTHON_USEDEP}]
|
||||
dev-python/pycrypto[${PYTHON_USEDEP}]
|
||||
dev-python/requests[${PYTHON_USEDEP}]
|
||||
sys-fs/fuse"
|
||||
DEPEND="${RDEPEND}
|
||||
test? (
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
net-misc/rsync[xattr]
|
||||
)"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
python_test() {
|
||||
addwrite /dev/fuse
|
||||
py.test -v tests || die "Tests fail with ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
|
||||
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
|
||||
}
|
||||
@@ -1,54 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
PYTHON_COMPAT=( python3_{4,5} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A full-featured file system for online data storage"
|
||||
HOMEPAGE="https://bitbucket.org/nikratio/s3ql/"
|
||||
SRC_URI="https://www.bitbucket.org/nikratio/s3ql/downloads/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="contrib doc test"
|
||||
|
||||
RDEPEND=">=dev-db/sqlite-3.7.0:3
|
||||
dev-python/defusedxml[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
>=dev-python/apsw-3.7.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/dugong-3.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/llfuse-1.0[${PYTHON_USEDEP}]
|
||||
dev-python/pycrypto[${PYTHON_USEDEP}]
|
||||
dev-python/requests[${PYTHON_USEDEP}]
|
||||
sys-fs/fuse"
|
||||
DEPEND="${RDEPEND}
|
||||
test? (
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
net-misc/rsync[xattr]
|
||||
)"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
python_test() {
|
||||
addwrite /dev/fuse
|
||||
py.test -v tests || die "Tests fail with ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
|
||||
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
|
||||
dodoc -r doc/html
|
||||
fi
|
||||
}
|
||||
@@ -1,54 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
PYTHON_COMPAT=( python3_{4,5,6} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A full-featured file system for online data storage"
|
||||
HOMEPAGE="https://bitbucket.org/nikratio/s3ql/"
|
||||
SRC_URI="https://www.bitbucket.org/nikratio/s3ql/downloads/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="contrib doc test"
|
||||
|
||||
RDEPEND=">=dev-db/sqlite-3.7.0:3
|
||||
dev-python/defusedxml[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
>=dev-python/apsw-3.7.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/dugong-3.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/llfuse-1.0[${PYTHON_USEDEP}]
|
||||
dev-python/pycrypto[${PYTHON_USEDEP}]
|
||||
dev-python/requests[${PYTHON_USEDEP}]
|
||||
sys-fs/fuse"
|
||||
DEPEND="${RDEPEND}
|
||||
test? (
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
net-misc/rsync[xattr]
|
||||
)"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
python_test() {
|
||||
addwrite /dev/fuse
|
||||
py.test -v tests || die "Tests fail with ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
|
||||
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
|
||||
dodoc -r doc/html
|
||||
fi
|
||||
}
|
||||
@@ -1,54 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
PYTHON_COMPAT=( python3_{4,5,6} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A full-featured file system for online data storage"
|
||||
HOMEPAGE="https://bitbucket.org/nikratio/s3ql/"
|
||||
SRC_URI="https://www.bitbucket.org/nikratio/s3ql/downloads/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="contrib doc test"
|
||||
|
||||
RDEPEND=">=dev-db/sqlite-3.7.0:3
|
||||
dev-python/defusedxml[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
>=dev-python/apsw-3.7.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/dugong-3.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/llfuse-1.0[${PYTHON_USEDEP}]
|
||||
dev-python/pycrypto[${PYTHON_USEDEP}]
|
||||
dev-python/requests[${PYTHON_USEDEP}]
|
||||
sys-fs/fuse"
|
||||
DEPEND="${RDEPEND}
|
||||
test? (
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
net-misc/rsync[xattr]
|
||||
)"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
python_test() {
|
||||
addwrite /dev/fuse
|
||||
py.test -v tests || die "Tests fail with ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
|
||||
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
|
||||
dodoc -r doc/html
|
||||
fi
|
||||
}
|
||||
Reference in New Issue
Block a user