Add debian/ubuntu packages built with project-builder.org - tested with Ubuntu 18.04
Change-Id: Ibe1b549bd7a67dd481bd89b15f601ea48937c0cb
This commit is contained in:
parent
6afb87e7c6
commit
426b703707
@ -6,20 +6,20 @@
|
|||||||
#
|
#
|
||||||
# PBGRP is replaced by the group of apps
|
# PBGRP is replaced by the group of apps
|
||||||
filter:
|
filter:
|
||||||
PBDEP: python-docopt, python-tortilla, python-jinja2, python-pbr, python-docopt, python-simplejson
|
|
||||||
PBLIC: ASL 2.0
|
|
||||||
PBBDEP: python-dev, python-setuptools, python-pbr, python-tortilla, python-jinja2, python-sphinx
|
|
||||||
PBGRP: utils
|
PBGRP: utils
|
||||||
#
|
#
|
||||||
# PBLIC is replaced by the license of the application
|
# PBLIC is replaced by the license of the application
|
||||||
# Cf: http://www.debian.org/legal/licenses/
|
# Cf: http://www.debian.org/legal/licenses/
|
||||||
#
|
PBLIC: ASL 2.0
|
||||||
# PBDEP is replaced by the list of dependencies
|
|
||||||
#
|
#
|
||||||
# PBBDEP is replaced by the list of build dependencies
|
# PBBDEP is replaced by the list of build dependencies
|
||||||
#
|
PBBDEP: python (>= 2.7), dh-python, python-all, python3-all, python-setuptools, python3-setuptools, python-dev, python-sphinx, python-pbr, python3-pbr, python-future, python3-future, python-simplejson, python3-simplejson, python-tortilla, python3-tortilla, python-docopt, python3-docopt,latexmk,texlive-latex-recommended,texlive-latex-extra,texlive-fonts-recommended
|
||||||
|
PBPYBUILD: --buildsystem=pybuild
|
||||||
|
PBDEP: python-docopt, python-tortilla, python-jinja2, python-pbr, python-simplejson, python-setuptools
|
||||||
|
PBDEP3: python3-docopt, python3-tortilla, python3-jinja2, python3-pbr, python3-simplejson, python3-setuptools
|
||||||
|
|
||||||
# PBSUG is replaced by the list of suggestions
|
# PBSUG is replaced by the list of suggestions
|
||||||
#filter PBSUG =
|
# PBSUG:
|
||||||
#
|
#
|
||||||
# PBREC is replaced by the list of recommandations
|
# PBREC is replaced by the list of recommandations
|
||||||
#filter PBREC =
|
# PBREC:
|
||||||
|
37
pbconf/pbfilter/ubuntu-12.04.yml
Normal file
37
pbconf/pbfilter/ubuntu-12.04.yml
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
---
|
||||||
|
#
|
||||||
|
# $Id$
|
||||||
|
#
|
||||||
|
---
|
||||||
|
#
|
||||||
|
# $Id$
|
||||||
|
#
|
||||||
|
# Filter for ubuntu build
|
||||||
|
#
|
||||||
|
filter:
|
||||||
|
# PBDEBSTD is replaced by the Debian standard version
|
||||||
|
PBDEBSTD: 3.8.3
|
||||||
|
#
|
||||||
|
# PBDEBCOMP is replaced by the Debian Compatibility value
|
||||||
|
PBDEBCOMP: 7
|
||||||
|
|
||||||
|
# PBGRP is replaced by the group of apps
|
||||||
|
PBGRP: utils
|
||||||
|
PBPYBUILD: !!str ""
|
||||||
|
#
|
||||||
|
# PBLIC is replaced by the license of the application
|
||||||
|
# Cf: http://www.debian.org/legal/licenses/
|
||||||
|
# PBLIC: GPL
|
||||||
|
#
|
||||||
|
# PBDEP is replaced by the list of dependencies
|
||||||
|
# PBDEP:
|
||||||
|
#
|
||||||
|
# PBBDEP is replaced by the list of build dependencies
|
||||||
|
PBBDEP: python (>= 2.7), python-all, python-setuptools
|
||||||
|
PBBDEP3: python (>= 3.5), python3-all, python3-setuptools
|
||||||
|
#
|
||||||
|
# PBSUG is replaced by the list of suggestions
|
||||||
|
# PBSUG:
|
||||||
|
#
|
||||||
|
# PBREC is replaced by the list of recommandations
|
||||||
|
# PBREC:
|
@ -6,8 +6,7 @@
|
|||||||
#
|
#
|
||||||
# PBDEBSTD is replaced by the Debian standard version
|
# PBDEBSTD is replaced by the Debian standard version
|
||||||
filter:
|
filter:
|
||||||
PBDEBCOMP: 7
|
|
||||||
PBDEBSTD: 3.8.3
|
PBDEBSTD: 3.8.3
|
||||||
#
|
#
|
||||||
# PBDEBCOMP is replaced by the Debian Compatibility value
|
# PBDEBCOMP is replaced by the Debian Compatibility value
|
||||||
#
|
PBDEBCOMP: 9
|
||||||
|
@ -50,13 +50,11 @@ pbpackager:
|
|||||||
# Needs hostname, account and directory
|
# Needs hostname, account and directory
|
||||||
#
|
#
|
||||||
sshhost:
|
sshhost:
|
||||||
python-redfish: www.mondorescue.org
|
python-redfish: www.project-builder.org
|
||||||
sshlogin:
|
sshlogin:
|
||||||
python-redfish: bruno
|
python-redfish: account
|
||||||
sshdir:
|
sshdir:
|
||||||
python-redfish: /prj/ftp
|
python-redfish: /path/to/ftp
|
||||||
sshport:
|
|
||||||
python-redfish: 22
|
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
@ -102,7 +100,7 @@ vmlist:
|
|||||||
#
|
#
|
||||||
# Supported distribution for python-redfish
|
# Supported distribution for python-redfish
|
||||||
velist:
|
velist:
|
||||||
python-redfish: centos-6-x86_64,centos-7-x86_64,debian-8-x86_64,debian-9-x86_64,ubuntu-16.04-x86_64,ubuntu-17.10-x86_64,ubuntu-18.04-x86_64,ubuntu-18.10-x86_64,mageia-5-x86_64,mageia-6-x86_64,fedora-25-x86_64,fedora-26-x86_64,fedora-27-x86_64,fedora-28-x86_64,fedora-29-x86_64,opensuse-42.1-x86_64,opensuse-42.2-x86_64,opensuse-42.3-x86_64,opensuse-15.0-x86_64,opensuse-15.1-x86_64
|
python-redfish: centos-6-x86_64,centos-7-x86_64,debian-8-x86_64,debian-9-x86_64,ubuntu-12.04-x86_64,ubuntu-14.04-x86_64,ubuntu-16.04-x86_64,ubuntu-17.10-x86_64,ubuntu-18.04-x86_64,ubuntu-18.10-x86_64,mageia-5-x86_64,mageia-6-x86_64,fedora-25-x86_64,fedora-26-x86_64,fedora-27-x86_64,fedora-28-x86_64,fedora-29-x86_64,opensuse-42.1-x86_64,opensuse-42.2-x86_64,opensuse-42.3-x86_64,opensuse-15.0-x86_64,opensuse-15.1-x86_64
|
||||||
#
|
#
|
||||||
# VE params
|
# VE params
|
||||||
vetype:
|
vetype:
|
||||||
@ -141,6 +139,8 @@ addrepo:
|
|||||||
mageia-5-x86_64: ftp://ftp.project-builder.org/mageia/5/x86_64/pb.addmedia
|
mageia-5-x86_64: ftp://ftp.project-builder.org/mageia/5/x86_64/pb.addmedia
|
||||||
fedora-25-x86_64: ftp://ftp.project-builder.org/fedora/25/x86_64/pb.repo
|
fedora-25-x86_64: ftp://ftp.project-builder.org/fedora/25/x86_64/pb.repo
|
||||||
opensuse-42.2-x86_64: ftp://ftp.project-builder.org/opensuse/42.2/x86_64/pb.repo,http://download.opensuse.org/repositories/devel:languages:python3/openSUSE_Leap_42.2/devel:languages:python3.repo,http://download.opensuse.org/repositories/Virtualization:containers/openSUSE_Leap_42.2/Virtualization:containers.repo,http://download.opensuse.org/repositories/devel:languages:python/openSUSE_Leap_42.2/devel:languages:python.repo
|
opensuse-42.2-x86_64: ftp://ftp.project-builder.org/opensuse/42.2/x86_64/pb.repo,http://download.opensuse.org/repositories/devel:languages:python3/openSUSE_Leap_42.2/devel:languages:python3.repo,http://download.opensuse.org/repositories/Virtualization:containers/openSUSE_Leap_42.2/Virtualization:containers.repo,http://download.opensuse.org/repositories/devel:languages:python/openSUSE_Leap_42.2/devel:languages:python.repo
|
||||||
|
ubuntu-12.04-x86_64: ftp://ftp.project-builder.org/ubuntu/12.04/python-tortilla.sources.list
|
||||||
|
ubuntu-18.04-x86_64: ftp://ftp.project-builder.org/ubuntu/18.04/python-tortilla.sources.list
|
||||||
#
|
#
|
||||||
# Adapt to your needs:
|
# Adapt to your needs:
|
||||||
# Optional if you need to overwrite the global values above
|
# Optional if you need to overwrite the global values above
|
||||||
|
@ -3,22 +3,47 @@ Source: PBPKG
|
|||||||
Section: PBGRP
|
Section: PBGRP
|
||||||
Priority: optional
|
Priority: optional
|
||||||
Maintainer: PBPACKAGER
|
Maintainer: PBPACKAGER
|
||||||
Build-Depends: debhelper (>= 4.2.20), python-dev (>= 2.7), PBBDEP
|
Build-Depends: debhelper (>= 4.2.20), PBBDEP
|
||||||
X-Python-Version: >= 2.7
|
|
||||||
Standards-Version: PBDEBSTD
|
Standards-Version: PBDEBSTD
|
||||||
Vcs-Svn: https://review.openstack.org/p/openstack/PBPROJ.git
|
Vcs-Svn: https://review.openstack.org/p/openstack/PBPROJ.git
|
||||||
Vcs-Browser: https://review.openstack.org/p/openstack/PBPROJ.git
|
Vcs-Browser: https://review.openstack.org/p/openstack/PBPROJ.git
|
||||||
Homepage: PBURL
|
Homepage: PBURL
|
||||||
|
|
||||||
Package: PBPKG
|
Package: PBPKG
|
||||||
Architecture: amd64 i386 ia64
|
Architecture: all
|
||||||
# http://www.debian.org/doc/debian-policy/ch-archive.html#s-subsections
|
# http://www.debian.org/doc/debian-policy/ch-archive.html#s-subsections
|
||||||
Section: PBGRP
|
Section: PBGRP
|
||||||
Priority: optional
|
Priority: optional
|
||||||
Depends: ${shlibs:Depends}, ${misc:Depends}, python (>= 2.7), PBDEP
|
Depends: ${python:Depends}, PBDEP, python-redfish-data
|
||||||
|
X-Python-Version: >= 2.7
|
||||||
Recommends: PBREC
|
Recommends: PBREC
|
||||||
Suggests: PBSUG
|
Suggests: PBSUG
|
||||||
Description: PBSUMMARY
|
Description: PBSUMMARY
|
||||||
PBDESC
|
PBDESC
|
||||||
|
python2 version
|
||||||
|
.
|
||||||
|
|
||||||
|
Package: python3-redfish
|
||||||
|
Architecture: all
|
||||||
|
# http://www.debian.org/doc/debian-policy/ch-archive.html#s-subsections
|
||||||
|
Section: PBGRP
|
||||||
|
Priority: optional
|
||||||
|
Depends: ${python3:Depends}, PBDEP3, python-redfish-data
|
||||||
|
X-Python3-Version: >= 3.5
|
||||||
|
Recommends: PBREC
|
||||||
|
Suggests: PBSUG
|
||||||
|
Description: PBSUMMARY
|
||||||
|
PBDESC
|
||||||
|
python3 version
|
||||||
|
.
|
||||||
|
|
||||||
|
Package: python-redfish-data
|
||||||
|
Architecture: all
|
||||||
|
# http://www.debian.org/doc/debian-policy/ch-archive.html#s-subsections
|
||||||
|
Section: PBGRP
|
||||||
|
Priority: optional
|
||||||
|
Description: PBSUMMARY
|
||||||
|
PBDESC
|
||||||
|
Data for PBPKG
|
||||||
.
|
.
|
||||||
|
|
||||||
|
7
pbconf/python-redfish/deb/python-redfish-data.dirs
Normal file
7
pbconf/python-redfish/deb/python-redfish-data.dirs
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
etc/
|
||||||
|
etc/bash_completion.d/
|
||||||
|
usr/share/redfish-client/
|
||||||
|
usr/share/redfish-client/templateas/
|
||||||
|
usr/share/doc/redfish-client/
|
||||||
|
usr/share/doc/redfish-client/manual/
|
||||||
|
usr/share/doc/redfish-client/manual/html
|
7
pbconf/python-redfish/deb/python-redfish-data.install
Normal file
7
pbconf/python-redfish/deb/python-redfish-data.install
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
redfish-client/templates/* usr/share/python-redfish/templates/
|
||||||
|
redfish-client/*.txt usr/share/python-redfish/
|
||||||
|
redfish-client/etc/redfish-client.conf etc/
|
||||||
|
./redfish-client/etc/bash_completion.d/redfish-client.bash etc/bash_completion.d/
|
||||||
|
doc/build/singlehtml/_static/* usr/share/doc/python-redfish/manual/html/_static/
|
||||||
|
doc/build/singlehtml/* usr/share/doc/python-redfish/manual/html/
|
||||||
|
doc/build/latex/*.pdf usr/share/doc/python-redfish/manual/
|
@ -1,11 +1,12 @@
|
|||||||
#!/usr/bin/make -f
|
#!/usr/bin/make -f
|
||||||
|
|
||||||
export PYBUILD_NAME=PBPKG
|
export PYBUILD_NAME=redfish
|
||||||
export PYBUILD_AFTER_INSTALL_python3=rm -rf {destdir}/usr/bin
|
export DH_VERBOSE=1
|
||||||
|
#export PYBUILD_DISABLE=install
|
||||||
|
|
||||||
%:
|
%:
|
||||||
dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild
|
dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild
|
||||||
#dh $@ --with python2,python3 --buildsystem=python_distutils
|
cd doc ; make man ; make singlehtml ; make latexpdf
|
||||||
|
|
||||||
PYPI_DESC = PBSUMMARY
|
PYPI_DESC = PBSUMMARY
|
||||||
DEB_UPSTREAM_VERSION=$(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^-]+).*,\1,p')
|
DEB_UPSTREAM_VERSION=$(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^-]+).*,\1,p')
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
PYTHON-REDFISH CHANGES
|
PYTHON-REDFISH CHANGES
|
||||||
|
|
||||||
v0.5 (2050-01-01)
|
v0.4.2 (2050-01-01)
|
||||||
- TBD ()
|
- TBD ()
|
||||||
|
|
||||||
v0.4.1 (2017-03-08)
|
v0.4.1 (2017-03-08)
|
||||||
|
Loading…
Reference in New Issue
Block a user