From nobody Sun Feb 18 11:33:23 2024 X-Original-To: dev-commits-ports-all@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 4Td3Sz2lRtz53wWl; Sun, 18 Feb 2024 11:33:23 +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 4Td3Sz28b0z4Qt8; Sun, 18 Feb 2024 11:33:23 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708256003; 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=ilHU/Im40p4PMZDk/QkqvPRBGkWJTXwDWpA2SUF23MU=; b=YjTgW5Ths5D+pI/BGZ+/RDwZH9fwhKP9D1lvvAAkyz5Y2iMvIUee6gMic4a+o+OLJcxeyC 1rLj+6AAuwXhlzkeG9abUUrrvhmOQa1jtZm7c2zgMxbFxMWO7qgC4aIR2eH8pWu641+lNU FIY9cpJxosJyD6Dr2W7YMbwDZkvEgr11IG2AXyJG76AZ/4h3SainXrzdfXhVTeTla4+o2Q 23SxCJlWxQiVslaTPrF4IkYJCls320k2OOxIHRWkI9F2as2oTxh8G3EH6/drYLr53LHwyD aS8Si1SN5bqnR+wmK7F8YvRFLZiCeDmcl9P1XK3xljuZiQeth1WgUdc4m/3qSg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708256003; 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=ilHU/Im40p4PMZDk/QkqvPRBGkWJTXwDWpA2SUF23MU=; b=SS6ez83N9noXADu3kcPkhEpgA75eX4yUI/M+SLLxcvwJ25IVwDtJsQgif5fWmzuDS9P0mY ZFTXYgNoiO2/92Soz0frjBMUu4t6U3dYWGxUHCN3+PfTZUQYuNjrEn7tmmB1MQGUUbtLJ0 +MFR4/SaD9tmD/GICxYmh1I8tyFEDzS27UmK/Jf6zatMesJ4ikDVCK+0A2rs6jxWeX16XT EmBYsAmeT7fUkXZ4ZrWmIMaMA48zdZh3xxiE5Wx6hWBLvT+x1jwps/R0rRMS4Ck/ZtUDBC 7HyqHnzL3CvGXRrK8JG21jfUHhTygdw8KaPB1asAZdav4L4uB4TNC+FDJWidBg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1708256003; a=rsa-sha256; cv=none; b=gA6QtMT3PkN/A2cG7lgjEtxu8AKDcQnMLHbfCMdQslQLATaZpZQMsT8YQHiDXNG1jU/2oC G5E0VwbK4kgnUJa3s3NzY3wb8sNElv3DUO6+IIEfs3bIuXj4k+uBBeHfZ1dLMwBk2BRuga gsDOX3Ibui5jYKGKNwrRZ7NqpuaPCvze72kE8JU6eL9PPx8pSvkcjA1ijwg4QfOF/hH/ci vqR8icgSD88oV70w4KkwwjbKsRtQCarL/f3MpE70UK8KpqotQ3PhYs4ngikoLjr29gZIBx ln4hNe3Ie907ipuE5HQmKv6ITaon1L68jMJW2JBtOuZ7jUMFad51AcCYK3dfVA== 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 4Td3Sz1CGDzpJ8; Sun, 18 Feb 2024 11:33:23 +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 41IBXN5e036018; Sun, 18 Feb 2024 11:33:23 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 41IBXN8O036015; Sun, 18 Feb 2024 11:33:23 GMT (envelope-from git) Date: Sun, 18 Feb 2024 11:33:23 GMT Message-Id: <202402181133.41IBXN8O036015@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Michael Gmelin Subject: git: fb34e270eef2 - main - graphics/py-pdf2image: New port List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: grembo X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: fb34e270eef29f3a3c0b8d0c1c5956615335542e Auto-Submitted: auto-generated The branch main has been updated by grembo: URL: https://cgit.FreeBSD.org/ports/commit/?id=fb34e270eef29f3a3c0b8d0c1c5956615335542e commit fb34e270eef29f3a3c0b8d0c1c5956615335542e Author: Michael Gmelin AuthorDate: 2024-02-12 12:20:01 +0000 Commit: Michael Gmelin CommitDate: 2024-02-18 11:32:07 +0000 graphics/py-pdf2image: New port Wrapper to convert pdf to a pil image list --- graphics/Makefile | 1 + graphics/py-pdf2image/Makefile | 23 +++++++++++++++++++++++ graphics/py-pdf2image/distinfo | 3 +++ graphics/py-pdf2image/pkg-descr | 2 ++ 4 files changed, 29 insertions(+) diff --git a/graphics/Makefile b/graphics/Makefile index 91bb51a36dfc..8dc13c692006 100644 --- a/graphics/Makefile +++ b/graphics/Makefile @@ -916,6 +916,7 @@ SUBDIR += py-optimize-images SUBDIR += py-osmnet SUBDIR += py-pandana + SUBDIR += py-pdf2image SUBDIR += py-photocollage SUBDIR += py-piexif SUBDIR += py-pillow diff --git a/graphics/py-pdf2image/Makefile b/graphics/py-pdf2image/Makefile new file mode 100644 index 000000000000..0dde6308816e --- /dev/null +++ b/graphics/py-pdf2image/Makefile @@ -0,0 +1,23 @@ +PORTNAME= pdf2image +PORTVERSION= 1.17.0 +CATEGORIES= graphics python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= grembo@FreeBSD.org +COMMENT= Wrapper to convert pdf to a pil image list +WWW= https://github.com/Belval/pdf2image + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py-pillow@${PY_FLAVOR} \ + pdftocairo:graphics/poppler-utils \ + pdftoppm:graphics/poppler-utils + +USES= python +USE_PYTHON= autoplist distutils + +NO_ARCH= yes + +.include diff --git a/graphics/py-pdf2image/distinfo b/graphics/py-pdf2image/distinfo new file mode 100644 index 000000000000..0c391a841d68 --- /dev/null +++ b/graphics/py-pdf2image/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1707593750 +SHA256 (pdf2image-1.17.0.tar.gz) = eaa959bc116b420dd7ec415fcae49b98100dda3dd18cd2fdfa86d09f112f6d57 +SIZE (pdf2image-1.17.0.tar.gz) = 12811 diff --git a/graphics/py-pdf2image/pkg-descr b/graphics/py-pdf2image/pkg-descr new file mode 100644 index 000000000000..db5e15e540c3 --- /dev/null +++ b/graphics/py-pdf2image/pkg-descr @@ -0,0 +1,2 @@ +A python (3.7+) module that wraps pdftoppm and pdftocairo to convert PDF to a +PIL Image object