1 |
commit: f138a622895583e2119d6c500176a59ecf8104fa |
2 |
Author: Patrick Lauer <patrick <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Sep 30 17:27:35 2021 +0000 |
4 |
Commit: 罗百科 <patrick <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Sep 30 17:33:57 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f138a622 |
7 |
|
8 |
dev-db/timescaledb: Bump to 2.4.2 |
9 |
|
10 |
Package-Manager: Portage-3.0.26, Repoman-3.0.3 |
11 |
Signed-off-by: Patrick Lauer <patrick <AT> gentoo.org> |
12 |
|
13 |
dev-db/timescaledb/Manifest | 1 + |
14 |
dev-db/timescaledb/timescaledb-2.4.2.ebuild | 67 +++++++++++++++++++++++++++++ |
15 |
2 files changed, 68 insertions(+) |
16 |
|
17 |
diff --git a/dev-db/timescaledb/Manifest b/dev-db/timescaledb/Manifest |
18 |
index 8c3bd9ef867..f031319b968 100644 |
19 |
--- a/dev-db/timescaledb/Manifest |
20 |
+++ b/dev-db/timescaledb/Manifest |
21 |
@@ -5,3 +5,4 @@ DIST timescaledb-2.1.1.tar.gz 2534361 BLAKE2B d0aa5b231cbc9a75bb65eae395ffc0063a |
22 |
DIST timescaledb-2.2.1.tar.gz 2637225 BLAKE2B 4ab37bb5c45a3f7550c2694c8757fff3e8dafe122aa9aea1e31d33931367b6b6bf8aa190444cd9472c3ba0aed087fa68d007ce52de24c78add3a53038a1d24ef SHA512 5dae0ed0b71309598bfc9605e838f2d8b4179ccf7098396315153c4044c7bdaaa411fd11ee70ca7807afde4b609faab281dcb1aa2f8d65330ca95e13fbe24582 |
23 |
DIST timescaledb-2.3.1.tar.gz 2699256 BLAKE2B 5949245d4a2bf52558b3f646d3723b0571745226fcc0de236c21ad7f32316eaeb0780aa94f8ccacd420cd0b0e47c8e048172b9f9355cf01797398b7f2fc85a6a SHA512 431f716ecd98504ce8e5b85e6fd10bf87ed39aac0244b7e968383537caae965ece09f016fed8ea010f5d42b392aed2d75b012deafd807d107f3dc75cbde287ec |
24 |
DIST timescaledb-2.4.1.tar.gz 2401410 BLAKE2B 752d484b03a59cde22f295d47a90d05bfc0674428dd2d03152dbf6604e10c0fb6780815666f65f4d2df58075f7911636c13a671504eed78642e211ceda8aba3d SHA512 54baced28eb20aa14c78605ce7828f7c48210125d9193c3e1c88e9ae81616b2baf37a1eb97c5eb0ddc9b6820d534d134ad047f3c7ace374e29191a42142f35a1 |
25 |
+DIST timescaledb-2.4.2.tar.gz 2409324 BLAKE2B 387f8ba3f446af227e7bd578177a6391c6ad6b1f889eb305499dc420805ad84041bf09b48cf7087727a5d111a7b374a5a5b9b83c0c97a69dc09d9c2c5d3ee9ca SHA512 56a0ff981e7374e2845d949c5bde2f157063b36cb7f9c54c6627c35ae8a8a5e5a3637fb66c6fd5c61a25b86f80a204ab7a6071b9705646bfee6a9b252c805b2d |
26 |
|
27 |
diff --git a/dev-db/timescaledb/timescaledb-2.4.2.ebuild b/dev-db/timescaledb/timescaledb-2.4.2.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..eba5dbffb77 |
30 |
--- /dev/null |
31 |
+++ b/dev-db/timescaledb/timescaledb-2.4.2.ebuild |
32 |
@@ -0,0 +1,67 @@ |
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 13 ) |
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 |
+CMAKE_BUILD_TYPE="RelWithDebInfo" |
61 |
+BUILD_DIR=${WORKDIR}/${P} |
62 |
+ |
63 |
+src_prepare() { |
64 |
+ postgres-multi_src_prepare |
65 |
+ postgres-multi_foreach cmake_src_prepare |
66 |
+} |
67 |
+ |
68 |
+timescale_configure() { |
69 |
+ local CMAKE_USE_DIR=$BUILD_DIR |
70 |
+ local mycmakeargs=( "-DPG_CONFIG=/usr/bin/pg_config${MULTIBUILD_VARIANT}" "-DREGRESS_CHECKS=OFF" ) |
71 |
+ |
72 |
+ # licensing is tied to features, this useflag disables the non-apache2 licensed bits |
73 |
+ if ! use proprietary-extensions ; then |
74 |
+ mycmakeargs+=("-DAPACHE_ONLY=ON") |
75 |
+ fi |
76 |
+ cmake_src_configure |
77 |
+} |
78 |
+ |
79 |
+src_configure() { |
80 |
+ postgres-multi_foreach timescale_configure |
81 |
+} |
82 |
+ |
83 |
+timescale_src_compile() { |
84 |
+ local CMAKE_USE_DIR=$BUILD_DIR |
85 |
+ cmake_src_compile |
86 |
+} |
87 |
+ |
88 |
+src_compile() { |
89 |
+ postgres-multi_foreach timescale_src_compile |
90 |
+} |
91 |
+ |
92 |
+timescale_src_install() { |
93 |
+ local CMAKE_USE_DIR=$BUILD_DIR |
94 |
+ cmake_src_install |
95 |
+} |
96 |
+ |
97 |
+src_install() { |
98 |
+ postgres-multi_foreach timescale_src_install |
99 |
+} |