diff options
author | rozhuk.im <rozhuk.im@gmail.com> | 2021-06-30 06:43:35 +0000 |
---|---|---|
committer | Guangyuan Yang <ygy@FreeBSD.org> | 2021-06-30 06:43:35 +0000 |
commit | 45a0496cb1dfee43b1abf7f5bd95bbbdc05d1969 (patch) | |
tree | 4ec6724c492a0d52d9c7d3930abfa33d4d25fa73 /astro | |
parent | e2fdcc22cbeac646c4bbeb4d93a90f338dbda505 (diff) |
astro/py-astral: New port
Calculations for the position of the sun and moon.
PR: 252078
Approved by: lwhsu (mentor)
Diffstat (limited to 'astro')
-rw-r--r-- | astro/Makefile | 1 | ||||
-rw-r--r-- | astro/py-astral/Makefile | 19 | ||||
-rw-r--r-- | astro/py-astral/distinfo | 3 | ||||
-rw-r--r-- | astro/py-astral/pkg-descr | 7 |
4 files changed, 30 insertions, 0 deletions
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 <bsd.port.mk> 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 |