pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/databases/postgresql-promscale_extension postgresql-pr...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6a6badd52ad5
branches:  trunk
changeset: 391620:6a6badd52ad5
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Wed Jan 11 03:33:46 2023 +0000

description:
postgresql-promscale_extension: update to 0.8.0

Adds support for PostgreSQL 15.

diffstat:

 databases/postgresql-promscale_extension/Makefile                                           |   20 +-
 databases/postgresql-promscale_extension/PLIST                                              |   11 +-
 databases/postgresql-promscale_extension/cargo-depends.mk                                   |  274 +-
 databases/postgresql-promscale_extension/distinfo                                           |  821 +++++----
 databases/postgresql-promscale_extension/patches/patch-Cargo.toml                           |   18 +-
 databases/postgresql-promscale_extension/patches/patch-pgx_pgx-pg-sys_build.rs              |   14 +-
 databases/postgresql-promscale_extension/patches/patch-pgx_pgx-pg-sys_src_submodules_mod.rs |    8 +-
 7 files changed, 609 insertions(+), 557 deletions(-)

diffs (truncated from 2071 to 300 lines):

diff -r 2fe5a062d5eb -r 6a6badd52ad5 databases/postgresql-promscale_extension/Makefile
--- a/databases/postgresql-promscale_extension/Makefile Tue Jan 10 23:42:16 2023 +0000
+++ b/databases/postgresql-promscale_extension/Makefile Wed Jan 11 03:33:46 2023 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.19 2022/11/23 16:19:37 adam Exp $
+# $NetBSD: Makefile,v 1.20 2023/01/11 03:33:46 tnn Exp $
 
-DISTNAME=      promscale_extension-0.7.0
+DISTNAME=      promscale_extension-0.8.0
 PKGNAME=       postgresql${PGSQL_VERSION}-${DISTNAME}
-PKGREVISION=   1
 CATEGORIES=    databases
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=timescale/}
 GITHUB_PROJECT=        promscale_extension
@@ -15,15 +14,9 @@
 
 DEPENDS+=      postgresql${PGSQL_VERSION}-server>=0:../../databases/postgresql${PGSQL_VERSION}-server
 
-# Depends on an unpublished crate. Can't use cargo.mk to fetch it.
-PGX_REV=       96ece243
-DISTFILES=     ${DEFAULT_DISTFILES}
-DISTFILES+=    pgx-${PGX_REV}.tar.gz
-SITES.pgx-${PGX_REV}.tar.gz+= -${MASTER_SITE_GITHUB:=timescale/}pgx/archive/${PGX_REV}.tar.gz
-
 .include       "cargo-depends.mk"
 
-PGSQL_VERSIONS_ACCEPTED=       14 13 12
+PGSQL_VERSIONS_ACCEPTED=       15 14 13 12
 
 USE_TOOLS+=    gmake bash pax pkg-config
 BUILD_TARGET=  package
@@ -33,15 +26,12 @@
 SUBST_CLASSES+=                        include_dir
 SUBST_STAGE.include_dir=       pre-configure
 SUBST_MESSAGE.include_dir=     fixing include paths for bindgen
-SUBST_FILES.include_dir+=      ../pgx/pgx-pg-sys/build.rs
+SUBST_FILES.include_dir+=      ../vendor/pgx-pg-sys-*/build.rs
 SUBST_VARS.include_dir+=       BUILDLINK_DIR
 
-post-extract:
-       mv ${WRKDIR}/pgx-* ${WRKDIR}/pgx
-
 pre-build:
        ln -sf ${PREFIX}/bin/cargo ${TOOLS_DIR}/bin/cargo
-       cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} cargo install --offline --path ../pgx/cargo-pgx cargo-pgx
+       cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} cargo install --offline --path ../vendor/cargo-pgx-* cargo-pgx
 # cargo pgx init (initdb) refuses to run as root
 #      cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} cargo pgx init --pg${PGSQL_VERSION}=${PREFIX}/bin/pg_config
        mkdir -p ${FAKEHOMEDIR}/.pgx
diff -r 2fe5a062d5eb -r 6a6badd52ad5 databases/postgresql-promscale_extension/PLIST
--- a/databases/postgresql-promscale_extension/PLIST    Tue Jan 10 23:42:16 2023 +0000
+++ b/databases/postgresql-promscale_extension/PLIST    Wed Jan 11 03:33:46 2023 +0000
@@ -1,10 +1,11 @@
-@comment $NetBSD: PLIST,v 1.8 2022/10/29 15:29:06 tnn Exp $
+@comment $NetBSD: PLIST,v 1.9 2023/01/11 03:33:46 tnn Exp $
 lib/postgresql/promscale-${PKGVERSION}.so
 share/postgresql/extension/promscale--0.0.0--0.5.0.sql
 share/postgresql/extension/promscale--0.0.0--0.5.1.sql
 share/postgresql/extension/promscale--0.0.0--0.5.2.sql
 share/postgresql/extension/promscale--0.0.0--0.5.4.sql
 share/postgresql/extension/promscale--0.0.0--0.6.0.sql
+share/postgresql/extension/promscale--0.0.0--0.7.0.sql
 share/postgresql/extension/promscale--0.0.0--${PKGVERSION}.sql
 share/postgresql/extension/promscale--0.0.0.sql
 share/postgresql/extension/promscale--0.1--0.1.1.sql
@@ -26,24 +27,32 @@
 share/postgresql/extension/promscale--0.5.0--0.5.2.sql
 share/postgresql/extension/promscale--0.5.0--0.5.4.sql
 share/postgresql/extension/promscale--0.5.0--0.6.0.sql
+share/postgresql/extension/promscale--0.5.0--0.7.0.sql
 share/postgresql/extension/promscale--0.5.0--${PKGVERSION}.sql
 share/postgresql/extension/promscale--0.5.0.sql
 share/postgresql/extension/promscale--0.5.1--0.5.2.sql
 share/postgresql/extension/promscale--0.5.1--0.5.4.sql
 share/postgresql/extension/promscale--0.5.1--0.6.0.sql
+share/postgresql/extension/promscale--0.5.1--0.7.0.sql
 share/postgresql/extension/promscale--0.5.1--${PKGVERSION}.sql
 share/postgresql/extension/promscale--0.5.1.sql
 share/postgresql/extension/promscale--0.5.2--0.5.4.sql
 share/postgresql/extension/promscale--0.5.2--0.6.0.sql
+share/postgresql/extension/promscale--0.5.2--0.7.0.sql
 share/postgresql/extension/promscale--0.5.2--${PKGVERSION}.sql
 share/postgresql/extension/promscale--0.5.2.sql
 share/postgresql/extension/promscale--0.5.3--0.5.4.sql
 share/postgresql/extension/promscale--0.5.3--0.6.0.sql
+share/postgresql/extension/promscale--0.5.3--0.7.0.sql
 share/postgresql/extension/promscale--0.5.3--${PKGVERSION}.sql
 share/postgresql/extension/promscale--0.5.4--0.6.0.sql
+share/postgresql/extension/promscale--0.5.4--0.7.0.sql
 share/postgresql/extension/promscale--0.5.4--${PKGVERSION}.sql
 share/postgresql/extension/promscale--0.5.4.sql
+share/postgresql/extension/promscale--0.6.0--0.7.0.sql
 share/postgresql/extension/promscale--0.6.0--${PKGVERSION}.sql
 share/postgresql/extension/promscale--0.6.0.sql
+share/postgresql/extension/promscale--0.7.0--${PKGVERSION}.sql
+share/postgresql/extension/promscale--0.7.0.sql
 share/postgresql/extension/promscale--${PKGVERSION}.sql
 share/postgresql/extension/promscale.control
diff -r 2fe5a062d5eb -r 6a6badd52ad5 databases/postgresql-promscale_extension/cargo-depends.mk
--- a/databases/postgresql-promscale_extension/cargo-depends.mk Tue Jan 10 23:42:16 2023 +0000
+++ b/databases/postgresql-promscale_extension/cargo-depends.mk Wed Jan 11 03:33:46 2023 +0000
@@ -1,108 +1,115 @@
-# $NetBSD: cargo-depends.mk,v 1.5 2022/09/04 11:55:41 tnn Exp $
+# $NetBSD: cargo-depends.mk,v 1.6 2023/01/11 03:33:46 tnn Exp $
 
+CARGO_CRATE_DEPENDS+=  cargo-pgx-0.6.1
 # make show-cargo-depends > a
-# make show-cargo-depends CARGO_WRKSRC=work/pgx > b
-# cat a b | sort -u > cargo-depends.mk
+# make show-cargo-depends CARGO_WRKSRC=work/vendor/cargo-pgx-0.6.1 > b
+# cat a b | sort -u > cargo-depends.mk.new
 
 CARGO_CRATE_DEPENDS+=  addr2line-0.17.0
 CARGO_CRATE_DEPENDS+=  adler-1.0.2
-CARGO_CRATE_DEPENDS+=  adler32-1.2.0
 CARGO_CRATE_DEPENDS+=  aho-corasick-0.7.18
-CARGO_CRATE_DEPENDS+=  ansi_term-0.12.1
+CARGO_CRATE_DEPENDS+=  aho-corasick-0.7.20
+CARGO_CRATE_DEPENDS+=  android_system_properties-0.1.5
 CARGO_CRATE_DEPENDS+=  arrayvec-0.7.2
 CARGO_CRATE_DEPENDS+=  askama-0.11.1
 CARGO_CRATE_DEPENDS+=  askama_derive-0.11.2
 CARGO_CRATE_DEPENDS+=  askama_escape-0.10.3
 CARGO_CRATE_DEPENDS+=  askama_shared-0.12.2
-CARGO_CRATE_DEPENDS+=  async-trait-0.1.53
 CARGO_CRATE_DEPENDS+=  async-trait-0.1.56
 CARGO_CRATE_DEPENDS+=  atomic-polyfill-0.1.8
 CARGO_CRATE_DEPENDS+=  atomic-traits-0.3.0
 CARGO_CRATE_DEPENDS+=  atty-0.2.14
 CARGO_CRATE_DEPENDS+=  autocfg-1.1.0
-CARGO_CRATE_DEPENDS+=  backtrace-0.3.65
 CARGO_CRATE_DEPENDS+=  backtrace-0.3.66
 CARGO_CRATE_DEPENDS+=  bare-metal-0.2.5
 CARGO_CRATE_DEPENDS+=  bare-metal-1.0.0
-CARGO_CRATE_DEPENDS+=  base64-0.11.0
 CARGO_CRATE_DEPENDS+=  base64-0.13.0
+CARGO_CRATE_DEPENDS+=  base64-0.13.1
 CARGO_CRATE_DEPENDS+=  bincode-1.3.3
-CARGO_CRATE_DEPENDS+=  bindgen-0.59.2
+CARGO_CRATE_DEPENDS+=  bindgen-0.60.1
 CARGO_CRATE_DEPENDS+=  bit-set-0.5.2
+CARGO_CRATE_DEPENDS+=  bit-set-0.5.3
 CARGO_CRATE_DEPENDS+=  bit-vec-0.6.3
 CARGO_CRATE_DEPENDS+=  bit_field-0.10.1
 CARGO_CRATE_DEPENDS+=  bitfield-0.13.2
 CARGO_CRATE_DEPENDS+=  bitflags-1.3.2
+CARGO_CRATE_DEPENDS+=  bitvec-1.0.1
 CARGO_CRATE_DEPENDS+=  block-buffer-0.10.2
 CARGO_CRATE_DEPENDS+=  bollard-stubs-1.41.0
 CARGO_CRATE_DEPENDS+=  build-deps-0.1.4
+CARGO_CRATE_DEPENDS+=  bumpalo-3.11.1
 CARGO_CRATE_DEPENDS+=  byteorder-1.4.3
 CARGO_CRATE_DEPENDS+=  bytes-1.1.0
-CARGO_CRATE_DEPENDS+=  camino-1.0.8
+CARGO_CRATE_DEPENDS+=  camino-1.1.1
 CARGO_CRATE_DEPENDS+=  cargo-platform-0.1.2
-CARGO_CRATE_DEPENDS+=  cargo_metadata-0.14.2
-CARGO_CRATE_DEPENDS+=  cargo_toml-0.11.5
-CARGO_CRATE_DEPENDS+=  cc-1.0.73
+CARGO_CRATE_DEPENDS+=  cargo_metadata-0.15.2
+CARGO_CRATE_DEPENDS+=  cargo_toml-0.11.8
+CARGO_CRATE_DEPENDS+=  cc-1.0.77
 CARGO_CRATE_DEPENDS+=  cexpr-0.6.0
 CARGO_CRATE_DEPENDS+=  cfg-if-1.0.0
-CARGO_CRATE_DEPENDS+=  chrono-0.4.19
-CARGO_CRATE_DEPENDS+=  clang-sys-1.3.1
+CARGO_CRATE_DEPENDS+=  chrono-0.4.23
+CARGO_CRATE_DEPENDS+=  chunked_transfer-1.4.0
 CARGO_CRATE_DEPENDS+=  clang-sys-1.3.3
-CARGO_CRATE_DEPENDS+=  clap-3.1.18
-CARGO_CRATE_DEPENDS+=  clap-cargo-0.8.0
-CARGO_CRATE_DEPENDS+=  clap_derive-3.1.18
-CARGO_CRATE_DEPENDS+=  clap_lex-0.2.0
-CARGO_CRATE_DEPENDS+=  color-eyre-0.6.1
+CARGO_CRATE_DEPENDS+=  clap-4.0.29
+CARGO_CRATE_DEPENDS+=  clap-cargo-0.10.0
+CARGO_CRATE_DEPENDS+=  clap_derive-4.0.21
+CARGO_CRATE_DEPENDS+=  clap_lex-0.3.0
+CARGO_CRATE_DEPENDS+=  codespan-reporting-0.11.1
+CARGO_CRATE_DEPENDS+=  color-eyre-0.6.2
 CARGO_CRATE_DEPENDS+=  color-spantrace-0.2.0
 CARGO_CRATE_DEPENDS+=  console-0.15.0
 CARGO_CRATE_DEPENDS+=  convert_case-0.5.0
 CARGO_CRATE_DEPENDS+=  core-foundation-0.9.3
 CARGO_CRATE_DEPENDS+=  core-foundation-sys-0.8.3
-CARGO_CRATE_DEPENDS+=  cortex-m-0.7.4
 CARGO_CRATE_DEPENDS+=  cortex-m-0.7.5
 CARGO_CRATE_DEPENDS+=  cpufeatures-0.2.2
 CARGO_CRATE_DEPENDS+=  crc32fast-1.3.2
 CARGO_CRATE_DEPENDS+=  critical-section-0.2.7
-CARGO_CRATE_DEPENDS+=  crossbeam-channel-0.5.4
 CARGO_CRATE_DEPENDS+=  crossbeam-channel-0.5.5
+CARGO_CRATE_DEPENDS+=  crossbeam-channel-0.5.6
 CARGO_CRATE_DEPENDS+=  crossbeam-deque-0.8.1
-CARGO_CRATE_DEPENDS+=  crossbeam-epoch-0.9.8
+CARGO_CRATE_DEPENDS+=  crossbeam-deque-0.8.2
+CARGO_CRATE_DEPENDS+=  crossbeam-epoch-0.9.13
 CARGO_CRATE_DEPENDS+=  crossbeam-epoch-0.9.9
 CARGO_CRATE_DEPENDS+=  crossbeam-utils-0.8.10
-CARGO_CRATE_DEPENDS+=  crossbeam-utils-0.8.8
-CARGO_CRATE_DEPENDS+=  crypto-common-0.1.3
+CARGO_CRATE_DEPENDS+=  crossbeam-utils-0.8.14
 CARGO_CRATE_DEPENDS+=  crypto-common-0.1.5
-CARGO_CRATE_DEPENDS+=  cstr_core-0.2.5
+CARGO_CRATE_DEPENDS+=  cstr_core-0.2.6
 CARGO_CRATE_DEPENDS+=  cty-0.2.2
+CARGO_CRATE_DEPENDS+=  cxx-1.0.83
+CARGO_CRATE_DEPENDS+=  cxx-build-1.0.83
+CARGO_CRATE_DEPENDS+=  cxxbridge-flags-1.0.83
+CARGO_CRATE_DEPENDS+=  cxxbridge-macro-1.0.83
 CARGO_CRATE_DEPENDS+=  darling-0.13.4
 CARGO_CRATE_DEPENDS+=  darling_core-0.13.4
 CARGO_CRATE_DEPENDS+=  darling_macro-0.13.4
-CARGO_CRATE_DEPENDS+=  digest-0.10.3
+CARGO_CRATE_DEPENDS+=  digest-0.10.6
 CARGO_CRATE_DEPENDS+=  dirs-4.0.0
 CARGO_CRATE_DEPENDS+=  dirs-sys-0.3.7
 CARGO_CRATE_DEPENDS+=  doc-comment-0.3.3
 CARGO_CRATE_DEPENDS+=  duct-0.13.5
-CARGO_CRATE_DEPENDS+=  either-1.6.1
 CARGO_CRATE_DEPENDS+=  either-1.7.0
+CARGO_CRATE_DEPENDS+=  either-1.8.0
 CARGO_CRATE_DEPENDS+=  embedded-hal-0.2.7
 CARGO_CRATE_DEPENDS+=  encode_unicode-0.3.6
-CARGO_CRATE_DEPENDS+=  enum-primitive-derive-0.2.2
 CARGO_CRATE_DEPENDS+=  env_logger-0.7.1
 CARGO_CRATE_DEPENDS+=  env_proxy-0.4.1
+CARGO_CRATE_DEPENDS+=  errno-0.2.8
+CARGO_CRATE_DEPENDS+=  errno-dragonfly-0.1.2
 CARGO_CRATE_DEPENDS+=  eyre-0.6.8
 CARGO_CRATE_DEPENDS+=  fallible-iterator-0.2.0
 CARGO_CRATE_DEPENDS+=  fancy-regex-0.7.1
 CARGO_CRATE_DEPENDS+=  fastrand-1.7.0
-CARGO_CRATE_DEPENDS+=  fixedbitset-0.4.1
+CARGO_CRATE_DEPENDS+=  fastrand-1.8.0
 CARGO_CRATE_DEPENDS+=  fixedbitset-0.4.2
-CARGO_CRATE_DEPENDS+=  flate2-1.0.23
-CARGO_CRATE_DEPENDS+=  flate2-1.0.24
+CARGO_CRATE_DEPENDS+=  flate2-1.0.25
 CARGO_CRATE_DEPENDS+=  fnv-1.0.7
 CARGO_CRATE_DEPENDS+=  foreign-types-0.3.2
 CARGO_CRATE_DEPENDS+=  foreign-types-shared-0.1.1
-CARGO_CRATE_DEPENDS+=  fork-0.1.19
-CARGO_CRATE_DEPENDS+=  form_urlencoded-1.0.1
+CARGO_CRATE_DEPENDS+=  fork-0.1.20
+CARGO_CRATE_DEPENDS+=  form_urlencoded-1.1.0
 CARGO_CRATE_DEPENDS+=  fuchsia-cprng-0.1.1
+CARGO_CRATE_DEPENDS+=  funty-2.0.0
 CARGO_CRATE_DEPENDS+=  futures-0.3.21
 CARGO_CRATE_DEPENDS+=  futures-channel-0.3.21
 CARGO_CRATE_DEPENDS+=  futures-core-0.3.21
@@ -113,240 +120,234 @@
 CARGO_CRATE_DEPENDS+=  futures-task-0.3.21
 CARGO_CRATE_DEPENDS+=  futures-util-0.3.21
 CARGO_CRATE_DEPENDS+=  generic-array-0.14.5
-CARGO_CRATE_DEPENDS+=  getrandom-0.1.16
-CARGO_CRATE_DEPENDS+=  getrandom-0.2.6
 CARGO_CRATE_DEPENDS+=  getrandom-0.2.7
-CARGO_CRATE_DEPENDS+=  gimli-0.26.1
+CARGO_CRATE_DEPENDS+=  getrandom-0.2.8
+CARGO_CRATE_DEPENDS+=  gimli-0.26.2
 CARGO_CRATE_DEPENDS+=  glob-0.3.0
 CARGO_CRATE_DEPENDS+=  half-1.8.2
 CARGO_CRATE_DEPENDS+=  hash32-0.2.1
-CARGO_CRATE_DEPENDS+=  hashbrown-0.11.2
 CARGO_CRATE_DEPENDS+=  hashbrown-0.12.2
-CARGO_CRATE_DEPENDS+=  heapless-0.7.13
-CARGO_CRATE_DEPENDS+=  heapless-0.7.15
+CARGO_CRATE_DEPENDS+=  hashbrown-0.12.3
+CARGO_CRATE_DEPENDS+=  heapless-0.7.16
 CARGO_CRATE_DEPENDS+=  heck-0.4.0
 CARGO_CRATE_DEPENDS+=  hermit-abi-0.1.19
+CARGO_CRATE_DEPENDS+=  hermit-abi-0.2.6
 CARGO_CRATE_DEPENDS+=  hex-0.4.3
 CARGO_CRATE_DEPENDS+=  hmac-0.12.1
-CARGO_CRATE_DEPENDS+=  httpdate-0.3.2
 CARGO_CRATE_DEPENDS+=  humansize-1.1.1
 CARGO_CRATE_DEPENDS+=  humantime-1.3.0
+CARGO_CRATE_DEPENDS+=  iana-time-zone-0.1.53
+CARGO_CRATE_DEPENDS+=  iana-time-zone-haiku-0.1.1
 CARGO_CRATE_DEPENDS+=  ident_case-1.0.1
-CARGO_CRATE_DEPENDS+=  idna-0.2.3
+CARGO_CRATE_DEPENDS+=  idna-0.3.0
 CARGO_CRATE_DEPENDS+=  indenter-0.3.3
-CARGO_CRATE_DEPENDS+=  indexmap-1.8.1
 CARGO_CRATE_DEPENDS+=  indexmap-1.9.1
+CARGO_CRATE_DEPENDS+=  indexmap-1.9.2
 CARGO_CRATE_DEPENDS+=  insta-1.15.0
 CARGO_CRATE_DEPENDS+=  instant-0.1.12
+CARGO_CRATE_DEPENDS+=  io-lifetimes-1.0.3
+CARGO_CRATE_DEPENDS+=  is-terminal-0.4.1
 CARGO_CRATE_DEPENDS+=  is_ci-1.1.1
 CARGO_CRATE_DEPENDS+=  itoa-1.0.2
+CARGO_CRATE_DEPENDS+=  itoa-1.0.4
+CARGO_CRATE_DEPENDS+=  js-sys-0.3.60
 CARGO_CRATE_DEPENDS+=  lazy_static-1.4.0
 CARGO_CRATE_DEPENDS+=  lazycell-1.3.0
-CARGO_CRATE_DEPENDS+=  libc-0.2.126
-CARGO_CRATE_DEPENDS+=  libflate-1.2.0
-CARGO_CRATE_DEPENDS+=  libflate_lz77-1.1.0



Home | Main Index | Thread Index | Old Index