aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2021-07-18 17:46:58 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2021-07-18 17:46:58 +0000
commit83f1d92e95ba14fb2e788ca1b3b5004e7132f5be (patch)
tree0853bb092b8f8a60ed8d4a95899f0f04ba69c7d9
parent8e9b9448c5eafab3bb43eef2d3b8d0d6421bfea6 (diff)
www/py-pygsheets: Add py-pygsheets 2.0.5
A simple, intuitive library for google sheets which gets your work done. Features: - Open, create, delete and share spreadsheets using title or key - Intuitive models - spreadsheet, worksheet, cell, datarange - Control permissions of spreadsheets. - Set cell format, text format, color, write notes - Named and Protected Ranges Support - Work with range of cells easily with DataRange and Gridrange - Data validation support. checkboxes, drop-downs etc. - Conditional formatting support - get multiple ranges with get_values_batch and update wit update_values_batch WWW: https://github.com/nithinmurali/pygsheets
-rw-r--r--www/Makefile1
-rw-r--r--www/py-pygsheets/Makefile22
-rw-r--r--www/py-pygsheets/distinfo3
-rw-r--r--www/py-pygsheets/pkg-descr14
4 files changed, 40 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index ea89d832dd6c..1d4f63144c28 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1690,6 +1690,7 @@
SUBDIR += py-protego
SUBDIR += py-puppetboard
SUBDIR += py-py-restclient
+ SUBDIR += py-pygsheets
SUBDIR += py-pyjwt
SUBDIR += py-pylsqpack
SUBDIR += py-pyocclient
diff --git a/www/py-pygsheets/Makefile b/www/py-pygsheets/Makefile
new file mode 100644
index 000000000000..9c7274677df0
--- /dev/null
+++ b/www/py-pygsheets/Makefile
@@ -0,0 +1,22 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+
+PORTNAME= pygsheets
+PORTVERSION= 2.0.5
+CATEGORIES= www python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Google Spreadsheets Python API v4
+
+LICENSE= MIT
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}google-api-python-client>=1.5.5:www/py-google-api-python-client@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}google-auth-oauthlib>=0:security/py-google-auth-oauthlib@${PY_FLAVOR}
+
+USES= python:3.6+
+USE_PYTHON= autoplist concurrent distutils
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/www/py-pygsheets/distinfo b/www/py-pygsheets/distinfo
new file mode 100644
index 000000000000..f6968d39ce27
--- /dev/null
+++ b/www/py-pygsheets/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1626542062
+SHA256 (pygsheets-2.0.5.tar.gz) = ea6ce75dabd1359e49fd36920ff0d25ff9428ccc3d5d2474bdba80fb8653ad80
+SIZE (pygsheets-2.0.5.tar.gz) = 144657
diff --git a/www/py-pygsheets/pkg-descr b/www/py-pygsheets/pkg-descr
new file mode 100644
index 000000000000..1549077a07fb
--- /dev/null
+++ b/www/py-pygsheets/pkg-descr
@@ -0,0 +1,14 @@
+A simple, intuitive library for google sheets which gets your work done.
+
+Features:
+- Open, create, delete and share spreadsheets using title or key
+- Intuitive models - spreadsheet, worksheet, cell, datarange
+- Control permissions of spreadsheets.
+- Set cell format, text format, color, write notes
+- Named and Protected Ranges Support
+- Work with range of cells easily with DataRange and Gridrange
+- Data validation support. checkboxes, drop-downs etc.
+- Conditional formatting support
+- get multiple ranges with get_values_batch and update wit update_values_batch
+
+WWW: https://github.com/nithinmurali/pygsheets