summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUltrabug <ultrabug@gentoo.org>2019-11-12 16:43:46 +0100
committerUltrabug <ultrabug@gentoo.org>2019-11-12 16:43:46 +0100
commit7f0a9402984e372d63f21d6a5b0faa6a5108cb55 (patch)
treedfdca3aeafaa01fe03cfd0e73fc6db4e8dbebd32 /app-admin
parentapp-admin/scylla-jmx: version bump (diff)
downloadultrabug-7f0a9402984e372d63f21d6a5b0faa6a5108cb55.tar.gz
ultrabug-7f0a9402984e372d63f21d6a5b0faa6a5108cb55.tar.bz2
ultrabug-7f0a9402984e372d63f21d6a5b0faa6a5108cb55.zip
app-admin/scylla-tools: version bump
Package-Manager: Portage-2.3.78, Repoman-2.3.17 Manifest-Sign-Key: 34FCB257983BA23A8CEC5EB7EB9E6405C24BFAE5 Signed-off-by: Alexys Jacob <ultrabug@gentoo.org>
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/scylla-tools/Manifest17
-rw-r--r--app-admin/scylla-tools/scylla-tools-3.1.1.ebuild95
2 files changed, 104 insertions, 8 deletions
diff --git a/app-admin/scylla-tools/Manifest b/app-admin/scylla-tools/Manifest
index 259b14e..8c6a825 100644
--- a/app-admin/scylla-tools/Manifest
+++ b/app-admin/scylla-tools/Manifest
@@ -12,19 +12,20 @@ EBUILD scylla-tools-3.0.6.ebuild 2559 BLAKE2B 32d4314e6795f874cb46e8a544c293f94b
EBUILD scylla-tools-3.0.8.ebuild 2559 BLAKE2B 32d4314e6795f874cb46e8a544c293f94b0fd7e4ea3d8519de08b5b75f2c817144bd84881298c465442ad956779a8392a8508ea8f786bd1961398dee6ef5f365 SHA512 28a38d026f051610dba2d59454078a30f4fb837c336659e213fa7503a67d4f111c523591781b658d8f4550b41ac9ab605b10f84300c28d0aed17424d63b64316
EBUILD scylla-tools-3.0.9.ebuild 2559 BLAKE2B 32d4314e6795f874cb46e8a544c293f94b0fd7e4ea3d8519de08b5b75f2c817144bd84881298c465442ad956779a8392a8508ea8f786bd1961398dee6ef5f365 SHA512 28a38d026f051610dba2d59454078a30f4fb837c336659e213fa7503a67d4f111c523591781b658d8f4550b41ac9ab605b10f84300c28d0aed17424d63b64316
EBUILD scylla-tools-3.1.0.ebuild 2339 BLAKE2B 79fdf7ea2308ecca2a610a65d240c5467f9416e91eb89a4cc3f6753992778549fa0cf8cd638ea84a6f12eb66db5717cab9f48efb9b3cc8dac8b40eef5b490990 SHA512 4a65e6c33e0a5ee7e81571498f08c828836948bdf7eb3cf7d7c0bd61ba6a460115c490653b939b3c0b636ae486a5c498acf1bd436f3b53d65f1b50e66e0e3890
+EBUILD scylla-tools-3.1.1.ebuild 2339 BLAKE2B 79fdf7ea2308ecca2a610a65d240c5467f9416e91eb89a4cc3f6753992778549fa0cf8cd638ea84a6f12eb66db5717cab9f48efb9b3cc8dac8b40eef5b490990 SHA512 4a65e6c33e0a5ee7e81571498f08c828836948bdf7eb3cf7d7c0bd61ba6a460115c490653b939b3c0b636ae486a5c498acf1bd436f3b53d65f1b50e66e0e3890
EBUILD scylla-tools-9999.ebuild 2286 BLAKE2B a5bb2d8dbfc077f95508e895b2fda990ed8ab7184c63227b7dae47873b473db2dd1ce8836625ae313c581dcce5b852845209f60af33de35dde129104a37267db SHA512 8d9a91f61c62caf5d7a5cb61a80314cec733089f9f94a250a1a328a2cbab7fe051f43177902d9c7ff7a4a14e713ee19fef0ad19147ff0f32b41bd24505205883
MISC metadata.xml 249 BLAKE2B 40afa233e18ae5678e52194be8b1235d8deda4810e55b33ea192ded6b09a158f1bc941544f90a1b9e396db00bc0fe277c072d267568473ae4aa2dec8bc5c2f89 SHA512 6eae78a65db44c8f7ef2d20c10c8612cd2072c0204c6294798e4bf94f1283c684c22d1ad28e0f68e78e82a0c60526d6786492c9dacc438d83405218e51c1bf9c
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
-iQGTBAEBCAB9FiEEB7NG2KqNbQw8gqQ7Uf8j8ayXdy8FAl268kFfFIAAAAAALgAo
+iQGTBAEBCAB9FiEEB7NG2KqNbQw8gqQ7Uf8j8ayXdy8FAl3K0xZfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDA3
QjM0NkQ4QUE4RDZEMEMzQzgyQTQzQjUxRkYyM0YxQUM5Nzc3MkYACgkQUf8j8ayX
-dy/7eQgAp9sVxoROC0C9IVCDvZf8sz21juyjNExsGbbNcckhrJkOXoTyFq/C7di8
-d/EBZh9V9Xozj37yHr9GTVaK22tozVsGgf9PeaEBV8Jmq3C7b75GniKsYL1zQ0pp
-bwQ5Eurf4KbQTQPZB9M9hGR/7YrDzKPY6U40ATQLTuA7jf8xbNzJZyxRcq9wOL5G
-BjDyZ2knZUruBWREvrwLxY+AWYieSUFc4AA4+2F4dYZMKdOFN96qVi7vUcKYiccS
-8UGkYhlYxEnMFuSuMzpYfqJxVDsY7x/1EaI8f9GTZtfkLbVxZHwt9sp3BdmxckTN
-JNgTHELwPt/4Gj7J76dNr02GL2SARw==
-=svwW
+dy+mygf6A3dySPeBlBekFflt7+jaF/qQ5/H1wFjsr7apjwzJ51qUouqXmc9PUgu3
+15ARfLfy55QLAkOQuBtZgpyxXpX8qHiYbXKqsnDwXsSz0YhsNqvT68yru/Ks/eEk
+O/oM1SCMfD4/Cr+4WgX4BHxv1MxdaMDWlw4KazVEJvWQ5zFzxeB1WwRAQYSYKKdo
+AO/Neswh0ZxnHA5kcqOsjrlD7C3cUqMePJO/AhTMBgLY7n3R5+JL5AmW0AxQ4E37
+MyEBz7YNtmizUrqWsLqFNmUiROUPCX153xfj2NfJgOJFtr1L0N76mLSrFnGJYzjs
+YDluEXO6QyW5eN3X1ntjO2DdLuilrg==
+=4wS0
-----END PGP SIGNATURE-----
diff --git a/app-admin/scylla-tools/scylla-tools-3.1.1.ebuild b/app-admin/scylla-tools/scylla-tools-3.1.1.ebuild
new file mode 100644
index 0000000..7c9822e
--- /dev/null
+++ b/app-admin/scylla-tools/scylla-tools-3.1.1.ebuild
@@ -0,0 +1,95 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+MY_PV="${PV/_beta/}"
+EGIT_CLONE_TYPE="mirror"
+EGIT_COMMIT="scylla-core-${MY_PV}"
+EGIT_REPO_URI="https://github.com/scylladb/scylla-tools-java.git"
+inherit git-r3
+
+EANT_BUILD_TARGET="jar"
+PYTHON_COMPAT=( python2_7 )
+JAVA_PKG_IUSE="source doc"
+
+inherit java-pkg-2 java-ant-2 python-single-r1
+
+DESCRIPTION="scylla tools (Java part)"
+HOMEPAGE="https://github.com/scylladb/scylla-tools-java"
+
+KEYWORDS="~amd64"
+LICENSE="Apache-2.0"
+SLOT="0"
+
+CDEPEND="dev-java/antlr:3.5"
+RDEPEND="
+ ${CDEPEND}
+ ${PYTHON_DEPS}
+ >=dev-java/ant-junit-1.10.5
+ >=virtual/jre-1.8"
+DEPEND="
+ ${CDEPEND}
+ >=virtual/jdk-1.8"
+
+RESTRICT="test"
+
+src_prepare() {
+ default
+ find examples -type f -name \*.xml -exec rm -v {} \; || die
+
+ # remove "build-test" from the "jar" target
+ sed -e 's/ build-test,//g' -i build.xml || die
+
+ if has network-sandbox ${FEATURES}; then
+ die "Please set '-network-sandbox' when defining the FEATURES variable"
+ fi
+}
+
+src_install() {
+ default
+
+ # find out version
+ local origin_version=$(grep '"base.version"' build.xml | sed 's/.*value="\(.*\)".*/\1/g')
+
+ python_setup 2.7
+ python_domodule pylib/cqlshlib
+
+ dodoc -r lib/licenses
+
+ insinto /etc/scylla/cassandra
+ doins conf/cassandra-env.sh
+ doins conf/logback.xml
+ doins conf/logback-tools.xml
+ doins conf/jvm.options
+
+ insinto /etc/bash_completion.d
+ doins dist/common/nodetool-completion
+
+ dobin bin/nodetool
+ dobin bin/sstableloader
+ dobin bin/cqlsh
+ dobin bin/cqlsh.py
+
+ dobin tools/bin/cassandra-stress
+ dobin tools/bin/filter_cassandra_attributes.py
+ dobin tools/bin/cassandra_attributes.py
+ dobin tools/bin/cassandra-stressd
+ dobin tools/bin/sstabledump
+ dobin tools/bin/sstablelevelreset
+ dobin tools/bin/sstablemetadata
+ dobin tools/bin/sstablerepairedset
+
+ insinto /usr/share/scylla/cassandra
+ doins dist/common/cassandra.in.sh
+ doins "build/apache-cassandra-${origin_version}-SNAPSHOT.jar"
+ doins "build/apache-cassandra-thrift-${origin_version}-SNAPSHOT.jar"
+ doins "build/scylla-tools-${origin_version}-SNAPSHOT.jar"
+ doins build/tools/lib/stress.jar
+ #
+ dosym /usr/share/scylla/cassandra/apache-cassandra-${origin_version}-SNAPSHOT.jar /usr/share/scylla/cassandra/apache-cassandra.jar
+
+ insinto /usr/share/scylla/cassandra/lib
+ doins lib/*.jar
+ doins lib/*.zip
+}