Browse Source

deskutils/py-khal: re-add at version 0.11.4

This version no longer needs the expired devel/py-atomicwrites.

PR:		287773
overlay
Piotr Smyrak 2 days ago
committed by Rene Ladan
parent
commit
cecb32eb90
  1. 1
      MOVED
  2. 1
      deskutils/Makefile
  3. 43
      deskutils/py-khal/Makefile
  4. 3
      deskutils/py-khal/distinfo
  5. 20
      deskutils/py-khal/files/patch-pyproject.toml
  6. 3
      deskutils/py-khal/pkg-descr
  7. 7
      deskutils/py-khal/pkg-message

1
MOVED

@ -4536,7 +4536,6 @@ misc/py-orange3-network||2025-06-23|Has expired: Depends on expiring misc/orange
www/onionshare||2025-06-23|Has expired: Depends on expired devel/py-atomicwrites
deskutils/py-todoman||2025-06-23|Has expired: Depends on expired devel/py-atomicwrites
deskutils/py-khard||2025-06-23|Has expired: Depends on expired devel/py-atomicwrites
deskutils/py-khal||2025-06-23|Has expired: Depends on expired devel/py-atomicwrites
devel/py-pytest-relaxed||2025-06-23|Has expired: Depends on expiring devel/py-pytest4
devel/py-pytest4-flakes||2025-06-23|Has expired: Depends on expiring devel/py-pytest4
devel/py-pytest-pep8||2025-06-23|Has expired: Depends on expiring devel/py-pytest4

1
deskutils/Makefile

@ -229,6 +229,7 @@
SUBDIR += py-bugwarrior
SUBDIR += py-calendar_cli
SUBDIR += py-i3-gnome-pomodoro
SUBDIR += py-khal
SUBDIR += py-paperless
SUBDIR += py-paperless-ngx
SUBDIR += py-py3status

43
deskutils/py-khal/Makefile

@ -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>

3
deskutils/py-khal/distinfo

@ -0,0 +1,3 @@
TIMESTAMP = 1750768306
SHA256 (khal-0.11.4.tar.gz) = 3e97107846c27cdce303c054e8873cdde7190006f0a854bf8e6e4ad3974165f4
SIZE (khal-0.11.4.tar.gz) = 208895

20
deskutils/py-khal/files/patch-pyproject.toml

@ -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]

3
deskutils/py-khal/pkg-descr

@ -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.

7
deskutils/py-khal/pkg-message

@ -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…
Cancel
Save