From nobody Wed Sep 18 06:19:12 2024 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 4X7pQ855QVz5W05L; Wed, 18 Sep 2024 06:19:12 +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 4X7pQ82W1Qz4Fxr; Wed, 18 Sep 2024 06:19:12 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1726640352; 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=8AQ8tU3WaGExC2kCEqRLtiPHx/ez5Dv74sbDdn9NPCs=; b=f/JOZM1r21U+MpJfHjrokA7p5bWI5wwozIx0sHtkIPY++HN19Z6yLfQ/PQ7gHqy++ZGLO7 dyJHdcrlDuNU/tVhuEj38CN2NJpYMNIikzk1q/gKvv8ufi5VbMerrvMYtpYzXtPlhrMfVu piOYPwx1wDanD3hTc6Vx5pW2hsZuomw9as6JtHcZk73nnGzFerckp/sQGIDImRocSdQD/h x1pV+gTEcvqF4KylDSn08ajWdGVyLmvUwJrBnk9wR4dn9nNHj57rzyUW/NT6X8UovrcUZp w3ne9bbmUIAgApyC8X69ft8zxBZhsE+uUjqVEZrvCUT5kaMkzMog2hk4kC5uoA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1726640352; a=rsa-sha256; cv=none; b=JUnd07uCkCS4rv81ukx4CO4gU0V73GLyl0AJYDAh9jbWfk+KnsvDAu+zQAUv27tYTuWHFL 4EJfnMBRf3YCFcd5LrjFjkFtP7YFNjjAc0ij2CZCGwrF5/N0xMki/PA60pS1uemV0iwQ42 ZrKN86NGcJttMkWq7FICN709dtCGvT5Cs6soSJZ1m3R28XCngfGgxzsRtnxafuQCtL9Rxy nXX0JcsvYFNjYKI6kH+op3pGgtae5g+QM28eoQ9FpxpzuLkGZoKGKiFtxRoEhxtTC/WAno 1N+4H2Y4racOmMs9awxtLx9D5EJ6ri573SU325QtqM8X2kjBGXa/P1zAfZfRBg== 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=1726640352; 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=8AQ8tU3WaGExC2kCEqRLtiPHx/ez5Dv74sbDdn9NPCs=; b=T5/jA/L5LiPxVl8t8VUDGwjWRnsahE462OH27jlgvh4hWoDVx380vpfscNYa6jgd5WiOwl pvfJ7754Vk84OEVGJKNnyxeYfC86hP50PEhQMDihWZfI31o5kW5aDyr7q2BWZILyQM+3uA /AjerJ3/6lf31ZQ2FP/IEpktR/1f/XSGhDbBtrUg5v+q7xEkw65TeRkg3oDFZrrJ3xxUuG nHBAsACT1N352UWD3IWTGqMicoPPjF2/fQrMLNcHrf7PwKA4Ty7MMnNZu6M3ut4eXumYfn kdA2Rq98+aA8KKtiK88Duzr2q1x9Y4wgzLYov3myQihhiBy7V5bEWCuLBbOmqA== 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 4X7pQ81TlFz1918; Wed, 18 Sep 2024 06:19:12 +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 48I6JC5W032939; Wed, 18 Sep 2024 06:19:12 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 48I6JCSf032934; Wed, 18 Sep 2024 06:19:12 GMT (envelope-from git) Date: Wed, 18 Sep 2024 06:19:12 GMT Message-Id: <202409180619.48I6JCSf032934@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: f09fbaea96bf - main - astro/py-astral: Fix RUN_DEPENDS 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: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@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: f09fbaea96bf8df12fd1979946e1ef37c34520be Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=f09fbaea96bf8df12fd1979946e1ef37c34520be commit f09fbaea96bf8df12fd1979946e1ef37c34520be Author: Po-Chuan Hsieh AuthorDate: 2024-09-18 05:56:14 +0000 Commit: Po-Chuan Hsieh CommitDate: 2024-09-18 06:13:11 +0000 astro/py-astral: Fix RUN_DEPENDS - Remove DISTNAME - Convert to USE_PYTHON=pep517 - Add NO_ARCH - Update pkg-descr - Bump PORTREVISION for dependency and package change --- astro/py-astral/Makefile | 19 ++++++++++++++----- astro/py-astral/pkg-descr | 10 +++++----- 2 files changed, 19 insertions(+), 10 deletions(-) diff --git a/astro/py-astral/Makefile b/astro/py-astral/Makefile index 5e95a4052374..4f008ae7bfbc 100644 --- a/astro/py-astral/Makefile +++ b/astro/py-astral/Makefile @@ -1,20 +1,29 @@ PORTNAME= astral DISTVERSION= 3.2 +PORTREVISION= 1 CATEGORIES= astro python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} -DISTNAME= ${PORTNAME}-${PORTVERSION} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Calculations for the position of the sun and moon -WWW= https://github.com/sffjunkie/astral +WWW= https://sffjunkie.github.io/astral/ \ + https://github.com/sffjunkie/astral LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytz>0:devel/py-pytz@${PY_FLAVOR} +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>=0:devel/py-poetry-core@${PY_FLAVOR} USES= python -USE_PYTHON= autoplist concurrent distutils +USE_PYTHON= autoplist concurrent pep517 -.include +NO_ARCH= yes + +.include + +.if ${PYTHON_REL} < 30900 +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}backports.zoneinfo>=0:devel/py-backports.zoneinfo@${PY_FLAVOR} +.endif + +.include diff --git a/astro/py-astral/pkg-descr b/astro/py-astral/pkg-descr index 7852eab1049f..ee3a9e425496 100644 --- a/astro/py-astral/pkg-descr +++ b/astro/py-astral/pkg-descr @@ -1,5 +1,5 @@ -Astral is a python package for calculating the times of various -aspects of the sun and phases of the moon. It can calculate times for -various positions of the sun: dawn, sunrise, solar noon, sunset, -dusk, solar elevation, solar azimuth and rahukaalam, as well as the -phase of the moon for a specified date. +Astral is a Python module which calculates: +- Times for various positions of the sun: dawn, sunrise, solar noon, sunset, + dusk, solar elevation, solar azimuth and rahukaalam. +- Moon rise, set, azimuth and zenith. +- The phase of the moon.