Package: python-cookiecutter
Version: 1.5.0-1
Followup-For: Bug #853038
Control: tags -1 + patch

The attached patch series adds the dependencies I proposed.

It also adds a dependency *from* the documentation package, to suggest
any of the code packages.

These patches apply against current ‘master’ (commit 59d2ad00334be027).

-- 
 \        “Intellectual property is to the 21st century what the slave |
  `\                              trade was to the 16th.” —David Mertz |
_o__)                                                                  |
Ben Finney <bign...@debian.org>
From ce94229353c79eec90bd9a8137fb83a395b2ad24 Mon Sep 17 00:00:00 2001
From: Ben Finney <bign...@debian.org>
Date: Sat, 5 Aug 2017 16:59:44 +1000
Subject: [PATCH 1/4] =?UTF-8?q?Add=20=E2=80=9CSuggests:=20python-cookiecut?=
 =?UTF-8?q?ter-doc=E2=80=9D=20to=20library=20packages.?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 debian/control | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/debian/control b/debian/control
index d8627ff6..3e1f7fed 100644
--- a/debian/control
+++ b/debian/control
@@ -43,6 +43,7 @@ Description: create projects from project templates
 Package: python-cookiecutter
 Architecture: all
 Depends: ${python:Depends}, ${misc:Depends}, python-ruamel.yaml (>= 0.10.12)
+Suggests: python-cookiecutter-doc
 Description: create projects from project templates (Python 2 module)
  Cookiecutter is command-line utility that creates projects from
  project templates, e.g. creating a Python package project from a
@@ -58,6 +59,7 @@ Description: create projects from project templates (Python 2 module)
 Package: python3-cookiecutter
 Architecture: all
 Depends: ${python3:Depends}, ${misc:Depends}, python3-ruamel.yaml (>= 0.10.12)
+Suggests: python-cookiecutter-doc
 Description: create projects from project templates (Python 3 module)
  Cookiecutter is command-line utility that creates projects from
  project templates, e.g. creating a Python package project from a
-- 
2.13.2

From 7a1c9c6c20689d432d4cec0ad96d8d40e0e9ca4d Mon Sep 17 00:00:00 2001
From: Ben Finney <bign...@debian.org>
Date: Sat, 5 Aug 2017 17:03:51 +1000
Subject: [PATCH 2/4] =?UTF-8?q?Add=20=E2=80=9CSuggests:=20python-cookiecut?=
 =?UTF-8?q?ter-doc=E2=80=9D=20to=20program=20package.?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 debian/control | 1 +
 1 file changed, 1 insertion(+)

diff --git a/debian/control b/debian/control
index 3e1f7fed..1046c1ab 100644
--- a/debian/control
+++ b/debian/control
@@ -30,6 +30,7 @@ Section: devel
 Architecture: all
 Depends: ${python:Depends}, ${misc:Depends},
          python-cookiecutter (= ${binary:Version})
+Suggests: python-cookiecutter-doc
 Description: create projects from project templates
  Cookiecutter is command-line utility that creates projects from
  project templates, e.g. creating a Python package project from a
-- 
2.13.2

From 3604ec9ecfcd8a1ee0eec6066730a6e5b5602eda Mon Sep 17 00:00:00 2001
From: Ben Finney <bign...@debian.org>
Date: Sat, 5 Aug 2017 17:06:39 +1000
Subject: [PATCH 3/4] Document the change that closes a Debian bug report.

---
 debian/changelog | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index abc336f4..a02c93b3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+cookiecutter (1.5.0-2) unstable; urgency=medium
+
+  [ Ben Finney ]
+
+  * Add “Suggests: python-cookiecutter-doc” dependency.
+    Closes: bug#85338.
+
+ --
+
 cookiecutter (1.5.0-1) unstable; urgency=medium
 
   * New upstream release.
-- 
2.13.2

From 9785dfedcbd4343e69beaf6960d7cc243cc1ffff Mon Sep 17 00:00:00 2001
From: Ben Finney <bign...@debian.org>
Date: Sat, 5 Aug 2017 17:04:23 +1000
Subject: [PATCH 4/4] =?UTF-8?q?Add=20=E2=80=9CSuggests=E2=80=9D=20to=20the?=
 =?UTF-8?q?=20documentation=20package=20for=20any=20of=20the=20code=20pack?=
 =?UTF-8?q?ages.?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 debian/changelog | 2 ++
 debian/control   | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index a02c93b3..8a229119 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,8 @@ cookiecutter (1.5.0-2) unstable; urgency=medium
 
   * Add “Suggests: python-cookiecutter-doc” dependency.
     Closes: bug#85338.
+  * Add “Suggests” to the documentation package for any of the code
+    packages.
 
  --
 
diff --git a/debian/control b/debian/control
index 1046c1ab..16bdd386 100644
--- a/debian/control
+++ b/debian/control
@@ -77,6 +77,8 @@ Package: python-cookiecutter-doc
 Section: doc
 Architecture: all
 Depends: ${sphinxdoc:Depends}, ${misc:Depends}
+Suggests:
+    cookiecutter | python3-cookiecutter | python-cookiecutter
 Description: create projects from project templates (documentation)
  Cookiecutter is command-line utility that creates projects from
  project templates, e.g. creating a Python package project from a
-- 
2.13.2

Attachment: signature.asc
Description: PGP signature

Reply via email to