From owner-dev-commits-ports-all@freebsd.org Wed Jul 14 16:16:34 2021 Return-Path: Delivered-To: dev-commits-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8A0DA64F01C; Wed, 14 Jul 2021 16:16:34 +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 4GQ2gk03xVz4gQ5; Wed, 14 Jul 2021 16:16:33 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 C31A219315; Wed, 14 Jul 2021 16:16:33 +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 16EGGXV4008337; Wed, 14 Jul 2021 16:16:33 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 16EGGX54008336; Wed, 14 Jul 2021 16:16:33 GMT (envelope-from git) Date: Wed, 14 Jul 2021 16:16:33 GMT Message-Id: <202107141616.16EGGX54008336@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: 7ab6a568f37a - main - textproc/py-pyexcel-xls: Add py-pyexcel-xls 0.6.2 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: 7ab6a568f37aeec1fe369172170fcc39fd1c688d Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jul 2021 16:16:34 -0000 The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=7ab6a568f37aeec1fe369172170fcc39fd1c688d commit 7ab6a568f37aeec1fe369172170fcc39fd1c688d Author: Po-Chuan Hsieh AuthorDate: 2021-07-14 15:48:33 +0000 Commit: Po-Chuan Hsieh CommitDate: 2021-07-14 16:09:38 +0000 textproc/py-pyexcel-xls: Add py-pyexcel-xls 0.6.2 pyexcel-xls is a tiny wrapper library to read, manipulate and write data in xls format and it can read xlsx and xlsm fromat. You are likely to use it with pyexcel. WWW: https://github.com/pyexcel/pyexcel-xls --- textproc/Makefile | 1 + textproc/py-pyexcel-xls/Makefile | 24 ++++++++++++++++++++++++ textproc/py-pyexcel-xls/distinfo | 3 +++ textproc/py-pyexcel-xls/files/patch-setup.py | 11 +++++++++++ textproc/py-pyexcel-xls/pkg-descr | 5 +++++ 5 files changed, 44 insertions(+) diff --git a/textproc/Makefile b/textproc/Makefile index 967ef58e7652..a5193951a3fb 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -1373,6 +1373,7 @@ SUBDIR += py-pyexcel-ezodf SUBDIR += py-pyexcel-io SUBDIR += py-pyexcel-ods3 + SUBDIR += py-pyexcel-xls SUBDIR += py-pygccxml SUBDIR += py-pygments SUBDIR += py-pygments-25 diff --git a/textproc/py-pyexcel-xls/Makefile b/textproc/py-pyexcel-xls/Makefile new file mode 100644 index 000000000000..9914554ceec8 --- /dev/null +++ b/textproc/py-pyexcel-xls/Makefile @@ -0,0 +1,24 @@ +# Created by: Po-Chuan Hsieh + +PORTNAME= pyexcel-xls +PORTVERSION= 0.6.2 +CATEGORIES= textproc python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Read, manipulate and write data in xls format + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyexcel-io>=0.6.2:textproc/py-pyexcel-io@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}xlrd>=0:textproc/py-xlrd@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}xlwt>=0:textproc/py-xlwt@${PY_FLAVOR} + +USES= python:3.6+ +USE_PYTHON= autoplist concurrent distutils + +NO_ARCH= yes + +.include diff --git a/textproc/py-pyexcel-xls/distinfo b/textproc/py-pyexcel-xls/distinfo new file mode 100644 index 000000000000..7ab86fb1c663 --- /dev/null +++ b/textproc/py-pyexcel-xls/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1625585436 +SHA256 (pyexcel-xls-0.6.2.tar.gz) = 2fbf66e8df88051eaaa9745be433903d18db819ddd3a987c992ead1d68b7feb5 +SIZE (pyexcel-xls-0.6.2.tar.gz) = 54339 diff --git a/textproc/py-pyexcel-xls/files/patch-setup.py b/textproc/py-pyexcel-xls/files/patch-setup.py new file mode 100644 index 000000000000..734ef40dc381 --- /dev/null +++ b/textproc/py-pyexcel-xls/files/patch-setup.py @@ -0,0 +1,11 @@ +--- setup.py.orig 2020-12-12 22:34:25 UTC ++++ setup.py +@@ -69,7 +69,7 @@ PYTHON_REQUIRES = ">=3.6" + + INSTALL_REQUIRES = [ + "pyexcel-io>=0.6.2", +- "xlrd<2", ++ "xlrd", + "xlwt", + ] + SETUP_COMMANDS = {} diff --git a/textproc/py-pyexcel-xls/pkg-descr b/textproc/py-pyexcel-xls/pkg-descr new file mode 100644 index 000000000000..ea46ffa380f0 --- /dev/null +++ b/textproc/py-pyexcel-xls/pkg-descr @@ -0,0 +1,5 @@ +pyexcel-xls is a tiny wrapper library to read, manipulate and write data in xls +format and it can read xlsx and xlsm fromat. You are likely to use it with +pyexcel. + +WWW: https://github.com/pyexcel/pyexcel-xls