git: 5813f59e3256 - main - devel/py-xstatic-jquery-file-upload: New port

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sat, 28 Sep 2024 21:32:57 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5813f59e3256241e0bcc08aaa06ec60975c60454

commit 5813f59e3256241e0bcc08aaa06ec60975c60454
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-09-28 08:42:58 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-09-28 21:32:35 +0000

    devel/py-xstatic-jquery-file-upload: New port
    
    jQuery-File-Upload (XStatic packaging standard)
    
    jQuery-File-Upload javascript library 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://github.com/blueimp/jQuery-File-Upload
---
 devel/Makefile                                |  1 +
 devel/py-xstatic-jquery-file-upload/Makefile  | 23 +++++++++++++++++++++++
 devel/py-xstatic-jquery-file-upload/distinfo  |  3 +++
 devel/py-xstatic-jquery-file-upload/pkg-descr |  9 +++++++++
 4 files changed, 36 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 2070b6a558e2..65e8d283f110 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -6110,6 +6110,7 @@
     SUBDIR += py-xstatic-hogan
     SUBDIR += py-xstatic-jasmine
     SUBDIR += py-xstatic-jquery
+    SUBDIR += py-xstatic-jquery-file-upload
     SUBDIR += py-xstatic-jquery-migrate
     SUBDIR += py-xstatic-jquery-ui
     SUBDIR += py-xstatic-jquery.quicksearch
diff --git a/devel/py-xstatic-jquery-file-upload/Makefile b/devel/py-xstatic-jquery-file-upload/Makefile
new file mode 100644
index 000000000000..a33e92902483
--- /dev/null
+++ b/devel/py-xstatic-jquery-file-upload/Makefile
@@ -0,0 +1,23 @@
+PORTNAME=	xstatic-jquery-file-upload
+DISTVERSION=	10.31.0.1
+CATEGORIES=	devel python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+DISTNAME=	XStatic-jQuery-File-Upload-${DISTVERSION}
+
+MAINTAINER=	bofh@FreeBSD.org
+COMMENT=	jQuery-File-Upload (XStatic packaging standard)
+WWW=		https://github.com/blueimp/jQuery-File-Upload
+
+LICENSE=	MIT
+
+USES=		python
+USE_PYTHON=	autoplist distutils
+
+NO_ARCH=	yes
+
+post-patch:
+	@${REINPLACE_CMD} -e "s|xs.PACKAGE_NAME|'xstatic-jquery-file-upload'|g" \
+		${WRKSRC}/setup.py
+
+.include <bsd.port.mk>
diff --git a/devel/py-xstatic-jquery-file-upload/distinfo b/devel/py-xstatic-jquery-file-upload/distinfo
new file mode 100644
index 000000000000..7b21d8b76156
--- /dev/null
+++ b/devel/py-xstatic-jquery-file-upload/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1727511773
+SHA256 (XStatic-jQuery-File-Upload-10.31.0.1.tar.gz) = 7d716f26aca14732c35c54f0ba6d38187600ab472fc98a91d972d12c5a70db27
+SIZE (XStatic-jQuery-File-Upload-10.31.0.1.tar.gz) = 43118
diff --git a/devel/py-xstatic-jquery-file-upload/pkg-descr b/devel/py-xstatic-jquery-file-upload/pkg-descr
new file mode 100644
index 000000000000..721e22184891
--- /dev/null
+++ b/devel/py-xstatic-jquery-file-upload/pkg-descr
@@ -0,0 +1,9 @@
+jQuery-File-Upload javascript library 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.