git: 0aa7c677e0f3 - main - devel/py-xstatic-autosize: New port

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Tue, 24 Sep 2024 05:00:58 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0aa7c677e0f31d5822f160063f46acf5cef4f0e6

commit 0aa7c677e0f31d5822f160063f46acf5cef4f0e6
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-09-24 04:32:29 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-09-24 04:59:58 +0000

    devel/py-xstatic-autosize: New port
    
    autosize 1.17.2 (XStatic packaging standard)
    
    autosize (jQuery plugin for dynamic textarea sizing) 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://www.jacklmoore.com/autosize/
---
 devel/Makefile                      |  1 +
 devel/py-xstatic-autosize/Makefile  | 23 +++++++++++++++++++++++
 devel/py-xstatic-autosize/distinfo  |  3 +++
 devel/py-xstatic-autosize/pkg-descr |  9 +++++++++
 4 files changed, 36 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index e6f297622218..508ceeaf06cf 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -6090,6 +6090,7 @@
     SUBDIR += py-xstatic-angular-gettext
     SUBDIR += py-xstatic-angular-lrdragndrop
     SUBDIR += py-xstatic-angular-schema-form
+    SUBDIR += py-xstatic-autosize
     SUBDIR += py-xstatic-bootstrap
     SUBDIR += py-xstatic-bootstrap3
     SUBDIR += py-xstatic-bootstrap-datepicker
diff --git a/devel/py-xstatic-autosize/Makefile b/devel/py-xstatic-autosize/Makefile
new file mode 100644
index 000000000000..59e9a390751c
--- /dev/null
+++ b/devel/py-xstatic-autosize/Makefile
@@ -0,0 +1,23 @@
+PORTNAME=	xstatic-autosize
+DISTVERSION=	1.17.2.1
+CATEGORIES=	devel python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+DISTNAME=	XStatic-autosize-${DISTVERSION}
+
+MAINTAINER=	bofh@FreeBSD.org
+COMMENT=	autosize 1.17.2 (XStatic packaging standard)
+WWW=		https://www.jacklmoore.com/autosize/
+
+LICENSE=	MIT
+
+USES=		python
+USE_PYTHON=	autoplist distutils
+
+NO_ARCH=	yes
+
+post-patch:
+	@${REINPLACE_CMD} -e "s|xs.PACKAGE_NAME|'xstatic-autosize'|g" \
+		${WRKSRC}/setup.py
+
+.include <bsd.port.mk>
diff --git a/devel/py-xstatic-autosize/distinfo b/devel/py-xstatic-autosize/distinfo
new file mode 100644
index 000000000000..61707f3ef0f2
--- /dev/null
+++ b/devel/py-xstatic-autosize/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1727151989
+SHA256 (XStatic-autosize-1.17.2.1.tar.gz) = 9b341cefde6aba0d270c4dafa371fd5dac1b3455e8c657250b539ff16a840317
+SIZE (XStatic-autosize-1.17.2.1.tar.gz) = 6286
diff --git a/devel/py-xstatic-autosize/pkg-descr b/devel/py-xstatic-autosize/pkg-descr
new file mode 100644
index 000000000000..2e4c84db704d
--- /dev/null
+++ b/devel/py-xstatic-autosize/pkg-descr
@@ -0,0 +1,9 @@
+autosize (jQuery plugin for dynamic textarea sizing) 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.