astro/py-astral: New port

Calculations for the position of the sun and moon.

PR:		252078
Approved by:	lwhsu (mentor)
This commit is contained in:
rozhuk.im 2021-06-30 02:43:35 -04:00 committed by Guangyuan Yang
parent e2fdcc22cb
commit 45a0496cb1
4 changed files with 30 additions and 0 deletions

View file

@ -79,6 +79,7 @@
SUBDIR += pp3
SUBDIR += ptiger
SUBDIR += py-astlib
SUBDIR += py-astral
SUBDIR += py-astropy
SUBDIR += py-astropy-helpers
SUBDIR += py-ephem

19
astro/py-astral/Makefile Normal file
View file

@ -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 <bsd.port.mk>

3
astro/py-astral/distinfo Normal file
View file

@ -0,0 +1,3 @@
TIMESTAMP = 1624727522
SHA256 (astral-2.2.tar.gz) = e41d9967d5c48be421346552f0f4dedad43ff39a83574f5ff2ad32b6627b6fbe
SIZE (astral-2.2.tar.gz) = 578223

View file

@ -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