Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Jun 2026 20:49:29 +0000
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 509c445c1086 - main - devel/py-wrapt1: Add py-wrapt1 1.17.3 (copied from py-wrapt)
Message-ID:  <6a3ee5d9.1d627.3f523367@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=509c445c1086dbbfc3c8f86732febffd28432dbe

commit 509c445c1086dbbfc3c8f86732febffd28432dbe
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2026-06-26 20:43:00 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2026-06-26 20:43:00 +0000

    devel/py-wrapt1: Add py-wrapt1 1.17.3 (copied from py-wrapt)
    
    - Add PORTSCOUT
---
 devel/Makefile            |  1 +
 devel/py-wrapt1/Makefile  | 26 ++++++++++++++++++++++++++
 devel/py-wrapt1/distinfo  |  3 +++
 devel/py-wrapt1/pkg-descr |  9 +++++++++
 4 files changed, 39 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index f1dbf4607e8f..620c7ba35668 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -6408,6 +6408,7 @@
     SUBDIR += py-wlc
     SUBDIR += py-woops
     SUBDIR += py-wrapt
+    SUBDIR += py-wrapt1
     SUBDIR += py-wsgi-intercept
     SUBDIR += py-wsgi_xmlrpc
     SUBDIR += py-wsgitools
diff --git a/devel/py-wrapt1/Makefile b/devel/py-wrapt1/Makefile
new file mode 100644
index 000000000000..97a957a7093f
--- /dev/null
+++ b/devel/py-wrapt1/Makefile
@@ -0,0 +1,26 @@
+PORTNAME=	wrapt
+PORTVERSION=	1.17.3
+CATEGORIES=	devel python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+PKGNAMESUFFIX=	1
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Decorators, wrappers and monkey patching
+WWW=		https://github.com/GrahamDumpleton/wrapt
+
+LICENSE=	BSD2CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	autoplist concurrent pep517
+
+PORTSCOUT=	limit:^1\.
+
+post-install:
+	${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
+
+.include <bsd.port.mk>
diff --git a/devel/py-wrapt1/distinfo b/devel/py-wrapt1/distinfo
new file mode 100644
index 000000000000..b71641ac5e79
--- /dev/null
+++ b/devel/py-wrapt1/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1757120768
+SHA256 (wrapt-1.17.3.tar.gz) = f66eb08feaa410fe4eebd17f2a2c8e2e46d3476e9f8c783daa8e09e0faa666d0
+SIZE (wrapt-1.17.3.tar.gz) = 55547
diff --git a/devel/py-wrapt1/pkg-descr b/devel/py-wrapt1/pkg-descr
new file mode 100644
index 000000000000..02095380c35c
--- /dev/null
+++ b/devel/py-wrapt1/pkg-descr
@@ -0,0 +1,9 @@
+The aim of the wrapt module is to provide a transparent object proxy for Python,
+which can be used as the basis for the construction of function wrappers and
+decorator functions.
+
+The wrapt module focuses very much on correctness. It therefore goes way beyond
+existing mechanisms such as functools.wraps() to ensure that decorators preserve
+introspectability, signatures, type checking abilities etc. The decorators that
+can be constructed using this module will work in far more scenarios than
+typical decorators and provide more predictable and consistent behaviour.


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a3ee5d9.1d627.3f523367>