From nobody Tue Oct 31 12:33:45 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 4SKV1P4F2hz4yKdx; Tue, 31 Oct 2023 12:33:45 +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 4SKV1P3q4Mz4cH8; Tue, 31 Oct 2023 12:33:45 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1698755625; 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=am/Mb8XhIyVY6S2dND1q/UBMYOzRgNqHxRyzFLMmqF4=; b=jmirMURoBM8jg3jV8RenQTZyaPXLL6ZICdnfAXsHvK88e47c+luwFxgofrmh6iiopd/q7Y JGAb9ua5GeyHJoHlXV/ip8U2lXSBBYnzi/dxM8x3BTVVjcJGTEAw6mC7/0M4TgAVdve4+I 2VvebD69pbeOqbxKmKG9C/AZaYUghlXG4BSE07c5t9Bjeb20AmVIsso7ntUdRIOG6tcGWa ha0Q4GDttK+oGMVZO173+mu64V9D+B3X862iWjzGSjLvFyNVoCAuVaxucIvulvjCppH4T6 R7kDOlSE4cpsn1emDpiKLfchtkxXFDYO3DcUL8x9qXX3YLej4xIBmuo08HZG4w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1698755625; 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=am/Mb8XhIyVY6S2dND1q/UBMYOzRgNqHxRyzFLMmqF4=; b=XZSd1Nw6Sxd8w2qdmhuJo0gr8ZnGn2oznW9C7utrj/lQuX2rlZzw8TadYoXR3Iw9a2fcWe G0uA5MXaXKj0m+/M5KCc+z5M07WPVGc2jnzZLkRGAO04J+igimpWeIYtHzDVz9hKAZXj/c wumh7wOqa8EWNnxU/CpVgoYSaFRDehPprk9xU1+BNQTrKgEjRMBPWFttLTLbtLALOAwjH5 VzlgjNUyDtL+arZn3ZfxHIGEgcBg9GnP62iuci4ehQMfs9mHi0VEzIbdubaoq88AZkglEZ MYrh0trJmPZLnlyl46pZB84O8DFgT09sp/J7+20NLzvT0Ndts0wyOzkeEONHqQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1698755625; a=rsa-sha256; cv=none; b=h2QXG7+wfg9ZCtr6KK8yqTXh11UEeAjl3vSg+X0kByzaQBU3P8GSw+yWUsHNK/SCpOUxUA dBhEOmeA0VnijBAxCrsBg7wwUsBfuRC6VtXIOpRTQM5bKFl3mSQqo34oh5+J1/nQUbmbhM 9yOaA3+7U9c0oGRQAQbytlH03jGq87dPC2RvwWEpzCt7NF3ZdaL6oBJFQAVm2rtd2p5DyM Odb9xfZg5U1n529LuPwgofN962D03g8QssZfhZlLOHEa+T7ZosFPMEB422CFg69mhr5hK1 1Nom7AW42ppS9pN9MWFHsa9uza7TPn4PMmIdx4ElBIp828cDC7SEk+tLAvDgDQ== 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 4SKV1P2rcgz13nc; Tue, 31 Oct 2023 12:33:45 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 39VCXjuv096589; Tue, 31 Oct 2023 12:33:45 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 39VCXj4Y096586; Tue, 31 Oct 2023 12:33:45 GMT (envelope-from git) Date: Tue, 31 Oct 2023 12:33:45 GMT Message-Id: <202310311233.39VCXj4Y096586@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Kai Knoblich Subject: git: 608775544e67 - main - graphics/py-img2pdf: Update to 0.5.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: kai X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 608775544e67d0e623c9e7cdc149f309624ca654 Auto-Submitted: auto-generated The branch main has been updated by kai: URL: https://cgit.FreeBSD.org/ports/commit/?id=608775544e67d0e623c9e7cdc149f309624ca654 commit 608775544e67d0e623c9e7cdc149f309624ca654 Author: Kai Knoblich AuthorDate: 2023-10-31 12:27:52 +0000 Commit: Kai Knoblich CommitDate: 2023-10-31 12:33:15 +0000 graphics/py-img2pdf: Update to 0.5.0 Changelog: https://github.com/josch/img2pdf/blob/0.5.0/CHANGES.rst --- graphics/py-img2pdf/Makefile | 5 ++-- graphics/py-img2pdf/distinfo | 6 ++--- .../py-img2pdf/files/patch-src_img2pdf__test.py | 30 ---------------------- 3 files changed, 5 insertions(+), 36 deletions(-) diff --git a/graphics/py-img2pdf/Makefile b/graphics/py-img2pdf/Makefile index 54253b5cba37..b965cb6248a9 100644 --- a/graphics/py-img2pdf/Makefile +++ b/graphics/py-img2pdf/Makefile @@ -1,6 +1,5 @@ PORTNAME= img2pdf -DISTVERSION= 0.4.4 -PORTREVISION= 3 +DISTVERSION= 0.5.0 CATEGORIES= graphics python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -25,7 +24,7 @@ USES= python shebangfix magick:6,test USE_PYTHON= autoplist concurrent distutils pytest # Some tests fail, see following link for more info: # https://gitlab.mister-muffin.de/josch/img2pdf/issues/152 -PYTEST_BROKEN_TESTS= jpg_cmyk tiff_cmyk8 +PYTEST_BROKEN_TESTS= jpg_cmyk miff_cmyk8 test_date tiff_cmyk8 SHEBANG_FILES= src/img2pdf.py TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} diff --git a/graphics/py-img2pdf/distinfo b/graphics/py-img2pdf/distinfo index fab177241c64..ade359f34858 100644 --- a/graphics/py-img2pdf/distinfo +++ b/graphics/py-img2pdf/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1680120812 -SHA256 (img2pdf-0.4.4.tar.gz) = 8ec898a9646523fd3862b154f3f47cd52609c24cc3e2dc1fb5f0168f0cbe793c -SIZE (img2pdf-0.4.4.tar.gz) = 97796 +TIMESTAMP = 1698568095 +SHA256 (img2pdf-0.5.0.tar.gz) = ae6c19731bde2551356c178bf356ca118ac32a232c737a14b423f8039df3c24b +SIZE (img2pdf-0.5.0.tar.gz) = 103853 diff --git a/graphics/py-img2pdf/files/patch-src_img2pdf__test.py b/graphics/py-img2pdf/files/patch-src_img2pdf__test.py deleted file mode 100644 index 40e9379b63fd..000000000000 --- a/graphics/py-img2pdf/files/patch-src_img2pdf__test.py +++ /dev/null @@ -1,30 +0,0 @@ -Fix value errors for some tests: - -> psnr = float(psnr.strip(b"0")) -E ValueError: could not convert string to float: b'61.5441 (0.615441)' -src/img2pdf_test.py:347: ValueError - -Obtained from: - -https://gitlab.mister-muffin.de/josch/img2pdf/issues/152 - ---- src/img2pdf_test.py.orig 2023-03-30 18:01:47 UTC -+++ src/img2pdf_test.py -@@ -345,7 +345,7 @@ def compare(im1, im2, exact, icc, cmyk): - stderr=subprocess.PIPE, - ).stderr - assert psnr != b"0" -- psnr = float(psnr.strip(b"0")) -+ psnr = float(psnr.split()[0]) - assert psnr != 0 # or otherwise we would use the exact variant - assert psnr > 50 - -@@ -501,7 +501,7 @@ def compare_pdfimages_png(tmpdir, img, pdf, exact=True - stderr=subprocess.PIPE, - ).stderr - assert psnr != b"0" -- psnr = float(psnr.strip(b"0")) -+ psnr = float(psnr.split()[0]) - assert psnr != 0 # or otherwise we would use the exact variant - assert psnr > 50 - (tmpdir / "images-000.png").unlink()