git: 59856b93264a - main - textproc/py-vbuild: New port: Simple module to extract html/script/style from a VueJS file
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 02 Nov 2024 19:30:24 UTC
The branch main has been updated by acm: URL: https://cgit.FreeBSD.org/ports/commit/?id=59856b93264a2a6567e8b43ac36e3142a5018556 commit 59856b93264a2a6567e8b43ac36e3142a5018556 Author: Jesús Daniel Colmenares Oviedo <DtxdF@disroot.org> AuthorDate: 2024-11-02 19:28:33 +0000 Commit: Jose Alonso Cardenas Marquez <acm@FreeBSD.org> CommitDate: 2024-11-02 19:30:11 +0000 textproc/py-vbuild: New port: Simple module to extract html/script/style from a VueJS file Compile your VueJS (vuejs2 only) components (*.vue) to standalone HTML/JS/CSS using Python only, no need of NodeJS. And you can use python components with vbuild in your vue/sfc files. WWW: https://github.com/manatlan/vbuild PR: 282454 --- textproc/Makefile | 1 + textproc/py-vbuild/Makefile | 22 ++++++++++++++++++++++ textproc/py-vbuild/distinfo | 3 +++ textproc/py-vbuild/files/patch-pyproject.toml | 13 +++++++++++++ textproc/py-vbuild/pkg-descr | 3 +++ 5 files changed, 42 insertions(+) diff --git a/textproc/Makefile b/textproc/Makefile index 5d68da3984a4..691571ed50bd 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -1687,6 +1687,7 @@ SUBDIR += py-unicodeitplus SUBDIR += py-untangle SUBDIR += py-urlscan + SUBDIR += py-vbuild SUBDIR += py-wasabi SUBDIR += py-wavedrom SUBDIR += py-wcmatch diff --git a/textproc/py-vbuild/Makefile b/textproc/py-vbuild/Makefile new file mode 100644 index 000000000000..c5b9df68b6b9 --- /dev/null +++ b/textproc/py-vbuild/Makefile @@ -0,0 +1,22 @@ +PORTNAME= vbuild +DISTVERSION= 0.8.2 +CATEGORIES= textproc python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= DtxdF@disroot.org +COMMENT= Simple module to extract html/script/style from a VueJS file +WWW= https://github.com/manatlan/vbuild + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry>=0:devel/py-poetry@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pscript>=0:textproc/py-pscript@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist pep517 + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/textproc/py-vbuild/distinfo b/textproc/py-vbuild/distinfo new file mode 100644 index 000000000000..7e157bf8c14c --- /dev/null +++ b/textproc/py-vbuild/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1729896364 +SHA256 (vbuild-0.8.2.tar.gz) = 270cd9078349d907dfae6c0e6364a5a5e74cb86183bb5093613f12a18b435fa9 +SIZE (vbuild-0.8.2.tar.gz) = 8937 diff --git a/textproc/py-vbuild/files/patch-pyproject.toml b/textproc/py-vbuild/files/patch-pyproject.toml new file mode 100644 index 000000000000..303041ff44d1 --- /dev/null +++ b/textproc/py-vbuild/files/patch-pyproject.toml @@ -0,0 +1,13 @@ +--- pyproject.toml.orig 2024-10-26 18:30:53 UTC ++++ pyproject.toml +@@ -16,8 +16,8 @@ classifiers = [ + ] + + [tool.poetry.dependencies] +-python = "^2.7 || ^3.6" +-pscript = "^0.7.0" ++python = "^3.11" ++pscript = "^0.7.7" + + [tool.poetry.dev-dependencies] + pytest = "^3.0" diff --git a/textproc/py-vbuild/pkg-descr b/textproc/py-vbuild/pkg-descr new file mode 100644 index 000000000000..3e8163d86997 --- /dev/null +++ b/textproc/py-vbuild/pkg-descr @@ -0,0 +1,3 @@ +Compile your VueJS (vuejs2 only) components (*.vue) to standalone +HTML/JS/CSS using Python only, no need of NodeJS. And you can use +python components with vbuild in your vue/sfc files.