pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

py-notmuch2: Add notmuch-0.38.2 python bindings



Module Name:	pkgsrc-wip
Committed By:	Malte Dehling <mdehling%gmail.com@localhost>
Pushed By:	mdehling
Date:		Mon Feb 19 12:52:39 2024 -0800
Changeset:	1cba22121ef3bd0e12681aebc94788edb5ee5960

Modified Files:
	Makefile
Added Files:
	py-notmuch2/COMMIT_MSG
	py-notmuch2/DESCR
	py-notmuch2/Makefile
	py-notmuch2/PLIST
	py-notmuch2/distinfo
	py-notmuch2/patches/patch-bindings_python-cffi___notmuch__config.py

Log Message:
py-notmuch2: Add notmuch-0.38.2 python bindings

Pythonic bindings for the notmuch mail indexer. This module makes the
functionality of the notmuch library (https://notmuchmail.org) available
to python using CFFI.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=1cba22121ef3bd0e12681aebc94788edb5ee5960

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile                                           |  1 +
 py-notmuch2/COMMIT_MSG                             |  5 +++
 py-notmuch2/DESCR                                  |  3 ++
 py-notmuch2/Makefile                               | 25 +++++++++++++++
 py-notmuch2/PLIST                                  | 37 ++++++++++++++++++++++
 py-notmuch2/distinfo                               |  6 ++++
 ...patch-bindings_python-cffi___notmuch__config.py | 11 +++++++
 7 files changed, 88 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 033dff3879..869dfd061f 100644
--- a/Makefile
+++ b/Makefile
@@ -4072,6 +4072,7 @@ SUBDIR+=	py-notify-cli
 SUBDIR+=	py-notify-dev
 SUBDIR+=	py-notify-events
 SUBDIR+=	py-notify-py
+SUBDIR+=	py-notmuch2
 SUBDIR+=	py-nox
 SUBDIR+=	py-nphelper
 SUBDIR+=	py-nptdms
diff --git a/py-notmuch2/COMMIT_MSG b/py-notmuch2/COMMIT_MSG
new file mode 100644
index 0000000000..3e4bbcbf83
--- /dev/null
+++ b/py-notmuch2/COMMIT_MSG
@@ -0,0 +1,5 @@
+mail/py-notmuch2: Add notmuch-0.38.2 python bindings
+
+Pythonic bindings for the notmuch mail indexer. This module makes the
+functionality of the notmuch library (https://notmuchmail.org) available
+to python using CFFI.
diff --git a/py-notmuch2/DESCR b/py-notmuch2/DESCR
new file mode 100644
index 0000000000..3b7d8121c2
--- /dev/null
+++ b/py-notmuch2/DESCR
@@ -0,0 +1,3 @@
+Pythonic bindings for the notmuch mail indexer. This module makes the
+functionality of the notmuch library (https://notmuchmail.org) available
+to python using CFFI.
diff --git a/py-notmuch2/Makefile b/py-notmuch2/Makefile
new file mode 100644
index 0000000000..747ef6b2f6
--- /dev/null
+++ b/py-notmuch2/Makefile
@@ -0,0 +1,25 @@
+# $NetBSD$
+VERSION=	0.38.2
+DISTNAME=	notmuch-${VERSION}
+EGG_NAME=	notmuch2-${VERSION}
+PKGNAME=	${PYPKGPREFIX}-${EGG_NAME}
+CATEGORIES=	mail python
+MASTER_SITES=	https://notmuchmail.org/releases/
+EXTRACT_SUFX=	.tar.xz
+
+MAINTAINER=	mdehling%gmail.com@localhost
+HOMEPAGE=	https://notmuchmail.org/
+COMMENT=	Pythonic bindings for the notmuch mail indexer
+LICENSE=	gnu-gpl-v3
+
+BUILD_DEPENDS+=	${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
+DEPENDS+=	${PYPKGPREFIX}-cffi-[0-9]*:../../devel/py-cffi
+DEPENDS+=	notmuch-[0-9]*:../../mail/notmuch
+
+PYTHON_VERSIONS_INCOMPATIBLE=	27
+
+PYSETUPSUBDIR=	bindings/python-cffi
+
+.include "../../mail/notmuch/buildlink3.mk"
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/py-notmuch2/PLIST b/py-notmuch2/PLIST
new file mode 100644
index 0000000000..2d4b0e17cb
--- /dev/null
+++ b/py-notmuch2/PLIST
@@ -0,0 +1,37 @@
+@comment $NetBSD$
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/notmuch2/__init__.py
+${PYSITELIB}/notmuch2/__init__.pyc
+${PYSITELIB}/notmuch2/__init__.pyo
+${PYSITELIB}/notmuch2/_base.py
+${PYSITELIB}/notmuch2/_base.pyc
+${PYSITELIB}/notmuch2/_base.pyo
+${PYSITELIB}/notmuch2/_build.py
+${PYSITELIB}/notmuch2/_build.pyc
+${PYSITELIB}/notmuch2/_build.pyo
+${PYSITELIB}/notmuch2/_capi.abi3.so
+${PYSITELIB}/notmuch2/_config.py
+${PYSITELIB}/notmuch2/_config.pyc
+${PYSITELIB}/notmuch2/_config.pyo
+${PYSITELIB}/notmuch2/_database.py
+${PYSITELIB}/notmuch2/_database.pyc
+${PYSITELIB}/notmuch2/_database.pyo
+${PYSITELIB}/notmuch2/_errors.py
+${PYSITELIB}/notmuch2/_errors.pyc
+${PYSITELIB}/notmuch2/_errors.pyo
+${PYSITELIB}/notmuch2/_message.py
+${PYSITELIB}/notmuch2/_message.pyc
+${PYSITELIB}/notmuch2/_message.pyo
+${PYSITELIB}/notmuch2/_query.py
+${PYSITELIB}/notmuch2/_query.pyc
+${PYSITELIB}/notmuch2/_query.pyo
+${PYSITELIB}/notmuch2/_tags.py
+${PYSITELIB}/notmuch2/_tags.pyc
+${PYSITELIB}/notmuch2/_tags.pyo
+${PYSITELIB}/notmuch2/_thread.py
+${PYSITELIB}/notmuch2/_thread.pyc
+${PYSITELIB}/notmuch2/_thread.pyo
diff --git a/py-notmuch2/distinfo b/py-notmuch2/distinfo
new file mode 100644
index 0000000000..04b951474e
--- /dev/null
+++ b/py-notmuch2/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+BLAKE2s (notmuch-0.38.2.tar.xz) = 8706c2b8b8cce95b32e3d80c921c8a50739aaabd5a082dbed858629497bba845
+SHA512 (notmuch-0.38.2.tar.xz) = fcf5cd927d2acff1a3632c8a4790d4115320cd3ca0d7f61955789a060e363d196c6be64e0e98c883e9918f6b5032a72150977d5f80f9c890f9bd3ab8ed5d8154
+Size (notmuch-0.38.2.tar.xz) = 805268 bytes
+SHA1 (patch-bindings_python-cffi___notmuch__config.py) = 556084c6451cab7b090b21b951238363cebe07fd
diff --git a/py-notmuch2/patches/patch-bindings_python-cffi___notmuch__config.py b/py-notmuch2/patches/patch-bindings_python-cffi___notmuch__config.py
new file mode 100644
index 0000000000..7ef7fdf9c7
--- /dev/null
+++ b/py-notmuch2/patches/patch-bindings_python-cffi___notmuch__config.py
@@ -0,0 +1,11 @@
+$NetBSD$
+
+This file would normally be created by the configure script, but we
+don't run it.
+
+--- bindings/python-cffi/_notmuch_config.py.orig	2024-02-17 05:03:35.281766718 +0000
++++ bindings/python-cffi/_notmuch_config.py
+@@ -0,0 +1,3 @@
++NOTMUCH_VERSION_FILE='../../version.txt'
++NOTMUCH_INCLUDE_DIR='../../lib'
++NOTMUCH_LIB_DIR='../../lib'


Home | Main Index | Thread Index | Old Index