Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
devel/py-decopatch: Add py-decopatch 1.4.10
Because of a tiny oddity in the python language, writing decorators without help can be a pain because you have to handle the no-parenthesis usage explicitly. decopatch provides a simple way to solve this issue so that writing decorators is simple and straightforward.
- Loading branch information
Showing
5 changed files
with
43 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
PORTNAME= decopatch | ||
PORTVERSION= 1.4.10 | ||
CATEGORIES= devel python | ||
MASTER_SITES= PYPI | ||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} | ||
|
||
MAINTAINER= sunpoet@FreeBSD.org | ||
COMMENT= Create decorators easily in python | ||
WWW= https://smarie.github.io/python-decopatch/ \ | ||
https://github.com/smarie/python-decopatch | ||
|
||
LICENSE= BSD3CLAUSE | ||
LICENSE_FILE= ${WRKSRC}/LICENSE | ||
|
||
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=39.2: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}makefun>=1.5.0:devel/py-makefun@${PY_FLAVOR} | ||
|
||
USES= python | ||
USE_PYTHON= autoplist concurrent pep517 | ||
|
||
NO_ARCH= yes | ||
|
||
.include <bsd.port.mk> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
TIMESTAMP = 1694348224 | ||
SHA256 (decopatch-1.4.10.tar.gz) = 957f49c93f4150182c23f8fb51d13bb3213e0f17a79e09c8cca7057598b55720 | ||
SIZE (decopatch-1.4.10.tar.gz) = 69538 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- setup.cfg.orig 2022-03-01 08:57:14 UTC | ||
+++ setup.cfg | ||
@@ -27,7 +27,6 @@ classifiers = | ||
[options] | ||
setup_requires = | ||
setuptools_scm | ||
- pytest-runner | ||
install_requires = | ||
makefun>=1.5.0 | ||
funcsigs;python_version<'3.3' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Because of a tiny oddity in the python language, writing decorators without help | ||
can be a pain because you have to handle the no-parenthesis usage explicitly. | ||
decopatch provides a simple way to solve this issue so that writing decorators | ||
is simple and straightforward. |