From nobody Thu Apr 27 15:52:15 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Q6gGl3htxz47KT6; Thu, 27 Apr 2023 15:52:15 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Q6gGl2rPwz4F4Y; Thu, 27 Apr 2023 15:52:15 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1682610735; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=qx5iHoURGzsRYFjLt8SHEGg9Nj8J5dWiClsay4JEsYs=; b=J3tjv+Jjzpndcp9KSKw5fXzs7csZwA0tIOb16+RvwV10MVP8FjhmnzTa/HLX7bc6tOLzvK J/GAGzTexSSMdmT3ibBMJ+49mzTRE2O0fxilFTWr05SE6M7VIwSIHuGQ0o0BGXrf+APXMS wfZrO9KNn+0s73+HehyvlJLlfJy1UQgJP8kPQJswqx1jFBy544Rs+CpgQbKXs59FVBhuoG pT9yshPJXesiS6xNNvEN8aH/XjJH1qwzku7Tq0pYS11TBI1EZPPBUkowZUgKaWTE3VeEIq uNnM60nCMJjTAprZ5mjCIWbUdh16P4Wt6gBCmV65RScc9Ledz+AA+17XG8KZTQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1682610735; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=qx5iHoURGzsRYFjLt8SHEGg9Nj8J5dWiClsay4JEsYs=; b=d08JKBRHMsFegAKIcO6BGFEHqAJmR6HgwZ0pGq7lf/gLCIg5kS0H1KVi5kdTTy1hVgwQtz YCfzeCZfoiH0da8e/Uft052PAaw8qK/+vx7GKV/mv0K019jwzohzq7rzQythzp+hI0ZOD7 x3Q5Gd0ecW8ACpOxkFW6daMXpNlvdcGlw3eGZA7s3VfLAhnhj610UQOtYU/vqwZLfI3P5f V+pqRWj9XpzpftU6cmmsLVVXCjpJU9wdhIvBX1GktSUr2Ijp3mWQigIb8qnnwCCzvkc4CC Y6lrrkH1o62rg5QFv+e70CIEAkeeOw12VxtDSbF+HkqRpypbSh+d44U3Q/Nhgw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1682610735; a=rsa-sha256; cv=none; b=DOdTVm08V2tsLobLE3CKH1JpZkhb93aBkXDLlo+vJz95UXu3d7tnCqBG7hn3VexJVQ781+ PDRROTVQLHAynH6/aV7ngrYkm8qz+6Yt43Lj/MpNPbAEFuimz6NVGgvPQ2PYtdmcKb+8m8 LhAmjUaqc7julF+2OAjmcDb+URGzvjQPVFIT9HkoYM49kR6yEqHog8CMQpwr1DtlONKflW PfbeiWz6mvk5tJ6z5DujP9sA4T3BTvTJTksqbQblk7PBm2VEmyQbvYYvNxUSpmWpQ/XpvU i9zIIwvBf0/Rsds2lJc7CF/mA479jHc+cUiQ2edtzhxOOHdvIP2z9ipiKSdaOw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Q6gGl1wCyzNbH; Thu, 27 Apr 2023 15:52:15 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 33RFqFJ2025550; Thu, 27 Apr 2023 15:52:15 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 33RFqFrj025549; Thu, 27 Apr 2023 15:52:15 GMT (envelope-from git) Date: Thu, 27 Apr 2023 15:52:15 GMT Message-Id: <202304271552.33RFqFrj025549@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: d37916f24e92 - main - graphics/py-python-barcode: Add py-python-barcode 0.14.0 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: d37916f24e922667cec9a18cf135042b77007253 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=d37916f24e922667cec9a18cf135042b77007253 commit d37916f24e922667cec9a18cf135042b77007253 Author: Po-Chuan Hsieh AuthorDate: 2023-04-27 15:28:01 +0000 Commit: Po-Chuan Hsieh CommitDate: 2023-04-27 15:28:01 +0000 graphics/py-python-barcode: Add py-python-barcode 0.14.0 python-barcode provides a simple way to create barcodes in Python. There are no external dependencies when generating SVG files. Pillow is required for generating images (e.g.: PNGs). --- graphics/Makefile | 1 + graphics/py-python-barcode/Makefile | 27 +++++++++++++++++++++++++++ graphics/py-python-barcode/distinfo | 3 +++ graphics/py-python-barcode/pkg-descr | 4 ++++ 4 files changed, 35 insertions(+) diff --git a/graphics/Makefile b/graphics/Makefile index 326a4c184b92..553cd3f80113 100644 --- a/graphics/Makefile +++ b/graphics/Makefile @@ -934,6 +934,7 @@ SUBDIR += py-pyqtgraph SUBDIR += py-pyrsgis SUBDIR += py-pytesseract + SUBDIR += py-python-barcode SUBDIR += py-python-poppler-qt5 SUBDIR += py-pyvips SUBDIR += py-pyvista diff --git a/graphics/py-python-barcode/Makefile b/graphics/py-python-barcode/Makefile new file mode 100644 index 000000000000..238dd795b250 --- /dev/null +++ b/graphics/py-python-barcode/Makefile @@ -0,0 +1,27 @@ +PORTNAME= python-barcode +PORTVERSION= 0.14.0 +CATEGORIES= graphics python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Create standard barcodes with Python +WWW= https://github.com/WhyNotHugo/python-barcode + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENCE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=0:devel/py-setuptools_scm@${PY_FLAVOR} + +USES= python:3.7+ +USE_PYTHON= autoplist concurrent distutils + +NO_ARCH= yes + +OPTIONS_DEFINE= IMAGES +OPTIONS_DEFAULT=IMAGES +IMAGES_DESC= Generate images + +IMAGES_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pillow>=0:graphics/py-pillow@${PY_FLAVOR} + +.include diff --git a/graphics/py-python-barcode/distinfo b/graphics/py-python-barcode/distinfo new file mode 100644 index 000000000000..56edb36e21c8 --- /dev/null +++ b/graphics/py-python-barcode/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1682354450 +SHA256 (python-barcode-0.14.0.tar.gz) = 241b34aa5c5cb6a9889882f9409b0182903a2c5d19b4218be3609cdbbd5ffdf9 +SIZE (python-barcode-0.14.0.tar.gz) = 228128 diff --git a/graphics/py-python-barcode/pkg-descr b/graphics/py-python-barcode/pkg-descr new file mode 100644 index 000000000000..cc8b12391c9f --- /dev/null +++ b/graphics/py-python-barcode/pkg-descr @@ -0,0 +1,4 @@ +python-barcode provides a simple way to create barcodes in Python. + +There are no external dependencies when generating SVG files. Pillow is required +for generating images (e.g.: PNGs).