head	1.45;
access;
symbols
	pkgsrc-2026Q1:1.45.0.2
	pkgsrc-2026Q1-base:1.45
	pkgsrc-2025Q4:1.43.0.2
	pkgsrc-2025Q4-base:1.43
	pkgsrc-2025Q3:1.42.0.2
	pkgsrc-2025Q3-base:1.42
	pkgsrc-2025Q2:1.41.0.2
	pkgsrc-2025Q2-base:1.41
	pkgsrc-2025Q1:1.40.0.2
	pkgsrc-2025Q1-base:1.40
	pkgsrc-2024Q4:1.39.0.2
	pkgsrc-2024Q4-base:1.39
	pkgsrc-2024Q3:1.38.0.2
	pkgsrc-2024Q3-base:1.38
	pkgsrc-2024Q2:1.37.0.6
	pkgsrc-2024Q2-base:1.37
	pkgsrc-2024Q1:1.37.0.4
	pkgsrc-2024Q1-base:1.37
	pkgsrc-2023Q4:1.37.0.2
	pkgsrc-2023Q4-base:1.37
	pkgsrc-2023Q3:1.36.0.2
	pkgsrc-2023Q3-base:1.36
	pkgsrc-2023Q2:1.33.0.2
	pkgsrc-2023Q2-base:1.33
	pkgsrc-2023Q1:1.31.0.6
	pkgsrc-2023Q1-base:1.31
	pkgsrc-2022Q4:1.31.0.4
	pkgsrc-2022Q4-base:1.31
	pkgsrc-2022Q3:1.31.0.2
	pkgsrc-2022Q3-base:1.31
	pkgsrc-2022Q2:1.30.0.4
	pkgsrc-2022Q2-base:1.30
	pkgsrc-2022Q1:1.30.0.2
	pkgsrc-2022Q1-base:1.30
	pkgsrc-2021Q4:1.28.0.6
	pkgsrc-2021Q4-base:1.28
	pkgsrc-2021Q3:1.28.0.4
	pkgsrc-2021Q3-base:1.28
	pkgsrc-2021Q2:1.28.0.2
	pkgsrc-2021Q2-base:1.28
	pkgsrc-2021Q1:1.27.0.4
	pkgsrc-2021Q1-base:1.27
	pkgsrc-2020Q4:1.27.0.2
	pkgsrc-2020Q4-base:1.27
	pkgsrc-2020Q3:1.26.0.2
	pkgsrc-2020Q3-base:1.26
	pkgsrc-2020Q2:1.25.0.2
	pkgsrc-2020Q2-base:1.25
	pkgsrc-2020Q1:1.23.0.2
	pkgsrc-2020Q1-base:1.23
	pkgsrc-2019Q4:1.22.0.4
	pkgsrc-2019Q4-base:1.22
	pkgsrc-2019Q3:1.19.0.2
	pkgsrc-2019Q3-base:1.19
	pkgsrc-2019Q2:1.17.0.2
	pkgsrc-2019Q2-base:1.17
	pkgsrc-2019Q1:1.16.0.2
	pkgsrc-2019Q1-base:1.16
	pkgsrc-2018Q4:1.15.0.6
	pkgsrc-2018Q4-base:1.15
	pkgsrc-2018Q3:1.15.0.4
	pkgsrc-2018Q3-base:1.15
	pkgsrc-2018Q2:1.15.0.2
	pkgsrc-2018Q2-base:1.15
	pkgsrc-2018Q1:1.14.0.2
	pkgsrc-2018Q1-base:1.14
	pkgsrc-2017Q4:1.13.0.10
	pkgsrc-2017Q4-base:1.13
	pkgsrc-2017Q3:1.13.0.8
	pkgsrc-2017Q3-base:1.13
	pkgsrc-2017Q2:1.13.0.4
	pkgsrc-2017Q2-base:1.13
	pkgsrc-2017Q1:1.13.0.2
	pkgsrc-2017Q1-base:1.13
	pkgsrc-2016Q4:1.11.0.2
	pkgsrc-2016Q4-base:1.11
	pkgsrc-2016Q3:1.10.0.2
	pkgsrc-2016Q3-base:1.10
	pkgsrc-2016Q2:1.5.0.2
	pkgsrc-2016Q2-base:1.5
	pkgsrc-2016Q1:1.4.0.4
	pkgsrc-2016Q1-base:1.4
	pkgsrc-2015Q4:1.4.0.2
	pkgsrc-2015Q4-base:1.4
	pkgsrc-2015Q3:1.3.0.2
	pkgsrc-2015Q3-base:1.3
	pkgsrc-2015Q2:1.1.0.2
	pkgsrc-2015Q2-base:1.1;
locks; strict;
comment	@# @;


1.45
date	2026.01.06.11.18.16;	author wiz;	state Exp;
branches;
next	1.44;
commitid	QYYWSGaNrkjQ7kpG;

1.44
date	2026.01.05.02.39.26;	author wiz;	state Exp;
branches;
next	1.43;
commitid	jSdIrnzd4srWh9pG;

1.43
date	2025.10.09.07.57.50;	author wiz;	state Exp;
branches;
next	1.42;
commitid	t4nMY0Dt3rBjSRdG;

1.42
date	2025.07.27.09.07.28;	author wiz;	state Exp;
branches;
next	1.41;
commitid	aDpA56XKLnZCDm4G;

1.41
date	2025.04.22.20.22.18;	author wiz;	state Exp;
branches;
next	1.40;
commitid	Yjg0hn3XYMXIs5SF;

1.40
date	2025.02.23.16.47.14;	author wiz;	state Exp;
branches;
next	1.39;
commitid	szYB9b8cNRVw8CKF;

1.39
date	2024.10.14.06.45.53;	author wiz;	state Exp;
branches;
next	1.38;
commitid	ynDJEEQamKd33BtF;

1.38
date	2024.08.10.06.52.26;	author adam;	state Exp;
branches;
next	1.37;
commitid	DMb8CrfiAhL6bflF;

1.37
date	2023.12.07.08.18.20;	author wiz;	state Exp;
branches;
next	1.36;
commitid	4PUftlK4UBRNAvPE;

1.36
date	2023.08.14.05.24.53;	author wiz;	state Exp;
branches;
next	1.35;
commitid	LOSB79OLVxvXjIAE;

1.35
date	2023.08.01.23.20.51;	author wiz;	state Exp;
branches;
next	1.34;
commitid	lyjXpsSeA6xpH8zE;

1.34
date	2023.07.01.08.37.45;	author wiz;	state Exp;
branches;
next	1.33;
commitid	OGZpaIgVtdY8O4vE;

1.33
date	2023.06.06.12.41.55;	author riastradh;	state Exp;
branches;
next	1.32;
commitid	xhspr6Z8JLQOWSrE;

1.32
date	2023.05.02.16.51.16;	author wiz;	state Exp;
branches;
next	1.31;
commitid	5e5WQC7RbsRdtpnE;

1.31
date	2022.06.30.11.18.37;	author nia;	state Exp;
branches;
next	1.30;
commitid	AhctUV91Vubws3KD;

1.30
date	2022.01.05.15.41.15;	author wiz;	state Exp;
branches;
next	1.29;
commitid	FQ77UruBIUsgzsnD;

1.29
date	2022.01.04.20.54.18;	author wiz;	state Exp;
branches;
next	1.28;
commitid	CYyhdK9qtoffkmnD;

1.28
date	2021.04.07.07.00.20;	author adam;	state Exp;
branches;
next	1.27;
commitid	os79D0x9m889tkOC;

1.27
date	2020.12.04.20.45.30;	author nia;	state Exp;
branches;
next	1.26;
commitid	FPz71MqRX3WN0tyC;

1.26
date	2020.08.24.08.08.59;	author wiz;	state Exp;
branches;
next	1.25;
commitid	tmCdbjPGGR857ilC;

1.25
date	2020.04.07.21.38.46;	author adam;	state Exp;
branches;
next	1.24;
commitid	mxXiC5ZyW2oQ3v3C;

1.24
date	2020.04.06.08.09.26;	author wiz;	state Exp;
branches;
next	1.23;
commitid	7wn9HE1qAEd7Ci3C;

1.23
date	2020.03.13.10.10.54;	author wiz;	state Exp;
branches;
next	1.22;
commitid	ksxgylBDzDnC3e0C;

1.22
date	2019.11.07.12.41.00;	author wiz;	state Exp;
branches;
next	1.21;
commitid	S5ueq9oJXD3kYUJB;

1.21
date	2019.11.06.11.59.38;	author wiz;	state Exp;
branches;
next	1.20;
commitid	fbul7DEJsMY5MMJB;

1.20
date	2019.10.21.22.15.11;	author adam;	state Exp;
branches;
next	1.19;
commitid	PyOA2hYYST9cHMHB;

1.19
date	2019.07.21.21.11.37;	author wiz;	state Exp;
branches;
next	1.18;
commitid	WXkCZC07jK6HiXvB;

1.18
date	2019.07.21.08.50.44;	author wiz;	state Exp;
branches;
next	1.17;
commitid	pi9GeY4b2DMycTvB;

1.17
date	2019.04.25.07.33.07;	author maya;	state Exp;
branches;
next	1.16;
commitid	1FEMQBEPb9uTxHkB;

1.16
date	2019.02.13.19.39.26;	author wiz;	state Exp;
branches;
next	1.15;
commitid	IFGSHLExzPLXRDbB;

1.15
date	2018.04.14.15.15.55;	author wiz;	state Exp;
branches;
next	1.14;
commitid	FDln0LYIg4JmdqyA;

1.14
date	2018.01.28.15.57.33;	author wiz;	state Exp;
branches;
next	1.13;
commitid	DfcZzSEXrFSRSEoA;

1.13
date	2017.02.20.09.52.47;	author wiz;	state Exp;
branches;
next	1.12;
commitid	0q8xKoSukqwyRFGz;

1.12
date	2017.01.22.08.10.34;	author wiz;	state Exp;
branches;
next	1.11;
commitid	JLR2Qu0ljJlkeWCz;

1.11
date	2016.10.31.16.29.50;	author wiz;	state Exp;
branches;
next	1.10;
commitid	UiyOCGBxNgCZEjsz;

1.10
date	2016.08.28.15.48.33;	author wiz;	state Exp;
branches;
next	1.9;
commitid	rTBn3EBawNhbu5kz;

1.9
date	2016.08.27.15.50.47;	author wiz;	state Exp;
branches;
next	1.8;
commitid	e5XY35UEm3HXwXjz;

1.8
date	2016.07.15.13.39.33;	author wiz;	state Exp;
branches;
next	1.7;
commitid	ocBfC7E2vzGPbqez;

1.7
date	2016.07.09.13.03.56;	author wiz;	state Exp;
branches;
next	1.6;
commitid	k9A2yv7vTRunbEdz;

1.6
date	2016.07.02.09.36.20;	author wiz;	state Exp;
branches;
next	1.5;
commitid	WRz9u7FdGlwhgJcz;

1.5
date	2016.06.06.12.28.37;	author wiz;	state Exp;
branches;
next	1.4;
commitid	j1i8f2VeHfVc3p9z;

1.4
date	2015.12.05.21.25.50;	author adam;	state Exp;
branches;
next	1.3;
commitid	bgA0CynThkP3WNLy;

1.3
date	2015.07.21.19.18.25;	author wiz;	state Exp;
branches;
next	1.2;
commitid	t8qjY7MXrEfxDbuy;

1.2
date	2015.07.21.19.17.51;	author wiz;	state Exp;
branches;
next	1.1;
commitid	FUoyJXw6bQskDbuy;

1.1
date	2015.04.02.22.35.34;	author wiz;	state Exp;
branches;
next	;
commitid	vrNTMYKnyQZng4gy;


desc
@@


1.45
log
@*: forbid Python 3.11 for sphinx users

list from 'bob scan'
@
text
@# $NetBSD: Makefile,v 1.44 2026/01/05 02:39:26 wiz Exp $

DISTNAME=	khard-0.20.1
CATEGORIES=	misc net python
MASTER_SITES=	${MASTER_SITE_PYPI:=k/khard/}

MAINTAINER=	pkgsrc-users@@NetBSD.org
HOMEPAGE=	https://github.com/lucc/khard
COMMENT=	CLI contacts application built around CardDAV
LICENSE=	gnu-gpl-v3

TOOL_DEPENDS+=	${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
TOOL_DEPENDS+=	${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm
DEPENDS+=	${PYPKGPREFIX}-atomicwrites-[0-9]*:../../devel/py-atomicwrites
DEPENDS+=	${PYPKGPREFIX}-configobj-[0-9]*:../../devel/py-configobj
DEPENDS+=	${PYPKGPREFIX}-ruamel-yaml-[0-9]*:../../devel/py-ruamel-yaml
DEPENDS+=	${PYPKGPREFIX}-vobject>=0.9.4:../../textproc/py-vobject
TOOL_DEPENDS+=	${PYPKGPREFIX}-sphinx-[0-9]*:../../textproc/py-sphinx
TOOL_DEPENDS+=	${PYPKGPREFIX}-sphinx-argparse-[0-9]*:../../textproc/py-sphinx-argparse
TOOL_DEPENDS+=	${PYPKGPREFIX}-sphinx-autoapi-[0-9]*:../../textproc/py-sphinx-autoapi
TOOL_DEPENDS+=	${PYPKGPREFIX}-sphinx-autodoc-typehints>=1.10:../../textproc/py-sphinx-autodoc-typehints

PYTHON_VERSIONS_INCOMPATIBLE=	310 311 # py-sphinx

# as of 0.20.0
# 2 failed, 396 passed, 1 xfailed, 34 warnings

INSTALLATION_DIRS=	share/examples/khard ${PKGMANDIR}/man1
REPLACE_PYTHON+=	*/*.py

pre-build:
	cd ${WRKSRC}/doc && ${SETENV} ${MAKE_ENV} sphinx-build-${PYVERSSUFFIX} -M man source build

post-install:
	${INSTALL_DATA} ${WRKSRC}/doc/source/examples/khard.conf.example ${DESTDIR}${PREFIX}/share/examples/khard
	${INSTALL_DATA} ${WRKSRC}/doc/build/man/khard.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1

.include "../../lang/python/application.mk"
.include "../../lang/python/wheel.mk"
.include "../../mk/bsd.pkg.mk"
@


1.44
log
@khard: update to 0.20.1.

v0.20.1 2026-01-01

- Fix reopening of stdin on Windows (#347)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.43 2025/10/09 07:57:50 wiz Exp $
d23 1
a23 1
PYTHON_VERSIONS_INCOMPATIBLE=	310 # py-sphinx
@


1.43
log
@*: remove reference to (removed) Python 3.9
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.42 2025/07/27 09:07:28 wiz Exp $
d3 1
a3 1
DISTNAME=	khard-0.20.0
@


1.42
log
@khard: update to 0.20.0.

v0.20.0 2025-07-22

- Remove support for python 3.8 (638fb2e)
- Replace atomicwrites dependency with an inlined function (#343)
- Allow new version of vobject (f768845)
- Add new addressbook type "discover" (#341)
- Use python's glibc bindings for locale aware sorting, replacing the unidecode dependency (aad8d03, #338)
- Add support for KIND: vCard fields (#310)
- Remove command line options --strict-search, --uid and --target-uid (946999c)
- Allow address_book as field for list -F (512d8ce)
- Add new man page with subcommand listing (71fb6f0)
- Internal changes:
  - Rename default branch to main (369106c)
  - Remove setup.py (f6f0047)
  - Specify version (ranges) for dependencies (e4a3f71)
  - Replace sys.exit calls with exceptions and return values (b721246)
  - Use standard list, dict and tuple for type hints (9d17c5f)
  - Use python 3.13 in CI (17a8681, f6b7c5c)
  - Add extra opt dependency group for type checking (031682c)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.41 2025/04/22 20:22:18 wiz Exp $
d23 1
a23 1
PYTHON_VERSIONS_INCOMPATIBLE=	39 310 # py-sphinx
@


1.41
log
@khard: convert to wheel.mk

Bump PKGREVISION.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.40 2025/02/23 16:47:14 wiz Exp $
d3 1
a3 2
DISTNAME=	khard-0.19.1
PKGREVISION=	1
a16 1
DEPENDS+=	${PYPKGPREFIX}-Unidecode-[0-9]*:../../textproc/py-Unidecode
d19 1
d25 3
@


1.40
log
@khard: no more 3.10 support
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.39 2024/10/14 06:45:53 wiz Exp $
d4 1
d13 1
a25 2
USE_PKG_RESOURCES=	yes

d37 1
a37 1
.include "../../lang/python/egg.mk"
@


1.39
log
@*: clean-up after python38 removal
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.38 2024/08/10 06:52:26 adam Exp $
d22 1
a22 1
PYTHON_VERSIONS_INCOMPATIBLE=	39 # py-sphinx
@


1.38
log
@khard: not for Python 3.9
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.37 2023/12/07 08:18:20 wiz Exp $
d22 1
a22 1
PYTHON_VERSIONS_INCOMPATIBLE=	27 38 39 # py-sphinx
@


1.37
log
@khard: update to 0.19.1.

v0.19.1: 2023-11-26

- Fix documentation builds on https://khard.readthedocs.io/


v0.19.0: 2023-11-23

- Remove support for python 3.7
- Run tests on python 3.11 and 3.12 in CI
- Fix yaml conversion of multiple addresses with same label (#323, #324)
- Improve error message for address book paths (884f1d9)
- Add pyproject.toml file and deprecate setup.py
- Remove deprecated options from --help and zsh completion
- Internal changes:
  - Add a general ask() function (#320, #326)
  - Use an exception to cancle user interactions (#325)
  - More and stricter type hints
  - Promote AddressBookCollection to a Sequence
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.36 2023/08/14 05:24:53 wiz Exp $
d22 1
a22 1
PYTHON_VERSIONS_INCOMPATIBLE=	27 38
@


1.36
log
@*: recursive bump for Python 3.11 as new default
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.35 2023/08/01 23:20:51 wiz Exp $
d3 1
a3 2
DISTNAME=	khard-0.18.0
PKGREVISION=	1
@


1.35
log
@*: remove more references to Python 3.7
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.34 2023/07/01 08:37:45 wiz Exp $
d4 1
@


1.34
log
@*: restrict py-numpy users to 3.9+ in preparation for update
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.33 2023/06/06 12:41:55 riastradh Exp $
d22 1
a22 1
PYTHON_VERSIONS_INCOMPATIBLE=	27 37 38
@


1.33
log
@Mass-change BUILD_DEPENDS to TOOL_DEPENDS outside mk/.

Almost all uses, if not all of them, are wrong, according to the
semantics of BUILD_DEPENDS (packages built for target available for
use _by_ tools at build-time) and TOOL_DEPEPNDS (packages built for
host available for use _as_ tools at build-time).

No change to BUILD_DEPENDS as used correctly inside buildlink3.

As proposed on tech-pkg:
https://mail-index.netbsd.org/tech-pkg/2023/06/03/msg027632.html
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.32 2023/05/02 16:51:16 wiz Exp $
d22 1
a22 1
PYTHON_VERSIONS_INCOMPATIBLE=	27 # does not support python-2.x any longer
@


1.32
log
@khard: update to 0.18.0.

v0.18.0: 2022-12-10
- Move project home on GitHub from @@scheibler to @@lucc
- Catch exceptions when loading the config (#294)
- Split $EDITOR env variable on spaces (#314)
- Add special phone number field query
- Add-email command improved: Attach email address to an existing contact
- Add-email command: new option --skip-already-added
- Add partial support for KIND: search query, display in details and listing (#309)
- Add show_kinds config option (#309)
- Add nix flake
- Remove support for python 3.6
- Remove deprecated subcommands "export" and "source"
- Switch from Travis to GitHub CI
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.31 2022/06/30 11:18:37 nia Exp $
d12 1
a12 1
BUILD_DEPENDS+=	${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm
@


1.31
log
@*: Revbump packages that use Python at runtime without a PKGNAME prefix
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.30 2022/01/05 15:41:15 wiz Exp $
d3 1
a3 2
DISTNAME=	khard-0.17.0
PKGREVISION=	4
d8 1
a8 1
HOMEPAGE=	https://github.com/scheibler/khard
@


1.30
log
@python: egg.mk: add USE_PKG_RESOURCES flag

This flag should be set for packages that import pkg_resources
and thus need setuptools after the build step.

Set this flag for packages that need it and bump PKGREVISION.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.29 2022/01/04 20:54:18 wiz Exp $
d4 1
a4 1
PKGREVISION=	3
@


1.29
log
@*: bump PKGREVISION for egg.mk users

They now have a tool dependency on py-setuptools instead of a DEPENDS
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.28 2021/04/07 07:00:20 adam Exp $
d4 1
a4 1
PKGREVISION=	2
d25 2
@


1.28
log
@khard: needs setuptools_scm to build; invoke sphinx directly
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.27 2020/12/04 20:45:30 nia Exp $
d4 1
a4 1
PKGREVISION=	1
@


1.27
log
@Revbump packages with a runtime Python dep but no version prefix.

For the Python 3.8 default switch.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.26 2020/08/24 08:08:59 wiz Exp $
d13 1
a26 1
USE_TOOLS+=		gmake
d29 1
a29 1
	cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} -C doc SPHINXBUILD=sphinx-build-${PYVERSSUFFIX} SPHINXAPIDOC=sphinx-apidoc-${PYVERSSUFFIX} man
@


1.26
log
@khard: update to 0.17.0.

v0.17.0: 2020-08-13
- Do not modify (clean up) search query to find more matches (4583efd)
- Remove special search handling for phone numbers (a570a85)
- Remove extra pruning from email, phone and postaddress subcommand (3f315f9, 1b9ce98, c704ce1)
- Add query syntax for search terms (#131)
- Add newline at the end of "show --format=pretty" (#256)
- Add -H to select header from which add-email should read (#258)
- Expand environment variables in paths in the config file (#269)
- Deprecate --strict-search (the new query syntax can be used instead)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.25 2020/04/07 21:38:46 adam Exp $
d4 1
@


1.25
log
@khard: updated to 0.16.1

0.16.1:
Unknown changes
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.24 2020/04/06 08:09:26 wiz Exp $
d3 1
a3 1
DISTNAME=	khard-0.16.1
@


1.24
log
@khard: update to 0.16.0.

v0.16.0: 2020-04-04
- Require python >= 3.6
- Require either default_action or a subcommand
- Twinkle sound samples converted to .ogg (#228)
- Expand documentation
- Build and server documentation on https://khard.readthedocs.io/
- Allow display=formatted_name in config
- New --fields option for list subcommand
- Internal changes:
  - Expanded the test suite
  - Use of python type annotations, checked on travis
  - Represent queries as custom data structures not regex
  - Use custom loggers per module
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.23 2020/03/13 10:10:54 wiz Exp $
d3 17
a19 19
DISTNAME=		khard-0.16.0
CATEGORIES=		misc net
MASTER_SITES=		${MASTER_SITE_PYPI:=k/khard/}
#MASTER_SITES=		${MASTER_SITE_GITHUB:=scheibler/}
#GITHUB_TAG=		v${PKGVERSION_NOREV}

MAINTAINER=		pkgsrc-users@@NetBSD.org
HOMEPAGE=		https://github.com/scheibler/khard
COMMENT=		CLI contacts application built around CardDAV
LICENSE=		gnu-gpl-v3

DEPENDS+=		${PYPKGPREFIX}-atomicwrites-[0-9]*:../../devel/py-atomicwrites
DEPENDS+=		${PYPKGPREFIX}-configobj-[0-9]*:../../devel/py-configobj
DEPENDS+=		${PYPKGPREFIX}-ruamel-yaml-[0-9]*:../../devel/py-ruamel-yaml
DEPENDS+=		${PYPKGPREFIX}-Unidecode-[0-9]*:../../textproc/py-Unidecode
DEPENDS+=		${PYPKGPREFIX}-vobject>=0.9.4:../../textproc/py-vobject
TOOL_DEPENDS+=		${PYPKGPREFIX}-sphinx-[0-9]*:../../textproc/py-sphinx
TOOL_DEPENDS+=		${PYPKGPREFIX}-sphinx-autoapi-[0-9]*:../../textproc/py-sphinx-autoapi
TOOL_DEPENDS+=		${PYPKGPREFIX}-sphinx-autodoc-typehints>=1.10:../../textproc/py-sphinx-autodoc-typehints
@


1.23
log
@khard: update to 0.15.1nb1.

Remove partial multi-version support.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.22 2019/11/07 12:41:00 wiz Exp $
d3 1
a3 2
DISTNAME=		khard-0.15.1
PKGREVISION=		1
d20 2
d33 1
a33 1
	${INSTALL_DATA} ${WRKSRC}/misc/khard/khard.conf.example ${DESTDIR}${PREFIX}/share/examples/khard
@


1.22
log
@khard: fix sphinx names
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.21 2019/11/06 11:59:38 wiz Exp $
d4 1
a32 1
	cd ${DESTDIR}${PREFIX}/bin && ${MV} khard khard-${PYVERSSUFFIX}
@


1.21
log
@khard: update to 0.15.1.

v0.15.0: 2019-10-24
- Require either default_action or a subcommand in the future (add deprecation
  warning for now)
- add man page for the config file
- make all options in the config file optional except for the address book
  definitions
- allow lists of strings for editor an merge_editor config options
- add a CONTRIBUTING file on Github
- handle ABLABELs on most fields
- add formatted name to the yaml template
- show formatted name in contact details
- make it possible to sort by and display formatted name in linstings
- remove the khard-runner.py helper script
- validate the config file upon loading it
- internal code refactoring
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.20 2019/10/21 22:15:11 adam Exp $
d28 1
a28 1
	cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} -C doc SPHINXBUILD=sphinx-build${PYVERSSUFFIX} SPHINXAPIDOC=sphinx-apidoc${PYVERSSUFFIX} man
@


1.20
log
@Fix sphinx-build binary name
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.19 2019/07/21 21:11:37 wiz Exp $
d3 1
a3 2
DISTNAME=		khard-0.14.0
PKGREVISION=		1
d5 3
a7 4
# 0.14.0 is missing on pypi: https://github.com/scheibler/khard/issues/215
#MASTER_SITES=		${MASTER_SITE_PYPI:=k/khard/}
MASTER_SITES=		${MASTER_SITE_GITHUB:=scheibler/}
GITHUB_TAG=		v${PKGVERSION_NOREV}
d28 1
a28 1
	cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} -C doc SPHINXBUILD=sphinx-build-${PYVERSSUFFIX} man
@


1.19
log
@khard: build and install man page.

Bump PKGREVISION.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.18 2019/07/21 08:50:44 wiz Exp $
d30 1
a30 1
	cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} -C doc SPHINXBUILD=sphinx-build${PYVERSSUFFIX} man
@


1.18
log
@khard: update to 0.14.0.

v0.14.0: 2019-06-21
- Display ABLABELs for URLs and Private Objects
- Allow vcard selections to be aborted explicitly
- Unify edit and source subcommands
- Merge export and show subcommands
- Turn template export into a seperate command
- Require python >= 3.5
- Add html documentation (generated with sphinx)
- Add man page (generated with sphinx)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.17 2019/04/25 07:33:07 maya Exp $
d4 1
d21 1
a21 1
#TOOL_DEPENDS+=		${PYPKGPREFIX}-sphinx-[0-9]*:../../textproc/py-sphinx
d25 1
a25 1
INSTALLATION_DIRS=	share/examples/khard
d27 4
d35 1
@


1.17
log
@PKGREVISION bump for anything using python without a PYPKGPREFIX.

This is a semi-manual PKGREVISION bump.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.16 2019/02/13 19:39:26 wiz Exp $
d3 1
a3 2
DISTNAME=		khard-0.13.0
PKGREVISION=		1
d5 4
a8 1
MASTER_SITES=		${MASTER_SITE_PYPI:=k/khard/}
a14 2
#DEPENDS+=		${PYPKGPREFIX}-argparse-[0-9]*:../../devel/py-argparse
#DEPENDS+=		${PYPKGPREFIX}-yaml-[0-9]*:../../textproc/py-yaml
d20 1
@


1.16
log
@khard: update to 0.13.0.

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
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.15 2018/04/14 15:15:55 wiz Exp $
d4 1
@


1.15
log
@khard: update to 0.12.2nb1.

Update list of dependencies.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.14 2018/01/28 15:57:33 wiz Exp $
d3 1
a3 2
DISTNAME=		khard-0.12.2
PKGREVISION=		1
@


1.14
log
@khard: update to 0.12.2.

v0.12.0: 2018.01.12
- Vcard: Support for anniversary attribute (#138)
- Config: New config parameter: localize_dates (#118)
- Action list: -p / --parsable prints a tab separated contact list (#141)
- Action remove: --force: Remove contact without confirmation (#140)
- Mutt: You have to update the query command in mutt's config file: set query_command= "khard email --parsable '%s'"
- Minor changes in khard example config, zsh completion function and twinkle scripts
- Fix: Results of phone number search improved
- Fix: Yaml parser switched from pyyaml to ruamel.yaml to allow special unicode characters in the contact template (#133)
- Fix: Accentuated characters sorted wrong in contact list (#127)

v0.12.1: 2018.01.14
- Fix for issue #148: Config variable "sort" not longer mandatory in config file

v0.12.2: 2018.01.21
- Fixed: Found contact twice when the whole uid was used with -u (#161)
- Fixed: A minor bug in the contact search function (#160)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.13 2017/02/20 09:52:47 wiz Exp $
d4 1
d13 2
d17 2
a19 2
DEPENDS+=		${PYPKGPREFIX}-argparse-[0-9]*:../../devel/py-argparse
DEPENDS+=		${PYPKGPREFIX}-yaml-[0-9]*:../../textproc/py-yaml
@


1.13
log
@Updated khard to 0.11.4.

v0.11.4: 2017.02.16
- Unpinned vobject library version (base64 decoding/encoding bug was fixed upstream)
- New option: -c / --config /path/to/config.file
- Changed short option of --search-in-source-files from -c to -f to avoid confusion with the new -c / --config option
- Minor bug fixes
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.12 2017/01/22 08:10:34 wiz Exp $
d3 1
a3 1
DISTNAME=		khard-0.11.4
@


1.12
log
@Switch khard to py-vobject 0.9.4 or newer. Bump PKGREVISION.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.11 2016/10/31 16:29:50 wiz Exp $
d3 1
a3 2
DISTNAME=		khard-0.11.3
PKGREVISION=		1
@


1.11
log
@Updated khard to 0.11.3.

v0.11.2: 2016.08.31
- Extended the photo parsing workaround from khard version 0.11.1 to all base64 encoded vcard attributes (#86 and #87)
- Show additional/middle names in name column of contact table (#89)
- Added khard-runner.py helper script to simplify source code launching

v0.11.3: 2016.09.20
- Pinned version of vcard library vobject to version 0.9.2 due to bug https://github.com/eventable/vobject/issues/39
- Added some new action aliases
- Fix for birthday date processing (#95)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 2016/08/28 15:48:33 wiz Exp $
d4 1
d15 1
a15 1
DEPENDS+=		${PYPKGPREFIX}-vobject>=0.9<0.9.3:../../textproc/py-vobject
@


1.10
log
@Remove unnecessary PLIST_SUBST and FILES_SUBST that are now provided
by the infrastructure.

Mark a couple more packages as not ready for python-3.x.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 2016/08/27 15:50:47 wiz Exp $
d3 1
a3 1
DISTNAME=		khard-0.11.1
d14 1
a14 1
DEPENDS+=		${PYPKGPREFIX}-vobject-[0-9]*:../../textproc/py-vobject
@


1.9
log
@Updated khard to 0.11.1.

Add ALTERNATIVES file.

v0.10.0: 2016.05.02
- New Action birthday: list birthdays, sorted by month and day
- option -p, --pretty was renamed to -p, --parsable: So, the pretty formatted email or
  phone number table is the default now. Please adapt the configuration files of potential email and
  phone applications (e.g.: mutt email -p %s)

v0.11.0: 2016.07.17
- Made khard python3 compatible (#59)
- Enhanced read and write support for vcard versions 3.0 and 4.0
- user input parser:
    - Improved robustness and error handling
    - Fixed org attribute parsing (#57)
    - Support for private vcard extensions (#51)
- New action birthdays (#64)
- New options:
    --display to display contacts by first or last name (#66)
    --search-in-source-files to speed up program initialization (#75)
    --skip-unparsable to skip unparsable vcard files (#75)
    --strict-search to narrow the contact search to the name field
- Added some aliases for program actions (#65)
- Removed davcontroler module due to the python3 incompatibility (script moved into the misc folder)
- Updated zsh completion function and khards example config file

v0.11.1: 2016.07.31
- Workaround for the photo attribute parsing issue of vobject library 0.9.2 (#80)
- setup.py: try to convert readme file into restructured text format (pypi requirement) and specify encoding explicitly (#83)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2016/07/15 13:39:33 wiz Exp $
a21 1
PLIST_SUBST+=		PYVERSSUFFIX=${PYVERSSUFFIX}
@


1.8
log
@Add missing dependency. Bump PKGREVISION.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2016/07/09 13:03:56 wiz Exp $
d3 1
a3 2
DISTNAME=		khard-0.9.0
PKGREVISION=		2
d18 1
a18 1
PYTHON_VERSIONS_INCOMPATIBLE=	34 35 # not yet ported as of 0.4.1
d22 1
d26 1
@


1.7
log
@Remove python33: adapt all packages that refer to it.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2016/07/02 09:36:20 wiz Exp $
d4 1
a4 1
PKGREVISION=		1
d13 1
@


1.6
log
@Add missing py-yaml dependency. Bump PKGREVISION.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2016/06/06 12:28:37 wiz Exp $
d18 1
a18 1
PYTHON_VERSIONS_INCOMPATIBLE=	33 34 35 # not yet ported as of 0.4.1
@


1.5
log
@Updated khard to 0.9.0.

v0.5.0: 2015.09.05
- New option to merge two contacts
- Support for XDG_CONFIG_HOME parameter
- Post address: Added support for street and house number field with multiple lines

v0.6.0: 2015.09.20
- New options copy contact and move contact
- Changed behavior of merge command (have a look into the readme file for details)
- Get path to editor and merge editor from the $PATH variable
- Code cleanup: new object class AddressBook

v0.6.1: 2015.10.06
- Added title and role attribute
- Removed input restrictions of name and post address fields
- Parameter default_country in config file is not longer in use

v0.6.2: 2015.10.10
- Added completion function for zsh

v0.6.3: 2015.10.24
- Added note attribute

v0.7.0: 2015.12.18
- Support for vobject library version >= 0.8.2 from https://github.com/tBaxter/vobject
- Contact template syntax switched to yaml
- alot and mutt actions summarized to new email action (please have a look into the readme file for configuration changes)
- Support for extended name attributes
- Create and modify contact from stdin or from template file
- New action "export" to export data of existing contact in yaml format
- New argument --open-editor to open the preferred text editor after successful creation of new
  contact from stdin or template file
- New argument {-u, --uid} to select contact by uid
- Added write support for categories attribute
- Added wrapper script for sdiff
- Fixed a bug, which prevented the creation of new contacts with the add-email action

v0.7.1: 2016.01.01
- Added support for multiple instances of one vcard attribute

v0.7.2: 2016.01.03
- Use of module atomicwrites to securely write vcards to disk

v0.7.3: 2016.01.08
- Cancel without further actions if the opened contacts editor is closed without saving (determined
  by modification date of template file)

v0.7.4: 2016.01.11
- Fixed uid dictionary creation

v0.8.0: 2016.01.15
- Sort contact table by first or last name (take note of changed behaviour of "sort" option)
- New option -g, --group-by-addressbook to group contact table by address book
- Changes in config file:
    - New group: contact table
        - new option: sort to sort contact table by first or last name
        - New option: group_by_addressbook to group contact table by address book
    - Moved show_nicknames option from group "general" to group "contact table"

v0.8.1: 2016.01.16
- New option "show_uids" in config file to disable uid column in contact table

v0.9.0: 2016.03.17
- Fully restructured command line interface for better usability:
    - general help with: khard -h
    - help for a specific action: khard action -h
- Updated zsh completion function
- New Action addressbooks
- New option -p|--pretty for email and phone actions to get pretty formatted output
- Fix: Only delete contact after modify, copy or move action was completed successfully
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2015/12/05 21:25:50 adam Exp $
d4 1
d16 1
@


1.4
log
@Extend PYTHON_VERSIONS_INCOMPATIBLE to 35
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2015/07/21 19:18:25 wiz Exp $
d3 1
a3 1
DISTNAME=		khard-0.4.1
d5 1
a5 1
MASTER_SITES=		https://pypi.python.org/packages/source/k/khard/
d22 1
a22 1
	${INSTALL_DATA} ${WRKSRC}/khard.conf.example ${DESTDIR}${PREFIX}/share/examples/khard
@


1.3
log
@Update comment.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2015/07/21 19:17:51 wiz Exp $
d16 1
a16 1
PYTHON_VERSIONS_INCOMPATIBLE=	33 34 # not yet ported as of 0.4.1
@


1.2
log
@Update to 0.4.1:

v0.3.1: 2015.03.26
- Nickname attribute added
- New parameter in config file: show_nicknames = yes / no

v0.3.2: 2015.03.27
- Read-only support for Categories attribute

v0.3.3: 2015.05.07
- twinkle option was renamed to phone: Now it prints all phone numbers like the mutt option does for
  e-mail addresses (more general approach for external phone clients)
- adapted twinkle plugin for use with the new phone option

v0.4.0: 2015.06.15
- new option "add-email": Get full email from stdin, filter senders mail address and add that
  address to an existing contact or create a new one. Feature tested with email client mutt.

v0.4.1: 2015.07.16
- improved search results for phone, mutt and alot
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2015/04/02 22:35:34 wiz Exp $
d16 1
a16 1
PYTHON_VERSIONS_INCOMPATIBLE=	33 34 # not yet ported as of 0.3.0
@


1.1
log
@Import khard-0.3.0 as misc/khard.

Khard is an address book for the Linux console. It creates, reads,
modifies and removes CardDAV address book entries at your local
machine. Khard is also compatible to the email clients mutt and
alot and the SIP client twinkle.
@
text
@d1 1
a1 1
# $NetBSD$
d3 1
a3 1
DISTNAME=		khard-0.3.0
d5 1
a5 1
MASTER_SITES=		${MASTER_SITE_GITHUB:=scheibler/}
a11 1
GITHUB_TAG=		v${PKGVERSION_NOREV}
@

