git: ecd5174da3cb - main - devel/py-xstatic-bootstrap: New port

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

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

commit ecd5174da3cbe6353d2161d3088eb040017efc35
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-09-21 16:10:32 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-09-21 16:38:03 +0000

    devel/py-xstatic-bootstrap: New port
    
    Bootstrap 4.5.3 (XStatic packaging standard)
    
    Twitter Bootstrap 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.
---
 devel/Makefile                       |  1 +
 devel/py-xstatic-bootstrap/Makefile  | 23 +++++++++++++++++++++++
 devel/py-xstatic-bootstrap/distinfo  |  3 +++
 devel/py-xstatic-bootstrap/pkg-descr |  8 ++++++++
 4 files changed, 35 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 298e33bbd3dc..34bea612cfa4 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -6088,6 +6088,7 @@
     SUBDIR += py-xstatic-angular-gettext
     SUBDIR += py-xstatic-angular-lrdragndrop
     SUBDIR += py-xstatic-angular-schema-form
+    SUBDIR += py-xstatic-bootstrap
     SUBDIR += py-xstatic-bootstrap-datepicker
     SUBDIR += py-xstatic-bootstrap-scss
     SUBDIR += py-xstatic-bootswatch
diff --git a/devel/py-xstatic-bootstrap/Makefile b/devel/py-xstatic-bootstrap/Makefile
new file mode 100644
index 000000000000..c32f7bbedecc
--- /dev/null
+++ b/devel/py-xstatic-bootstrap/Makefile
@@ -0,0 +1,23 @@
+PORTNAME=	xstatic-bootstrap
+DISTVERSION=	4.5.3.1
+CATEGORIES=	devel python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+DISTNAME=	XStatic-Bootstrap-${DISTVERSION}
+
+MAINTAINER=	bofh@FreeBSD.org
+COMMENT=	Bootstrap 4.5.3 (XStatic packaging standard)
+WWW=		https://getbootstrap.com/
+
+LICENSE=	MIT
+
+USES=		python
+USE_PYTHON=	autoplist distutils
+
+NO_ARCH=	yes
+
+post-patch:
+	@${REINPLACE_CMD} -e "s|xs.PACKAGE_NAME|'xstatic-bootstrap'|g" \
+		${WRKSRC}/setup.py
+
+.include <bsd.port.mk>
diff --git a/devel/py-xstatic-bootstrap/distinfo b/devel/py-xstatic-bootstrap/distinfo
new file mode 100644
index 000000000000..d7cfc18bbf69
--- /dev/null
+++ b/devel/py-xstatic-bootstrap/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1726933698
+SHA256 (XStatic-Bootstrap-4.5.3.1.tar.gz) = cf67d205437b32508a88b69a7e7c5bbe2ca5a8ae71097391a6a6f510ebfd2820
+SIZE (XStatic-Bootstrap-4.5.3.1.tar.gz) = 727239
diff --git a/devel/py-xstatic-bootstrap/pkg-descr b/devel/py-xstatic-bootstrap/pkg-descr
new file mode 100644
index 000000000000..02f22593c934
--- /dev/null
+++ b/devel/py-xstatic-bootstrap/pkg-descr
@@ -0,0 +1,8 @@
+Twitter Bootstrap 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.