mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 09:36:41 -04:00
astro/py-astral: Fix RUN_DEPENDS
- Remove DISTNAME - Convert to USE_PYTHON=pep517 - Add NO_ARCH - Update pkg-descr - Bump PORTREVISION for dependency and package change
This commit is contained in:
parent
ae53a94055
commit
f09fbaea96
2 changed files with 19 additions and 10 deletions
|
@ -1,20 +1,29 @@
|
|||
PORTNAME= astral
|
||||
DISTVERSION= 3.2
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= astro python
|
||||
MASTER_SITES= PYPI
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
DISTNAME= ${PORTNAME}-${PORTVERSION}
|
||||
|
||||
MAINTAINER= sunpoet@FreeBSD.org
|
||||
COMMENT= Calculations for the position of the sun and moon
|
||||
WWW= https://github.com/sffjunkie/astral
|
||||
WWW= https://sffjunkie.github.io/astral/ \
|
||||
https://github.com/sffjunkie/astral
|
||||
|
||||
LICENSE= APACHE20
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytz>0:devel/py-pytz@${PY_FLAVOR}
|
||||
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>=0:devel/py-poetry-core@${PY_FLAVOR}
|
||||
|
||||
USES= python
|
||||
USE_PYTHON= autoplist concurrent distutils
|
||||
USE_PYTHON= autoplist concurrent pep517
|
||||
|
||||
.include <bsd.port.mk>
|
||||
NO_ARCH= yes
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${PYTHON_REL} < 30900
|
||||
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}backports.zoneinfo>=0:devel/py-backports.zoneinfo@${PY_FLAVOR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
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.
|
||||
Astral is a Python module which calculates:
|
||||
- Times for various positions of the sun: dawn, sunrise, solar noon, sunset,
|
||||
dusk, solar elevation, solar azimuth and rahukaalam.
|
||||
- Moon rise, set, azimuth and zenith.
|
||||
- The phase of the moon.
|
||||
|
|
Loading…
Add table
Reference in a new issue