Improved build for deb
- Add dependencies for deb build (NOTE: the mandatory python-tortilla package doesn't exist in Ubuntu or Debian for now) - reduce setup.cfg in deliveries and fix OpenSTack related content
This commit is contained in:
parent
a9d349e68b
commit
2bfff304ed
@ -14,7 +14,7 @@ filter PBLIC = ASL 2.0
|
||||
filter PBDEP = python-docopt, python-tortilla, python-jinja2
|
||||
|
||||
# PBBDEP is replaced by the list of build dependencies
|
||||
filter PBBDEP = python-dev, python-setuptools, python-pbr
|
||||
filter PBBDEP = python-dev, python-setuptools, python-pbr, python-tortilla, python-jinja2, python-sphinx
|
||||
|
||||
# PBSUG is replaced by the list of suggestions
|
||||
#filter PBSUG =
|
||||
|
@ -14,7 +14,7 @@ filter PBLIC = ASL 2.0
|
||||
#filter PBDEP =
|
||||
|
||||
# PBBDEP is replaced by the list of build dependencies
|
||||
filter PBBDEP = python-devel, python-setuptools
|
||||
filter PBBDEP = python-devel, python-setuptools, python-pbr, python-sphinx
|
||||
filter PBDEP = python-docopt, python-tortilla, python-jinja2
|
||||
|
||||
# PBSUF is replaced by the package suffix ($pb->{'suf'} in code)
|
||||
|
@ -4,6 +4,7 @@ Section: PBGRP
|
||||
Priority: optional
|
||||
Maintainer: PBPACKAGER
|
||||
Build-Depends: debhelper (>= 4.2.20), python-dev (>= 2.7), PBBDEP
|
||||
X-Python-Version: >= 2.7
|
||||
Standards-Version: PBDEBSTD
|
||||
Vcs-Svn: https://github.com/bcornec/PBPROJ
|
||||
Vcs-Browser: https://github.com/bcornec/PBPROJ
|
||||
|
@ -5,12 +5,9 @@ export PYBUILD_AFTER_INSTALL_python3=rm -rf {destdir}/usr/bin
|
||||
|
||||
%:
|
||||
dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild
|
||||
#dh $@ --with python2,python3 --buildsystem=python_distutils
|
||||
|
||||
PYPI_DESC = PBSUMMARY
|
||||
DEB_UPSTREAM_VERSION=$(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^-]+).*,\1,p')
|
||||
help2man = PYTHONPATH=${CURDIR} help2man -N --version-string=${DEB_UPSTREAM_VERSION} \
|
||||
-o $1 -n '$2' $(CURDIR)/debian/PBPKG/usr/bin/$(subst .1,,$1)
|
||||
|
||||
clean:
|
||||
#rm -f redfish-client.1
|
||||
dh $@ --buildsystem=pybuild
|
||||
|
28
setup.cfg
28
setup.cfg
@ -4,10 +4,10 @@ summary = Reference implementation of Redfish standard client.
|
||||
description-file =
|
||||
README.rst
|
||||
author = Redfish dev team
|
||||
author-email = python-redfish@lists.mondorescue.org
|
||||
home-page = http://www.openstack.org/
|
||||
author-email = python-redfish@mondorescue.org
|
||||
home-page = http://github.com/bcornec/python-redfish
|
||||
classifier =
|
||||
Environment :: OpenStack
|
||||
#Environment :: OpenStack
|
||||
Intended Audience :: Information Technology
|
||||
Intended Audience :: System Administrators
|
||||
License :: OSI Approved :: Apache Software License
|
||||
@ -32,16 +32,16 @@ all_files = 1
|
||||
[upload_sphinx]
|
||||
upload-dir = doc/build/html
|
||||
|
||||
[compile_catalog]
|
||||
directory = redfish/locale
|
||||
domain = python-redfish
|
||||
#[compile_catalog]
|
||||
#directory = redfish/locale
|
||||
#domain = python-redfish
|
||||
|
||||
[update_catalog]
|
||||
domain = python-redfish
|
||||
output_dir = redfish/locale
|
||||
input_file = redfish/locale/python-redfish.pot
|
||||
#[update_catalog]
|
||||
#domain = python-redfish
|
||||
#output_dir = redfish/locale
|
||||
#input_file = redfish/locale/python-redfish.pot
|
||||
|
||||
[extract_messages]
|
||||
keywords = _ gettext ngettext l_ lazy_gettext
|
||||
mapping_file = babel.cfg
|
||||
output_file = redfish/locale/python-redfish.pot
|
||||
#[extract_messages]
|
||||
#keywords = _ gettext ngettext l_ lazy_gettext
|
||||
#mapping_file = babel.cfg
|
||||
#output_file = redfish/locale/python-redfish.pot
|
||||
|
Loading…
Reference in New Issue
Block a user