1 |
commit: 1d5a3bce99c5a259801a472c9387523e082aaa04 |
2 |
Author: Patrick Lauer <patrick <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Mar 2 09:14:03 2021 +0000 |
4 |
Commit: 罗百科 <patrick <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Mar 2 09:14:03 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d5a3bce |
7 |
|
8 |
dev-db/timescaledb: Bump |
9 |
|
10 |
Package-Manager: Portage-3.0.16, Repoman-3.0.2 |
11 |
Signed-off-by: Patrick Lauer <patrick <AT> gentoo.org> |
12 |
|
13 |
dev-db/timescaledb/Manifest | 2 + |
14 |
dev-db/timescaledb/timescaledb-2.0.2.ebuild | 66 +++++++++++++++++++++++++++++ |
15 |
dev-db/timescaledb/timescaledb-2.1.0.ebuild | 66 +++++++++++++++++++++++++++++ |
16 |
3 files changed, 134 insertions(+) |
17 |
|
18 |
diff --git a/dev-db/timescaledb/Manifest b/dev-db/timescaledb/Manifest |
19 |
index 97a1e06e875..21e15e51a37 100644 |
20 |
--- a/dev-db/timescaledb/Manifest |
21 |
+++ b/dev-db/timescaledb/Manifest |
22 |
@@ -1 +1,3 @@ |
23 |
DIST timescaledb-2.0.1.tar.gz 2226320 BLAKE2B 0bd5011e30d6c0d5ac11b78ddf6650044f35d720317213bd0437a43e0421953708d3d69b6933a821d255b183bb72b1c5e34ff88223790266daf7af3cf21f2de2 SHA512 84e9c7da3f0fc6740eb0555bbd92f5511ceef4868fb1952650f9499f3054a4d2be59b3a042b17bf655155c9f9c1de82b6b4fb302bdad7ffbe893ed901adcefc0 |
24 |
+DIST timescaledb-2.0.2.tar.gz 2237429 BLAKE2B 58c5e68daf5a3c1fade48b2ce8f625496ee3c58be38c573c883e319eb0084064d243270ac839e4bdd1ce3c865fc6b916c7869232b995529d8aca77851a0c7a79 SHA512 26ce25e4d833810cdd99691f3b8a4d0c26655b2efeba7c25d5daaaf2d1aabd8f96a421a771da9c5b6cf29af66ddcab39f3881d40364e25c101ea691e4ec61116 |
25 |
+DIST timescaledb-2.1.0.tar.gz 2527250 BLAKE2B 6f257c4b1afc0869c8e309f9b3080dbcdda4b50debc1a5b3848b9d6e59744ff52902b475aca0bc8820aa2edebe9847d62e500a8cd19f7ab8050d9586d95d3a66 SHA512 53fddb9fe4c4ab51ebc020e90eea5b032b41259d3bd45e8a03a86451acd7f8864b5a6ecba1b82b7c78e230f62cfddf1da75ff27e6629ad5fe8178839ac411ce4 |
26 |
|
27 |
diff --git a/dev-db/timescaledb/timescaledb-2.0.2.ebuild b/dev-db/timescaledb/timescaledb-2.0.2.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..9e97e6124c1 |
30 |
--- /dev/null |
31 |
+++ b/dev-db/timescaledb/timescaledb-2.0.2.ebuild |
32 |
@@ -0,0 +1,66 @@ |
33 |
+# Copyright 1999-2021 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=7 |
37 |
+ |
38 |
+POSTGRES_COMPAT=( 11 12 ) |
39 |
+ |
40 |
+inherit postgres-multi cmake |
41 |
+ |
42 |
+DESCRIPTION="Open-source time-series SQL database" |
43 |
+HOMEPAGE="https://www.timescale.com/" |
44 |
+SRC_URI="https://github.com/timescale/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
45 |
+ |
46 |
+IUSE="proprietary-extensions" |
47 |
+LICENSE="POSTGRESQL Apache-2.0 proprietary-extensions? ( timescale )" |
48 |
+ |
49 |
+KEYWORDS="~amd64" |
50 |
+ |
51 |
+SLOT=0 |
52 |
+ |
53 |
+RESTRICT="test" |
54 |
+ |
55 |
+DEPEND="${POSTGRES_DEP} |
56 |
+ dev-libs/openssl" |
57 |
+RDEPEND="${DEPEND}" |
58 |
+ |
59 |
+CMAKE_IN_SOURCE_BUILD=yes |
60 |
+BUILD_DIR=${WORKDIR}/${P} |
61 |
+ |
62 |
+src_prepare() { |
63 |
+ postgres-multi_src_prepare |
64 |
+ postgres-multi_foreach cmake_src_prepare |
65 |
+} |
66 |
+ |
67 |
+timescale_configure() { |
68 |
+ local CMAKE_USE_DIR=$BUILD_DIR |
69 |
+ local mycmakeargs=( "-DPG_CONFIG=/usr/bin/pg_config${MULTIBUILD_VARIANT}" "-DREGRESS_CHECKS=OFF" ) |
70 |
+ |
71 |
+ # licensing is tied to features, this useflag disables the non-apache2 licensed bits |
72 |
+ if ! use proprietary-extensions ; then |
73 |
+ mycmakeargs+=("-DAPACHE_ONLY=ON") |
74 |
+ fi |
75 |
+ cmake_src_configure |
76 |
+} |
77 |
+ |
78 |
+src_configure() { |
79 |
+ postgres-multi_foreach timescale_configure |
80 |
+} |
81 |
+ |
82 |
+timescale_src_compile() { |
83 |
+ local CMAKE_USE_DIR=$BUILD_DIR |
84 |
+ cmake_src_compile |
85 |
+} |
86 |
+ |
87 |
+src_compile() { |
88 |
+ postgres-multi_foreach timescale_src_compile |
89 |
+} |
90 |
+ |
91 |
+timescale_src_install() { |
92 |
+ local CMAKE_USE_DIR=$BUILD_DIR |
93 |
+ cmake_src_install |
94 |
+} |
95 |
+ |
96 |
+src_install() { |
97 |
+ postgres-multi_foreach timescale_src_install |
98 |
+} |
99 |
|
100 |
diff --git a/dev-db/timescaledb/timescaledb-2.1.0.ebuild b/dev-db/timescaledb/timescaledb-2.1.0.ebuild |
101 |
new file mode 100644 |
102 |
index 00000000000..54ea9700b35 |
103 |
--- /dev/null |
104 |
+++ b/dev-db/timescaledb/timescaledb-2.1.0.ebuild |
105 |
@@ -0,0 +1,66 @@ |
106 |
+# Copyright 1999-2021 Gentoo Authors |
107 |
+# Distributed under the terms of the GNU General Public License v2 |
108 |
+ |
109 |
+EAPI=7 |
110 |
+ |
111 |
+POSTGRES_COMPAT=( 11 12 13 ) |
112 |
+ |
113 |
+inherit postgres-multi cmake |
114 |
+ |
115 |
+DESCRIPTION="Open-source time-series SQL database" |
116 |
+HOMEPAGE="https://www.timescale.com/" |
117 |
+SRC_URI="https://github.com/timescale/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
118 |
+ |
119 |
+IUSE="proprietary-extensions" |
120 |
+LICENSE="POSTGRESQL Apache-2.0 proprietary-extensions? ( timescale )" |
121 |
+ |
122 |
+KEYWORDS="~amd64" |
123 |
+ |
124 |
+SLOT=0 |
125 |
+ |
126 |
+RESTRICT="test" |
127 |
+ |
128 |
+DEPEND="${POSTGRES_DEP} |
129 |
+ dev-libs/openssl" |
130 |
+RDEPEND="${DEPEND}" |
131 |
+ |
132 |
+CMAKE_IN_SOURCE_BUILD=yes |
133 |
+BUILD_DIR=${WORKDIR}/${P} |
134 |
+ |
135 |
+src_prepare() { |
136 |
+ postgres-multi_src_prepare |
137 |
+ postgres-multi_foreach cmake_src_prepare |
138 |
+} |
139 |
+ |
140 |
+timescale_configure() { |
141 |
+ local CMAKE_USE_DIR=$BUILD_DIR |
142 |
+ local mycmakeargs=( "-DPG_CONFIG=/usr/bin/pg_config${MULTIBUILD_VARIANT}" "-DREGRESS_CHECKS=OFF" ) |
143 |
+ |
144 |
+ # licensing is tied to features, this useflag disables the non-apache2 licensed bits |
145 |
+ if ! use proprietary-extensions ; then |
146 |
+ mycmakeargs+=("-DAPACHE_ONLY=ON") |
147 |
+ fi |
148 |
+ cmake_src_configure |
149 |
+} |
150 |
+ |
151 |
+src_configure() { |
152 |
+ postgres-multi_foreach timescale_configure |
153 |
+} |
154 |
+ |
155 |
+timescale_src_compile() { |
156 |
+ local CMAKE_USE_DIR=$BUILD_DIR |
157 |
+ cmake_src_compile |
158 |
+} |
159 |
+ |
160 |
+src_compile() { |
161 |
+ postgres-multi_foreach timescale_src_compile |
162 |
+} |
163 |
+ |
164 |
+timescale_src_install() { |
165 |
+ local CMAKE_USE_DIR=$BUILD_DIR |
166 |
+ cmake_src_install |
167 |
+} |
168 |
+ |
169 |
+src_install() { |
170 |
+ postgres-multi_foreach timescale_src_install |
171 |
+} |