summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcos <cos>2024-03-19 12:00:39 +0100
committercos <cos>2024-03-19 12:00:39 +0100
commitbf34d42c80b4d8be3e7f470ac203881fabea9ba1 (patch)
tree10e5317e9b8efa6e6bfc9f5ac0b3b4b07dcc8faf
parent439a5dbc65ef7ef67ff45fcc1b6f72a31308abdc (diff)
downloadfreebsd-ports-bf34d42c80b4d8be3e7f470ac203881fabea9ba1.zip
deskutils/py-calendar_cli: New port: Simple command-line CalDav client
-rw-r--r--deskutils/py-calendar_cli/Makefile26
-rw-r--r--deskutils/py-calendar_cli/distinfo4
-rw-r--r--deskutils/py-calendar_cli/pkg-descr5
-rw-r--r--deskutils/py-calendar_cli/pkg-plist12
4 files changed, 47 insertions, 0 deletions
diff --git a/deskutils/py-calendar_cli/Makefile b/deskutils/py-calendar_cli/Makefile
new file mode 100644
index 000000000000..4337cd47e50b
--- /dev/null
+++ b/deskutils/py-calendar_cli/Makefile
@@ -0,0 +1,26 @@
+PORTNAME= calendar_cli
+DISTVERSION= 1.0.1
+CATEGORIES= deskutils python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= cos
+COMMENT= Simple command-line CalDav client
+WWW= https://github.com/tobixen/calendar-cli
+
+LICENSE= GPLv3
+LICENSE_FILE= ${WRKSRC}/LICENSE.TXT
+
+PY_DEPENDS= icalendar:devel/py-icalendar@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}tzlocal>0,1:devel/py-tzlocal@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pytz>0,1:devel/py-pytz@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}caldav>=0.12-dev0:www/py-caldav@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pyyaml:devel/py-pyyaml@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}Click:devel/py-click@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}six:devel/py-six@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= autoplist distutils
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/deskutils/py-calendar_cli/distinfo b/deskutils/py-calendar_cli/distinfo
new file mode 100644
index 000000000000..e3d386441241
--- /dev/null
+++ b/deskutils/py-calendar_cli/distinfo
@@ -0,0 +1,4 @@
+TIMESTAMP = 1689681752
+SHA256 (calendar_cli-1.0.1.tar.gz) = 16a1c23ffd7bc806caa22a669d7d044d623a62e148c7e40e30b0e65e3d3c2717
+SIZE (calendar_cli-1.0.1.tar.gz) = 33367
+
diff --git a/deskutils/py-calendar_cli/pkg-descr b/deskutils/py-calendar_cli/pkg-descr
new file mode 100644
index 000000000000..d1af3218f1a3
--- /dev/null
+++ b/deskutils/py-calendar_cli/pkg-descr
@@ -0,0 +1,5 @@
+Simple command-line CalDav client, for adding and browsing calendar items, todo
+list items
+
+See also: https://github.com/tobixen/calendar-cli
+
diff --git a/deskutils/py-calendar_cli/pkg-plist b/deskutils/py-calendar_cli/pkg-plist
new file mode 100644
index 000000000000..5d6894a50e23
--- /dev/null
+++ b/deskutils/py-calendar_cli/pkg-plist
@@ -0,0 +1,12 @@
+%%PYTHON_SITELIBDIR%%/bin/calendar-cli
+%%PYTHON_SITELIBDIR%%/bin/calendar-cli.py
+%%PYTHON_SITELIBDIR%%/calendar_cli
+%%PYTHON_SITELIBDIR%%/calendar_cli/__init__.py
+%%PYTHON_SITELIBDIR%%/calendar_cli/metadata.py
+%%PYTHON_SITELIBDIR%%/calendar_cli/template.py
+%%PYTHON_SITELIBDIR%%/calendar_cli/legacy.py
+%%PYTHON_SITELIBDIR%%/calendar_cli/config.py
+%%PYTHON_SITELIBDIR%%/calendar_cli/__pycache__
+%%PYTHON_SITELIBDIR%%/calendar_cli/__pycache__/__init__.cpython-39.pyc
+%%PYTHON_SITELIBDIR%%/calendar_cli/__pycache__/metadata.cpython-39.pyc
+