From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- net-fs/s3ql/Manifest | 22 ++++++++++ net-fs/s3ql/files/s3ql-2.14-ceph.patch | 75 ++++++++++++++++++++++++++++++++++ net-fs/s3ql/metadata.xml | 15 +++++++ net-fs/s3ql/s3ql-1.19.ebuild | 60 +++++++++++++++++++++++++++ net-fs/s3ql/s3ql-2.11.1.ebuild | 54 ++++++++++++++++++++++++ net-fs/s3ql/s3ql-2.11.ebuild | 54 ++++++++++++++++++++++++ net-fs/s3ql/s3ql-2.12.ebuild | 54 ++++++++++++++++++++++++ net-fs/s3ql/s3ql-2.14-r1.ebuild | 58 ++++++++++++++++++++++++++ net-fs/s3ql/s3ql-2.14.ebuild | 54 ++++++++++++++++++++++++ net-fs/s3ql/s3ql-2.17.1.ebuild | 54 ++++++++++++++++++++++++ net-fs/s3ql/s3ql-2.20.ebuild | 54 ++++++++++++++++++++++++ net-fs/s3ql/s3ql-2.21.ebuild | 54 ++++++++++++++++++++++++ net-fs/s3ql/s3ql-2.23.ebuild | 54 ++++++++++++++++++++++++ 13 files changed, 662 insertions(+) create mode 100644 net-fs/s3ql/Manifest create mode 100644 net-fs/s3ql/files/s3ql-2.14-ceph.patch create mode 100644 net-fs/s3ql/metadata.xml create mode 100644 net-fs/s3ql/s3ql-1.19.ebuild create mode 100644 net-fs/s3ql/s3ql-2.11.1.ebuild create mode 100644 net-fs/s3ql/s3ql-2.11.ebuild create mode 100644 net-fs/s3ql/s3ql-2.12.ebuild create mode 100644 net-fs/s3ql/s3ql-2.14-r1.ebuild create mode 100644 net-fs/s3ql/s3ql-2.14.ebuild create mode 100644 net-fs/s3ql/s3ql-2.17.1.ebuild create mode 100644 net-fs/s3ql/s3ql-2.20.ebuild create mode 100644 net-fs/s3ql/s3ql-2.21.ebuild create mode 100644 net-fs/s3ql/s3ql-2.23.ebuild (limited to 'net-fs/s3ql') diff --git a/net-fs/s3ql/Manifest b/net-fs/s3ql/Manifest new file mode 100644 index 000000000000..33a1c3a4be53 --- /dev/null +++ b/net-fs/s3ql/Manifest @@ -0,0 +1,22 @@ +AUX s3ql-2.14-ceph.patch 3323 SHA256 5c8f108a2ede6c831687edcc6eb2fc205db0ab865d8c1dbfbcd3c271bf6bf240 SHA512 cead3e2ab677d25a892ba834a0f18162843849f623fbb9be67798059518b7984aa3abecd5572371a188fb6e00534c6d6006147b0f98c32025567f794510f5b37 WHIRLPOOL 80921c49a97cf97b3c88548a40dd85f8c1b641738852334f6e0fb2535e8dd9603324d8b6742c4be75723c1e363f6b490699def8cbfde0242ff3e176b6d824eca +DIST s3ql-1.19.tar.bz2 641689 SHA256 280271c156d027583ba4aa94c2fd189c3d63dd833cd4fd3c5c84bf97cb2d96c7 SHA512 5751f4d21abdc3996d877785bb07752fca75ec60ad716a102f666b5329e9b225519c4365c93031e056db78e3bffc80a7a1afe227c375e1c19e35b8bdffe5a0bf WHIRLPOOL e7025a95cf9aaf48ec7a7091e0d91cca1f8d15cf62901cbf9fb853b4c3b09ffe9e4ca6b1added432825c3dccec398ff31c85fba9375a72fd489bffcbf0f3c399 +DIST s3ql-2.11.1.tar.bz2 897259 SHA256 15c09a7b733d2b7a0eced31f0bfc4b423f27c70b5f20ce47d2f2ab270a829560 SHA512 72e873f0d23dd86ca5f7a65809189225feff0f6f14bb046dcc8117f3eb725c3327408fe504ffd80566d70bad620b5f5c34174784f1d318bf1f7e6abf4edcb1a7 WHIRLPOOL a59c4c3735081e21dc103dbf531c162bfcaa7fae45b7d8ef81e5dadeaf24588fed1cfc913643c64bc39e52df47f1a21d2b8f4920cdb2632f1053ae4cc7ff9363 +DIST s3ql-2.11.tar.bz2 867710 SHA256 bfa893ffbe26f3b3480c6e60664ca33af3c3d65b05767b759d5ed6b580c57b3e SHA512 86f3cb3294f38ab25ddf593dae2ea36af6d4df8871e15b3c99bddd7c8c5c038ab5cd0adaf067afb508dd3f7e163e8b86ab7994f2401cf33543cdeb43bc9fdb9d WHIRLPOOL a4e01f0971e687da594d1c106866cf05b7010e56091c6ddad635039d455a7c8973a6fb37de1ffa71efd1b314cbd533ac380c8b508e7e4e9c752a40300f1d9126 +DIST s3ql-2.12.tar.bz2 906837 SHA256 1b8c727fe2490328ba880218c57e29b2c3376600e529f576629c443a5b7c8b81 SHA512 51c90a983a6b076fd70468406e6a1c74592b85458068bc07325d43b75d1ca50fb80694fcab83e6c41a1e3ac8209a203716624971be1cecc9cad75a8f3f4761d9 WHIRLPOOL d5225a104c7b02fe0a17a86ad6f48eeb17265aa74a2de793829b5a3b84a3d60ec5039839f801a1c8648f58e5007ba021ca949a7384842993f2b4a3e3e06f4393 +DIST s3ql-2.14.tar.bz2 907415 SHA256 2f4e4bb27b2ad5eb8d2f1ab8c7c5a643a031dee635b582bad77b4348f747098f SHA512 8ada75934e438928bca03f59fc6b08f013887dfc926bfe1069108cf9172c1fbf20229db4c6248022b9af1e7f52ec9cf1ab536acddcc8993ca55f59a7be43c218 WHIRLPOOL faa06a2b637f58167e810bbb4a61942cbecac83c741e2adbbc9ce728edf5f202e6d78565f5d2e4b9ebad90629c698db8a578049b174578401b6544e8d2c87c3b +DIST s3ql-2.17.1.tar.bz2 957313 SHA256 fddd00f576048b25eb4263c6c07acb500f6203a0e2e59336d947453ff7be3b11 SHA512 dd2c16dd30c0f103e0cdd42329b2cf242dad7edf2aed773746a8e00cbfd3e4735174293347fa68bceacb2a8379099356b32b2c35e9f1c2524740e92929185611 WHIRLPOOL ab141c383b9ec933a14d49524586e3d45f3d9bb52396bd6b7ac43929d3ec6595afa642a94b8686170db7d8ceb55b816498098cae22121e963f4ec95a794a3241 +DIST s3ql-2.20.tar.bz2 726268 SHA256 08b7365cc2c0a7ff1f12c8a92aa71b9bd42a0af6d7f17e225f617b85f62e0692 SHA512 a5a25a7b02c3d7bf5f87ad0130d24b8e0b95f20a269d74b35edeaec1a47011e30a3d1416c3d8332075be82dc09733321da8e7e4200893d893f37d1e4970cf7fb WHIRLPOOL f87d49d466a4322ff42d8070063b46072b1878abccef934504f40ce9764f9061e8ff4eb6f8b7681423d47eeba68340e71b6cd0f7575c008bd12279af69f44006 +DIST s3ql-2.21.tar.bz2 726450 SHA256 6db886d9cd0fc54fb7aaf9f88241282097e6242b7a8bd97c6659b0ae57af2ed6 SHA512 2aa5324d529feb73d9c562f42d5bcb49e4c605315e032924bec8005ee6cba24b8bd100a8ca6ab559dde4e7d4b25db9458b49bd8421bfeb74609ce32a6cdf7055 WHIRLPOOL 220666e835650f6017bf275619755bbe7f0d503742a3fca09497a715b56f977d1451549f585fe0630410ea9c8f09181b420d2ae73c5a29736b825286ea133d27 +DIST s3ql-2.23.tar.bz2 770488 SHA256 d8785921d00a44e71bef1cb9b9d3102e3aa0a4f1998d929e364a44b255e9a930 SHA512 99863394002c5f941e1e8dabce606703a20a2614e316484c9d5b3de774ff2864284911283573dcebbcd10c4a3aefc1a3c12f1ae511af3f0c42be88ba8f6f1f7d WHIRLPOOL bb4269ddbb0e85f2979ab10f4186432549fbde19632722bcb95222ebae3705b4c9f897f24e156cff29ec22304835fa1381db75c56dc0fe7affdd636064fe396e +EBUILD s3ql-1.19.ebuild 1350 SHA256 02d4c5de4f6f9b325a5ce1eeea35dc489e97f43043201f493bc6cd9765ed53cd SHA512 5be50b779d5ead6da27f1a4f268dc97436e2cbabc16e3623d382200a1d8dff80a4d2640c58e33951757b66f27af8d5c15c228b1727ea8eb5d49e4e60c86d9462 WHIRLPOOL 464c7c4bb62f21090c2048dabcc782f935b8e069f0f40f8089e20f50ad3d78ddd202e567eca6d4310bf42a353bc918a5f40fad95a9e0b5da5dd58b440397b644 +EBUILD s3ql-2.11.1.ebuild 1255 SHA256 edfa35d3a5270a950b66a72ddadd85dec7b6a13b22179ff0e0584c856afa457f SHA512 0075b0089fe1a778ba2d4d77f5c1ad9c69100c5dbad81ce7481e15f5bd00e6aad739a98bbb3ad123eb1ec30ac9c3c73b087d797d4753706c6aa9f798509e8d8d WHIRLPOOL 6db435a49cddf69e4f4f9095d666ad3cbf36c9ed07b4ce3b1d8dc2f9e41fd771f8da886e812cf305462af055595416dca9ac983750a971f90f3d2d9c4249ff2b +EBUILD s3ql-2.11.ebuild 1255 SHA256 edfa35d3a5270a950b66a72ddadd85dec7b6a13b22179ff0e0584c856afa457f SHA512 0075b0089fe1a778ba2d4d77f5c1ad9c69100c5dbad81ce7481e15f5bd00e6aad739a98bbb3ad123eb1ec30ac9c3c73b087d797d4753706c6aa9f798509e8d8d WHIRLPOOL 6db435a49cddf69e4f4f9095d666ad3cbf36c9ed07b4ce3b1d8dc2f9e41fd771f8da886e812cf305462af055595416dca9ac983750a971f90f3d2d9c4249ff2b +EBUILD s3ql-2.12.ebuild 1255 SHA256 edfa35d3a5270a950b66a72ddadd85dec7b6a13b22179ff0e0584c856afa457f SHA512 0075b0089fe1a778ba2d4d77f5c1ad9c69100c5dbad81ce7481e15f5bd00e6aad739a98bbb3ad123eb1ec30ac9c3c73b087d797d4753706c6aa9f798509e8d8d WHIRLPOOL 6db435a49cddf69e4f4f9095d666ad3cbf36c9ed07b4ce3b1d8dc2f9e41fd771f8da886e812cf305462af055595416dca9ac983750a971f90f3d2d9c4249ff2b +EBUILD s3ql-2.14-r1.ebuild 1317 SHA256 9fd768cc122da5ed091f02d7ba4045af478ca4d5eca4287a48631b668e54c593 SHA512 c15832c2e13a945f06e59521b294a1c101daf3a4b9db1d95f6c915e19384a13525685fc4ac2394d0c157fae7521b5bb9a123da7ca74450fee9d67e55fe4a002a WHIRLPOOL 6cb844b70eb0c920d8294765ee798c5a70dacaf67adbbf049b4e8dd9c68cf798249a91d84645455212d5a244792345c84d714052ae49864f954a44c08fc22cc7 +EBUILD s3ql-2.14.ebuild 1255 SHA256 8deb0504d0620348de988970d16933616de1f3a6718c9de679947b017a9a47a2 SHA512 4cb03ba91c19233ea7bccf93c489f0aa047946ec714b6709a6ef99bbcedff242abf27dc0619e217e1168bf2aed0131e6eff4bdc43ee0083decae79918f2f82fd WHIRLPOOL 244140aa288011840eb5ed2913939f914fff3498e367bd38ad0fe27f8a3926fe23880f93419c3f9624dc2bb3c16f3d9379ce5fd6a433a011b0c8ca6a84b3cc44 +EBUILD s3ql-2.17.1.ebuild 1258 SHA256 1b2a9fa835f87dcffd220365299af4cf17a919bba1bb2a3ed9a1f37bf4aaabfa SHA512 4f6f6cbba1c77e225ee2cc188b91e6ef2a2b342ac716b8ce436fd6fcfbff1b323733a622d49fdf8edef2ba03923566f60f0067d79e668d7e3d162ca3827da2cb WHIRLPOOL 20e22d3ed983c28e66e308f8dd52d71dc3ef52d2abd22374576772057bb807f57f38698db4469c08ff5d3ad4b1c38f8deed84df634dbe5196671cb4c8af34656 +EBUILD s3ql-2.20.ebuild 1255 SHA256 2cf18833ee53c83dee3057f611e53ab216b1b609766d1c92a4ba6f9e8ebfcf51 SHA512 ba52467b66905b9bf3b0792b3a85a3a1bf64738d53ac989bf4b32d68051cfdd6a478f1f136b54e29db07433ca6a4036d795049aa6e47287f7cde578cc3f4607f WHIRLPOOL 3d7c30f3e7b569bed3128b6790c264e912618b4a8fd430519caf79eafaf9fcf8a21e6d16558d3ad4fa3e6ce542735fa02b2239b7f7597b6fd678d408dc1235d8 +EBUILD s3ql-2.21.ebuild 1257 SHA256 c05dc47f46dd7a6f6d0299602fbb5975eb7a2c40d85ab457173d0137d9e8bc9a SHA512 f136079f7cb351cd9bee25f9d78023e187c03dc696664fd66c13af27e33a65815d74744c23163638da7ccbe603621f99acd875dd3e75f32b0f07f0048600c2dc WHIRLPOOL 582417fe824e84be7face87131388776e40a99df9eb5ffd16dd11490b26e1074a65dd95afeeba834ec5e4b5df79533d619da12c0e2f47607b021e1a8a7943813 +EBUILD s3ql-2.23.ebuild 1257 SHA256 c05dc47f46dd7a6f6d0299602fbb5975eb7a2c40d85ab457173d0137d9e8bc9a SHA512 f136079f7cb351cd9bee25f9d78023e187c03dc696664fd66c13af27e33a65815d74744c23163638da7ccbe603621f99acd875dd3e75f32b0f07f0048600c2dc WHIRLPOOL 582417fe824e84be7face87131388776e40a99df9eb5ffd16dd11490b26e1074a65dd95afeeba834ec5e4b5df79533d619da12c0e2f47607b021e1a8a7943813 +MISC ChangeLog 984 SHA256 fd0857fe65a54f44da8ea8da84946e500f45f4a3958d3cb0c7f78c419895825a SHA512 e2b56f004716113127acc91315820ea5bf1f780456534f029605de749db4ff521f59c0f424c4b682260ff95466857963077ac2d2e86bd709869cff16b06df809 WHIRLPOOL e20c0d9a200cd84403fd98d9a114b6e453a8caabaaaea54d22a77772b5dd901f3df7f6a2d8c3df503e7009eade6cf834cd93217881e21e3be86656ea35dbb79e +MISC metadata.xml 463 SHA256 851b066c2e9f94b2cfc5f46e35ee388505b22b441fa1c588dee570c4ad3da4b9 SHA512 7021866874fac865898c724916b0b455f3416351aba40ce8eeef55436e93c8616786be656101bcc693ec0762626e60b44814f9dba788ff5e17b2b22f3daf5f88 WHIRLPOOL d0a78b51376f254994ff331024044f6996a84c2c82fd671c918c9dce95a41b04032eef8f58d6d3b6a483197accfb37bfab5123b3784ff221d7cd0b1923363563 diff --git a/net-fs/s3ql/files/s3ql-2.14-ceph.patch b/net-fs/s3ql/files/s3ql-2.14-ceph.patch new file mode 100644 index 000000000000..f5b4c3b123e5 --- /dev/null +++ b/net-fs/s3ql/files/s3ql-2.14-ceph.patch @@ -0,0 +1,75 @@ +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: diff --git a/net-fs/s3ql/metadata.xml b/net-fs/s3ql/metadata.xml new file mode 100644 index 000000000000..38ca05fddf8f --- /dev/null +++ b/net-fs/s3ql/metadata.xml @@ -0,0 +1,15 @@ + + + + + chutzpah@gentoo.org + Patrick McLean + + + Install additional contributed scripts + + + s3ql + nikratio/s3ql + + diff --git a/net-fs/s3ql/s3ql-1.19.ebuild b/net-fs/s3ql/s3ql-1.19.ebuild new file mode 100644 index 000000000000..ba871ca91224 --- /dev/null +++ b/net-fs/s3ql/s3ql-1.19.ebuild @@ -0,0 +1,60 @@ +# 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 +} diff --git a/net-fs/s3ql/s3ql-2.11.1.ebuild b/net-fs/s3ql/s3ql-2.11.1.ebuild new file mode 100644 index 000000000000..5ab6fccd8527 --- /dev/null +++ b/net-fs/s3ql/s3ql-2.11.1.ebuild @@ -0,0 +1,54 @@ +# 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 +} diff --git a/net-fs/s3ql/s3ql-2.11.ebuild b/net-fs/s3ql/s3ql-2.11.ebuild new file mode 100644 index 000000000000..5ab6fccd8527 --- /dev/null +++ b/net-fs/s3ql/s3ql-2.11.ebuild @@ -0,0 +1,54 @@ +# 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 +} diff --git a/net-fs/s3ql/s3ql-2.12.ebuild b/net-fs/s3ql/s3ql-2.12.ebuild new file mode 100644 index 000000000000..5ab6fccd8527 --- /dev/null +++ b/net-fs/s3ql/s3ql-2.12.ebuild @@ -0,0 +1,54 @@ +# 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 +} diff --git a/net-fs/s3ql/s3ql-2.14-r1.ebuild b/net-fs/s3ql/s3ql-2.14-r1.ebuild new file mode 100644 index 000000000000..fac9efee1de3 --- /dev/null +++ b/net-fs/s3ql/s3ql-2.14-r1.ebuild @@ -0,0 +1,58 @@ +# 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 +} diff --git a/net-fs/s3ql/s3ql-2.14.ebuild b/net-fs/s3ql/s3ql-2.14.ebuild new file mode 100644 index 000000000000..e651e50c86e8 --- /dev/null +++ b/net-fs/s3ql/s3ql-2.14.ebuild @@ -0,0 +1,54 @@ +# 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 +} diff --git a/net-fs/s3ql/s3ql-2.17.1.ebuild b/net-fs/s3ql/s3ql-2.17.1.ebuild new file mode 100644 index 000000000000..d19cb3ff1f2d --- /dev/null +++ b/net-fs/s3ql/s3ql-2.17.1.ebuild @@ -0,0 +1,54 @@ +# 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 +} diff --git a/net-fs/s3ql/s3ql-2.20.ebuild b/net-fs/s3ql/s3ql-2.20.ebuild new file mode 100644 index 000000000000..9c3d9019d5a6 --- /dev/null +++ b/net-fs/s3ql/s3ql-2.20.ebuild @@ -0,0 +1,54 @@ +# 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 +} diff --git a/net-fs/s3ql/s3ql-2.21.ebuild b/net-fs/s3ql/s3ql-2.21.ebuild new file mode 100644 index 000000000000..e0e4b6b43963 --- /dev/null +++ b/net-fs/s3ql/s3ql-2.21.ebuild @@ -0,0 +1,54 @@ +# 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 +} diff --git a/net-fs/s3ql/s3ql-2.23.ebuild b/net-fs/s3ql/s3ql-2.23.ebuild new file mode 100644 index 000000000000..e0e4b6b43963 --- /dev/null +++ b/net-fs/s3ql/s3ql-2.23.ebuild @@ -0,0 +1,54 @@ +# 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 +} -- cgit v1.2.3