Files
ports/mail/py-notmuch2/Makefile
T
Charlie Li 06a08e69f3 python: bump all USE_PYTHON=distutils consumers after RUN_DEPENDS removal
Any missed ports, feel free to bump.

Any ports that need setuptools at runtime can have the devel/py-setuptools
manually added back to RUN_DEPENDS, but understand that this practice
is deprecated; see CHANGES for details.
2025-03-07 23:05:21 -05:00

29 lines
729 B
Makefile

PORTREVISION= 1
CATEGORIES= mail python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
PKGNAMESUFFIX= 0
COMMENT= Pythonic bindings for the notmuch mail database using CFFI
LICENSE= GPLv3
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=1.0.0:devel/py-cffi@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=1.0.0:devel/py-cffi@${PY_FLAVOR}
LIB_DEPENDS= libnotmuch.so:mail/notmuch
USES= python pkgconfig uniquefiles:dirs
USE_PYTHON= autoplist distutils
HAS_CONFIGURE= yes
CONFIGURE_WRKSRC= ${WRKDIR}/${DISTNAME}
MASTERDIR= ${.CURDIR}/../notmuch
WRKSRC_SUBDIR= bindings/python-cffi
PORTSCOUT= limit:^[0-9\.]*$$
post-install:
@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/notmuch2/_capi.abi3*.so
.include "${MASTERDIR}/Makefile"