summaryrefslogtreecommitdiff
path: root/devel/py-oslex
diff options
context:
space:
mode:
Diffstat (limited to 'devel/py-oslex')
-rw-r--r--devel/py-oslex/Makefile21
-rw-r--r--devel/py-oslex/distinfo3
-rw-r--r--devel/py-oslex/pkg-descr5
3 files changed, 29 insertions, 0 deletions
diff --git a/devel/py-oslex/Makefile b/devel/py-oslex/Makefile
new file mode 100644
index 000000000000..e1ba21cb71d9
--- /dev/null
+++ b/devel/py-oslex/Makefile
@@ -0,0 +1,21 @@
+PORTNAME= oslex
+DISTVERSION= 0.1.3
+CATEGORIES= devel
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= dch@FreeBSD.org
+COMMENT= OS-independent wrapper for shlex
+WWW= https://github.com/petamas/oslex
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>0:devel/py-hatchling@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= autoplist pep517 pytest
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-oslex/distinfo b/devel/py-oslex/distinfo
new file mode 100644
index 000000000000..100206adbc81
--- /dev/null
+++ b/devel/py-oslex/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1747997238
+SHA256 (oslex-0.1.3.tar.gz) = 1ed4cd82c75df2a8bcb0da34400984183753933155d0c7d999fa533137685f2d
+SIZE (oslex-0.1.3.tar.gz) = 4415
diff --git a/devel/py-oslex/pkg-descr b/devel/py-oslex/pkg-descr
new file mode 100644
index 000000000000..e4f1806e94f3
--- /dev/null
+++ b/devel/py-oslex/pkg-descr
@@ -0,0 +1,5 @@
+oslex is an OS-independent wrapper for shlex and mslex.
+
+Its main purpose is to provide functions similar in functionality to
+shlex.quote(), shlex.split() and shlex.join() on both Windows and
+POSIX-compatible platforms.