[PATCH 1/9] debian: stop packaging legacy python bindings.

Subject: [PATCH 1/9] debian: stop packaging legacy python bindings.

Date: Sat, 15 Feb 2025 16:05:47 -0400

To: notmuch@notmuchmail.org

Cc:

From: David Bremner


This is in preparation for moving them to contrib and dropping them
from the test suite upstream.
---
 debian/control | 20 +-------------------
 debian/rules   |  3 ---
 2 files changed, 1 insertion(+), 22 deletions(-)

diff --git a/debian/control b/debian/control
index 08e3c7f3..a5e73c08 100644
--- a/debian/control
+++ b/debian/control
@@ -134,24 +134,6 @@ Description: thread-based email index, search and tagging (development)
  This package provides the necessary development libraries and header
  files to allow you to develop new software using libnotmuch.
 
-Package: python3-notmuch
-Architecture: all
-Section: python
-Depends:
- libnotmuch5t64 (>= ${source:Version}),
- ${misc:Depends},
- ${python3:Depends},
-Description: Python 3 legacy interface to the notmuch mail search and index library
- 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 very
- convenient search syntax.
- .
- This package provides a legacy Python 3 interface to the notmuch
- functionality, directly interfacing with a shared notmuch library.
- .
- New projects are encouraged to use python3-notmuch2 instead.
-
 Package: python3-notmuch2
 Architecture: any
 Section: python
@@ -170,7 +152,7 @@ Description: Python 3 interface to the notmuch mail search and index library
  functionality using CFFI bindings, which interface with a shared
  notmuch library.
  .
- This is the preferred way to use notmuch via Python.
+ This is the current supported way to use notmuch via Python.
 
 Package: ruby-notmuch
 Architecture: any
diff --git a/debian/rules b/debian/rules
index 41f70298..ef52a71c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -20,19 +20,16 @@ override_dh_auto_configure:
 
 override_dh_auto_build:
 	dh_auto_build -- V=1 all sphinx-html
-	PYBUILD_NAME=notmuch dh_auto_build --buildsystem=pybuild --sourcedirectory bindings/python
 	PYBUILD_NAME=notmuch2 dh_auto_build --buildsystem=pybuild --sourcedirectory bindings/python-cffi
 	$(MAKE) -C contrib/notmuch-mutt
 
 override_dh_auto_clean:
 	dh_auto_clean
-	PYBUILD_NAME=notmuch dh_auto_clean --buildsystem=pybuild --sourcedirectory bindings/python
 	dh_auto_clean --sourcedirectory bindings/ruby
 	$(MAKE) -C contrib/notmuch-mutt clean
 
 override_dh_auto_install:
 	dh_auto_install
-	PYBUILD_NAME=notmuch dh_auto_install --buildsystem=pybuild --sourcedirectory bindings/python
 	PYBUILD_NAME=notmuch2 dh_auto_install --buildsystem=pybuild --sourcedirectory bindings/python-cffi
 	$(MAKE) -C contrib/notmuch-mutt DESTDIR=$(CURDIR)/debian/tmp install
 	$(MAKE) -C vim prefix=/usr/share/notmuch-vim DESTDIR=$(CURDIR)/debian/tmp install
-- 
2.47.2

_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: