From nobody Sun Sep 15 20:16:19 2024 X-Original-To: dev-commits-ports-all@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 4X6K7R4VFvz5Wtbk; Sun, 15 Sep 2024 20:16: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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4X6K7R1XNtz43s7; Sun, 15 Sep 2024 20:16:19 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1726431379; 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=DOsN6BWdBAKwY4n5/KRzJtvmTwyNqjkkvm6Xi8VPkBk=; b=DhJ8ZfMOBaK8KeZ/MB2XgQiwMy1boIVvl1U4aH1AS3fl7wfl1hjhdekWz9y9+VCAC1Q49T gbY0ahcVUz3zzitNpGAwKz07/IRkiMQuZ9nXiEYlDhZZhtan92cLwyFDPgSo/8lGmzpvuH ttyPe5xT37CNUYMFr4FM5YbIygToToB0sYviJSOrVBeEEq0R1xdyJKE4UuCL3a1H8MFnWQ 8hOFhM5Vqs1WDsm5GL9Jm6Mo9cTNOhR5n4hl7Bx7Xo+ylHJNkAfiKIY8FYYBHGscI6jnJK rWvR+9f0MdPnQAy8THmOKD44OlVff6C31fJgF2VKS/TEieCov/mpbDLY/hhpjA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1726431379; a=rsa-sha256; cv=none; b=RiWKhljA5fFmtsVnbZMh6IZYF2t9zYO1fqypSWPnKWI3dGVWsQbp2hsRBQT/2DhPzzKgUI KuJzct9+Bxd1Mj7mC5FoeP7Jcxhcam2Op+zFXZqegGqVhzp+vMIvbMsCa7VL3oguM247ME 80Y1MQq5hqpUH2p6cXxfUbinTqOed0raYAghDXTd11Kvdqj4X9mbBKQmcsP8csf0c1EwK4 KvEgVa7dDl9vQkmjc0H7kGRNqv9rwqk+dtalLUxKsWkzDmWbUZWmWi3N9Q2YkpoPYU2y8f y9UIDz+bo10AqFda7MoGa/YuMSVV0ynBE8aKcPtR/aWWST8vvtFFM+jZ8FA+uA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1726431379; 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=DOsN6BWdBAKwY4n5/KRzJtvmTwyNqjkkvm6Xi8VPkBk=; b=gtEjRCrZiGETN1qlUlS86YBGuLBFknUtmm9VRywMEfJW+eEwZR9nl4QWs1n18Wc9sYa1ZH h3Z6G7WVvc89ChhDmLAGzV16h+J+gk/CEM9dHNsQXMX1eAGQVt7alRDKxVHOmzEBxwezjj Z2Yfc5ig0Tz9/Kh/8NRY+4TGT/hLhA4rMu9UNwym+vSqyZvCYbwvn6H96kGMnpmav+v9V2 PoRd+4iHRnM+TrujIE+fgivHy0HJDFWx61tfLEQXdI/yV4vRYSltmkJK6rS1xFB3ZgO6uu Nw6XwKw1O9Ox2+xUQMvFib0hzFSdiP14RyTHdQalGe0qg90j8aWmfKH8MPVDKA== 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 4X6K7R167BzPrQ; Sun, 15 Sep 2024 20:16:19 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 48FKGJGs082223; Sun, 15 Sep 2024 20:16:19 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 48FKGJ7G082220; Sun, 15 Sep 2024 20:16:19 GMT (envelope-from git) Date: Sun, 15 Sep 2024 20:16:19 GMT Message-Id: <202409152016.48FKGJ7G082220@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 5031dce7f265 - main - devel/py-backports.zoneinfo: Add TZDATA option List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 5031dce7f265b5d264f92c542268364fd875bfe4 Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=5031dce7f265b5d264f92c542268364fd875bfe4 commit 5031dce7f265b5d264f92c542268364fd875bfe4 Author: Po-Chuan Hsieh AuthorDate: 2024-09-15 19:43:13 +0000 Commit: Po-Chuan Hsieh CommitDate: 2024-09-15 20:09:43 +0000 devel/py-backports.zoneinfo: Add TZDATA option - Update WWW - Convert to USE_PYTHON=pep517 - Strip shared library - Bump PORTREVISION for dependency and package change --- devel/py-backports.zoneinfo/Makefile | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/devel/py-backports.zoneinfo/Makefile b/devel/py-backports.zoneinfo/Makefile index 3ef21f10f732..2874a8623050 100644 --- a/devel/py-backports.zoneinfo/Makefile +++ b/devel/py-backports.zoneinfo/Makefile @@ -1,20 +1,34 @@ PORTNAME= backports.zoneinfo DISTVERSION= 0.2.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Backport of the standard library module zoneinfo -WWW= https://github.com/pganssle/zoneinfo +WWW= https://zoneinfo.readthedocs.io/en/latest/ \ + https://github.com/pganssle/zoneinfo LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=40.8.0:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} + USES= python -USE_PYTHON= autoplist concurrent distutils +USE_PYTHON= autoplist concurrent pep517 + # We already have Python 3.7 as minimal supported release, force positive checks CFLAGS+= -DATLEAST_37 +OPTIONS_DEFINE= TZDATA +OPTIONS_DEFAULT=TZDATA +TZDATA_DESC= IANA time zone data support + +TZDATA_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tzdata>=0:devel/py-tzdata@${PY_FLAVOR} + +post-install: + ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} + + .include