pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases/promscale promscale: accept PostgreSQL 15 an...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7fc0a105a8fa
branches:  trunk
changeset: 391622:7fc0a105a8fa
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Wed Jan 11 03:50:06 2023 +0000

description:
promscale: accept PostgreSQL 15 and extension 0.8.x at runtime. Bump.

Picked from upstream master.

diffstat:

 databases/promscale/Makefile                             |   4 +-
 databases/promscale/distinfo                             |   3 +-
 databases/promscale/patches/patch-pkg_version_version.go |  23 ++++++++++++++++
 3 files changed, 27 insertions(+), 3 deletions(-)

diffs (55 lines):

diff -r 29c7bd2a02ff -r 7fc0a105a8fa databases/promscale/Makefile
--- a/databases/promscale/Makefile      Wed Jan 11 03:34:16 2023 +0000
+++ b/databases/promscale/Makefile      Wed Jan 11 03:50:06 2023 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.40 2022/12/08 16:14:20 bsiegert Exp $
+# $NetBSD: Makefile,v 1.41 2023/01/11 03:50:06 tnn Exp $
 
 DISTNAME=      promscale-0.16.0
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=timescale/}
-PKGREVISION=   2
+PKGREVISION=   3
 CATEGORIES=    databases
 GITHUB_TAG=    ${PKGVERSION_NOREV}
 
diff -r 29c7bd2a02ff -r 7fc0a105a8fa databases/promscale/distinfo
--- a/databases/promscale/distinfo      Wed Jan 11 03:34:16 2023 +0000
+++ b/databases/promscale/distinfo      Wed Jan 11 03:50:06 2023 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.15 2022/10/29 15:31:06 tnn Exp $
+$NetBSD: distinfo,v 1.16 2023/01/11 03:50:06 tnn Exp $
 
 BLAKE2s (bazil.org_fuse_@v_v0.0.0-20160811212531-371fbbdaa898.mod) = ff8095283662ae2d2a1968bf429516c54586b1a6c4dc744657162e6781aa8ece
 SHA512 (bazil.org_fuse_@v_v0.0.0-20160811212531-371fbbdaa898.mod) = 7b3ef87f98485bb9ec325680f57d43a9bd76e90bdcfb1e798458f28f7d3addf91dbb6a07b654749468860981413ad2267df2d5f3535c85579e9f79d9328d355c
@@ -5070,3 +5070,4 @@
 BLAKE2s (sigs.k8s.io_yaml_@v_v1.2.0.mod) = 2d4421e9265c2b91b81b67e23f4cf18dc86a3abaca85e4ffa3429df0b885baa8
 SHA512 (sigs.k8s.io_yaml_@v_v1.2.0.mod) = 712a936d07bfe4c2e67a4f199346d7e96db35486a0f051365c4636ddbc6505cf540995bc67e6a03b1b58e1e4816ece573418f23bf9ce93fcdc141a05f922f527
 Size (sigs.k8s.io_yaml_@v_v1.2.0.mod) = 106 bytes
+SHA1 (patch-pkg_version_version.go) = 369077deecb1504c81fb29d1d7e20e41dc545c47
diff -r 29c7bd2a02ff -r 7fc0a105a8fa databases/promscale/patches/patch-pkg_version_version.go
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/promscale/patches/patch-pkg_version_version.go  Wed Jan 11 03:50:06 2023 +0000
@@ -0,0 +1,23 @@
+$NetBSD: patch-pkg_version_version.go,v 1.3 2023/01/11 03:50:06 tnn Exp $
+
+Update accepted versions until 0.17.0 proper is out.
+
+--- pkg/version/version.go.orig        2022-10-20 15:31:32.000000000 +0000
++++ pkg/version/version.go
+@@ -44,14 +44,14 @@ var (
+       Branch                     = ""      // Comes from -ldflags settings
+       EarliestUpgradeTestVersion = "0.3.0" // 0.3.0 earliest version an image with correct extension versions exists
+ 
+-      PgVersionNumRange       = ">=12.x <15.x" // Corresponds to range within pg 12.0 to pg 14.99
++      PgVersionNumRange       = ">=12.x <16.x" // Corresponds to range within pg 12.0 to pg 15.99
+       pgAcceptedVersionsRange = semver.MustParseRange(PgVersionNumRange)
+ 
+       TimescaleVersionRangeString = ">=2.6.1 <2.99.0"
+       TimescaleVersionRange       = semver.MustParseRange(TimescaleVersionRangeString)
+ 
+       // ExtVersionRangeString is a range of required promscale extension versions
+-      ExtVersionRangeString = ">=0.7.0 <0.7.99"
++      ExtVersionRangeString = ">=0.7.0 <0.8.99"
+       ExtVersionRange       = semver.MustParseRange(ExtVersionRangeString)
+ 
+       // Expose build info through Prometheus metric



Home | Main Index | Thread Index | Old Index