ports/databases/py-sqlalchemy-utils/Makefile
Tobias C. Berner b28a739884 framework: convert tree to use USES=pycryptography
A future commit will update to security/py-cryptography will introduce a
rust dependency.

PR:		254853
2023-07-22 09:46:38 +02:00

45 lines
1.8 KiB
Makefile

PORTNAME= sqlalchemy-utils
PORTVERSION= 0.41.1
CATEGORIES= databases python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= SQLAlchemy-Utils-${PORTVERSION}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Various utility functions for SQLAlchemy
WWW= https://github.com/kvesteri/sqlalchemy-utils
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlalchemy14>=1.3:databases/py-sqlalchemy14@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
OPTIONS_DEFINE= ARROW BABEL COLOR ENCRYPTED INTERVALS PASSWORD PENDULUM PHONE TIMEZONE URL
ARROW_DESC= Arrow type support
BABEL_DESC= Babel locale type support
COLOR_DESC= Color type support
ENCRYPTED_DESC= Encrypted type support
INTERVALS_DESC= Interval operators support
PASSWORD_DESC= Password type support
PENDULUM_DESC= Pendulum Date/DateTime support
PHONE_DESC= Phone number type support
TIMEZONE_DESC= Timezone support
URL_DESC= URL type support
ARROW_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}arrow>=0.3.4:devel/py-arrow@${PY_FLAVOR}
BABEL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Babel>=1.3:devel/py-babel@${PY_FLAVOR}
COLOR_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}colour>=0.0.4:graphics/py-colour@${PY_FLAVOR}
ENCRYPTED_USES= pycryptography:run
INTERVALS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}intervals>=0.7.1:net/py-intervals@${PY_FLAVOR}
PASSWORD_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}passlib>=1.6<2.0:security/py-passlib@${PY_FLAVOR}
PENDULUM_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pendulum>=2.0.5:devel/py-pendulum@${PY_FLAVOR}
PHONE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}phonenumbers>=5.9.2:devel/py-phonenumbers@${PY_FLAVOR}
TIMEZONE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dateutil>=0:devel/py-dateutil@${PY_FLAVOR}
URL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}furl>=0.4.1:devel/py-furl@${PY_FLAVOR}
.include <bsd.port.mk>