Date: Sat, 11 Oct 2025 23:59:34 GMT From: Yuri Victorovich <yuri@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 39c0b508c10c - main - astro/py-pysolar: New port: Simulate solar irradiation at any point on Earth Message-ID: <202510112359.59BNxYgR073113@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=39c0b508c10c9aec67ce339bbcbb2c5588077ee2 commit 39c0b508c10c9aec67ce339bbcbb2c5588077ee2 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2025-10-11 20:49:22 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2025-10-11 23:59:30 +0000 astro/py-pysolar: New port: Simulate solar irradiation at any point on Earth --- astro/Makefile | 1 + astro/py-pysolar/Makefile | 24 ++++++++++++++++++++++++ astro/py-pysolar/distinfo | 3 +++ astro/py-pysolar/pkg-descr | 9 +++++++++ 4 files changed, 37 insertions(+) diff --git a/astro/Makefile b/astro/Makefile index 089e5c5a75d6..0780ef5d74a1 100644 --- a/astro/Makefile +++ b/astro/Makefile @@ -103,6 +103,7 @@ SUBDIR += py-pymeeus SUBDIR += py-pymetar SUBDIR += py-pysofa + SUBDIR += py-pysolar SUBDIR += py-pytest-astropy SUBDIR += py-pytest-astropy-header SUBDIR += py-pyvo diff --git a/astro/py-pysolar/Makefile b/astro/py-pysolar/Makefile new file mode 100644 index 000000000000..e69454ea562b --- /dev/null +++ b/astro/py-pysolar/Makefile @@ -0,0 +1,24 @@ +PORTNAME= pysolar +DISTVERSION= 0.13 +CATEGORIES= astro science python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Simulate solar irradiation at any point on Earth +WWW= https://pysolar.org/ \ + https://github.com/pingswept/pysolar + +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/COPYING + +RUN_DEPENDS= ${PYNUMPY} + +USES= python +USE_PYTHON= distutils autoplist pytest + +NO_ARCH= yes + +# tests as of 0.13: 84 passed, 343 warnings, 1 error in 14.47s + +.include <bsd.port.mk> diff --git a/astro/py-pysolar/distinfo b/astro/py-pysolar/distinfo new file mode 100644 index 000000000000..b05c7ce3274a --- /dev/null +++ b/astro/py-pysolar/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1760212092 +SHA256 (pysolar-0.13.tar.gz) = 05913740694e4bb2af8412de3fa278c0435b3b15b2975c8e38625fc4eed1fd6c +SIZE (pysolar-0.13.tar.gz) = 44526 diff --git a/astro/py-pysolar/pkg-descr b/astro/py-pysolar/pkg-descr new file mode 100644 index 000000000000..f53a091cce11 --- /dev/null +++ b/astro/py-pysolar/pkg-descr @@ -0,0 +1,9 @@ +Python libraries for simulating solar irradiation at any point on Earth. + +This package provides functions to calculate solar position (azimuth and +altitude) and estimate solar radiation received at a given location and time. +It accounts for atmospheric effects and can be used for solar energy analysis, +astronomy, and climate research. + +The library supports timezone-aware datetime objects and provides accurate +calculations based on established solar models.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202510112359.59BNxYgR073113>
