astro/py-pysolar: New port: Simulate solar irradiation at any point on Earth

This commit is contained in:
Yuri Victorovich
2025-10-11 16:59:30 -07:00
parent d20c714eed
commit 39c0b508c1
4 changed files with 37 additions and 0 deletions
+1
View File
@@ -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
+24
View File
@@ -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>
+3
View File
@@ -0,0 +1,3 @@
TIMESTAMP = 1760212092
SHA256 (pysolar-0.13.tar.gz) = 05913740694e4bb2af8412de3fa278c0435b3b15b2975c8e38625fc4eed1fd6c
SIZE (pysolar-0.13.tar.gz) = 44526
+9
View File
@@ -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.