From nobody Sat Dec 03 18:44:18 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4NPdyC27T7z4j6g9; Sat, 3 Dec 2022 18:44:19 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NPdyC1cl3z4J0m; Sat, 3 Dec 2022 18:44:19 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1670093059; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=hIS7fj2iah7Z64BKMwT23PHpMUGe64SW+uedJu/1G0A=; b=ggn6yVyrg46K5uyYhchE5Ox7ZykTHdl9YZ8AEDhV8nDroX94GApop+sOnh4AsGAOMYFYg2 bGzhUJbsmpaT+c8vqHdDj0Y82FKPtdfAdVYa2k7o01JYnvoCQ99BUcJLHJ3tvdXZIglC+Q DBC1WIVtNmH5b/f+x7vuW+QAp+NsLzR7dO2O5553HMGvHVtK9GRar14vEZCRN/wkGcr3nj y6ABxW0ViA7dNE//IAWcfi/iT9k9tRrttH1YH3RgybqMT2v2hAi5yp4vi9cGSNN+c1swkT qmldpPJt/Ag/VANzlAANYpgyTVO1exVqDYoFHOe2JFfc/AXimORen2F8lgm+bg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1670093059; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=hIS7fj2iah7Z64BKMwT23PHpMUGe64SW+uedJu/1G0A=; b=N2JJFW59u+6atLtoFKOcwCaxCIycSXcPmdbq+Hb5XCHH2lHoyIO0RxQvzoxDc+PWN/bPzD UCSsaRPHXxscTW0SYZ5QFqMp8EOdVnxNJPaDY9SE8+jrKfWVxAN57kyk9DvCMuhPc27E96 Tc9xiJ3gSQsfVOK7GXpSvqAPPIi7q/TOy4fabp9q3n/O8r2YaHQD8xq0ndzcBbmjVE3oP7 u34Wee8c60aaAai9Evr+TbwavdogsTPMuLfiEUk7anV7UFRZDrucWrH6G9heUg1OWwynsE 5arehplqoB7uHtBmrmn94Uanut6KqPldz0tRXkYdaL5QcgDHWYhgnGzduLy0Sg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1670093059; a=rsa-sha256; cv=none; b=PLZSYZHi6bA4sx+avbsrRIIzfqiTn/31CRi2yvprBUuF66IvibkGKUpmd807t6AGrES1nm D+8zfZ71thivx9Jlpbsnq7KUlK5T1EZ3oBXQLjzYpwgzeLihi7yKlbvHAnjQBxQ/EU9PMq kEZJYDWgiNFEz94bDI5/Iheg8aKslXnCMLpnoNbmnHQm2TkVOYZRzDut/sb/HSxCKnZckH mUO9RT3jZNdshrBSH4h+UFalJOmKhFfhTf1EGeZcMmW6OEYXZ5TGTAhjnqkYYwA184ZiRc 6kz5UH5Pt8HbU60RtoqnCoRWO+wGMIMh05DElzAILZ2THBzbV2S1nRGmy0ZpGA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4NPdyC0h11z15Bn; Sat, 3 Dec 2022 18:44:19 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 2B3IiIWu035235; Sat, 3 Dec 2022 18:44:18 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2B3IiI0B035234; Sat, 3 Dec 2022 18:44:18 GMT (envelope-from git) Date: Sat, 3 Dec 2022 18:44:18 GMT Message-Id: <202212031844.2B3IiI0B035234@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Mark Felder Subject: git: bb6b6ce9ef2e - main - databases/postgresql-promscale: portlint fixes and defined ONLY_FOR_ARCHES List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: feld X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: bb6b6ce9ef2e9df76f92896a9c5458176c42a586 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by feld: URL: https://cgit.FreeBSD.org/ports/commit/?id=bb6b6ce9ef2e9df76f92896a9c5458176c42a586 commit bb6b6ce9ef2e9df76f92896a9c5458176c42a586 Author: Mark Felder AuthorDate: 2022-12-03 18:43:44 +0000 Commit: Mark Felder CommitDate: 2022-12-03 18:43:44 +0000 databases/postgresql-promscale: portlint fixes and defined ONLY_FOR_ARCHES --- databases/postgresql-promscale/Makefile | 17 +++++++++-------- databases/postgresql-promscale/pkg-descr | 3 ++- 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/databases/postgresql-promscale/Makefile b/databases/postgresql-promscale/Makefile index 7b253b81d209..c38f25551ab8 100644 --- a/databases/postgresql-promscale/Makefile +++ b/databases/postgresql-promscale/Makefile @@ -10,17 +10,18 @@ WWW= https://www.timescale.com/promscale LICENSE= PostgreSQL +ONLY_FOR_ARCHS= aarch64 amd64 + +RUN_DEPENDS= timescaledb>0:databases/timescaledb +BUILD_DEPENDS= bash>0:shells/bash + +USES= cargo gmake pgsql:12+ + # Depends on an unpublished crate. Can't use cargo.mk to fetch it. PGX_REV= 96ece243 DISTFILES+= pgx-${PGX_REV}.tar.gz SITES.pgx-${PGX_REV}.tar.gz+= ${MASTER_SITE_GITHUB:=timescale/}pgx/archive/${PGX_REV}.tar.gz -USES= cargo gmake pgsql:12+ - -BUILD_DEPENDS= bash>0:shells/bash - -RUN_DEPENDS= timescaledb>0:databases/timescaledb - USE_GITHUB= yes GH_ACCOUNT= timescale timescale:pgx GH_PROJECT= promscale_extension pgx:pgx @@ -34,7 +35,7 @@ MAKE_ENV+= MAKE=gmake PATH=${PATH}:${WRKDIR}/.cargo/bin .include "${.CURDIR}/crates.mk" post-extract: - mv ${WRKDIR}/pgx-* ${WRKDIR}/pgx + ${MV} ${WRKDIR}/pgx-* ${WRKDIR}/pgx pre-configure: @${PATCH} -d ${WRKDIR} ${PATCH_ARGS} < ${PATCHDIR}/pgx-include-patch @@ -42,7 +43,7 @@ pre-configure: pre-build: cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} cargo install --offline --path ../pgx/cargo-pgx cargo-pgx - mkdir -p ${WRKDIR}/.pgx + ${MKDIR} ${WRKDIR}/.pgx ${PRINTF} '[configs]\npg${PGSQL_VERSION}="${LOCALBASE}/bin/pg_config"\n' > ${WRKDIR}/.pgx/config.toml do-build: diff --git a/databases/postgresql-promscale/pkg-descr b/databases/postgresql-promscale/pkg-descr index f6a986a1cea5..93e5ab388075 100644 --- a/databases/postgresql-promscale/pkg-descr +++ b/databases/postgresql-promscale/pkg-descr @@ -1 +1,2 @@ -PostgreSQL extension required for storing Prometheus metrics in PostgreSQL via TimescaleDB. +PostgreSQL extension required for storing Prometheus metrics in +PostgreSQL via TimescaleDB.