Hi ports@,
Here's a diff to update khard to its latest version 0.13.0
Directly from changelog:
v0.13.0: 2018-12-25
- New action postaddress: lists all postal (addresses analog to email and phone
actions, #196)
- New zsh completion function for email addresses
- New config variables for the contact table section in khard.conf:
preferred_email_address_type and preferred_phone_number_type
- Slight speed improvements
- Test suite created
- Several bug fixes
There are tests now, so I removed the NO_TEST and added MODPY_TEST.
They all pass with make test.
I put the zsh completion on ${PREFIX}/share/zsh/vendor-completions as I
have seen that sysutils/google-cloud-sdk and other do the same.
Finally, I don't mind to take maintainership of this port too.
Cheers,
Paco.
Index: Makefile
===================================================================
RCS file: /cvs/ports/productivity/khard/Makefile,v
retrieving revision 1.2
diff -u -p -u -r1.2 Makefile
--- Makefile 28 Apr 2019 20:51:46 -0000 1.2
+++ Makefile 8 May 2019 18:48:57 -0000
@@ -2,13 +2,13 @@
COMMENT = console CardDAV client
-MODPY_EGG_VERSION = 0.12.2
+MODPY_EGG_VERSION = 0.13.0
DISTNAME = khard-${MODPY_EGG_VERSION}
-REVISION = 0
CATEGORIES = productivity
HOMEPAGE = https://github.com/scheibler/khard
+MAINTAINER = Paco Esteban <[email protected]>
# GPLv3
PERMIT_PACKAGE_CDROM = Yes
@@ -18,6 +18,7 @@ MODULES = lang/python
MODPY_PI = Yes
MODPY_SETUPTOOLS = Yes
MODPY_VERSION = ${MODPY_DEFAULT_VERSION_3}
+MODPY_TEST = Yes
RUN_DEPENDS = devel/py-atomicwrites${MODPY_FLAVOR} \
devel/py-configobj${MODPY_FLAVOR} \
@@ -25,11 +26,12 @@ RUN_DEPENDS = devel/py-atomicwrites${MO
textproc/py-unidecode${MODPY_FLAVOR} \
textproc/py-vobject${MODPY_FLAVOR}
-NO_TEST = Yes
-
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/khard
${INSTALL_DATA} ${WRKSRC}/misc/khard/khard.conf.example \
${PREFIX}/share/examples/khard
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/zsh/vendor-completions
+ ${INSTALL_DATA} ${WRKSRC}/misc/zsh/{_khard,_email-khard} \
+ ${PREFIX}/share/zsh/vendor-completions
.include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /cvs/ports/productivity/khard/distinfo,v
retrieving revision 1.1.1.1
diff -u -p -u -r1.1.1.1 distinfo
--- distinfo 1 Oct 2018 10:37:58 -0000 1.1.1.1
+++ distinfo 8 May 2019 18:48:57 -0000
@@ -1,2 +1,2 @@
-SHA256 (khard-0.12.2.tar.gz) =
9193d2d07cdb69cc6e35a0732111efb92bbfba854a1dd42b4f9c91a52a16c507
-SIZE (khard-0.12.2.tar.gz) = 5064055
+SHA256 (khard-0.13.0.tar.gz) = /JPQuR9+aIqPYIlrT/exlo1rTLWNgPypl3Iyw6aO0tM=
+SIZE (khard-0.13.0.tar.gz) = 5083020
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/productivity/khard/pkg/PLIST,v
retrieving revision 1.1.1.1
diff -u -p -u -r1.1.1.1 PLIST
--- pkg/PLIST 1 Oct 2018 10:37:58 -0000 1.1.1.1
+++ pkg/PLIST 8 May 2019 18:48:57 -0000
@@ -31,3 +31,7 @@ lib/python${MODPY_VERSION}/site-packages
lib/python${MODPY_VERSION}/site-packages/khard/version.py
share/examples/khard/
share/examples/khard/khard.conf.example
+share/zsh/
+share/zsh/vendor-completions/
+share/zsh/vendor-completions/_email-khard
+share/zsh/vendor-completions/_khard
--
Paco Esteban.
https://onna.be/gpgkey.asc
9A6B 6083 AD9E FDC2 0EAF 5CB3 5818 130B 8A6D BC03