Package: libpmix-dev
Version: 5.0.6-1
Followup-For: Bug #1088217
Control: tags -1 patch

Dear Maintainer,

I've attached a patch.

A new package `libpmix-doc` contains the documentation. `libpmix-dev`
has a `Recommends` dependency on it.

`libpmix-doc` does not need to depend on anything because the HTML
documentation is pre-built and includes a copy of jquery.
>From e42e668f1efe64de1a980381ad84bafb78b44f57 Mon Sep 17 00:00:00 2001
From: Hristo Venev <hri...@venev.name>
Date: Thu, 23 Jan 2025 22:07:16 +0200
Subject: [PATCH] Install docs in a separate package

The documentation is built using Sphinx and copies jquery, so it opens
just fine without them installed.
---
 debian/changelog        |  7 +++++++
 debian/control          | 19 +++++++++++++++----
 debian/libpmix-dev.docs |  1 -
 debian/libpmix-doc.docs |  1 +
 4 files changed, 23 insertions(+), 5 deletions(-)
 create mode 100644 debian/libpmix-doc.docs

diff --git a/debian/changelog b/debian/changelog
index a97af84..269f614 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+pmix (5.0.6-2) unstable; urgency=medium
+
+  * Install docs in a separate package
+  * Remove unnecessary dependencies on python3-sphinx and libjs-query (Closes: 
#1088217)
+
+ -- Hristo Venev <hri...@venev.name>  Thu, 23 Jan 2025 22:07:03 +0200
+
 pmix (5.0.6-1) unstable; urgency=medium
 
   * New upstream release
diff --git a/debian/control b/debian/control
index ca53366..6ef4b74 100644
--- a/debian/control
+++ b/debian/control
@@ -37,16 +37,27 @@ Section: libdevel
 Architecture: any
 Multi-Arch: same
 Depends: ${shlibs:Depends}, ${misc:Depends}, libpmix2t64 (= ${binary:Version}),
-        libevent-dev, libhwloc-dev, zlib1g-dev,
-        python3-sphinx,
-        libjs-jquery
+        libevent-dev, libhwloc-dev, zlib1g-dev
+Recommends: libpmix-doc
 Description: Development files for the PMI Exascale library  
  This is the OpenMPI implementation of the Process Management Interface (PMI)
  Exascale API. PMIx aims to retain transparent compatibility with the existing
  PMI-1 and PMI-2 definitions, and any future PMI releases; Support 
  the Instant On initiative for rapid startup of applications at exascale
  and beyond.
- 
+
+Package: libpmix-doc
+Section: libdevel
+Architecture: all
+Breaks: libpmix2-dev (<< 5.0.6-2)
+Replaces: libpmix2-dev (<< 5.0.6-2)
+Description: Documentation for the PMI Exascale library
+ This is the OpenMPI implementation of the Process Management Interface (PMI)
+ Exascale API. PMIx aims to retain transparent compatibility with the existing
+ PMI-1 and PMI-2 definitions, and any future PMI releases; Support
+ the Instant On initiative for rapid startup of applications at exascale
+ and beyond.
+
 Package: libpmix2t64
 Provides: ${t64:Provides}
 Replaces: libpmix2
diff --git a/debian/libpmix-dev.docs b/debian/libpmix-dev.docs
index 1bbc4d0..0b6e0f3 100644
--- a/debian/libpmix-dev.docs
+++ b/debian/libpmix-dev.docs
@@ -1,3 +1,2 @@
 AUTHORS
 README.md
-/usr/lib/*/pmix2/share/doc/pmix/html
diff --git a/debian/libpmix-doc.docs b/debian/libpmix-doc.docs
new file mode 100644
index 0000000..f258312
--- /dev/null
+++ b/debian/libpmix-doc.docs
@@ -0,0 +1 @@
+/usr/lib/*/pmix2/share/doc/pmix/html
-- 
2.47.1

-- 
debian-science-maintainers mailing list
debian-science-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers

Reply via email to