pkgsrc-WIP-changes archive

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

py-notmuch2: Simplify based on mail/notmuch



Module Name:	pkgsrc-wip
Committed By:	Malte Dehling <mdehling%gmail.com@localhost>
Pushed By:	mdehling
Date:		Sat Mar 30 11:20:41 2024 -0700
Changeset:	42338ca34fb356289014682e9367477fdb016e28

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

Log Message:
py-notmuch2: Simplify based on mail/notmuch

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

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

diffstat:
 py-notmuch2/COMMIT_MSG                             | 11 +++++++----
 py-notmuch2/DESCR                                  |  9 ++++++---
 py-notmuch2/Makefile                               | 22 ++++++++++------------
 py-notmuch2/distinfo                               |  6 ------
 ...patch-bindings_python-cffi___notmuch__config.py | 11 -----------
 5 files changed, 23 insertions(+), 36 deletions(-)

diffs:
diff --git a/py-notmuch2/COMMIT_MSG b/py-notmuch2/COMMIT_MSG
index 3e4bbcbf83..87de934269 100644
--- a/py-notmuch2/COMMIT_MSG
+++ b/py-notmuch2/COMMIT_MSG
@@ -1,5 +1,8 @@
-mail/py-notmuch2: Add notmuch-0.38.2 python bindings
+mail/py-notmuch2: Add notmuch-0.38.3 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.
+Notmuch is a system for indexing, searching, reading, and tagging
+large collections of email messages in maildir or mh format. It uses
+the Xapian library to provide fast, full-text search with a convenient
+search syntax.
+
+This package provides Pythonic bindings using CFFI.
diff --git a/py-notmuch2/DESCR b/py-notmuch2/DESCR
index 3b7d8121c2..125eb69c4f 100644
--- a/py-notmuch2/DESCR
+++ b/py-notmuch2/DESCR
@@ -1,3 +1,6 @@
-Pythonic bindings for the notmuch mail indexer. This module makes the
-functionality of the notmuch library (https://notmuchmail.org) available
-to python using CFFI.
+Notmuch is a system for indexing, searching, reading, and tagging
+large collections of email messages in maildir or mh format. It uses
+the Xapian library to provide fast, full-text search with a convenient
+search syntax.
+
+This package provides Pythonic bindings using CFFI.
diff --git a/py-notmuch2/Makefile b/py-notmuch2/Makefile
index 5149ee6dbb..897461edfd 100644
--- a/py-notmuch2/Makefile
+++ b/py-notmuch2/Makefile
@@ -1,23 +1,21 @@
 # $NetBSD$
 
-VERSION=	0.38.2
-DISTNAME=	notmuch-${VERSION}
-WHEEL_NAME=	notmuch2-${VERSION}
+# XXX: override PYTHON_FOR_BUILD_ONLY= tool in mail/notmuch/Makefile.common
+PYTHON_FOR_BUILD_ONLY=		no
+PYTHON_VERSIONS_INCOMPATIBLE=	27
+.include "../../lang/python/pyversion.mk"
+.include "../../mail/notmuch/Makefile.common"
+
+WHEEL_NAME=	${DISTNAME:S/notmuch-/notmuch2-/}
 PKGNAME=	${PYPKGPREFIX}-${WHEEL_NAME}
-CATEGORIES=	mail python
-MASTER_SITES=	https://notmuchmail.org/releases/
-EXTRACT_SUFX=	.tar.xz
+CATEGORIES+=	python
 
 MAINTAINER=	mdehling%gmail.com@localhost
-HOMEPAGE=	https://notmuchmail.org/
-COMMENT=	Pythonic bindings for the notmuch mail indexer
-LICENSE=	gnu-gpl-v3
+COMMENT=	Pythonic bindings for the notmuch mail database using CFFI
 
 TOOL_DEPENDS+=	${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
 TOOL_DEPENDS+=	${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
-DEPENDS+=	${PYPKGPREFIX}-cffi-[0-9]*:../../devel/py-cffi
-
-PYTHON_VERSIONS_INCOMPATIBLE=	27
+DEPENDS+=	${PYPKGPREFIX}-cffi>=1.0.0:../../devel/py-cffi
 
 PYSETUPSUBDIR=	bindings/python-cffi
 
diff --git a/py-notmuch2/distinfo b/py-notmuch2/distinfo
deleted file mode 100644
index 04b951474e..0000000000
--- a/py-notmuch2/distinfo
+++ /dev/null
@@ -1,6 +0,0 @@
-$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
deleted file mode 100644
index 7ef7fdf9c7..0000000000
--- a/py-notmuch2/patches/patch-bindings_python-cffi___notmuch__config.py
+++ /dev/null
@@ -1,11 +0,0 @@
-$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