diff options
| author | Yuri Victorovich <yuri@FreeBSD.org> | 2025-04-07 06:22:46 +0000 |
|---|---|---|
| committer | Yuri Victorovich <yuri@FreeBSD.org> | 2025-04-07 21:21:51 +0000 |
| commit | 959b2a61fa0ecd3ce550c72b5afe76ff8a588c78 (patch) | |
| tree | 94f143f6e598f0a0a42dea1468b789048d975251 | |
| parent | 90cd284881c35195b871a85698336a335634db9b (diff) | |
devel/py-attr: New port: Simple decorator to set attributes of target function/class in DRY way
| -rw-r--r-- | devel/Makefile | 1 | ||||
| -rw-r--r-- | devel/py-attr/Makefile | 19 | ||||
| -rw-r--r-- | devel/py-attr/distinfo | 3 | ||||
| -rw-r--r-- | devel/py-attr/pkg-descr | 2 |
4 files changed, 25 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index 78d2e25c63ed..0904a3543c93 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -4442,6 +4442,7 @@ SUBDIR += py-atomiclong SUBDIR += py-atomicwrites SUBDIR += py-atpublic + SUBDIR += py-attr SUBDIR += py-attrdict SUBDIR += py-attrs SUBDIR += py-attrs-strict diff --git a/devel/py-attr/Makefile b/devel/py-attr/Makefile new file mode 100644 index 000000000000..bd1b0e00f6d6 --- /dev/null +++ b/devel/py-attr/Makefile @@ -0,0 +1,19 @@ +PORTNAME= attr +PORTVERSION= 0.3.2 +CATEGORIES= devel python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Simple decorator to set attributes of target function/class in DRY way +WWW= https://github.com/denis-ryzhkov/attr + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= python +USE_PYTHON= distutils autoplist + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/devel/py-attr/distinfo b/devel/py-attr/distinfo new file mode 100644 index 000000000000..987f368418dd --- /dev/null +++ b/devel/py-attr/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1744006118 +SHA256 (attr-0.3.2.tar.gz) = 1ceebca768181cdcce9827611b1d728e592be5d293911539ea3d0b0bfa1146f4 +SIZE (attr-0.3.2.tar.gz) = 2649 diff --git a/devel/py-attr/pkg-descr b/devel/py-attr/pkg-descr new file mode 100644 index 000000000000..54cace741f9d --- /dev/null +++ b/devel/py-attr/pkg-descr @@ -0,0 +1,2 @@ +attr is a simple decorator to set attributes of target function or class in +a DRY way. |
