diff options
-rw-r--r-- | app-admin/scylla-tools/Manifest | 17 | ||||
-rw-r--r-- | app-admin/scylla-tools/scylla-tools-3.1.2.ebuild | 96 |
2 files changed, 105 insertions, 8 deletions
diff --git a/app-admin/scylla-tools/Manifest b/app-admin/scylla-tools/Manifest index 8c6a825..d33caa2 100644 --- a/app-admin/scylla-tools/Manifest +++ b/app-admin/scylla-tools/Manifest @@ -13,19 +13,20 @@ EBUILD scylla-tools-3.0.8.ebuild 2559 BLAKE2B 32d4314e6795f874cb46e8a544c293f94b 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-3.1.2.ebuild 2390 BLAKE2B 6e80f8820bc4d5a9683ced70548126c4699f022daed70604ce1732afa61aeb644b3a1e8b03f7d4455e3f9b474fb98e7e9a92a3386572e72e9fc9920498caf334 SHA512 71f34d307555d2f6f45d6fc31fea6f4379725868a5aeb35b9e1a635f8d42d54e22c4c180c5d9eb3c36d5af6b6623b9e02057a1f30b4a9bd910e208e724fdb7d0 EBUILD scylla-tools-9999.ebuild 2286 BLAKE2B a5bb2d8dbfc077f95508e895b2fda990ed8ab7184c63227b7dae47873b473db2dd1ce8836625ae313c581dcce5b852845209f60af33de35dde129104a37267db SHA512 8d9a91f61c62caf5d7a5cb61a80314cec733089f9f94a250a1a328a2cbab7fe051f43177902d9c7ff7a4a14e713ee19fef0ad19147ff0f32b41bd24505205883 MISC metadata.xml 249 BLAKE2B 40afa233e18ae5678e52194be8b1235d8deda4810e55b33ea192ded6b09a158f1bc941544f90a1b9e396db00bc0fe277c072d267568473ae4aa2dec8bc5c2f89 SHA512 6eae78a65db44c8f7ef2d20c10c8612cd2072c0204c6294798e4bf94f1283c684c22d1ad28e0f68e78e82a0c60526d6786492c9dacc438d83405218e51c1bf9c -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 -iQGTBAEBCAB9FiEEB7NG2KqNbQw8gqQ7Uf8j8ayXdy8FAl3K0xZfFIAAAAAALgAo +iQGTBAEBCAB9FiEEB7NG2KqNbQw8gqQ7Uf8j8ayXdy8FAl3uFg1fFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDA3 QjM0NkQ4QUE4RDZEMEMzQzgyQTQzQjUxRkYyM0YxQUM5Nzc3MkYACgkQUf8j8ayX -dy+mygf6A3dySPeBlBekFflt7+jaF/qQ5/H1wFjsr7apjwzJ51qUouqXmc9PUgu3 -15ARfLfy55QLAkOQuBtZgpyxXpX8qHiYbXKqsnDwXsSz0YhsNqvT68yru/Ks/eEk -O/oM1SCMfD4/Cr+4WgX4BHxv1MxdaMDWlw4KazVEJvWQ5zFzxeB1WwRAQYSYKKdo -AO/Neswh0ZxnHA5kcqOsjrlD7C3cUqMePJO/AhTMBgLY7n3R5+JL5AmW0AxQ4E37 -MyEBz7YNtmizUrqWsLqFNmUiROUPCX153xfj2NfJgOJFtr1L0N76mLSrFnGJYzjs -YDluEXO6QyW5eN3X1ntjO2DdLuilrg== -=4wS0 +dy8AGggAvxyCiksGLX3nLkG1fymFMEDpBQVwPC7cLIXd96vPk33yk4WskWcGQ8Yy +6qSdAOflXZ7Rwv13MCVMNx9D+CgYaF5H8M33cJH21WQqByuNr5AXzF04YL22Otw2 +/alz5sU6XJ3GNG8M9WU+aniZP/2oCQYY6MojppcPQElOIKHHI9eVETCsRgT9wAe7 +chhIq30kTDOx8/v0P/5gOPbJaZG82ymdSNe4fiqUNSt6dpSTxlTQGAZYMzxJdHNQ +L/XjHycr3QumkfybrX8MBZCQqe0/k6bKu9vo2PnMO108CVWAc6jZ/Ym8svJf1Tw1 +8uQDJT1o5VJ0flUMZ46/nUktwWAyKQ== +=gOzm -----END PGP SIGNATURE----- diff --git a/app-admin/scylla-tools/scylla-tools-3.1.2.ebuild b/app-admin/scylla-tools/scylla-tools-3.1.2.ebuild new file mode 100644 index 0000000..bd3e550 --- /dev/null +++ b/app-admin/scylla-tools/scylla-tools-3.1.2.ebuild @@ -0,0 +1,96 @@ +# 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 python3_{5,6,7,8} ) +JAVA_PKG_IUSE="source doc" + +inherit java-pkg-2 java-ant-2 python-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 "python2.7" + python_optimize pylib/cqlshlib + 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 +} |