git: 69362b5c531e - main - devel/py-xstatic-ckeditor:

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Wed, 25 Sep 2024 14:48:47 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=69362b5c531e4687986b481a7ecb4d10cadbf9d4

commit 69362b5c531e4687986b481a7ecb4d10cadbf9d4
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-09-25 14:40:45 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-09-25 14:48:22 +0000

    devel/py-xstatic-ckeditor:
    
    CKEditor 3.6.4 (XStatic packaging standard)
    
    CKEditor packaged for setuptools (easy_install) / pip.
    
    This package is intended to be used by any project that needs these
    files.
    
    It intentionally does not provide any extra code except some metadata
    nor has any extra requirements. You MAY use some minimal support code
    from the XStatic base package, if you like.
    
    WWW: https://ckeditor.com
---
 devel/Makefile                      |  1 +
 devel/py-xstatic-ckeditor/Makefile  | 23 +++++++++++++++++++++++
 devel/py-xstatic-ckeditor/distinfo  |  3 +++
 devel/py-xstatic-ckeditor/pkg-descr |  8 ++++++++
 4 files changed, 35 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 72fb4d4dac02..87023f0ea949 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -6097,6 +6097,7 @@
     SUBDIR += py-xstatic-bootstrap-scss
     SUBDIR += py-xstatic-bootstrap3
     SUBDIR += py-xstatic-bootswatch
+    SUBDIR += py-xstatic-ckeditor
     SUBDIR += py-xstatic-d3
     SUBDIR += py-xstatic-font-awesome
     SUBDIR += py-xstatic-hogan
diff --git a/devel/py-xstatic-ckeditor/Makefile b/devel/py-xstatic-ckeditor/Makefile
new file mode 100644
index 000000000000..d9fa51ac2506
--- /dev/null
+++ b/devel/py-xstatic-ckeditor/Makefile
@@ -0,0 +1,23 @@
+PORTNAME=	xstatic-ckeditor
+DISTVERSION=	3.6.4.0
+CATEGORIES=	devel python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+DISTNAME=	XStatic-CKEditor-${DISTVERSION}
+
+MAINTAINER=	bofh@FreeBSD.org
+COMMENT=	CKEditor 3.6.4 (XStatic packaging standard)
+WWW=		https://ckeditor.com
+
+LICENSE=	MIT
+
+USES=		python
+USE_PYTHON=	autoplist distutils
+
+NO_ARCH=	yes
+
+post-patch:
+	@${REINPLACE_CMD} -e "s|xs.PACKAGE_NAME|'xstatic-ckeditor'|g" \
+		${WRKSRC}/setup.py
+
+.include <bsd.port.mk>
diff --git a/devel/py-xstatic-ckeditor/distinfo b/devel/py-xstatic-ckeditor/distinfo
new file mode 100644
index 000000000000..5fd02a63c217
--- /dev/null
+++ b/devel/py-xstatic-ckeditor/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1727275099
+SHA256 (XStatic-CKEditor-3.6.4.0.tar.gz) = 164cc3b738aa434dd83ddb0e5205239f1a443ca14940e29f206b0ecd74edf75e
+SIZE (XStatic-CKEditor-3.6.4.0.tar.gz) = 736502
diff --git a/devel/py-xstatic-ckeditor/pkg-descr b/devel/py-xstatic-ckeditor/pkg-descr
new file mode 100644
index 000000000000..5ee0901bf1b4
--- /dev/null
+++ b/devel/py-xstatic-ckeditor/pkg-descr
@@ -0,0 +1,8 @@
+CKEditor packaged for setuptools (easy_install) / pip.
+
+This package is intended to be used by any project that needs these
+files.
+
+It intentionally does not provide any extra code except some metadata
+nor has any extra requirements. You MAY use some minimal support code
+from the XStatic base package, if you like.