diff options
author | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2024-04-20 14:21:32 +0000 |
---|---|---|
committer | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2024-04-20 14:25:34 +0000 |
commit | d7709bc96b3c49b4f738eed61d9cde47c79158b8 (patch) | |
tree | b68264935234d79fe5e72f7e593e2d6f0b050773 /textproc | |
parent | 45c51beb49083042f36480cc33ea8f3c4b4e127c (diff) | |
download | ports-d7709bc96b3c49b4f738eed61d9cde47c79158b8.tar.gz ports-d7709bc96b3c49b4f738eed61d9cde47c79158b8.zip |
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.
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/Makefile | 1 | ||||
-rw-r--r-- | textproc/py-segno/Makefile | 28 | ||||
-rw-r--r-- | textproc/py-segno/distinfo | 3 | ||||
-rw-r--r-- | textproc/py-segno/pkg-descr | 14 |
4 files changed, 46 insertions, 0 deletions
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. |