Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Jul 2021 16:16:33 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 7ab6a568f37a - main - textproc/py-pyexcel-xls: Add py-pyexcel-xls 0.6.2
Message-ID:  <202107141616.16EGGX54008336@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=7ab6a568f37aeec1fe369172170fcc39fd1c688d

commit 7ab6a568f37aeec1fe369172170fcc39fd1c688d
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2021-07-14 15:48:33 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
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 <sunpoet@FreeBSD.org>
+
+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 <bsd.port.mk>
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202107141616.16EGGX54008336>