Date: Sat, 20 Apr 2024 14:26:43 GMT From: Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: d7709bc96b3c - main - textproc/py-segno: Add py-segno 1.6.1 Message-ID: <202404201426.43KEQhGQ006753@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=d7709bc96b3c49b4f738eed61d9cde47c79158b8 commit d7709bc96b3c49b4f738eed61d9cde47c79158b8 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2024-04-20 14:21:32 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2024-04-20 14:25:34 +0000 textproc/py-segno: Add py-segno 1.6.1 Segno is a pure Python QR Code generator with no dependencies. This package implements ISO/IEC 18004:2015(E) "QR Code bar code symbology specification" and produces QR Codes and Micro QR Codes with nearly no effort. It supports the Structured Append mode which splits a message across several QR codes. Segno (Italian for "sign" / "symbol") provides several serialization formats like Scalable Vector Graphics (SVG), Encapsulated PostScript (EPS), Portable Network Graphics (PNG), Portable Document Format (PDF), Netpbm (PAM, PBM, PPM), LaTeX (PGF/TikZ), X PixMap (XBM), and X Bitmap (XPM) etc. None of these serializers require an external lib. Further, it provides several high level functions to create QR Codes which encode contact data (vCard, MeCard), EPC QR Codes, or WIFI QR Codes. --- textproc/Makefile | 1 + textproc/py-segno/Makefile | 28 ++++++++++++++++++++++++++++ textproc/py-segno/distinfo | 3 +++ textproc/py-segno/pkg-descr | 14 ++++++++++++++ 4 files changed, 46 insertions(+) diff --git a/textproc/Makefile b/textproc/Makefile index 9b94853cbf5e..8906ad5be507 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -1550,6 +1550,7 @@ SUBDIR += py-rst2ansi SUBDIR += py-rst2html5 SUBDIR += py-scour + SUBDIR += py-segno SUBDIR += py-sense2vec SUBDIR += py-sentencepiece SUBDIR += py-simplebayes diff --git a/textproc/py-segno/Makefile b/textproc/py-segno/Makefile new file mode 100644 index 000000000000..170a38d54ebe --- /dev/null +++ b/textproc/py-segno/Makefile @@ -0,0 +1,28 @@ +PORTNAME= segno +PORTVERSION= 1.6.1 +CATEGORIES= textproc python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= QR Code and Micro QR Code generator for Python +WWW= https://segno.readthedocs.io/en/latest/ \ + https://github.com/heuer/segno + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flit-core>=3.2<4:devel/py-flit-core@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist concurrent pep517 + +NO_ARCH= yes + +.include <bsd.port.pre.mk> + +.if ${PYTHON_REL} < 31000 +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib-metadata>=3.6.0:devel/py-importlib-metadata@${PY_FLAVOR} +.endif + +.include <bsd.port.post.mk> diff --git a/textproc/py-segno/distinfo b/textproc/py-segno/distinfo new file mode 100644 index 000000000000..e5979b145191 --- /dev/null +++ b/textproc/py-segno/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1713528488 +SHA256 (segno-1.6.1.tar.gz) = f23da78b059251c36e210d0cf5bfb1a9ec1604ae6e9f3d42f9a7c16d306d847e +SIZE (segno-1.6.1.tar.gz) = 72531 diff --git a/textproc/py-segno/pkg-descr b/textproc/py-segno/pkg-descr new file mode 100644 index 000000000000..e3b19dd1f676 --- /dev/null +++ b/textproc/py-segno/pkg-descr @@ -0,0 +1,14 @@ +Segno is a pure Python QR Code generator with no dependencies. + +This package implements ISO/IEC 18004:2015(E) "QR Code bar code symbology +specification" and produces QR Codes and Micro QR Codes with nearly no effort. +It supports the Structured Append mode which splits a message across several QR +codes. + +Segno (Italian for "sign" / "symbol") provides several serialization formats +like Scalable Vector Graphics (SVG), Encapsulated PostScript (EPS), Portable +Network Graphics (PNG), Portable Document Format (PDF), Netpbm (PAM, PBM, PPM), +LaTeX (PGF/TikZ), X PixMap (XBM), and X Bitmap (XPM) etc. None of these +serializers require an external lib. Further, it provides several high level +functions to create QR Codes which encode contact data (vCard, MeCard), EPC QR +Codes, or WIFI QR Codes.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202404201426.43KEQhGQ006753>