summaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog101
-rw-r--r--debian/control27
-rw-r--r--debian/copyright60
-rw-r--r--debian/forkme_right_darkblue_121621.pngbin0 -> 7791 bytes
-rw-r--r--debian/gbp.conf11
-rw-r--r--debian/patches/0001-Ensure-deterministic-dict-ordering.patch25
-rw-r--r--debian/patches/0002-Remove-external-reference-to-github.blog.patch22
-rw-r--r--debian/patches/series2
-rw-r--r--debian/python3-alabaster.install1
-rw-r--r--debian/python3-alabaster.lintian-overrides8
-rwxr-xr-xdebian/rules8
-rw-r--r--debian/source/format2
-rw-r--r--debian/source/include-binaries1
-rw-r--r--debian/upstream/metadata5
-rw-r--r--debian/watch3
15 files changed, 276 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..e2211ed
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,101 @@
+alabaster (0.7.16-0.1) unstable; urgency=medium
+
+ * Non-maintainer upload.
+
+ [ Debian Janitor ]
+ * Update lintian override info format in d/python3-alabaster.lintian-
+ overrides on line 4-8.
+ * Use secure copyright file specification URI.
+ * Bump debhelper from old 12 to 13.
+ * Set debhelper-compat version in Build-Depends.
+ * Set upstream metadata fields: Bug-Database, Bug-Submit, Repository-
+ Browse.
+ * Update standards version to 4.6.2, no changes needed.
+ * Set upstream metadata fields: Repository.
+
+ [ Dmitry Shachnev ]
+ * New upstream version 0.7.16. (Closes: #1069759)
+ * Stop validating tarball signatures, PyPI no longer supports them.
+ * Build-depend on flit and pybuild-plugin-pyproject instead of
+ setuptools.
+ * Update GitHub links for the new repository owner (sphinx-doc).
+ * Bump year in debian/copyright and use a wildcard for all files.
+ * Update 0002 patch for upstream switch to github.blog.
+ * Update debian/python3-alabaster.lintian-overrides for pointed hints.
+ * Fix spelling-error-in-patch-description warning about 0001 patch.
+
+ -- Dmitry Shachnev <mitya57@debian.org> Sat, 25 May 2024 21:17:17 +0300
+
+alabaster (0.7.12-1) unstable; urgency=medium
+
+ * Make the output reproducible.
+ Thanks to Chris Lamb <lamby@debian.org> (Closes: 839633)
+ * New upstream version 0.7.12 (Closes: 896923)
+ * Add externally referenced image (Closes: 869693)
+ * Update lintian overrides (Closes: 896114)
+
+ -- Jeremy T. Bouse <jbouse@debian.org> Sun, 13 Jun 2021 16:25:40 -0400
+
+alabaster (0.7.8-1.1) unstable; urgency=medium
+
+ * Non-maintainer upload.
+ * Drop python2 support; Closes: #936114
+
+ -- Sandro Tosi <morph@debian.org> Fri, 27 Mar 2020 23:22:09 -0400
+
+alabaster (0.7.8-1) unstable; urgency=medium
+
+ * Imported Upstream version 0.7.8
+ * Update Standards-Version (no changes needed)
+ * Update Priority to match override
+ * Update debian/copyright file references
+
+ -- Jeremy T. Bouse <jbouse@debian.org> Sat, 11 Jun 2016 23:18:07 -0400
+
+alabaster (0.7.7-1) unstable; urgency=medium
+
+ * Imported Upstream version 0.7.7
+ * Update debian/copyright for setup.cfg
+ * Update debian/watch to use pypi.debian.net
+
+ -- Jeremy T. Bouse <jbouse@debian.org> Thu, 03 Mar 2016 09:58:46 -0500
+
+alabaster (0.7.6-2) unstable; urgency=medium
+
+ [ Dmitry Shachnev ]
+ * Demote sphinx from Depends to Suggests. (Closes: #783794)
+ * Set priority to optional.
+
+ [ Jeremy T. Bouse ]
+ * Upgrade Standards-Version to 3.9.7 no changes needed
+
+ -- Jeremy T. Bouse <jbouse@debian.org> Wed, 02 Mar 2016 19:18:51 -0500
+
+alabaster (0.7.6-1) unstable; urgency=medium
+
+ * Imported Upstream version 0.7.6
+ * Update debian/copyright
+
+ -- Jeremy T. Bouse <jbouse@debian.org> Wed, 08 Jul 2015 10:26:20 -0400
+
+alabaster (0.7.3-1) unstable; urgency=medium
+
+ * Imported Upstream version 0.7.3
+
+ -- Jeremy T. Bouse <jbouse@debian.org> Sun, 22 Mar 2015 23:54:17 -0400
+
+alabaster (0.7.2-1) unstable; urgency=medium
+
+ * Imported Upstream version 0.7.2 (Closes: #780345)
+ * Update Standards-Version (no changes needed)
+ * README.md renamed to README.rst upstream
+
+ -- Jeremy T. Bouse <jbouse@debian.org> Thu, 12 Mar 2015 22:22:27 -0400
+
+alabaster (0.6.1-1) unstable; urgency=medium
+
+ * Imported Upstream version 0.6.1
+ * Initial release
+ * Add lintian overrides for layout template file
+
+ -- Jeremy T. Bouse <jbouse@debian.org> Mon, 22 Sep 2014 14:38:33 -0400
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..e9c603f
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,27 @@
+Source: alabaster
+Section: python
+Priority: optional
+Maintainer: Jeremy T. Bouse <jbouse@debian.org>
+Build-Depends: debhelper-compat (= 13),
+ dh-python,
+ flit (>= 3.7),
+ pybuild-plugin-pyproject,
+ python3-all
+Standards-Version: 4.6.2
+Homepage: https://github.com/sphinx-doc/alabaster
+Vcs-Git: https://github.com/jbouse-debian/alabaster.git
+Vcs-Browser: https://github.com/jbouse-debian/alabaster
+
+Package: python3-alabaster
+Architecture: all
+Depends: ${misc:Depends},
+ ${python3:Depends},
+ ${shlibs:Depends}
+Suggests: python3-sphinx
+Provides: ${python3:Provides}
+Description: Configurable sidebar-enabled Sphinx theme (Python 3)
+ This theme is a modified "Kr" Sphinx theme from @kennethreitz (especially
+ as used in his Requests project), which was itself originally based on
+ @mitsuhiko's theme used for Flask & related projects.
+ .
+ This is the Python 3 version of the package.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..5903cbb
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,60 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: alabaster
+Source: https://github.com/sphinx-doc/alabaster
+#####
+# This is a autogenerated template for debian/copyright.
+#
+# Edit this accordinng to the "Machine-readable debian/copyright file" as
+# http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ .
+#
+# Generate updated license templates with the "debmake -cc" to STDOUT
+# and merge them into debian/copyright as needed.
+#
+# Please avoid to pick license terms that are more restrictive than the
+# packaged work, as it may make Debian's contributions unacceptable upstream.
+
+Files: *
+Copyright: 2020, Jeff Forcier <jeff@bitprophet.org>
+License: BSD-3-clause
+ Copyright (c) 2020 Jeff Forcier.
+ .
+ Based on original work copyright (c) 2011 Kenneth Reitz and copyright (c) 2010
+ Armin Ronacher.
+ .
+ Some rights reserved.
+ .
+ Redistribution and use in source and binary forms of the theme, with or
+ without modification, are permitted provided that the following conditions
+ are met:
+ .
+ * Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ .
+ * Redistributions in binary form must reproduce the above
+ copyright notice, this list of conditions and the following
+ disclaimer in the documentation and/or other materials provided
+ with the distribution.
+ .
+ * The names of the contributors may not be used to endorse or
+ promote products derived from this software without specific
+ prior written permission.
+ .
+ THIS THEME IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ ARISING IN ANY WAY OUT OF THE USE OF THIS THEME, EVEN IF ADVISED OF THE
+ POSSIBILITY OF SUCH DAMAGE.
+
+Files: debian/*
+Copyright: 2014-2021, Jeremy T. Bouse <jbouse@debian.org>
+License: permissive
+ Copying and distribution of this package, with or without
+ modification, are permitted in any medium without royalty
+ provided the copyright notice and this notice are
+ preserved.
diff --git a/debian/forkme_right_darkblue_121621.png b/debian/forkme_right_darkblue_121621.png
new file mode 100644
index 0000000..146ef8a
--- /dev/null
+++ b/debian/forkme_right_darkblue_121621.png
Binary files differ
diff --git a/debian/gbp.conf b/debian/gbp.conf
new file mode 100644
index 0000000..a3c09ef
--- /dev/null
+++ b/debian/gbp.conf
@@ -0,0 +1,11 @@
+[DEFAULT]
+pristine-tar = True
+upstream-signatures = auto
+
+[buildpackage]
+sign-tags = True
+postbuild = lintian -I $GBP_CHANGES_FILE && echo "Lintian OK"
+
+[dch]
+meta = True
+git-author = True
diff --git a/debian/patches/0001-Ensure-deterministic-dict-ordering.patch b/debian/patches/0001-Ensure-deterministic-dict-ordering.patch
new file mode 100644
index 0000000..ce00222
--- /dev/null
+++ b/debian/patches/0001-Ensure-deterministic-dict-ordering.patch
@@ -0,0 +1,25 @@
+From: "Jeremy T. Bouse" <jbouse@debian.org>
+Date: Sun, 13 Jun 2021 14:17:07 -0400
+Subject: Ensure deterministic dict ordering to ensure builds are
+ reproducible.
+
+See https://reproducible-builds.org/
+
+Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
+---
+ alabaster/navigation.html | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/alabaster/navigation.html b/alabaster/navigation.html
+index 760dcc9..f854061 100644
+--- a/alabaster/navigation.html
++++ b/alabaster/navigation.html
+@@ -3,7 +3,7 @@
+ {% if theme_extra_nav_links %}
+ <hr />
+ <ul>
+- {% for text, uri in theme_extra_nav_links.items() %}
++ {% for text, uri in theme_extra_nav_links.items()|sort %}
+ <li class="toctree-l1"><a href="{{ uri }}">{{ text }}</a></li>
+ {% endfor %}
+ </ul>
diff --git a/debian/patches/0002-Remove-external-reference-to-github.blog.patch b/debian/patches/0002-Remove-external-reference-to-github.blog.patch
new file mode 100644
index 0000000..cf68937
--- /dev/null
+++ b/debian/patches/0002-Remove-external-reference-to-github.blog.patch
@@ -0,0 +1,22 @@
+From: "Jeremy T. Bouse" <jbouse@debian.org>
+Date: Sun, 13 Jun 2021 15:08:28 -0400
+Subject: Remove external reference to github.blog
+
+Forwarded: not-needed
+---
+ alabaster/layout.html | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/alabaster/layout.html b/alabaster/layout.html
+index a7ca710..65d35c3 100644
+--- a/alabaster/layout.html
++++ b/alabaster/layout.html
+@@ -102,7 +102,7 @@
+
+ {% if theme_github_banner|lower != 'false' %}
+ <a href="https://github.com/{{ theme_github_user }}/{{ theme_github_repo }}" class="github">
+- <img style="position: absolute; top: 0; right: 0; border: 0;" src="{{ pathto('_static/' ~ theme_github_banner, 1) if theme_github_banner|lower != 'true' else 'https://github.blog/wp-content/uploads/2008/12/forkme_right_darkblue_121621.png' }}" alt="Fork me on GitHub" class="github"/>
++ <img style="position: absolute; top: 0; right: 0; border: 0;" src="{{ pathto('_static/' ~ theme_github_banner, 1) if theme_github_banner|lower != 'true' else pathto('_static/forkme_right_darkblue_121621.png', 1) }}" alt="Fork me on GitHub" class="github"/>
+ </a>
+ {% endif %}
+
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..3158e5f
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,2 @@
+0001-Ensure-deterministic-dict-ordering.patch
+0002-Remove-external-reference-to-github.blog.patch
diff --git a/debian/python3-alabaster.install b/debian/python3-alabaster.install
new file mode 100644
index 0000000..2ce68d9
--- /dev/null
+++ b/debian/python3-alabaster.install
@@ -0,0 +1 @@
+debian/forkme_right_darkblue_121621.png /usr/lib/python3/dist-packages/alabaster/static/
diff --git a/debian/python3-alabaster.lintian-overrides b/debian/python3-alabaster.lintian-overrides
new file mode 100644
index 0000000..4a13ed6
--- /dev/null
+++ b/debian/python3-alabaster.lintian-overrides
@@ -0,0 +1,8 @@
+privacy-breach-google-adsense (choke on: '.google-analytics.com/ga.js') [usr/lib/python3/dist-packages/alabaster/layout.html]
+privacy-breach-generic * [usr/lib/python3/dist-packages/alabaster/about.html]
+privacy-breach-generic * [usr/lib/python3/dist-packages/alabaster/donate.html]
+package-contains-documentation-outside-usr-share-doc [usr/lib/python3/dist-packages/alabaster/about.html]
+package-contains-documentation-outside-usr-share-doc [usr/lib/python3/dist-packages/alabaster/donate.html]
+package-contains-documentation-outside-usr-share-doc [usr/lib/python3/dist-packages/alabaster/layout.html]
+package-contains-documentation-outside-usr-share-doc [usr/lib/python3/dist-packages/alabaster/navigation.html]
+package-contains-documentation-outside-usr-share-doc [usr/lib/python3/dist-packages/alabaster/relations.html]
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..0e9abe1
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,8 @@
+#!/usr/bin/make -f
+#DH_VERBOSE = 1
+
+export PYBUILD_NAME=alabaster
+
+# main packaging script based on dh7 syntax
+%:
+ dh $@ --with python3 --buildsystem=pybuild
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..c3d9f24
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1,2 @@
+3.0 (quilt)
+
diff --git a/debian/source/include-binaries b/debian/source/include-binaries
new file mode 100644
index 0000000..16bdb15
--- /dev/null
+++ b/debian/source/include-binaries
@@ -0,0 +1 @@
+debian/forkme_right_darkblue_121621.png
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..a48660b
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,5 @@
+---
+Bug-Database: https://github.com/sphinx-doc/alabaster/issues
+Bug-Submit: https://github.com/sphinx-doc/alabaster/issues/new
+Repository: https://github.com/sphinx-doc/alabaster.git
+Repository-Browse: https://github.com/sphinx-doc/alabaster
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..9abe1f5
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=4
+opts="uversionmangle=s/(rc|a|b|c)/~$1/" \
+https://pypi.debian.net/alabaster/alabaster-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))