Commit c8021ee1 authored by Nicolas Dandrimont's avatar Nicolas Dandrimont

Initial Debian packaging

parent 4b53ca0c
python-pyramid-chameleon (0.3-1) UNRELEASED; urgency=medium
* Initial release (Closes: #785048).
- Also package Python 2 version as it is an enhancement to python-pyramid.
-- Nicolas Dandrimont <olasd@debian.org> Tue, 24 Apr 2018 16:37:46 +0200
Source: python-pyramid-chameleon
Maintainer: Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>
Uploaders: Nicolas Dandrimont <olasd@debian.org>
Section: python
Priority: optional
Build-Depends: debhelper (>= 11~),
dh-python (>= 3~),
python-all,
python3-all,
python-pyramid,
python3-pyramid,
python-chameleon,
python3-chameleon,
python3-sphinx,
python3-repoze.sphinx.autointerface,
python-nose,
python3-nose
Standards-Version: 4.1.4
Homepage: https://docs.pylonsproject.org/projects/pyramid_chameleon/en/latest/
Vcs-Git: https://salsa.debian.org/python-team/modules/python-pyramid-chameleon
Vcs-Browser: https://salsa.debian.org/python-team/modules/python-pyramid-chameleon
Package: python-pyramid-chameleon
Architecture: all
Depends: ${misc:Depends}, ${python:Depends}
Suggests: python-pyramid-chameleon-docs
Enhances: python-pyramid
Description: Chameleon templating support for the Pyramid framework - Python 2.x version
Pyramid is a small, fast, down-to-earth, open source Python web development
framework. It makes real-world web application development and deployment
more fun, more predictable, and more productive.
.
Chameleon is an XML-based template compiler implementing the Zope Page
Templates (ZPT) language.
.
This package provides bindings for the Chameleon templating system to work
under the Pyramid web framework, in its Python 2 version.
Package: python3-pyramid-chameleon
Architecture: all
Depends: ${misc:Depends}, ${python3:Depends}
Suggests: python-pyramid-chameleon-docs
Enhances: python3-pyramid
Description: Chameleon templating support for the Pyramid framework - Python 3.x version
Pyramid is a small, fast, down-to-earth, open source Python web development
framework. It makes real-world web application development and deployment
more fun, more predictable, and more productive.
.
Chameleon is an XML-based template compiler implementing the Zope Page
Templates (ZPT) language.
.
This package provides bindings for the Chameleon templating system to work
under the Pyramid web framework, in its Python 3 version.
Package: python-pyramid-chameleon-doc
Architecture: all
Depends: ${misc:Depends}, ${sphinxdoc:Depends}
Section: doc
Description: Chameleon templating support for the Pyramid framework - Documentation
Pyramid is a small, fast, down-to-earth, open source Python web development
framework. It makes real-world web application development and deployment
more fun, more predictable, and more productive.
.
Chameleon is an XML-based template compiler implementing the Zope Page
Templates (ZPT) language.
.
This package provides the documentation for the Pyramid bindings for Chameleon.
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: pyramid_chameleon
Source: https://github.com/Pylons/pyramid_chameleon/
Files: *
Copyright: Chris McDonough, 2010/11/08
Tres Seaver, 2010/11/09
Blaise Laflamme, 2010/11/14
Reed O'Brien, 2012/03/12
Bert JW Regeer, 2013-09-06
Charlie Clark, 2016-02-01
Jeremy Davis, 2016-02-01
Steve Piercy, 2016-02-02
Comment: data from CONTRIBUTORS.txt
License: Pyramid
Files: debian/*
Copyright: 2018 Nicolas Dandrimont <olasd@debian.org>
License: Expat
License: Pyramid
A copyright notice accompanies this license document that identifies
the copyright holders.
.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
.
1. Redistributions in source code must retain the accompanying
copyright notice, this list of conditions, and the following
disclaimer.
.
2. Redistributions in binary form must reproduce the accompanying
copyright notice, this list of conditions, and the following
disclaimer in the documentation and/or other materials provided
with the distribution.
.
3. Names of the copyright holders must not be used to endorse or
promote products derived from this software without prior
written permission from the copyright holders.
.
4. If any files are modified, you must cause the modified files to
carry prominent notices stating that you changed the files and
the date of any change.
.
Disclaimer
.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND
ANY EXPRESSED 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
HOLDERS 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 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
SUCH DAMAGE.
License: Expat
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
.
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
[DEFAULT]
debian-branch=debian/master
From: Nicolas Dandrimont <nicolas@dandrimont.eu>
Date: Tue, 24 Apr 2018 16:55:16 +0200
Subject: Don't use upstream sphinx documentation theme
---
docs/conf.py | 14 +++-----------
1 file changed, 3 insertions(+), 11 deletions(-)
diff --git a/docs/conf.py b/docs/conf.py
index f0a0120..d0ecae7 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -26,7 +26,7 @@ from docutils import nodes
from docutils import utils
# Add and use Pylons theme
-if 'sphinx-build' in ' '.join(sys.argv): # protect against dumb importers
+if 'sphinx-build' in ' '.join(sys.argv) and False: # protect against dumb importers
from subprocess import call, Popen, PIPE
p = Popen('which git', shell=True, stdout=PIPE)
@@ -130,16 +130,8 @@ exclude_patterns = ['_themes/README.rst',]
# Options for HTML output
# -----------------------
-# Add and use Pylons theme
-sys.path.append(os.path.abspath('_themes'))
-html_theme_path = ['_themes']
-html_theme = 'pyramid'
-
-
-html_theme_options = {
- 'github_url': 'https://github.com/Pylons/pyramid_chameleon'
-}
-
+# Don't add and use Pylons theme
+html_theme = 'alabaster'
# The style sheet to use for HTML and HTML Help pages. A file of that name
# must exist either in Sphinx' static/ path, or in one of the custom paths
0001-Don-t-use-upstream-sphinx-documentation-theme.patch
#!/usr/bin/make -f
%:
dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild
override_dh_auto_clean:
rm -rf docs/_build
dh_auto_clean
override_dh_auto_build:
dh_auto_build
ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS)))
PYTHONPATH=$(CURDIR) $(MAKE) -C docs html
endif
version=3
opts=uversionmangle=s/(rc|a|b|c)/~$1/ \
https://pypi.debian.net/pyramid_chameleon/pyramid_chameleon-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))
......@@ -26,7 +26,7 @@ from docutils import nodes
from docutils import utils
# Add and use Pylons theme
if 'sphinx-build' in ' '.join(sys.argv): # protect against dumb importers
if 'sphinx-build' in ' '.join(sys.argv) and False: # protect against dumb importers
from subprocess import call, Popen, PIPE
p = Popen('which git', shell=True, stdout=PIPE)
......@@ -130,16 +130,8 @@ exclude_patterns = ['_themes/README.rst',]
# Options for HTML output
# -----------------------
# Add and use Pylons theme
sys.path.append(os.path.abspath('_themes'))
html_theme_path = ['_themes']
html_theme = 'pyramid'
html_theme_options = {
'github_url': 'https://github.com/Pylons/pyramid_chameleon'
}
# Don't add and use Pylons theme
html_theme = 'alabaster'
# The style sheet to use for HTML and HTML Help pages. A file of that name
# must exist either in Sphinx' static/ path, or in one of the custom paths
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment