mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 17:46:38 -04:00
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.
This commit is contained in:
parent
45c51beb49
commit
d7709bc96b
4 changed files with 46 additions and 0 deletions
|
@ -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
|
||||
|
|
28
textproc/py-segno/Makefile
Normal file
28
textproc/py-segno/Makefile
Normal file
|
@ -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>
|
3
textproc/py-segno/distinfo
Normal file
3
textproc/py-segno/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
|||
TIMESTAMP = 1713528488
|
||||
SHA256 (segno-1.6.1.tar.gz) = f23da78b059251c36e210d0cf5bfb1a9ec1604ae6e9f3d42f9a7c16d306d847e
|
||||
SIZE (segno-1.6.1.tar.gz) = 72531
|
14
textproc/py-segno/pkg-descr
Normal file
14
textproc/py-segno/pkg-descr
Normal file
|
@ -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.
|
Loading…
Add table
Reference in a new issue