summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUltrabug <ultrabug@gentoo.org>2019-06-13 16:56:25 +0200
committerUltrabug <ultrabug@gentoo.org>2019-06-13 16:56:25 +0200
commit0c102648ae7e94c62185ce2c88d117f97271988b (patch)
tree9b8bc27af75d62a6f7ac54f8cc988b81dcd8bb90
parentapp-admin/scylla-jmx: version bump (diff)
downloadultrabug-0c102648ae7e94c62185ce2c88d117f97271988b.tar.gz
ultrabug-0c102648ae7e94c62185ce2c88d117f97271988b.tar.bz2
ultrabug-0c102648ae7e94c62185ce2c88d117f97271988b.zip
app-admin/scylla-tools: version bump
Package-Manager: Portage-2.3.67, Repoman-2.3.14 Manifest-Sign-Key: F30FAFEE3BD598228B24CB121A3A8C89C56D610B Signed-off-by: Alexys Jacob <ultrabug@gentoo.org>
-rw-r--r--app-admin/scylla-tools/Manifest28
-rw-r--r--app-admin/scylla-tools/scylla-tools-3.0.7.ebuild104
2 files changed, 119 insertions, 13 deletions
diff --git a/app-admin/scylla-tools/Manifest b/app-admin/scylla-tools/Manifest
index 9a5a07a..1c1e0a4 100644
--- a/app-admin/scylla-tools/Manifest
+++ b/app-admin/scylla-tools/Manifest
@@ -4,25 +4,27 @@ Hash: SHA256
AUX scylla-tools-3.0_rc1-build.xml.patch 962 BLAKE2B 9a769b53b6dc98ba402089c77f41cf81ae0fa2f1da6ab390e8774e0ec2f5ad45fb738b6d0c9c35e7f27a64b19d7b45ed1354367ce26182a324d79db568169158 SHA512 a983c18c16e8f08b850081c58d20d94f2524a75eaefec8183a2d380d3605ee00de5b5e49f7da2bf7d3ebfc096696a58156d5b895daaf24e21f2e476f8ef7430b
DIST jstackjunit.zip 1977804 BLAKE2B 31acda6a249cbd9802e298e1780486b1cef807a5c666c30e59bb4a119a9c1fceb6018ffb8416873ed35b5dba9366cef840c1ca4f56c66dab9828c92a1f7befff SHA512 31b9226e7461399336fff0a66d20a7838f710c5d1264c6b565dabdd5798e8b1603844959b762337691ee3e2c902c1cb94580b83f94d874a2cf7540ea702126f1
DIST scylla-tools-3.0.6.tar.gz 35222543 BLAKE2B 993ead2e1057f6244c3455dfa016cb6ed9bccc3c6a4413b8378da417397a587b7dcaf8602ffed5b58c8d09ae5f025a0e2ec13ad9af60cf3b0d92c86f0c1b160f SHA512 5369bc0ef05d12e9d822a61ba7ed4943d54f120634813c9c5b4b3f6fc69d9a9df25b4e2fd11371fff3cd91155d84bd572ef6057ec83ae8c0a082a23c594f077b
+DIST scylla-tools-3.0.7.tar.gz 35221967 BLAKE2B 64aa06c2bb605bdbe35b9c9ef43dd04671a1eddae8ee2fc796671faf0fcab6754ae3776a2eda65fc7bccf67b9e78299044495f954b61578d8beeb6ee255ddb28 SHA512 056ce1eeca62f129dc32e1b4ac953972613760a07eac15e85755214b77868bd12fe7d35464e67258fe6cde94fa7d2a9c8b19dd34083230584cfb9a054b79b579
EBUILD scylla-tools-3.0.6.ebuild 2559 BLAKE2B 32d4314e6795f874cb46e8a544c293f94b0fd7e4ea3d8519de08b5b75f2c817144bd84881298c465442ad956779a8392a8508ea8f786bd1961398dee6ef5f365 SHA512 28a38d026f051610dba2d59454078a30f4fb837c336659e213fa7503a67d4f111c523591781b658d8f4550b41ac9ab605b10f84300c28d0aed17424d63b64316
+EBUILD scylla-tools-3.0.7.ebuild 2559 BLAKE2B 32d4314e6795f874cb46e8a544c293f94b0fd7e4ea3d8519de08b5b75f2c817144bd84881298c465442ad956779a8392a8508ea8f786bd1961398dee6ef5f365 SHA512 28a38d026f051610dba2d59454078a30f4fb837c336659e213fa7503a67d4f111c523591781b658d8f4550b41ac9ab605b10f84300c28d0aed17424d63b64316
EBUILD scylla-tools-9999.ebuild 2379 BLAKE2B 3f43765f1f837d2e9eb1a225a7c2aa4dace17a8ed6adae512b995f35ddff11a97def3dbe291b03521a6efd1054b87c4c4cf5e36fbc412cf6939148dd27da43b0 SHA512 c5858bf28c776d3af5f978aaa7cf010e2537a151e41e2733d79be26df9303eb8f1c5c6585c4d09275f381b6c0c018126f1ec9d0177865f35ff9f1a1db813db04
MISC metadata.xml 249 BLAKE2B 40afa233e18ae5678e52194be8b1235d8deda4810e55b33ea192ded6b09a158f1bc941544f90a1b9e396db00bc0fe277c072d267568473ae4aa2dec8bc5c2f89 SHA512 6eae78a65db44c8f7ef2d20c10c8612cd2072c0204c6294798e4bf94f1283c684c22d1ad28e0f68e78e82a0c60526d6786492c9dacc438d83405218e51c1bf9c
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
-iQKTBAEBCAB9FiEEGiPLJcoPPNcvDvnY9mwK1B9ohkIFAlzTCOJfFIAAAAAALgAo
+iQKTBAEBCAB9FiEEGiPLJcoPPNcvDvnY9mwK1B9ohkIFAl0CZBlfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDFB
MjNDQjI1Q0EwRjNDRDcyRjBFRjlEOEY2NkMwQUQ0MUY2ODg2NDIACgkQ9mwK1B9o
-hkLDwg//fVj3a6Mw5vRza6QTIZWPTIqU+vmVCBLDAHgxtxjaua1KkT+Q2nm5N8MT
-1yvEI5PBc6BgMaKYWhBrrcuvN+g1LHZhUdl1rzm2ons/gvq1Orp2mTajzUtJVpYh
-ayxCv7iubTY3UUwVNea1jGBrBWSP6VKcZ0/wvIqcf/yVOUSZoHiB2xEUtSjlPCBt
-N8Oz0stzEviWr2DYRjNbCnX53zw+cOoPaKSevQ/IR8q0AxmUzpZE2pe/w9YYGWeK
-s3oJAfU1G6SAhFRo4gad+2HdLteaJFOzXVhjQTcbSZ7Js4ARbAlI0BcEgpfC7La7
-NdOPiKifqZ9liFC0lcL+R15JQenwhcN7aLdHIrm6WsPDRw/Pdilzf5PZuQ3hpiwQ
-ZcsDaFiYfLY9bxshnZRjqXDcb2eSaKC7RJYLR8Jwm8GXosjyXiBSGuPftifi8Bx5
-C96gGuS1qovZ+rmODWjMaErLngJ/rJYGfDKsBZeZDN/j8WnSW/34wYPnuoF5dWmO
-Sf+ihiaP1DnvOV+6wbnyNnaJYXdZNSgT3JpRLvBKL51E6SOT0p88vxvG3lX4IoEG
-bXSosF0/3ME1ZGF3QzClgHt/KZ0DZs0ii4wY0Yn0Jr8/TTS4oIcsR9sx/V8jopkM
-MP0W8VtCNsfWJk0RHZXe6YegQ0cRlAFtaRpa8J7r5Qp1R9woYyA=
-=GQWj
+hkLmPg/9HvlPNYe1oVqZKmc5gvz5ZMilOvpLwzHGgi6gBNAvJ2xY2Tmj2TC+BLnE
+SqElIrUAGBCzmYhuPTYmU0ZBezGjiGM03JruMYaPBYCQR3GXEItrckXklD5kGsi2
+8jeGLO1jma7Q7B9VbmeYyUXPtcYWpZ1ZeJ2QByIXu9HWvN/n9WdaFIugZYGXKF+a
+T1Yv8vTq8who+Aw/3qCTvN/p0ejFnjmF3OSHQIxD7Xc5oJiHL35xN/jG6D2N2p6k
+CvS7JLGyzLF87LZ+EmFY/tOc5zBGVfAOCPW1GCCVxv/11si7ZoTOS6aNCzCJaKiN
++pnzViyirULZzlOSrMP0G6FOk3G5OJAwW1t4Lx0w0HSwQoEAbUFOMl5vB5xShna9
+POxnn8Jp1OCwsdHCKS4JlbY275Dnmlh/9BCTuLaTKtwI3D1qt9WMIuakhULY2L2F
+jtjJgsySWFoq35STIzw4yfgzizq1ea4fgl9V7RzryBlRUDUL2csca0teo7LlduOU
+UE9FZAHayrwNZ7foBXYlqSbSnw5Tmw+93Wnx47fsDFl98ro0JVWbWIwlVouiYDH8
+CmS/MVffan4K/ULA31u4eHAfrqlcZ9YGNWu/NVDrTphSjBbuNYjvVvlVsJRglc1A
+rGz73pmLcdbriSg5ocS4ByDNL9qWIqrTw2K9goX+lV7Wy5XxNtA=
+=pTTQ
-----END PGP SIGNATURE-----
diff --git a/app-admin/scylla-tools/scylla-tools-3.0.7.ebuild b/app-admin/scylla-tools/scylla-tools-3.0.7.ebuild
new file mode 100644
index 0000000..28a085a
--- /dev/null
+++ b/app-admin/scylla-tools/scylla-tools-3.0.7.ebuild
@@ -0,0 +1,104 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+if [[ ${PV} == "9999" ]] ; then
+ EGIT_REPO_URI="https://github.com/scylladb/scylla-tools-java.git"
+ inherit git-r3
+else
+ MY_PV="${PV/_rc/.rc}"
+ MY_P="${PN}-${MY_PV}"
+ SRC_URI="
+ https://github.com/scylladb/scylla-tools-java/archive/scylla-${MY_PV}.tar.gz -> ${MY_P}.tar.gz
+ https://github.com/krummas/jstackjunit/archive/master.zip -> jstackjunit.zip
+ "
+ KEYWORDS="~amd64"
+ S="${WORKDIR}/scylla-tools-java-scylla-${MY_PV}"
+fi
+
+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"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+
+PATCHES=(
+ "${FILESDIR}/scylla-tools-3.0_rc1-build.xml.patch"
+)
+
+CDEPEND="
+ dev-java/antlr:3.5
+ >=dev-java/ant-junit-1.9.2
+"
+RDEPEND="
+ ${CDEPEND}
+ ${PYTHON_DEPS}
+ >=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
+ 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
+}