git: 75a0caa7132b - main - devel/py-xstatic-svg-edit-moin: New port

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Tue, 01 Oct 2024 13:34:37 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=75a0caa7132ba60295495056ef2c12065f24af46

commit 75a0caa7132ba60295495056ef2c12065f24af46
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-10-01 13:32:32 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-10-01 13:34:07 +0000

    devel/py-xstatic-svg-edit-moin: New port
    
    svg-edit-moin 2012.11.27 (XStatic packaging standard)
    
    svg-edit-moin javascript library packaged for setuptools (easy_install)
    / pip.
    
    This is a modified version from svg-edit r2164 of 15 Nov. 2012 adding:
    - moin save extension added
    - svg-edit config contains moin save extension
    
    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://code.google.com/archive/p/svg-edit/
---
 devel/Makefile                           |  1 +
 devel/py-xstatic-svg-edit-moin/Makefile  | 23 +++++++++++++++++++++++
 devel/py-xstatic-svg-edit-moin/distinfo  |  3 +++
 devel/py-xstatic-svg-edit-moin/pkg-descr | 13 +++++++++++++
 4 files changed, 40 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 374bdff53b8b..2046c081e2c1 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -6120,6 +6120,7 @@
     SUBDIR += py-xstatic-rickshaw
     SUBDIR += py-xstatic-roboto-fontface
     SUBDIR += py-xstatic-smart-table
+    SUBDIR += py-xstatic-svg-edit-moin
     SUBDIR += py-xstatic-spin
     SUBDIR += py-xstatic-term.js
     SUBDIR += py-xstatic-tv4
diff --git a/devel/py-xstatic-svg-edit-moin/Makefile b/devel/py-xstatic-svg-edit-moin/Makefile
new file mode 100644
index 000000000000..86a6b4bbdda8
--- /dev/null
+++ b/devel/py-xstatic-svg-edit-moin/Makefile
@@ -0,0 +1,23 @@
+PORTNAME=	xstatic-svg-edit-moin
+DISTVERSION=	2012.11.27.1
+CATEGORIES=	devel python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+DISTNAME=	XStatic-svg-edit-moin-${DISTVERSION}
+
+MAINTAINER=	bofh@FreeBSD.org
+COMMENT=	svg-edit-moin 2012.11.27 (XStatic packaging standard)
+WWW=		https://code.google.com/archive/p/svg-edit/
+
+LICENSE=	MIT
+
+USES=		python
+USE_PYTHON=	autoplist distutils
+
+NO_ARCH=	yes
+
+post-patch:
+	@${REINPLACE_CMD} -e "s|xs.PACKAGE_NAME|'xstatic-svg-edit-moin'|g" \
+		${WRKSRC}/setup.py
+
+.include <bsd.port.mk>
diff --git a/devel/py-xstatic-svg-edit-moin/distinfo b/devel/py-xstatic-svg-edit-moin/distinfo
new file mode 100644
index 000000000000..4dcf565caa41
--- /dev/null
+++ b/devel/py-xstatic-svg-edit-moin/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1727789238
+SHA256 (XStatic-svg-edit-moin-2012.11.27.1.tar.gz) = e9cdc9f9c5eb88ddfccad287341754febbe16b79aa530ddd2440d63ddb869d40
+SIZE (XStatic-svg-edit-moin-2012.11.27.1.tar.gz) = 732649
diff --git a/devel/py-xstatic-svg-edit-moin/pkg-descr b/devel/py-xstatic-svg-edit-moin/pkg-descr
new file mode 100644
index 000000000000..49e1f98f0c87
--- /dev/null
+++ b/devel/py-xstatic-svg-edit-moin/pkg-descr
@@ -0,0 +1,13 @@
+svg-edit-moin javascript library packaged for setuptools (easy_install)
+/ pip.
+
+This is a modified version from svg-edit r2164 of 15 Nov. 2012 adding:
+- moin save extension added
+- svg-edit config contains moin save extension
+
+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.