Add bindep + Remove setting of version/release from releasenotes

Some packages were removed from the fallback bindep, add our own.

Release notes are version independent, so remove version/release
values. We've found that projects now require the service package
to be installed in order to build release notes, and this is entirely
due to the current convention of pulling in the version information.

Release notes should not need installation in order to build, so this
unnecessary version setting needs to be removed.

Unset  html_static_path to fix building.

This is needed for new release notes publishing, see
I56909152975f731a9d2c21b2825b972195e48ee8 and the discussion starting
at
http://lists.openstack.org/pipermail/openstack-dev/2017-November/124480.html

Co-Authored-By: Andreas Jaeger <aj@suse.com>
Change-Id: Iadccf82775b311ace8f09e203c38a8946a1e5843
This commit is contained in:
Julien Danjou 2017-11-23 10:01:35 +01:00
parent 92e25f55db
commit 560cc47a95
2 changed files with 14 additions and 9 deletions

9
bindep.txt Normal file
View File

@ -0,0 +1,9 @@
mongodb [test platform:dpkg]
mongodb-server [test platform:rpm !platform:opensuseproject]
dev-db/mongodb [test platform:gentoo]
mysql-server [test platform:dpkg]
postgresql [test]
postgresql-client [test platform:dpkg]
postgresql-devel [test platform:rpm]
postgresql-server [test platform:rpm]
libpq-dev [test platform:dpkg]

View File

@ -58,16 +58,12 @@ bug_tag = ''
project = u'Panko Release Notes'
copyright = u'2015, Panko Developers'
# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
# built documents.
#
# The short X.Y version.
from panko.version import version_info as panko_version
# Release notes do not need a version number in the title, they
# cover multiple releases.
# The full version, including alpha/beta/rc tags.
release = panko_version.version_string_with_vcs()
release = ''
# The short X.Y version.
version = panko_version.canonical_version_string()
version = ''
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
@ -141,7 +137,7 @@ html_theme = 'openstackdocs'
# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ['_static']
# html_static_path = ['_static']
# Add any extra paths that contain custom files (such as robots.txt or
# .htaccess) here, relative to this directory. These files are copied