summaryrefslogtreecommitdiff
path: root/dev-db
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-02-20 17:40:11 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-02-20 17:40:11 +0000
commitf3439d6caba79c7067991ef0403d855917255726 (patch)
tree1c1816b545d00d4dc70a8a89f386963f5e5f51f9 /dev-db
parentd6ecedbb65041ed35010095376e87dd7de4270c5 (diff)
gentoo auto-resync : 20:02:2024 - 17:40:11
Diffstat (limited to 'dev-db')
-rw-r--r--dev-db/Manifest.gzbin16242 -> 16248 bytes
-rw-r--r--dev-db/citus/Manifest12
-rw-r--r--dev-db/citus/citus-11.3.1.ebuild (renamed from dev-db/citus/citus-11.3.0.ebuild)2
-rw-r--r--dev-db/citus/citus-12.0.1.ebuild (renamed from dev-db/citus/citus-12.0.0.ebuild)2
-rw-r--r--dev-db/citus/citus-12.1.2.ebuild (renamed from dev-db/citus/citus-12.1.1.ebuild)2
-rw-r--r--dev-db/pgcli/Manifest3
-rw-r--r--dev-db/pgcli/files/pgcli-4.0.1-no-pendulum.patch112
-rw-r--r--dev-db/pgcli/pgcli-4.0.1-r1.ebuild (renamed from dev-db/pgcli/pgcli-4.0.1.ebuild)24
-rw-r--r--dev-db/timescaledb/Manifest6
-rw-r--r--dev-db/timescaledb/timescaledb-2.12.2.ebuild67
-rw-r--r--dev-db/timescaledb/timescaledb-2.14.2.ebuild (renamed from dev-db/timescaledb/timescaledb-2.13.1.ebuild)0
11 files changed, 146 insertions, 84 deletions
diff --git a/dev-db/Manifest.gz b/dev-db/Manifest.gz
index 5209d8394ebc..e291187142ae 100644
--- a/dev-db/Manifest.gz
+++ b/dev-db/Manifest.gz
Binary files differ
diff --git a/dev-db/citus/Manifest b/dev-db/citus/Manifest
index 8ab16cc31ded..9556d53dc6e0 100644
--- a/dev-db/citus/Manifest
+++ b/dev-db/citus/Manifest
@@ -1,7 +1,7 @@
-DIST citus-11.3.0.tar.gz 6627414 BLAKE2B 763ebe9cc7c36222b6e1148b18fcf98af3dc4dbc77a141c355f72e3f943b0cd6ba79aa98622e365f81ca1f5965095e75a0e83277a4690fb386b371d5e80dc778 SHA512 4e40240f8e3867823724feda480fe23ee41347b8d49802b3afcedf970f571a97c8d5cf1639d2d776035d125193ca8ff998927aed47c03e1c1ab3bb79da830ee9
-DIST citus-12.0.0.tar.gz 6744359 BLAKE2B 0cd25e60fb4c94a44c1bf8d0db4a4a62a34082285afe4c32700f182a3b9a67c45f68d1629e6bf7659ed1a5884f2da28a638aa0cb97cc870f8832cf9c3c0e7121 SHA512 1e9b985719d1a2c6c1c965cc5708ffc358b62413fafc7f3f9496727763df2e8674782fc2016d452974530c568e7c5ec5a15cb8905ec9ee7344d82b950780f5b8
-DIST citus-12.1.1.tar.gz 6896428 BLAKE2B 2a7abbdb3d4bb7c3f6c1f03992b078dee98ce2eab7401fee07fe7a5d52c8617e46bb53e5a7d4e677de7d9ad825558735fb214f3861c08a9d60c6ede6b0e848c1 SHA512 55dcb41472e855a8ad46ce4305d53e0e9c2658a5111f5ac503aa7f9f6c492be532c9b1222d62e106ee590adc3dedc7b9ae207f6fcd661f740123264ec2524da7
-EBUILD citus-11.3.0.ebuild 646 BLAKE2B 3557d4be852f27d0e92ce85ed4175fcd975fa0d8dd58c4dffc3109bee5cfa7086444815530cef1dd86d3eedd84a74d24ed51b3904a93c875d7da36e51629b03d SHA512 aeb8d416efb27eed1bf23e2936a314c3d73fd3702ab7f279cbbdcf8b965ae54d1a7fed2c3ac1e3ed5d7c63c0a9ab6f6297a9a52c4c04f5932f8f4f6b210fc02c
-EBUILD citus-12.0.0.ebuild 643 BLAKE2B 8a1a5827be0fa0889755f35f6d3c179a4934eb32992a6397ac15c1fbc9ee1d0e393ecb7f23b2625787bbd3b24e2b676ca35d29935314228c9c15e16e0fc6c201 SHA512 5fe59b36fdf730b69afbe3b3a9d26dfbeb2c63e01e051b315ea2c88a0c066391b190a18a4d61457817128074ff1be9b341a5fea81940d9e0f842ecd6af9eb1cd
-EBUILD citus-12.1.1.ebuild 646 BLAKE2B 2011517e6eba45251871a8689175ea74b34423d824de6dd3018f13a662d06e727e95a8c5a168b02760ff62d4b0c80ca8d75c178cf723d84c92af32e6e7f5050f SHA512 9085ed937666667b70596db6c515404e132efcb2a83d81f356e3566ec96f6e366c6c753690a75667f3873f688420f803c373787f7f10386f21ef1d28e02a7749
+DIST citus-11.3.1.tar.gz 6623462 BLAKE2B ef07fb1e6cf0dd3f49600c3befcb300d47244393dd3bbe01450a8cb7bdb40adf1b7c6d7cf473ac80c466fc5dd4d6e0f5a62d1a587804d74011dda65731431028 SHA512 481d74cdf0e8de86b918fc73ed72f988f42679a827a39e7d89e2d0ebb0447d629dbaf323099dc97e886ea3012539200831f580bfe0cf3a12ef1f3a7bfe3fab42
+DIST citus-12.0.1.tar.gz 6740395 BLAKE2B ca004f8026d94c1ed70c9c7450726287aff415c13b80b93d25a19fbae9a79cbbeaec51521fc7922d5574c75bddb9537d42d656121ca586f4512afe773be5bf76 SHA512 db9b882c63ef6ab848a85d547390d4fc61b97056485dcc8fa51c289a302b78d0de959e29c27a91c494fd3e20491f6a96e96436d8766d02b2770f0e375b94564e
+DIST citus-12.1.2.tar.gz 6897486 BLAKE2B 6cbd65cf0cefc5bbe4abcedbeaece8c9a123a05d0d6b812d95cea69153843fd187ff67ce0e99e19758f43569b7e38379294c3c1551f7751ffcb5a6d025800f1a SHA512 00ca6d7053c91671c894bb2afec25ba2a38aae50b6f363a1e63e08e4f3016e43739c9a48b20d93afecb5cc0f2d886fd12318dd8f54f67c052baca2d421882828
+EBUILD citus-11.3.1.ebuild 646 BLAKE2B cd2b1dfd00a6148d27d37f65bf6725593230dcf713715d6354d75b9e3961254353805b6b80e3a9f5169fa3aba3fcd250b03bb3ed406aac043c1271b3493889c0 SHA512 3ca4c5eaef0154bf549e1e947232c2321a2efddf665c44bc9a371d1249f9ff06c6860feb48a2fe86a9d95b5167d8a3e4fa877881b12d7a6743443279cc5d053d
+EBUILD citus-12.0.1.ebuild 643 BLAKE2B fabb20b71f11963083d1115cbaff6b88197c7d487c651d8e5aca46f7cfb50302dc14c9eeac2c5b8daefb91ddde962b25072c4e1f3f34c40a5a9aaef37373d003 SHA512 fa3557d3530df46a7554b928623ef364dd070ed15fec2213b1f891c3f9e5a6fc2233c438537399990b0b4ff764e4073595f888f988e2d5189f639788b65b1ee6
+EBUILD citus-12.1.2.ebuild 646 BLAKE2B 5a20928b3faee266d218080cc378f7cc557e2478ce14f8a1a201ab7e1beb6ee12be2bec6bdd954c828978bc7fe2dbd9663a57edf9155f2211c46a133b562b253 SHA512 521d896a4fd9e49b839a94e82eb0afb57dffd9cfef41333d537a56528506e5a0dbb85c7fa5e23adc47938f090eecce04c93238a32a71c77297145a7912a2e7a5
MISC metadata.xml 361 BLAKE2B 4661dce471924e095b993bcb2cd32627e08535138f7c2b65b7471342a27cddeda67733d87e50924bf9702594299b158318ac11c59f2d75f2df94880852e4d69e SHA512 3337957bcc132440bb973175a4974800601de71f3effa8dab48edf2847ecd91da8c4790f8a094505c11375700fd0241b9b3f8727a99c54b06de1c30a6e6cf8af
diff --git a/dev-db/citus/citus-11.3.0.ebuild b/dev-db/citus/citus-11.3.1.ebuild
index 1b91866bc2b8..196628d1bd19 100644
--- a/dev-db/citus/citus-11.3.0.ebuild
+++ b/dev-db/citus/citus-11.3.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
diff --git a/dev-db/citus/citus-12.0.0.ebuild b/dev-db/citus/citus-12.0.1.ebuild
index 2ace5e3b55ee..c3c9617e490d 100644
--- a/dev-db/citus/citus-12.0.0.ebuild
+++ b/dev-db/citus/citus-12.0.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
diff --git a/dev-db/citus/citus-12.1.1.ebuild b/dev-db/citus/citus-12.1.2.ebuild
index 9cde9352931d..6f1052ed0c2d 100644
--- a/dev-db/citus/citus-12.1.1.ebuild
+++ b/dev-db/citus/citus-12.1.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
diff --git a/dev-db/pgcli/Manifest b/dev-db/pgcli/Manifest
index f4a79230485f..790beea33323 100644
--- a/dev-db/pgcli/Manifest
+++ b/dev-db/pgcli/Manifest
@@ -1,3 +1,4 @@
+AUX pgcli-4.0.1-no-pendulum.patch 3569 BLAKE2B 52379d64088803fd51d9535d7ac13bae34ea866c74e5a7c87a92f12f6bb8c25179b392f2bf9eb112770ccacad46d886f4bbfd39ff6ada1016301daf7123b1d0a SHA512 1d7fb9562b1e7bc4b4953e041d6e5620850b5f355ab8adaec7392579926a3b2a41661c6d1579b514d4763a171885d8d35df11b22ea03c576eb73cd987fbc89f2
DIST pgcli-4.0.1.tar.gz 646421 BLAKE2B ceb0537344d1fc4c22fc424b7d1df809515778e9d1e492aead517c904ed6274f8c330e1f9bd73da377543e0d078acc8c385951a6717784205dbff0ab427b2d49 SHA512 eba490b979d7b1120eda817c3fe2afc2f2a8e4608e67e41be9b73597dc51027fbe013d5f72f8a6f2853c85395fb51f622dcf6b30c8d2185e5d9a9c1aada378ba
-EBUILD pgcli-4.0.1.ebuild 1043 BLAKE2B 76a3348d2fcc52f1f58e1ab764c1f9d0869025a5a602829f78c4b0cf00578cdf1fc3235abbd541a37d0a75bca89ab10e2d29706a966dfc4b9c8b459b9ce70d6d SHA512 f5c41a6ba246c7571f33b9a9e4640d35cd8f0dcd74d3f28ab1836663cb8b9681e654313be2c82e632588993cd30137101801f5494cd3b94398451a4bef03dbd9
+EBUILD pgcli-4.0.1-r1.ebuild 1366 BLAKE2B f6b68b1bc4dc44f2ba78960d74b2817c2a0d4f18b425fed6a590e0de92d44385d48e8082ad08da1555fae094000449780c35d8e904531f0d652d735f8b9e7c0d SHA512 55ba0a1344de3dafbe73b5d6c77ac7246770b95c93557ba2c5998fd6afe6e479433b11e9f8f424374d3df89d23d3080b61653508a3aebc5fbb3fb7b9fdbc35da
MISC metadata.xml 359 BLAKE2B c8107f0af400492e5365311f645a91c0a56448f3f2983c470c8e8eb08126202f2b5895978971f5f77eec87bbe29e4f198d954dcd87b14b2cfa019fb98dbfe272 SHA512 bca1ac9cb841c4b17c07b6a581d54f860fe384ce139b9894fcdb442024f75ef7996ea55535be177472dc5149e1dd1cf4859181210bbcd637f6b82b8816334cc4
diff --git a/dev-db/pgcli/files/pgcli-4.0.1-no-pendulum.patch b/dev-db/pgcli/files/pgcli-4.0.1-no-pendulum.patch
new file mode 100644
index 000000000000..b761f1c13634
--- /dev/null
+++ b/dev-db/pgcli/files/pgcli-4.0.1-no-pendulum.patch
@@ -0,0 +1,112 @@
+From da189aaa1852170cb852a7a435a20d8246e59c30 Mon Sep 17 00:00:00 2001
+From: Damien Baty <damien@damienbaty.com>
+Date: Mon, 19 Feb 2024 09:36:46 +0100
+Subject: [PATCH] feat: Replace pendulum by home-made duration-to-words
+ function
+
+diff --git a/pgcli/main.py b/pgcli/main.py
+index bbb1989d..cfa1c970 100644
+--- a/pgcli/main.py
++++ b/pgcli/main.py
+@@ -11,7 +11,6 @@
+ import threading
+ import shutil
+ import functools
+-import pendulum
+ import datetime as dt
+ import itertools
+ import platform
+@@ -800,9 +799,9 @@ def execute_command(self, text, handle_closed_connection=True):
+ "Time: %0.03fs (%s), executed in: %0.03fs (%s)"
+ % (
+ query.total_time,
+- pendulum.Duration(seconds=query.total_time).in_words(),
++ duration_in_words(query.total_time),
+ query.execution_time,
+- pendulum.Duration(seconds=query.execution_time).in_words(),
++ duration_in_words(query.execution_time),
+ )
+ )
+ else:
+@@ -1735,5 +1734,28 @@ def parse_service_info(service):
+ return service_conf, service_file
+
+
++def duration_in_words(duration_in_seconds: float) -> str:
++ if not duration_in_seconds:
++ return "0 seconds"
++ components = []
++ hours, remainder = divmod(duration_in_seconds, 3600)
++ if hours > 1:
++ components.append(f"{hours} hours")
++ elif hours == 1:
++ components.append("1 hour")
++ minutes, seconds = divmod(remainder, 60)
++ if minutes > 1:
++ components.append(f"{minutes} minutes")
++ elif minutes == 1:
++ components.append("1 minute")
++ if seconds >= 2:
++ components.append(f"{int(seconds)} seconds")
++ elif seconds >= 1:
++ components.append("1 second")
++ elif seconds:
++ components.append(f"{round(seconds, 3)} second")
++ return " ".join(components)
++
++
+ if __name__ == "__main__":
+ cli()
+diff --git a/setup.py b/setup.py
+index f9dbc56a..640dca00 100644
+--- a/setup.py
++++ b/setup.py
+@@ -16,7 +16,6 @@
+ "psycopg-binary >= 3.0.14; sys_platform == 'win32'",
+ "sqlparse >=0.3.0,<0.5",
+ "configobj >= 5.0.6",
+- "pendulum>=2.1.0",
+ "cli_helpers[styles] >= 2.2.1",
+ ]
+
+diff --git a/tests/test_main.py b/tests/test_main.py
+index cbf20a6a..0aeba80e 100644
+--- a/tests/test_main.py
++++ b/tests/test_main.py
+@@ -11,6 +11,7 @@
+
+ from pgcli.main import (
+ obfuscate_process_password,
++ duration_in_words,
+ format_output,
+ PGCli,
+ OutputSettings,
+@@ -488,3 +489,28 @@ def test_application_name_db_uri(tmpdir):
+ mock_pgexecute.assert_called_with(
+ "bar", "bar", "", "baz.com", "", "", application_name="cow"
+ )
++
++
++@pytest.mark.parametrize(
++ "duration_in_seconds,words",
++ [
++ (0, "0 seconds"),
++ (0.0009, "0.001 second"),
++ (0.0005, "0.001 second"),
++ (0.0004, "0.0 second"), # not perfect, but will do
++ (0.2, "0.2 second"),
++ (1, "1 second"),
++ (1.4, "1 second"),
++ (2, "2 seconds"),
++ (3.4, "3 seconds"),
++ (60, "1 minute"),
++ (61, "1 minute 1 second"),
++ (123, "2 minutes 3 seconds"),
++ (3600, "1 hour"),
++ (7235, "2 hours 35 seconds"),
++ (9005, "2 hours 30 minutes 5 seconds"),
++ (86401, "24 hours 1 second"),
++ ],
++)
++def test_duration_in_words(duration_in_seconds, words):
++ assert duration_in_words(duration_in_seconds) == words
diff --git a/dev-db/pgcli/pgcli-4.0.1.ebuild b/dev-db/pgcli/pgcli-4.0.1-r1.ebuild
index 111362fa7895..d168855385f8 100644
--- a/dev-db/pgcli/pgcli-4.0.1.ebuild
+++ b/dev-db/pgcli/pgcli-4.0.1-r1.ebuild
@@ -19,18 +19,36 @@ RDEPEND="
dev-python/click[${PYTHON_USEDEP}]
>=dev-python/cli-helpers-2.2.1[${PYTHON_USEDEP}]
dev-python/configobj[${PYTHON_USEDEP}]
- dev-python/pendulum[${PYTHON_USEDEP}]
dev-python/pgspecial[${PYTHON_USEDEP}]
dev-python/prompt-toolkit[${PYTHON_USEDEP}]
dev-python/psycopg:0[${PYTHON_USEDEP}]
dev-python/pygments[${PYTHON_USEDEP}]
dev-python/setproctitle[${PYTHON_USEDEP}]
dev-python/sqlparse[${PYTHON_USEDEP}]
- dev-python/sshtunnel[${PYTHON_USEDEP}]"
+ dev-python/sshtunnel[${PYTHON_USEDEP}]
+"
BDEPEND="
test? (
dev-db/postgresql
dev-python/mock[${PYTHON_USEDEP}]
- )"
+ )
+"
distutils_enable_tests pytest
+
+PATCHES=(
+ # https://github.com/dbcli/pgcli/pull/1452
+ "${FILESDIR}/${P}-no-pendulum.patch"
+)
+
+python_test() {
+ local EPYTEST_DESELECT=(
+ # hang while trying to create a keyring
+ # https://bugs.gentoo.org/925085
+ tests/test_main.py::test_pg_service_file
+ tests/test_ssh_tunnel.py::test_ssh_tunnel
+ )
+
+ local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+ epytest
+}
diff --git a/dev-db/timescaledb/Manifest b/dev-db/timescaledb/Manifest
index d5d0338c81e8..0dd1c2546092 100644
--- a/dev-db/timescaledb/Manifest
+++ b/dev-db/timescaledb/Manifest
@@ -1,7 +1,5 @@
-DIST timescaledb-2.12.2.tar.gz 7521115 BLAKE2B 2bc2d43e3185b95cd0b4bcfc852c0850959ac117e4a30cd3b30157a82e7ad7f8192e80cc9787474e169c5ae5476a146cd2510ab93d25f479dcc7d39fa45ae15c SHA512 cb39f632a8c2e02968045f459edaacc291abbda6e64962bfd05519b9c2c00ccaac5f520f2abf8a0b08f4bb740488df56295585c13bb83b82c0d1842a71ff7224
-DIST timescaledb-2.13.1.tar.gz 8239930 BLAKE2B 60f56e6df0224aad61ee1468ae8231a2734c3fa84c1112a04cfe9dbc7ee0abb530b03587711ec50b72d9f0f074466c38f08c915b3f3cd7a27406be2727bff620 SHA512 4416d5a3693ebe20af95903abc4fbd54b13651acbb9a3b4a0eb5cbd69d00c54d73f2abcdfe195edd9f6d14a90667121dac5b3adea20b3efbe50e0318c340c8be
DIST timescaledb-2.14.0.tar.gz 7316149 BLAKE2B d646e20d56ced87f3b95a7a58ed30bcbeec571b1042b64c2fef4f8521248db2142f54cb45d2afbbeb902e451823615fde1bb0259b421350928c146634db9c4d5 SHA512 75a66a51de313fa1beb4a576181888dbe742ffa0325b5813b5b12749c9fc97705eaa030186e424a360ee20745226768a679632182c079117586c5e4a5c108236
-EBUILD timescaledb-2.12.2.ebuild 1434 BLAKE2B 75520259945736154490b67381111a60c1465a9225ba13a5391a8ccfd3adff8845b52a153ee0d794ca617bdd095b6eb200280a8652ab024f4a96820e05b11b39 SHA512 0091de8eab0947304ad3f6f8733d74a3fc7e1e5aa69a4e784c49a947539c32c567e14187bef3cfde01b1fe64cf25c499bf23910fa694f7b58a59c68cdcb8fd02
-EBUILD timescaledb-2.13.1.ebuild 1437 BLAKE2B d63b700a8b0f1d3930da2430738251b4367c8ef2da5ea6f622725f4626f6eec60ea51c54409db484713ccfa0ee1c9c13fcb094fdeaf61d7e02b243a010ef53ed SHA512 f264586a02983db681ddda5ec9a8d99bc8b78a31aea4417dcd5172f5b039866effd8ff283521bb6a305fd715328785ee8a45d440bdb81a75632c7ed5fc83ed84
+DIST timescaledb-2.14.2.tar.gz 7319288 BLAKE2B aa6d56939a4647f9276743cabece77c33760e7f9d451b90aaa03c9391fcfad94afcd315b65c0c589c7188073884bf7ab65f9c796e35f634b8704f334ffa4ac34 SHA512 5a7ab4df5d89b83d423be5d6770098ab0303b22e29166afd3ab91ac2199571df20e33ec9f40bfa90ddf44829571fe696f311d81d27b46d569f2d75e75970e4f9
EBUILD timescaledb-2.14.0.ebuild 1437 BLAKE2B d63b700a8b0f1d3930da2430738251b4367c8ef2da5ea6f622725f4626f6eec60ea51c54409db484713ccfa0ee1c9c13fcb094fdeaf61d7e02b243a010ef53ed SHA512 f264586a02983db681ddda5ec9a8d99bc8b78a31aea4417dcd5172f5b039866effd8ff283521bb6a305fd715328785ee8a45d440bdb81a75632c7ed5fc83ed84
+EBUILD timescaledb-2.14.2.ebuild 1437 BLAKE2B d63b700a8b0f1d3930da2430738251b4367c8ef2da5ea6f622725f4626f6eec60ea51c54409db484713ccfa0ee1c9c13fcb094fdeaf61d7e02b243a010ef53ed SHA512 f264586a02983db681ddda5ec9a8d99bc8b78a31aea4417dcd5172f5b039866effd8ff283521bb6a305fd715328785ee8a45d440bdb81a75632c7ed5fc83ed84
MISC metadata.xml 510 BLAKE2B 4e96707c6ee1fd09ff2baff091e02ceab53bfc28a6a3b91265a21fe9918a9728d2fe6394bed01e8bf4417c2349c2e72bab180cfff71cedf4641d462b29a33d3d SHA512 5e91ef3b9a503462dc880300e364f74e6564dd74671d0b0ce723a86ea7471f987424e06e51384d6fb079681122b8d454e255efe2e19726d64de7928df227148a
diff --git a/dev-db/timescaledb/timescaledb-2.12.2.ebuild b/dev-db/timescaledb/timescaledb-2.12.2.ebuild
deleted file mode 100644
index 5941e85afbb1..000000000000
--- a/dev-db/timescaledb/timescaledb-2.12.2.ebuild
+++ /dev/null
@@ -1,67 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-POSTGRES_COMPAT=( 13 14 15 )
-POSTGRES_USEDEP="ssl"
-
-inherit postgres-multi cmake
-
-DESCRIPTION="Open-source time-series SQL database"
-HOMEPAGE="https://www.timescale.com/"
-SRC_URI="https://github.com/timescale/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-IUSE="proprietary-extensions"
-LICENSE="POSTGRESQL Apache-2.0 proprietary-extensions? ( timescale )"
-
-KEYWORDS="~amd64"
-
-SLOT=0
-
-RESTRICT="test"
-
-DEPEND="${POSTGRES_DEP}"
-RDEPEND="${DEPEND}"
-
-CMAKE_IN_SOURCE_BUILD=yes
-CMAKE_BUILD_TYPE="RelWithDebInfo"
-BUILD_DIR=${WORKDIR}/${P}
-
-src_prepare() {
- postgres-multi_src_prepare
- postgres-multi_foreach cmake_src_prepare
-}
-
-timescale_configure() {
- local CMAKE_USE_DIR=$BUILD_DIR
- local mycmakeargs=( "-DPG_CONFIG=/usr/bin/pg_config${MULTIBUILD_VARIANT}" "-DREGRESS_CHECKS=OFF" )
-
- # licensing is tied to features, this useflag disables the non-apache2 licensed bits
- if ! use proprietary-extensions ; then
- mycmakeargs+=("-DAPACHE_ONLY=ON")
- fi
- cmake_src_configure
-}
-
-src_configure() {
- postgres-multi_foreach timescale_configure
-}
-
-timescale_src_compile() {
- local CMAKE_USE_DIR=$BUILD_DIR
- cmake_src_compile
-}
-
-src_compile() {
- postgres-multi_foreach timescale_src_compile
-}
-
-timescale_src_install() {
- local CMAKE_USE_DIR=$BUILD_DIR
- cmake_src_install
-}
-
-src_install() {
- postgres-multi_foreach timescale_src_install
-}
diff --git a/dev-db/timescaledb/timescaledb-2.13.1.ebuild b/dev-db/timescaledb/timescaledb-2.14.2.ebuild
index ec3d2f7794de..ec3d2f7794de 100644
--- a/dev-db/timescaledb/timescaledb-2.13.1.ebuild
+++ b/dev-db/timescaledb/timescaledb-2.14.2.ebuild