summaryrefslogtreecommitdiff
path: root/devel/py-xattr
diff options
context:
space:
mode:
Diffstat (limited to 'devel/py-xattr')
-rw-r--r--devel/py-xattr/Makefile14
-rw-r--r--devel/py-xattr/distinfo6
-rw-r--r--devel/py-xattr/files/patch-pyproject.toml10
-rw-r--r--devel/py-xattr/pkg-descr13
4 files changed, 31 insertions, 12 deletions
diff --git a/devel/py-xattr/Makefile b/devel/py-xattr/Makefile
index 7af64da80dd6..b7e35136c9a7 100644
--- a/devel/py-xattr/Makefile
+++ b/devel/py-xattr/Makefile
@@ -1,24 +1,26 @@
PORTNAME= xattr
-PORTVERSION= 1.1.0
+PORTVERSION= 1.2.0
PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Python wrapper for extended filesystem attributes
WWW= https://github.com/xattr/xattr
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
-BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=1.0.0:devel/py-cffi@${PY_FLAVOR}
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=1.0.0:devel/py-cffi@${PY_FLAVOR}
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=1.16.0:devel/py-cffi@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}setuptools>=61:devel/py-setuptools@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=1.16.0:devel/py-cffi@${PY_FLAVOR}
USES= python
-USE_PYTHON= distutils autoplist
+USE_PYTHON= autoplist concurrent pep517
post-install:
- ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/xattr/_lib*.so
+ ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
.include <bsd.port.mk>
diff --git a/devel/py-xattr/distinfo b/devel/py-xattr/distinfo
index dd2b59c9f014..ee9166d110d0 100644
--- a/devel/py-xattr/distinfo
+++ b/devel/py-xattr/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1707627394
-SHA256 (xattr-1.1.0.tar.gz) = fecbf3b05043ed3487a28190dec3e4c4d879b2fcec0e30bafd8ec5d4b6043630
-SIZE (xattr-1.1.0.tar.gz) = 16634
+TIMESTAMP = 1752542728
+SHA256 (xattr-1.2.0.tar.gz) = a64c8e21eff1be143accf80fd3b8fde3e28a478c37da298742af647ac3e5e0a7
+SIZE (xattr-1.2.0.tar.gz) = 17293
diff --git a/devel/py-xattr/files/patch-pyproject.toml b/devel/py-xattr/files/patch-pyproject.toml
new file mode 100644
index 000000000000..4ffc819a00e9
--- /dev/null
+++ b/devel/py-xattr/files/patch-pyproject.toml
@@ -0,0 +1,10 @@
+--- pyproject.toml.orig 2025-07-14 02:33:11 UTC
++++ pyproject.toml
+@@ -1,6 +1,6 @@ requires = [
+ [build-system]
+ requires = [
+- "setuptools>=68",
++ "setuptools>=61",
+ "wheel",
+ "cffi>=1.16.0",
+ ]
diff --git a/devel/py-xattr/pkg-descr b/devel/py-xattr/pkg-descr
index e9562c337e2f..8e53e039c9ab 100644
--- a/devel/py-xattr/pkg-descr
+++ b/devel/py-xattr/pkg-descr
@@ -1,3 +1,10 @@
-Extended attributes extend the basic attributes of files and directories
-in the file system. They are stored as name:data pairs associated with
-file system objects (files, directories, symlinks, etc).
+xattr is a Python wrapper for extended filesystem attributes.
+
+xattr also ships with an xattr command line tool for viewing and editing
+extended filesystem attributes. On platforms that support or ship with the attr
+package, you may prefer to use the getfattr and setfattr command line tools from
+the attr package.
+
+Extended attributes extend the basic attributes of files and directories in the
+file system. They are stored as name:data pairs associated with file system
+objects (files, directories, symlinks, etc).