diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-06-30 08:49:38 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-06-30 08:49:38 +0100 |
commit | b2be182d49eea46686b5cf2680d457df61e89dc4 (patch) | |
tree | c66442ced2011c5ca81c3114cc51041e314c6d33 /dev-db/clickhouse | |
parent | e23cdda4dbb0c83b9e682ab5e916085a35203da5 (diff) |
gentoo resync : 30.06.2018
Diffstat (limited to 'dev-db/clickhouse')
-rw-r--r-- | dev-db/clickhouse/Manifest | 8 | ||||
-rw-r--r-- | dev-db/clickhouse/clickhouse-1.1.54388.ebuild (renamed from dev-db/clickhouse/clickhouse-1.1.54385.ebuild) | 17 | ||||
-rw-r--r-- | dev-db/clickhouse/files/clickhouse-concatenate-python3.patch | 38 |
3 files changed, 9 insertions, 54 deletions
diff --git a/dev-db/clickhouse/Manifest b/dev-db/clickhouse/Manifest index c965dac6a37c..c2ba3ab18e3a 100644 --- a/dev-db/clickhouse/Manifest +++ b/dev-db/clickhouse/Manifest @@ -1,10 +1,6 @@ -AUX clickhouse-concatenate-python3.patch 1520 BLAKE2B d776c0e9c6fc50f038c65f4dbfd6ea70e549803be1ecd4422efa7f1169596fedc7555e2f532af70166c59078a0f7660468722a76953a9bab90b307bb366c9d10 SHA512 5ed347ae738547f1491ad74c2697ec9c977244a70e7be7b4f4130a45c4d90619016eee7679ae0eca21c8376d855673e7529d10378a18e1a4a5fd57bf2a6400b4 AUX clickhouse-server.initd 452 BLAKE2B d083713e917c2e436316a42adccf8698159c268b4deeca8ce04548e0fb71de2db43a4f4ad3a0ca9b74c3e677cc006386b07a5099d8ae6247da246912ec009545 SHA512 553c4f59c5210c30b219507320debc5b1f9e33b777bc04a37a8598d433a34642e4e653dc74bdd11573e99f20ae9d869c8772d3f36a8e962eb76775695bee2ff7 AUX clickhouse-server.service 307 BLAKE2B 1f443f68db97408cb2b0a8e9007195cdc5d6e29f54e55b3bd2b023cfbcb9d3ee4c1083503f83a42cfd18bca3320dfa86571434fe89612fb0a1f5a9e178eb706b SHA512 185db8aed69b178540225fa41f623a78af09e30d2dd1e033baf4d7c80451e702f5d6b9ce5240f7f6fb6d63a4ebed5af4d483515c7e6fe019e7fd44334df4ab37 DIST cctz-4f9776a.tar.gz 290009 BLAKE2B 532eb7d590f9814c05cc7fdd3c75efe0a6b3f81d85201b14163a9600dd858c4fbac592270d0afccd7d5eef0080d7e70e9d716023bdb60d55479585e2cd3d3f59 SHA512 ba0dfc404cc70f03ef2be29fa3b0c70ea881c92a92525ea4ba1b5bcfc9e45df1b62a5eec180f498293e64bdd5cb9b41f97361cbb7e8baf299dcfdcd1557ca205 -DIST clickhouse-1.1.54385.tar.gz 5833821 BLAKE2B 48441aa28dd03c0b3282fe577849902ba29eded5dc90fe83159fdce3be1f93a6e48e48049e62febc2272f9b7ca1c143c1021900daaae9e5b43eab229418becff SHA512 eb3c02e6a094221374eca70b6cf6020414f31cbb196a521214d3c31b4266f5f251d431460025d9e644c83d61a3aa7ac2c266c9fa14db312ce42aa0cc8fc20d7c -DIST librdkafka-c3d50eb.tar.gz 1869491 BLAKE2B 6b4a1695226d9328033c9cb7db8cd4f80db92b38abce2639db2ebac4511146d0343967d4d6342ed13f13eab07d4b32bc72acd02d5bdec1a5e1da3e2be02e2b2d SHA512 47fd12a2a9c14c986f331abf0df12c782e5f803c2bce86a9eab17977d444230ce4c5e8921e112127b1c51b40fc914e14e20269d65058ecf53991d09997ae172b -DIST lz4-c10863b.tar.gz 223026 BLAKE2B c5cccac2f9e86f8bc7986cc283bfb969445e0edf35f78dbd880f56c191c172c6c314353e66a056acb461cfb657441662e23daa755c6e3071ff4ac328f79ab7a8 SHA512 97c460ceb48ebbf8832459f2315e08e62832a861d055c5fc78848091feb5c25f175d91e364d14633ca66353d9bd64de5161dfbe6bc1aeb526c5cb62ceab9c63c -DIST zstd-2555975.tar.gz 2062067 BLAKE2B cfd4eb221a94b1c6bd4f8950ee6e1511f9b773f61a68ada33781c5fed3f3f664820135b074810721cbdfad524aff6d54c2f017aa6b3ec9efcdf09c29aec90219 SHA512 7320149560095a348f0c98f22ed4a8247c32a2e66ef3098039a4d5520b4cb8893ff799e51fb45716594c5ed609752eee6454faa3ddfbb4cab3a46330544eaa19 -EBUILD clickhouse-1.1.54385.ebuild 5282 BLAKE2B 827926ff30d3a3d55868e75152d90b90d72fbe5d256f619c113619d0f4c430561fe6ca3ccb2d626baa2577e1d07aa9c591e628323a0e66b1fc5a8bda6073a232 SHA512 3e373293772da8ab5d48fc9f01e2519e9371a734d6231685ad7de305139c3e4895fe510fa1b28307f0605b3786d98d61a27cf61d9fa653f12847c326e6943bc7 +DIST clickhouse-1.1.54388.tar.gz 5608073 BLAKE2B b64fd5b794da3e7eba028be9cd79f6e143a1c7534373ffd69135e3ea0d2518f6dff730dd912991943bd6cee497bd62938198647cec780697d6e77aa0b935bb9c SHA512 69eb294df9a9e61a095e631847e2ba9f98060400aad52306f0e673b90bd31320bf72b0e945033885e42e880caf46d2e49241790e903a1d6994d6070c0ac62a96 +EBUILD clickhouse-1.1.54388.ebuild 4718 BLAKE2B 46aaf2a997505e8b04844684399bf072803bc7e617822dce8654114d8a3665a5cba1da1567d9694ee7e0f4b1812b65d20468e807bf0e1cbd3d8c25a4b37aa040 SHA512 dccda12ad3482b07043360b6c1138d5506dc6e74ca0d220ca1c2a8b53f53cc1aad2bd1445d6c84b18f7621de0eaabdf242c2620162d25e10dde64768caa54646 MISC metadata.xml 738 BLAKE2B 861f40f506964d64cf646f043406945dc54950f48e27d4eb28b6fc0f96bf0ceb093520a0b60d813460fbe8b99ba4858f0a49d30abcb25567f44411c78a02f6e7 SHA512 6d87cc967c081b5a5e60136f5928d7b17c65c3a1c26aa1e45a50e74d5383bb665682a8b0cb5cce0496bebcac1f5e27aace8a8373253c031acc3c166c382e0056 diff --git a/dev-db/clickhouse/clickhouse-1.1.54385.ebuild b/dev-db/clickhouse/clickhouse-1.1.54388.ebuild index e6a7d377a711..09bc728e2196 100644 --- a/dev-db/clickhouse/clickhouse-1.1.54385.ebuild +++ b/dev-db/clickhouse/clickhouse-1.1.54388.ebuild @@ -15,14 +15,9 @@ MY_PN="ClickHouse" TYPE="stable" CCTZ_COMMIT="4f9776a" -LIBRDKAFKA_COMMIT="c3d50eb" -LZ4_COMMIT="c10863b" ZSTD_COMMIT="2555975" SRC_URI="https://github.com/yandex/${MY_PN}/archive/v${PV}-${TYPE}.tar.gz -> ${P}.tar.gz https://github.com/google/cctz/archive/${CCTZ_COMMIT}.tar.gz -> cctz-${CCTZ_COMMIT}.tar.gz - https://github.com/edenhill/librdkafka/archive/${LIBRDKAFKA_COMMIT}.tar.gz -> librdkafka-${LIBRDKAFKA_COMMIT}.tar.gz - https://github.com/lz4/lz4/archive/${LZ4_COMMIT}.tar.gz -> lz4-${LZ4_COMMIT}.tar.gz - https://github.com/facebook/zstd/archive/${ZSTD_COMMIT}.tar.gz -> zstd-${ZSTD_COMMIT}.tar.gz " SLOT="0/${TYPE}" @@ -37,6 +32,8 @@ REQUIRED_USE=" RDEPEND=" dev-libs/re2:0= !static? ( + >=app-arch/lz4-1.8.0:= + >=app-arch/zstd-1.3.4:= client? ( sys-libs/ncurses:0= sys-libs/readline:0= @@ -56,6 +53,7 @@ RDEPEND=" dev-libs/boost:= dev-libs/openssl:0= dev-libs/zookeeper-c + kafka? ( dev-libs/librdkafka:= ) mysql? ( virtual/libmysqlclient ) ) @@ -66,6 +64,8 @@ RDEPEND=" DEPEND="${RDEPEND} doc? ( >=dev-python/mkdocs-0.17.3 ) static? ( + >=app-arch/lz4-1.8.0[static-libs] + >=app-arch/zstd-1.3.4[static-libs] client? ( sys-libs/ncurses:0=[static-libs] sys-libs/readline:0=[static-libs] @@ -85,6 +85,7 @@ DEPEND="${RDEPEND} dev-libs/openssl[static-libs] dev-libs/zookeeper-c[static-libs] virtual/libmysqlclient[static-libs] + kafka? ( dev-libs/librdkafka[static-libs] ) ) sys-libs/libtermcap-compat @@ -95,7 +96,6 @@ DEPEND="${RDEPEND} ) " -PATCHES=( ${FILESDIR}/clickhouse-concatenate-python3.patch ) S="${WORKDIR}/${MY_PN}-${PV}-${TYPE}" _clang_fullversion() { @@ -141,11 +141,8 @@ src_unpack() { default_src_unpack [[ ${PV} == 9999 ]] && return 0 cd "${S}/contrib" || die "failed to cd to contrib" - mkdir -p cctz librdkafka lz4 zookeeper zstd || die "failed to create directories" + mkdir -p cctz zookeeper zstd || die "failed to create directories" tar --strip-components=1 -C cctz -xf "${DISTDIR}/cctz-${CCTZ_COMMIT}.tar.gz" || die "failed to unpack cctz" - tar --strip-components=1 -C librdkafka -xf "${DISTDIR}/librdkafka-${LIBRDKAFKA_COMMIT}.tar.gz" || die "failed to unpack librdkafka" - tar --strip-components=1 -C lz4 -xf "${DISTDIR}/lz4-${LZ4_COMMIT}.tar.gz" || die "failed to unpack lz4" - tar --strip-components=1 -C zstd -xf "${DISTDIR}/zstd-${ZSTD_COMMIT}.tar.gz" || die "failed to unpack zstd" } src_configure() { diff --git a/dev-db/clickhouse/files/clickhouse-concatenate-python3.patch b/dev-db/clickhouse/files/clickhouse-concatenate-python3.patch deleted file mode 100644 index 155ec758a74c..000000000000 --- a/dev-db/clickhouse/files/clickhouse-concatenate-python3.patch +++ /dev/null @@ -1,38 +0,0 @@ ---- ClickHouse-1.1.54381-stable/docs/concatenate.py.bak 2018-05-20 20:30:45.958356001 +0200 -+++ ClickHouse-1.1.54381-stable/docs/concatenate.py 2018-05-20 20:45:29.442341203 +0200 -@@ -20,12 +20,12 @@ - import os - - if len(sys.argv) < 2: -- print "Usage: concatenate.py language_dir" -- print "Example: concatenate.py ru" -+ print("Usage: concatenate.py language_dir") -+ print("Example: concatenate.py ru") - sys.exit(1) - - if not os.path.exists(sys.argv[1]): -- print "Pass language_dir correctly. For example, 'ru'." -+ print("Pass language_dir correctly. For example, 'ru'.") - sys.exit(2) - - # Configuration -@@ -43,8 +43,8 @@ - path = (l[l.index(':') + 1:]).strip(" '\n") - files_to_concatenate.append(path) - --print str(len(files_to_concatenate)) + " files will be concatenated into single md-file.\nFiles:" --print files_to_concatenate -+print(str(len(files_to_concatenate)) + " files will be concatenated into single md-file.\nFiles:") -+print(files_to_concatenate) - - # 2. Concatenate all of the files in the list - -@@ -68,7 +68,7 @@ - if sharp_pos > -1: - return '[' + text + '](' + link[sharp_pos:] + ')' - else: -- print 'ERROR: Link [' + text + '](' + link + ') in file ' + path + ' has no anchor. Please provide it.' -+ print('ERROR: Link [' + text + '](' + link + ') in file ' + path + ' has no anchor. Please provide it.') - # return '['+text+'](#'+link.replace('/','-')+')' - - for l in file: |