freebsd-ports/devel/py-pytz-deprecation-shim/Makefile
Po-Chuan Hsieh bbb253487a
devel/py-pytz-deprecation-shim: Convert to USE_PYTHON=pep517
- Bump PORTREVISION for dependency and package change
2023-03-22 03:21:01 +08:00

30 lines
856 B
Makefile

PORTNAME= pytz-deprecation-shim
PORTVERSION= 0.1.0.post0
PORTREVISION= 2
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= pytz_deprecation_shim-${PORTVERSION}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Shims to make deprecation of pytz easier
WWW= https://github.com/pganssle/pytz-deprecation-shim
LICENSE= APACHE20
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=40.8.0:devel/py-setuptools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tzdata>=0:devel/py-tzdata@${PY_FLAVOR}
USES= python:3.7+
USE_PYTHON= autoplist concurrent pep517
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>