freebsd-ports/www/pycarddav/Makefile
Kubilay Kocak 2f385645e3 www/pycarddav: Deprecate port
Upstream has declared [1][2] the software deprecated:

"This project is dead. pyCardDAV is deprecated. See the relevant issue. A
good alternative is khard."

[1] http://lostpackets.de/pycarddav/
[2] https://github.com/geier/pycarddav

Set a 3 month expiry to give users sufficient time to migrate

PR:		220368
Reported by:	rigoletto
Submitted by:	Samir <samir noir im>
MFH:		No
2019-12-20 04:33:26 +00:00

46 lines
1.3 KiB
Makefile

# $FreeBSD$
PORTNAME= pycarddav
PORTVERSION= 0.7.0
PORTREVISION= 2
CATEGORIES= www python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= pyCardDAV-${PORTVERSION}
MAINTAINER= samir@noir.im
COMMENT= Simple to use CardDAV CLI client
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/COPYING
DEPRECATED= Deprecated by upstream, please migrate to deskutils/py-khard
EXPIRATION_DATE= 2020-02-28
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}vobject>0:deskutils/py-vobject@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}urwid>0:devel/py-urwid@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}xdg>0:devel/py-xdg@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}lxml>0:devel/py-lxml@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR}
USES= python:2.7
USE_PYTHON= autoplist distutils
PLIST_FILES+= man/man1/pc_query.1.gz \
man/man1/pycard-import.1.gz \
man/man1/pycardsyncer.1.gz
PORTEXAMPLES= pycard.conf.sample
SUB_FILES= pkg-message
OPTIONS_DEFINE= EXAMPLES
post-install:
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/pycard.conf.sample ${STAGEDIR}${EXAMPLESDIR}/pycard.conf.sample
${INSTALL_MAN} ${WRKSRC}/doc/man/*.1 ${STAGEDIR}${PREFIX}/man/man1
.include <bsd.port.mk>