mirror of
https://git.freebsd.org/ports.git
synced 2025-05-06 19:06:44 -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
|
PORTNAME= astral
|
||||||
DISTVERSION= 3.2
|
DISTVERSION= 3.2
|
||||||
|
PORTREVISION= 1
|
||||||
CATEGORIES= astro python
|
CATEGORIES= astro python
|
||||||
MASTER_SITES= PYPI
|
MASTER_SITES= PYPI
|
||||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||||
DISTNAME= ${PORTNAME}-${PORTVERSION}
|
|
||||||
|
|
||||||
MAINTAINER= sunpoet@FreeBSD.org
|
MAINTAINER= sunpoet@FreeBSD.org
|
||||||
COMMENT= Calculations for the position of the sun and moon
|
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= APACHE20
|
||||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
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
|
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
|
Astral is a Python module which calculates:
|
||||||
aspects of the sun and phases of the moon. It can calculate times for
|
- Times for various positions of the sun: dawn, sunrise, solar noon, sunset,
|
||||||
various positions of the sun: dawn, sunrise, solar noon, sunset,
|
dusk, solar elevation, solar azimuth and rahukaalam.
|
||||||
dusk, solar elevation, solar azimuth and rahukaalam, as well as the
|
- Moon rise, set, azimuth and zenith.
|
||||||
phase of the moon for a specified date.
|
- The phase of the moon.
|
||||||
|
|
Loading…
Add table
Reference in a new issue