Matthias Andree 1403bb7765 *: Revise USES=python:... version range constraints
and strip all lower bounds of 3.9 or 3.10 because they are implied now.

python:3.9-X  -> python:-X
python:3.9+   -> python
python:3.10-X -> python:-X
python:3.10+  -> python
(options such as ,build preserved)
2025-11-01 18:23:22 +01:00

34 lines
1.1 KiB
Makefile

PORTNAME= marshmallow-sqlalchemy
PORTVERSION= 1.4.2
CATEGORIES= databases python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= marshmallow_sqlalchemy-${PORTVERSION}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= SQLAlchemy integration with the marshmallow serialization library
WWW= https://marshmallow-sqlalchemy.readthedocs.io/en/latest/ \
https://github.com/marshmallow-code/marshmallow-sqlalchemy
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flit-core>=0<4:devel/py-flit-core@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}marshmallow>=3.18.0:devel/py-marshmallow@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}sqlalchemy20>=1.4.40<3.0:databases/py-sqlalchemy20@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-lazy-fixture>=0.6.2:devel/py-pytest-lazy-fixture@${PY_FLAVOR} \
USES= python
USE_PYTHON= autoplist concurrent pep517 pytest
NO_ARCH= yes
TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHON_SITELIBDIR}
.include <bsd.port.pre.mk>
.if ${PYTHON_REL} < 31000
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}typing-extensions>=0:devel/py-typing-extensions@${PY_FLAVOR}
.endif
.include <bsd.port.post.mk>