svn commit: r544770 - in head/mail: . py-notmuch2
Danilo G. Baio
dbaio at FreeBSD.org
Wed Aug 12 21:00:48 UTC 2020
Author: dbaio
Date: Wed Aug 12 21:00:47 2020
New Revision: 544770
URL: https://svnweb.freebsd.org/changeset/ports/544770
Log:
Add mail/py-notmuch2: Pythonic bindings for the notmuch mail database using CFFI
Pythonic bindings for the notmuch mail database using CFFI. This module makes
the functionality of the notmuch library (https://notmuchmail.org) available to
python using CFFI
WWW: https://notmuchmail.org/
Added:
head/mail/py-notmuch2/
- copied from r544767, head/mail/py-notmuch/
Modified:
head/mail/Makefile
head/mail/py-notmuch2/Makefile
head/mail/py-notmuch2/pkg-descr
Modified: head/mail/Makefile
==============================================================================
--- head/mail/Makefile Wed Aug 12 20:56:46 2020 (r544769)
+++ head/mail/Makefile Wed Aug 12 21:00:47 2020 (r544770)
@@ -508,6 +508,7 @@
SUBDIR += py-managesieve3
SUBDIR += py-milter
SUBDIR += py-notmuch
+ SUBDIR += py-notmuch2
SUBDIR += py-postfix-mta-sts-resolver
SUBDIR += py-premailer
SUBDIR += py-pymailq
Modified: head/mail/py-notmuch2/Makefile
==============================================================================
--- head/mail/py-notmuch/Makefile Wed Aug 12 20:28:47 2020 (r544767)
+++ head/mail/py-notmuch2/Makefile Wed Aug 12 21:00:47 2020 (r544770)
@@ -2,30 +2,23 @@
CATEGORIES= mail python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+PKGNAMESUFFIX= 2
-COMMENT= Python interface for the Notmuch email search and tagging library
+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 uniquefiles:dirs
+USES= python:3.5+ uniquefiles:dirs
USE_PYTHON= autoplist distutils
MASTERDIR= ${.CURDIR}/../notmuch
-NO_ARCH= yes
-PORTDOCS= *
-WRKSRC_SUBDIR= bindings/python
+WRKSRC_SUBDIR= bindings/python-cffi
-OPTIONS_DEFINE= DOCS
-
-DOCS_BUILD_DEPENDS= sphinx-build:textproc/py-sphinx
-
-do-build-DOCS-on:
- @${MAKE_CMD} -C ${WRKSRC}/docs html
-
-do-install-DOCS-on:
- cd ${WRKSRC}/docs/html && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
- @${RM} ${STAGEDIR}${DOCSDIR}/.buildinfo
+post-install:
+ @${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/notmuch2/_capi.abi3.so
.include "${MASTERDIR}/Makefile"
Modified: head/mail/py-notmuch2/pkg-descr
==============================================================================
--- head/mail/py-notmuch/pkg-descr Wed Aug 12 20:28:47 2020 (r544767)
+++ head/mail/py-notmuch2/pkg-descr Wed Aug 12 21:00:47 2020 (r544770)
@@ -1,3 +1,5 @@
-Python binding of the notmuch mail search and indexing library.
+Pythonic bindings for the notmuch mail database using CFFI. This module makes
+the functionality of the notmuch library (https://notmuchmail.org) available to
+python using CFFI
WWW: https://notmuchmail.org/
More information about the svn-ports-all
mailing list