
committed by
Rene Ladan

7 changed files with 77 additions and 1 deletions
@ -0,0 +1,43 @@ |
|||||
|
PORTNAME= khal |
||||
|
DISTVERSION= 0.11.4 |
||||
|
CATEGORIES= deskutils python |
||||
|
MASTER_SITES= PYPI |
||||
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
||||
|
|
||||
|
MAINTAINER= wen@FreeBSD.org |
||||
|
COMMENT= CalDAV-based calendar |
||||
|
WWW= https://lostpackets.de/khal/ |
||||
|
|
||||
|
LICENSE= MIT |
||||
|
LICENSE_FILE= ${WRKSRC}/COPYING |
||||
|
|
||||
|
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=63:devel/py-setuptools@${PY_FLAVOR} \
|
||||
|
${PYTHON_PKGNAMEPREFIX}setuptools-scm>=8.0:devel/py-setuptools-scm@${PY_FLAVOR} \
|
||||
|
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} |
||||
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}click>=3.2:devel/py-click@${PY_FLAVOR} \
|
||||
|
${PYTHON_PKGNAMEPREFIX}click-log>=0.2.0:devel/py-click-log@${PY_FLAVOR} \
|
||||
|
${PYTHON_PKGNAMEPREFIX}configobj>=0:devel/py-configobj@${PY_FLAVOR} \
|
||||
|
${PYTHON_PKGNAMEPREFIX}python-dateutil>=0:devel/py-python-dateutil@${PY_FLAVOR} \
|
||||
|
${PYTHON_PKGNAMEPREFIX}icalendar>=4.0.3:devel/py-icalendar@${PY_FLAVOR} \
|
||||
|
${PYTHON_PKGNAMEPREFIX}pytz>=0:devel/py-pytz@${PY_FLAVOR} \
|
||||
|
${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} \
|
||||
|
${PYTHON_PKGNAMEPREFIX}tzlocal>=1.0:devel/py-tzlocal@${PY_FLAVOR} \
|
||||
|
${PYTHON_PKGNAMEPREFIX}urwid>=2.6.15:devel/py-urwid@${PY_FLAVOR} \
|
||||
|
${PYTHON_PKGNAMEPREFIX}vdirsyncer>=0:deskutils/py-vdirsyncer@${PY_FLAVOR} \
|
||||
|
${PYTHON_PKGNAMEPREFIX}xdg>=0:devel/py-xdg@${PY_FLAVOR} |
||||
|
|
||||
|
USES= python |
||||
|
USE_PYTHON= autoplist pep517 |
||||
|
NO_ARCH= yes |
||||
|
|
||||
|
OPTIONS_DEFINE= SETPROCTITLE |
||||
|
|
||||
|
SETPROCTITLE_DESC= Set the process title |
||||
|
SETPROCTITLE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setproctitle>=0:devel/py-setproctitle@${PY_FLAVOR} |
||||
|
|
||||
|
post-install: |
||||
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR} |
||||
|
(cd ${WRKSRC} && \
|
||||
|
${INSTALL_DATA} khal.conf.sample ${STAGEDIR}${EXAMPLESDIR}) |
||||
|
|
||||
|
.include <bsd.port.mk> |
@ -0,0 +1,3 @@ |
|||||
|
TIMESTAMP = 1750768306 |
||||
|
SHA256 (khal-0.11.4.tar.gz) = 3e97107846c27cdce303c054e8873cdde7190006f0a854bf8e6e4ad3974165f4 |
||||
|
SIZE (khal-0.11.4.tar.gz) = 208895 |
@ -0,0 +1,20 @@ |
|||||
|
--- pyproject.toml.orig 2025-04-10 21:43:33 UTC |
||||
|
+++ pyproject.toml |
||||
|
@@ -6,7 +6,7 @@ authors = [ |
||||
|
authors = [ |
||||
|
{name = "khal contributors", email = "khal@lostpackets.de"}, |
||||
|
] |
||||
|
-license = {file = "LICENSE"} |
||||
|
+license = { file = "doc/source/license.rst" } |
||||
|
classifiers = [ |
||||
|
"Development Status :: 4 - Beta", |
||||
|
"Environment :: Console :: Curses", |
||||
|
@@ -67,7 +67,7 @@ ikhal = "khal.cli:main_ikhal" |
||||
|
ikhal = "khal.cli:main_ikhal" |
||||
|
|
||||
|
[build-system] |
||||
|
-requires = ["setuptools>=64", "setuptools_scm>=8"] |
||||
|
+requires = ["setuptools>=63", "setuptools_scm>=8"] |
||||
|
build-backend = "setuptools.build_meta" |
||||
|
|
||||
|
[tool.setuptools.packages] |
@ -0,0 +1,3 @@ |
|||||
|
Khal is a calendar program for the terminal for viewing, adding and editing |
||||
|
events and calendars. Khal is build on the iCalendar and vdir (allowing the |
||||
|
use of vdirsyncer for CalDAV compatibility) standards. |
@ -0,0 +1,7 @@ |
|||||
|
[ |
||||
|
{ type: install |
||||
|
message: <<EOM |
||||
|
Khal needs LANG to be set to a UTF-8 locale (e.g. en_US.UTF-8) to run. |
||||
|
EOM |
||||
|
} |
||||
|
] |
Loading…
Reference in new issue