update to khard 0.17.0 and update paco@'s email; ok paco@

Upstream uses additional sphinx extensions to generate API docs for
files on readthedocs. The port only uses sphinx to generate manpages
which don't require these; to avoid updating and importing a chain
of dependencies for things which don't affect the end results in
this port anyway, I have patched them away.
This commit is contained in:
sthen 2020-10-16 16:19:02 +00:00
parent 276bb3642f
commit 7652bf1d88
4 changed files with 33 additions and 10 deletions

View File

@ -1,15 +1,14 @@
# $OpenBSD: Makefile,v 1.6 2020/07/03 21:13:04 sthen Exp $
# $OpenBSD: Makefile,v 1.7 2020/10/16 16:19:02 sthen Exp $
COMMENT = console CardDAV client
MODPY_EGG_VERSION = 0.15.1
MODPY_EGG_VERSION = 0.17.0
DISTNAME = khard-${MODPY_EGG_VERSION}
REVISION = 1
CATEGORIES = productivity
HOMEPAGE = https://github.com/scheibler/khard
MAINTAINER = Paco Esteban <paco@onna.be>
MAINTAINER = Paco Esteban <paco@openbsd.org>
# GPLv3
PERMIT_PACKAGE = Yes
@ -41,7 +40,8 @@ post-build:
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/khard
${INSTALL_DATA} ${WRKSRC}/misc/khard/khard.conf.example \
cd ${WRKSRC}/doc/source/examples; \
${INSTALL_DATA} template.yaml khard.conf.example \
${PREFIX}/share/examples/khard
${INSTALL_DATA_DIR} ${PREFIX}/share/zsh/site-functions
${INSTALL_DATA} ${WRKSRC}/misc/zsh/{_khard,_email-khard} \

View File

@ -1,2 +1,2 @@
SHA256 (khard-0.15.1.tar.gz) = XKjmeBM+CPpIYcwxrt+fMLT445WO1m7eAlwj7F4XaqE=
SIZE (khard-0.15.1.tar.gz) = 5099734
SHA256 (khard-0.17.0.tar.gz) = Fk4a7pJkc17ARzp0o4hC5icru4FNlJpmCExqNzvZVhg=
SIZE (khard-0.17.0.tar.gz) = 593928

View File

@ -0,0 +1,20 @@
$OpenBSD: patch-doc_source_conf_py,v 1.1 2020/10/16 16:19:02 sthen Exp $
we only build manpages here; remove sphinx extensions, not currently in
ports, needed for API docs but not manpages
Index: doc/source/conf.py
--- doc/source/conf.py.orig
+++ doc/source/conf.py
@@ -48,11 +48,9 @@ del update_template_file
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = [
- 'autoapi.extension',
'sphinx.ext.autodoc',
'sphinx.ext.autosectionlabel',
'sphinx.ext.todo',
- 'sphinx_autodoc_typehints',
]
autoapi_type = 'python'

View File

@ -1,7 +1,5 @@
@comment $OpenBSD: PLIST,v 1.4 2020/01/17 13:52:41 sthen Exp $
@comment $OpenBSD: PLIST,v 1.5 2020/10/16 16:19:02 sthen Exp $
bin/khard
lib/python${MODPY_VERSION}/
lib/python${MODPY_VERSION}/site-packages/
lib/python${MODPY_VERSION}/site-packages/khard/
lib/python${MODPY_VERSION}/site-packages/khard-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/
lib/python${MODPY_VERSION}/site-packages/khard-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/PKG-INFO
@ -20,9 +18,11 @@ lib/python${MODPY_VERSION}/site-packages/khard/${MODPY_PYCACHE}address_book.${MO
lib/python${MODPY_VERSION}/site-packages/khard/${MODPY_PYCACHE}carddav_object.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/khard/${MODPY_PYCACHE}cli.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/khard/${MODPY_PYCACHE}config.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/khard/${MODPY_PYCACHE}formatter.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/khard/${MODPY_PYCACHE}helpers.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/khard/${MODPY_PYCACHE}khard.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/khard/${MODPY_PYCACHE}object_type.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/khard/${MODPY_PYCACHE}query.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/khard/${MODPY_PYCACHE}version.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/khard/actions.py
lib/python${MODPY_VERSION}/site-packages/khard/address_book.py
@ -32,14 +32,17 @@ lib/python${MODPY_VERSION}/site-packages/khard/config.py
lib/python${MODPY_VERSION}/site-packages/khard/data/
lib/python${MODPY_VERSION}/site-packages/khard/data/config.spec
lib/python${MODPY_VERSION}/site-packages/khard/data/template.yaml
lib/python${MODPY_VERSION}/site-packages/khard/formatter.py
lib/python${MODPY_VERSION}/site-packages/khard/helpers.py
lib/python${MODPY_VERSION}/site-packages/khard/khard.py
lib/python${MODPY_VERSION}/site-packages/khard/object_type.py
lib/python${MODPY_VERSION}/site-packages/khard/query.py
lib/python${MODPY_VERSION}/site-packages/khard/version.py
@man man/man1/khard.1
@man man/man5/khard.conf.5
share/examples/khard/
share/examples/khard/khard.conf.example
share/examples/khard/template.yaml
share/zsh/
share/zsh/site-functions/
share/zsh/site-functions/_email-khard