mirror of
https://github.com/netbirdio/FreeBSD-ports.git
synced 2026-05-22 18:42:42 -07:00
astro/py-pysolar: New port: Simulate solar irradiation at any point on Earth
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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>
|
||||
@@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1760212092
|
||||
SHA256 (pysolar-0.13.tar.gz) = 05913740694e4bb2af8412de3fa278c0435b3b15b2975c8e38625fc4eed1fd6c
|
||||
SIZE (pysolar-0.13.tar.gz) = 44526
|
||||
@@ -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.
|
||||
Reference in New Issue
Block a user