Gentoo Archives: gentoo-commits

From: Alexys Jacob <ultrabug@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] dev/ultrabug:master commit in: dev-python/rethinkdb-python/, dev-db/rethinkdb/files/, dev-db/rethinkdb/
Date: Fri, 02 Sep 2016 06:49:47
Message-Id: 1472798975.c89c295818716d455e57d777a69d4213b42d834e.ultrabug@gentoo
1 commit: c89c295818716d455e57d777a69d4213b42d834e
2 Author: Ultrabug <ultrabug <AT> gentoo <DOT> org>
3 AuthorDate: Fri Sep 2 06:49:35 2016 +0000
4 Commit: Alexys Jacob <ultrabug <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 2 06:49:35 2016 +0000
6 URL: https://gitweb.gentoo.org/dev/ultrabug.git/commit/?id=c89c2958
7
8 rethinkdb released in portage
9
10 dev-db/rethinkdb/Manifest | 7 --
11 dev-db/rethinkdb/files/rethinkdb.confd | 12 --
12 dev-db/rethinkdb/files/rethinkdb.initd | 50 ---------
13 dev-db/rethinkdb/files/rethinkdb.service | 13 ---
14 dev-db/rethinkdb/files/rethinkdb.tmpfilesd | 1 -
15 dev-db/rethinkdb/metadata.xml | 16 ---
16 dev-db/rethinkdb/rethinkdb-2.3.2.ebuild | 121 ---------------------
17 dev-python/rethinkdb-python/Manifest | 3 -
18 dev-python/rethinkdb-python/metadata.xml | 8 --
19 .../rethinkdb-python/rethinkdb-python-2.3.0.ebuild | 24 ----
20 10 files changed, 255 deletions(-)
21
22 diff --git a/dev-db/rethinkdb/Manifest b/dev-db/rethinkdb/Manifest
23 deleted file mode 100644
24 index eacf098..0000000
25 --- a/dev-db/rethinkdb/Manifest
26 +++ /dev/null
27 @@ -1,7 +0,0 @@
28 -AUX rethinkdb.confd 606 SHA256 5d659a409a7b1a502a6362b818b01c1eb5f12e1bed273e9e876cc43758464659 SHA512 3a07f9c78ef96b2ca37fca508ee14a644d3c08612f662ba5260182fbfcceba064d20253f1261f56dc0a2c28d1a4d5e2320872c3c4e7595cb7ab4e202eb28ad42 WHIRLPOOL 2598d32113314f60b9e64048ba148c6fb3653ab92f833da13cc58b080996b988a20a61b8821634889c735628421609cee36c88dede66d89d5de071011a7afc57
29 -AUX rethinkdb.initd 1651 SHA256 3203f6ea1bfa5a124bdb8ef9ea282de69c82402b5875cf8ab987f9810fa69699 SHA512 6f232b05539dde1a8aef86837d4a2df1b1d5152f4c1cb7dd88f6b9d6c4f1f40c37f908e2d01aade5fe296b389db9b5a4b409a147caa6223a98b35e419bb36dd5 WHIRLPOOL 0001a9933b15c0b7d87ce8f6c190695cd855a6c99a2cee92e70745aed2fdef41415c277a78d400d2457e54cf38a61501cc9ffb836db6740b6aa3a1288375aa65
30 -AUX rethinkdb.service 261 SHA256 c831f179b0973ea5abb205a5aae3f4597d09bc7575f3a75fa6db5c32fce5f5ee SHA512 70389797ae79481b7d47b45f1676bd0531bc830a2f2daf7baec87533a7a6a0e67177572bab7d42324fe719f8a056899babc5ab2358a679c6a59899ed1272374b WHIRLPOOL 7e0259a1678a216a44ee1b64df65ad8c3d653887a392ed371b027f17fa91cc9cb1f315fdce4071e8c1403e9af7891d772089f85fb9291981fdbca08ed3e46b6a
31 -AUX rethinkdb.tmpfilesd 43 SHA256 656d3a42e75d087e723f71aa320fdd91cbbb82071ef72eb11fd3e4a619b429a4 SHA512 5996f72b8e08aac80285373e8e1b5a664177e9d0e8d13e5638c6b821fe5b7a0368001fbfa9ef3f6709dabf0616abcabea40adc4808d176572f8f99b7a3255bae WHIRLPOOL 84ff192ff84922155cfacb26e8f9255d506c0733472d5b674ea61e1c2f805a0293da0f69622d52bd21b2822dcaaf3a641c2ec39321283af0b3f00b0fb37ba2c9
32 -DIST rethinkdb-2.3.2.tgz 76823279 SHA256 af8760271c63496fdeaa8de8bae834febd4b6c09a57743570b30134e9837eaac SHA512 da10c2fdcdb25a8af1dff9c42892b68e31a26f412b3af94d15da1532aec6a747a1f7044d4f42ea1f03334ebb48d1e7ef597a975d5bb96c65294b30018ff27e07 WHIRLPOOL 3ee3c6247d479cbaf0ee303d3ae8c8d4de2cf831db50e0fb8c2276844b0b8b75933a90b83cef95854cfddd00614f2660727bce1e2221077b0dccff56c84a4044
33 -EBUILD rethinkdb-2.3.2.ebuild 3552 SHA256 8042c3f9edf9099b01129313c643825a94967ad7aab1af7110f37ac190307347 SHA512 eef329014252903ad23da08fbd288361b3dd430834f403ccd4084c6079dd8f0b305eefedb6635d63dc25ad39e1901ceec6db9e58ac416fc15e91e4ef743e8efd WHIRLPOOL bacc0c204aded02440baff9be7277985232db7ef242b8ed046a47932d6133f33be77032dfd21461f4b680c4fc367c0b64f4088bed400b36a90e2d18604b39619
34 -MISC metadata.xml 471 SHA256 65cad98fab9a780924012debe5906d7bab5831317aa4af2b37862a861b3f5bfa SHA512 1fa850b4f60828a41d5a752813a78008f90771041e033f0bc74e899f9e23e61710f500fcb2cd4f34c8f10905d6d660b7dc75c1eb9b95892966a3b45f5b21f517 WHIRLPOOL 59d2b047291daf85464529164a1e41e1fd70d14282488d53a91a57ff43913293c75d1253119a7000d7f1cd19fee9925d0755acd9e617dac770722bfa51c31994
35
36 diff --git a/dev-db/rethinkdb/files/rethinkdb.confd b/dev-db/rethinkdb/files/rethinkdb.confd
37 deleted file mode 100644
38 index af65794..0000000
39 --- a/dev-db/rethinkdb/files/rethinkdb.confd
40 +++ /dev/null
41 @@ -1,12 +0,0 @@
42 -# !! IMPORTANT !!
43 -#
44 -# This file is ONLY used to override some of the init script configuration.
45 -#
46 -# You should NOT use this file to configure your rethinkdb instance,
47 -# see the /etc/rethinkdb/default.conf.sample file instead.
48 -#
49 -# Available init script modifiers :
50 -# - config_file : the configuration file to use (default : /etc/rethinkdb/instance.d/<instance-name>.conf)
51 -# - user : the user used to run your rethinkdb instance (default : rethinkdb)
52 -# - group : the group used to run your rethinkdb instance (default : rethinkdb)
53 -# - run_dir : the run directory for your PID files (default : /run/rethinkdb)
54 \ No newline at end of file
55
56 diff --git a/dev-db/rethinkdb/files/rethinkdb.initd b/dev-db/rethinkdb/files/rethinkdb.initd
57 deleted file mode 100644
58 index 429f041..0000000
59 --- a/dev-db/rethinkdb/files/rethinkdb.initd
60 +++ /dev/null
61 @@ -1,50 +0,0 @@
62 -#!/sbin/runscript
63 -# Copyright 1999-2016 Gentoo Foundation
64 -# Distributed under the terms of the GNU General Public License v2
65 -# $Id$
66 -
67 -instance_name=${SVCNAME/*.}
68 -config_file=${config_file:-/etc/rethinkdb/instances.d/${instance_name}.conf}
69 -run_dir=${run_dir:-/run/rethinkdb}
70 -
71 -command="/usr/bin/rethinkdb"
72 -command_args="--config-file ${config_file}"
73 -command_background="true"
74 -pidfile=${run_dir}/${instance_name}.pid
75 -user=${user:-rethinkdb}
76 -group=${group:-rethinkdb}
77 -start_stop_daemon_args="--user ${user} --group ${group} --wait 2000"
78 -
79 -depend() {
80 - use net
81 -}
82 -
83 -start_pre() {
84 - checkpath -d -m 0750 -o "${user}":"${group}" "${run_dir}"
85 - if [ "${instance_name}" == "rethinkdb" ]; then
86 - eerror "You should not run this default init script directly"
87 - eerror "Create a symlink to an instance name"
88 - eerror "and create a configuration file in /etc/rethinkdb/instances.d/"
89 - eerror "then run this instance init script instead."
90 - return 1
91 - fi
92 - if [ ! -f ${config_file} ]; then
93 - eerror "Missing configuration file ${config_file}"
94 - return 1
95 - else
96 - # respect configured directory or set a default
97 - directory=$(egrep -e '^directory=' "${config_file}" | cut -d'=' -f2)
98 - if [ -z "${directory}" ]; then
99 - directory=/var/lib/rethinkdb/instances.d/"${instance_name}"
100 - fi
101 - checkpath -d -m 0750 -o "${user}":"${group}" "${directory}"
102 - command_args="${command_args} --directory ${directory}"
103 -
104 - # respect configured log-file or set a default
105 - log_file=$(egrep -e '^log_file=' "${config_file}" | cut -d'=' -f2)
106 - if [ -z "${log_file}" ]; then
107 - log_file=/var/log/rethinkdb/"${instance_name}".log
108 - fi
109 - command_args="${command_args} --log-file ${log_file}"
110 - fi
111 -}
112
113 diff --git a/dev-db/rethinkdb/files/rethinkdb.service b/dev-db/rethinkdb/files/rethinkdb.service
114 deleted file mode 100644
115 index 09645c2..0000000
116 --- a/dev-db/rethinkdb/files/rethinkdb.service
117 +++ /dev/null
118 @@ -1,13 +0,0 @@
119 -[Unit]
120 -Description=RethinkDB database server for instance '%i'
121 -
122 -[Service]
123 -User=rethinkdb
124 -Group=rethinkdb
125 -ExecStart=/usr/bin/rethinkdb serve --config-file /etc/rethinkdb/instances.d/%i.conf
126 -KillMode=process
127 -PrivateTmp=true
128 -
129 -[Install]
130 -WantedBy=multi-user.target
131 -
132
133 diff --git a/dev-db/rethinkdb/files/rethinkdb.tmpfilesd b/dev-db/rethinkdb/files/rethinkdb.tmpfilesd
134 deleted file mode 100644
135 index 694501e..0000000
136 --- a/dev-db/rethinkdb/files/rethinkdb.tmpfilesd
137 +++ /dev/null
138 @@ -1 +0,0 @@
139 -d /run/rethinkdb 0755 rethinkdb rethinkdb -
140 \ No newline at end of file
141
142 diff --git a/dev-db/rethinkdb/metadata.xml b/dev-db/rethinkdb/metadata.xml
143 deleted file mode 100644
144 index 39427b6..0000000
145 --- a/dev-db/rethinkdb/metadata.xml
146 +++ /dev/null
147 @@ -1,16 +0,0 @@
148 -<?xml version="1.0" encoding="UTF-8"?>
149 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
150 -<pkgmetadata>
151 - <herd>proxy-maintainers</herd>
152 - <maintainer>
153 - <email>ultrabug@g.o</email>
154 - </maintainer>
155 - <use>
156 - <flag name="jemalloc">
157 - Use <pkg>dev-libs/jemalloc</pkg> for allocations.
158 - </flag>
159 - <flag name="tcmalloc">
160 - Use tcmalloc from <pkg>dev-util/google-perftools</pkg> for allocations.
161 - </flag>
162 - </use>
163 -</pkgmetadata>
164
165 diff --git a/dev-db/rethinkdb/rethinkdb-2.3.2.ebuild b/dev-db/rethinkdb/rethinkdb-2.3.2.ebuild
166 deleted file mode 100644
167 index fe03609..0000000
168 --- a/dev-db/rethinkdb/rethinkdb-2.3.2.ebuild
169 +++ /dev/null
170 @@ -1,121 +0,0 @@
171 -# Copyright 1999-2016 Gentoo Foundation
172 -# Distributed under the terms of the GNU General Public License v2
173 -# $Id$
174 -
175 -EAPI="6"
176 -
177 -inherit systemd user
178 -
179 -DESCRIPTION="The open-source database for the realtime web."
180 -HOMEPAGE="http://www.rethinkdb.com"
181 -LICENSE="AGPL-3"
182 -SLOT="0"
183 -SRC_URI="http://download.rethinkdb.com/dist/${P}.tgz"
184 -
185 -KEYWORDS="~amd64 ~x86"
186 -IUSE="doc +jemalloc tcmalloc"
187 -
188 -# TODO: rly need some webui libs ?
189 -DEPEND="dev-cpp/gtest
190 - dev-libs/boost
191 - dev-libs/protobuf-c
192 - >=dev-libs/re2-0.2016.05.01
193 - sys-libs/libunwind
194 - sys-libs/ncurses:=
195 - jemalloc? ( >=dev-libs/jemalloc-3.2 )
196 - tcmalloc? ( dev-util/google-perftools )"
197 -RDEPEND="${DEPEND}"
198 -REQUIRED_USE="?? ( tcmalloc jemalloc )"
199 -
200 -pkg_setup() {
201 - enewgroup rethinkdb
202 - enewuser rethinkdb -1 -1 /var/lib/${PN} rethinkdb
203 -}
204 -
205 -src_prepare() {
206 - eapply_user
207 -
208 - # fix doc and init script auto installation
209 - sed -e 's/ install-docs / /g' -e 's/ install-init / /g' -i mk/install.mk || die
210 -
211 - # default config for Gentoo
212 - # fix default pid-file path
213 - # fix default directory path
214 - # fix default log-file path
215 - sed -e 's@/var/run/@/run/@g' \
216 - -e 's@/var/lib/rethinkdb/@/var/lib/rethinkdb/instances.d/@g' \
217 - -e 's@/var/log/rethinkdb@/var/log/rethinkdb/default.log@g' \
218 - -i packaging/assets/config/default.conf.sample || die
219 -
220 - # fix termcap detection
221 - #sed -e 's/termcap:termcap tinfo ncurses/termcap:ncurses termcap tinfo/g' -i configure || die
222 -}
223 -
224 -src_configure() {
225 - local conf_opts=(
226 - --prefix="/usr"
227 - --sysconfdir="/etc"
228 - --localstatedir="/var"
229 - --static=none
230 - )
231 - if use jemalloc; then
232 - conf_opts+=(--with-jemalloc)
233 - elif use tcmalloc; then
234 - conf_opts+=(--with-tcmalloc)
235 - else
236 - conf_opts+=(--with-system-malloc)
237 - fi
238 - ./configure "${conf_opts[@]}"
239 -}
240 -
241 -src_install() {
242 - emake DESTDIR="${D}" VERBOSE=1 install
243 -
244 - for x in /var/{lib,log}/${PN}; do
245 - keepdir "${x}"
246 - fowners rethinkdb:rethinkdb "${x}"
247 - done
248 -
249 - newconfd "${FILESDIR}/rethinkdb.confd" rethinkdb
250 - newinitd "${FILESDIR}/rethinkdb.initd" rethinkdb
251 -
252 - systemd_newunit "${FILESDIR}/"${PN}.service "rethinkdb@.service"
253 - systemd_newtmpfilesd "${FILESDIR}"/${PN}.tmpfilesd "rethinkdb.conf"
254 -
255 - use doc && dodoc COPYRIGHT NOTES.md README.md
256 -}
257 -
258 -pkg_config() {
259 - einfo "This will prepare a new RethinkDB instance. Press Control-C to abort."
260 -
261 - einfo "Enter the name for the new instance: "
262 - read instance_name
263 - [[ -z "${instance_name}" ]] && die "Invalid instance name"
264 -
265 - local instance_data="/var/lib/rethinkdb/instances.d/${instance_name}"
266 - local instance_config="/etc/rethinkdb/instances.d/${instance_name}.conf"
267 - if [[ -e "${instance_data}" || -e "${instance_config}" ]]; then
268 - eerror "An instance with the same name already exists:"
269 - eerror "Check ${instance_data} or ${instance_config}."
270 - die "Instance already exists"
271 - fi
272 -
273 - /usr/bin/rethinkdb create -d "${instance_data}" &>/dev/null \
274 - || die "Creating instance failed"
275 - chown -R rethinkdb:rethinkdb "${instance_data}" \
276 - || die "Correcting permissions for instance failed"
277 - cp /etc/rethinkdb/default.conf.sample "${instance_config}" \
278 - || die "Creating configuration file failed"
279 - sed -e "s:^# \(directory=\).*$:\1${instance_data}:" \
280 - -i "${instance_config}" \
281 - || die "Modifying configuration file failed"
282 - ln -s /etc/init.d/rethinkdb "/etc/init.d/rethinkdb.${instance_name}" \
283 - || die "Creating init script symlink failed"
284 -
285 - einfo "Successfully created the instance at ${instance_data}."
286 - einfo "To change the default settings edit the configuration file:"
287 - einfo "${instance_config}"
288 - einfo " "
289 - einfo "To start your instance, run:"
290 - einfo "/etc/init.d/rethinkdb.${instance_name}"
291 -}
292
293 diff --git a/dev-python/rethinkdb-python/Manifest b/dev-python/rethinkdb-python/Manifest
294 deleted file mode 100644
295 index 09fd084..0000000
296 --- a/dev-python/rethinkdb-python/Manifest
297 +++ /dev/null
298 @@ -1,3 +0,0 @@
299 -DIST rethinkdb-2.3.0.tar.gz 116289 SHA256 36330fc409bb14d09a903d830be725cd2b42223048d6214cd423ae83c7c750f7 SHA512 1e710bde31ce45b5cda7463ae0a328c073bbf68544ad790d331163de188855b78257461a5b7367eba7becdaae329f19df545d7dd9834a095c6d01cd2710f481b WHIRLPOOL 89157e76288f0dab4107fd6a5f3089f47c3fe10ffc7bf978eebe850e1aa1cbf6b77f461951ef195fa9fa2382551b2d1a16c969ceeb563b1483c12733013a6836
300 -EBUILD rethinkdb-python-2.3.0.ebuild 528 SHA256 193c99307c7301173e6cda9f34b2261faf6cb1b807a58a11aaa54ba335cb3154 SHA512 dba3af0b0a46b5b2f7b22f12ac2f27a9eecf0c5f35ec0b39b631fbf2375e553f3644bc7c826424919c491e2298ecce85df744b7a5e9f026ae077526d4d1cae51 WHIRLPOOL 554d1b5f9d7d3338a43336cd46f5752ea30c4150894e49211347b463099bde32c897ad940a7ec1386765cdc54f3e4b2c9c6b330492d919f6fa12e0697b6aa46a
301 -MISC metadata.xml 232 SHA256 63539e9d55aa7164d1232c26c02e6e31f17f022981b16dd668675ff4b0affa98 SHA512 7bf9ea5b7ea3e68dc711cffa603596fd2b0e7250ecafaf77a423c01a6f0cfac0cbc76a50c107b6508f50d3d355d8fbca9e02315a1768c92300cc04c8be022011 WHIRLPOOL 89fedd4ba004293e5695d9d7b79021093a8aff71218bf07c85927ce680a1c6597d5b6df0cce467e3e95aba43934cd4ef9e908f3c3bdf9fa70f63572369f53e75
302
303 diff --git a/dev-python/rethinkdb-python/metadata.xml b/dev-python/rethinkdb-python/metadata.xml
304 deleted file mode 100644
305 index 244c29c..0000000
306 --- a/dev-python/rethinkdb-python/metadata.xml
307 +++ /dev/null
308 @@ -1,8 +0,0 @@
309 -<?xml version="1.0" encoding="UTF-8"?>
310 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
311 -<pkgmetadata>
312 - <herd>python</herd>
313 - <upstream>
314 - <remote-id type="pypi">rethinkdb</remote-id>
315 - </upstream>
316 -</pkgmetadata>
317
318 diff --git a/dev-python/rethinkdb-python/rethinkdb-python-2.3.0.ebuild b/dev-python/rethinkdb-python/rethinkdb-python-2.3.0.ebuild
319 deleted file mode 100644
320 index 52b1229..0000000
321 --- a/dev-python/rethinkdb-python/rethinkdb-python-2.3.0.ebuild
322 +++ /dev/null
323 @@ -1,24 +0,0 @@
324 -# Copyright 1999-2015 Gentoo Foundation
325 -# Distributed under the terms of the GNU General Public License v2
326 -# $Id$
327 -
328 -EAPI=5
329 -PYTHON_COMPAT=( python2_7 python3_{4,5} )
330 -
331 -inherit distutils-r1
332 -
333 -MY_PN="rethinkdb"
334 -DESCRIPTION="Python driver library for the RethinkDB database server."
335 -HOMEPAGE="http://rethinkdb.com/api/python/"
336 -SRC_URI="mirror://pypi/${P:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz"
337 -
338 -LICENSE="Apache-2.0"
339 -SLOT="0"
340 -KEYWORDS="~amd64 ~x86"
341 -IUSE="doc"
342 -
343 -RDEPEND=""
344 -DEPEND="${RDEPEND}"
345 -
346 -RESTRICT="test"
347 -S="${WORKDIR}/${MY_PN}-${PV}"