freebsd-ports/devel/py-makefun/Makefile
Ruslan Makhmatkhanov f9ce6b335d devel/py-makefun: relax python version requirement
Tested in Python 3.11 virtualenv with samples from official docs - worked,
so not reason to limit to 3.9

PR:		275494
Approved by:	portmgr (blanket)
2023-12-03 15:29:52 +03:00

27 lines
837 B
Makefile

PORTNAME= makefun
DISTVERSION= 1.15.2
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= meka@tilda.center
COMMENT= Dynamically create python functions with a proper signature
WWW= https://github.com/smarie/python-makefun
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pip>=0:devel/py-pip@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytest-runner>=0:devel/py-pytest-runner@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}setuptools_scm>=0:devel/py-setuptools_scm@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}funcsigs>=0:devel/py-funcsigs@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist concurrent distutils pytest
TEST_ENV= PYTHONPATH=${WRKSRC}/src
NO_ARCH= yes
.include <bsd.port.mk>