git: 775ff5dfef3d - main - devel/py-pathvalidate: New port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 18 Feb 2024 11:31:33 UTC
The branch main has been updated by grembo:
URL: https://cgit.FreeBSD.org/ports/commit/?id=775ff5dfef3d317706f73151e2bef856aa1e7d3b
commit 775ff5dfef3d317706f73151e2bef856aa1e7d3b
Author: Michael Gmelin <grembo@FreeBSD.org>
AuthorDate: 2024-02-12 11:38:47 +0000
Commit: Michael Gmelin <grembo@FreeBSD.org>
CommitDate: 2024-02-18 11:29:29 +0000
devel/py-pathvalidate: New port
Python library to sanitize/validate filenames/-paths
---
devel/Makefile | 1 +
devel/py-pathvalidate/Makefile | 19 +++++++++++++++++++
devel/py-pathvalidate/distinfo | 3 +++
devel/py-pathvalidate/pkg-descr | 2 ++
4 files changed, 25 insertions(+)
diff --git a/devel/Makefile b/devel/Makefile
index 49834597d291..85f5d0834ee4 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5157,6 +5157,7 @@
SUBDIR += py-pathos
SUBDIR += py-pathspec
SUBDIR += py-pathtools
+ SUBDIR += py-pathvalidate
SUBDIR += py-paver
SUBDIR += py-pbr
SUBDIR += py-pcodedmp
diff --git a/devel/py-pathvalidate/Makefile b/devel/py-pathvalidate/Makefile
new file mode 100644
index 000000000000..1bbbc404952a
--- /dev/null
+++ b/devel/py-pathvalidate/Makefile
@@ -0,0 +1,19 @@
+PORTNAME= pathvalidate
+PORTVERSION= 3.2.0
+CATEGORIES= devel python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= grembo@FreeBSD.org
+COMMENT= Python library to sanitize/validate filenames/-paths
+WWW= https://github.com/thombashi/pathvalidate
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USES= python
+USE_PYTHON= autoplist distutils
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-pathvalidate/distinfo b/devel/py-pathvalidate/distinfo
new file mode 100644
index 000000000000..833de8ae309b
--- /dev/null
+++ b/devel/py-pathvalidate/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1707594261
+SHA256 (pathvalidate-3.2.0.tar.gz) = 5e8378cf6712bff67fbe7a8307d99fa8c1a0cb28aa477056f8fc374f0dff24ad
+SIZE (pathvalidate-3.2.0.tar.gz) = 31246
diff --git a/devel/py-pathvalidate/pkg-descr b/devel/py-pathvalidate/pkg-descr
new file mode 100644
index 000000000000..8981a3ef0a0e
--- /dev/null
+++ b/devel/py-pathvalidate/pkg-descr
@@ -0,0 +1,2 @@
+Pathvalidate is a Python library to sanitize/validate a string such as
+filenames/file-paths/etc.