diff options
Diffstat (limited to 'devel/py-makefun')
-rw-r--r-- | devel/py-makefun/Makefile | 21 | ||||
-rw-r--r-- | devel/py-makefun/distinfo | 6 | ||||
-rw-r--r-- | devel/py-makefun/pkg-descr | 17 |
3 files changed, 11 insertions, 33 deletions
diff --git a/devel/py-makefun/Makefile b/devel/py-makefun/Makefile index 58439a6b35e0..edf4b671ca33 100644 --- a/devel/py-makefun/Makefile +++ b/devel/py-makefun/Makefile @@ -1,30 +1,23 @@ PORTNAME= makefun -DISTVERSION= 1.15.4 -PORTREVISION= 1 +PORTVERSION= 1.16.0 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 +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Small library to dynamically create python functions +WWW= https://smarie.github.io/python-makefun/ \ + https://github.com/smarie/python-makefun LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE -DEPRECATED= Depends on expired devel/py-pytest-runner -EXPIRATION_DATE=2025-03-31 - -BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pip>=0:devel/py-pip@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pytest-runner>=0:devel/py-pytest-runner@${PY_FLAVOR} \ +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=39.2<72:devel/py-setuptools@${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 +USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes diff --git a/devel/py-makefun/distinfo b/devel/py-makefun/distinfo index c3ffb91c692b..55a4c80da3dd 100644 --- a/devel/py-makefun/distinfo +++ b/devel/py-makefun/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1721406543 -SHA256 (makefun-1.15.4.tar.gz) = 9f9b9904e7c397759374a88f4c57781fbab2a458dec78df4b3ee6272cd9fb010 -SIZE (makefun-1.15.4.tar.gz) = 72160 +TIMESTAMP = 1748831202 +SHA256 (makefun-1.16.0.tar.gz) = e14601831570bff1f6d7e68828bcd30d2f5856f24bad5de0ccb22921ceebc947 +SIZE (makefun-1.16.0.tar.gz) = 73565 diff --git a/devel/py-makefun/pkg-descr b/devel/py-makefun/pkg-descr index f34f3a364e0f..f57f4cf37a95 100644 --- a/devel/py-makefun/pkg-descr +++ b/devel/py-makefun/pkg-descr @@ -1,18 +1,3 @@ -Makefun helps you create functions dynamically, with the signature of your +makefun helps you create functions dynamically, with the signature of your choice. It was largely inspired by decorator and functools, and created mainly to cover some of their limitations. - -The typical use cases are: - * creating signature-preserving function wrappers - just like functools.wraps - but with accurate TypeError exception raising when user-provided arguments are - wrong, and with a very convenient way to access argument values. - - * creating function wrappers that have more or less arguments that the - function they wrap. A bit like functools.partial but a lot more flexible and - friendly for your users. For example, I use it in my pytest plugins to add a - requests parameter to users' tests or fixtures when they do not already have - it. - - * more generally, creating functions with a signature derived from a reference - signature, or even creating functions with a signature completely defined at - runtime. |