diff options
| author | Dave Cottlehuber <dch@FreeBSD.org> | 2025-05-23 12:43:04 +0000 |
|---|---|---|
| committer | Dave Cottlehuber <dch@FreeBSD.org> | 2025-05-23 15:19:12 +0000 |
| commit | 194a64f5b2f4a86155b5bb288efbd1fb61ef3a2e (patch) | |
| tree | 565a41283542a5e1ca70e61b570c4bea876397f4 | |
| parent | a172debbefd4801b3e5236cec0f3de0828423bf3 (diff) | |
devel/py-oslex: new port, OS-independent wrapper of shlex
| -rw-r--r-- | devel/Makefile | 1 | ||||
| -rw-r--r-- | devel/py-oslex/Makefile | 22 | ||||
| -rw-r--r-- | devel/py-oslex/distinfo | 3 | ||||
| -rw-r--r-- | devel/py-oslex/pkg-descr | 5 |
4 files changed, 31 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index 1c7f03f47ca3..a20c9d68eaf1 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -5338,6 +5338,7 @@ SUBDIR += py-opencensus-context SUBDIR += py-opendht SUBDIR += py-openstacksdk + SUBDIR += py-oslex SUBDIR += py-opentelemetry-api SUBDIR += py-opentelemetry-exporter-otlp SUBDIR += py-opentelemetry-exporter-otlp-proto-common diff --git a/devel/py-oslex/Makefile b/devel/py-oslex/Makefile new file mode 100644 index 000000000000..4575a8c94656 --- /dev/null +++ b/devel/py-oslex/Makefile @@ -0,0 +1,22 @@ +PORTNAME= oslex +DISTVERSION= 0.1.3 +CATEGORIES= devel misc +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= ${PY_SETUPTOOLS} \ +# ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${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. |
