From owner-dev-commits-ports-main@freebsd.org Wed Jun 30 06:43:56 2021 Return-Path: Delivered-To: dev-commits-ports-main@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C4DD065C685; Wed, 30 Jun 2021 06:43:56 +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 4GFBdS4Qfxz4Xhw; Wed, 30 Jun 2021 06:43:56 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 4BEB793; Wed, 30 Jun 2021 06:43:56 +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 15U6hue1030158; Wed, 30 Jun 2021 06:43:56 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 15U6hunJ030157; Wed, 30 Jun 2021 06:43:56 GMT (envelope-from git) Date: Wed, 30 Jun 2021 06:43:56 GMT Message-Id: <202106300643.15U6hunJ030157@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Guangyuan Yang Subject: git: 45a0496cb1df - main - astro/py-astral: New port MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: ygy X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 45a0496cb1dfee43b1abf7f5bd95bbbdc05d1969 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-main@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commits to the main branch of the FreeBSD ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Jun 2021 06:43:56 -0000 The branch main has been updated by ygy: URL: https://cgit.FreeBSD.org/ports/commit/?id=45a0496cb1dfee43b1abf7f5bd95bbbdc05d1969 commit 45a0496cb1dfee43b1abf7f5bd95bbbdc05d1969 Author: rozhuk.im AuthorDate: 2021-06-30 06:43:35 +0000 Commit: Guangyuan Yang CommitDate: 2021-06-30 06:43:35 +0000 astro/py-astral: New port Calculations for the position of the sun and moon. PR: 252078 Approved by: lwhsu (mentor) --- astro/Makefile | 1 + astro/py-astral/Makefile | 19 +++++++++++++++++++ astro/py-astral/distinfo | 3 +++ astro/py-astral/pkg-descr | 7 +++++++ 4 files changed, 30 insertions(+) diff --git a/astro/Makefile b/astro/Makefile index cce18cbe32a6..3ff584319b84 100644 --- a/astro/Makefile +++ b/astro/Makefile @@ -79,6 +79,7 @@ SUBDIR += pp3 SUBDIR += ptiger SUBDIR += py-astlib + SUBDIR += py-astral SUBDIR += py-astropy SUBDIR += py-astropy-helpers SUBDIR += py-ephem diff --git a/astro/py-astral/Makefile b/astro/py-astral/Makefile new file mode 100644 index 000000000000..f500330f99c5 --- /dev/null +++ b/astro/py-astral/Makefile @@ -0,0 +1,19 @@ +PORTNAME= astral +DISTVERSION= 2.2 +CATEGORIES= astro python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= ${PORTNAME}-${PORTVERSION} + +MAINTAINER= ygy@FreeBSD.org +COMMENT= Calculations for the position of the sun and moon + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytz>0:devel/py-pytz@${PY_FLAVOR} + +USES= python:3.7+ +USE_PYTHON= autoplist concurrent distutils + +.include diff --git a/astro/py-astral/distinfo b/astro/py-astral/distinfo new file mode 100644 index 000000000000..ec0564484527 --- /dev/null +++ b/astro/py-astral/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1624727522 +SHA256 (astral-2.2.tar.gz) = e41d9967d5c48be421346552f0f4dedad43ff39a83574f5ff2ad32b6627b6fbe +SIZE (astral-2.2.tar.gz) = 578223 diff --git a/astro/py-astral/pkg-descr b/astro/py-astral/pkg-descr new file mode 100644 index 000000000000..d6929d89f6af --- /dev/null +++ b/astro/py-astral/pkg-descr @@ -0,0 +1,7 @@ +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. + +WWW: https://github.com/sffjunkie/astral