Added initial debian folder.

This commit is contained in:
Thomas Goirand
2014-02-09 15:08:21 +08:00
parent 75f11cecb6
commit 1c16c2d3d3
9 changed files with 92 additions and 0 deletions

5
debian/changelog vendored Normal file
View File

@@ -0,0 +1,5 @@
python-pyvmomi (5.5.0-1) unstable; urgency=low
* Initial release. (Closes: #738325)
-- Thomas Goirand <zigo@debian.org> Sun, 09 Feb 2014 14:56:33 +0800

1
debian/compat vendored Normal file
View File

@@ -0,0 +1 @@
9

22
debian/control vendored Normal file
View File

@@ -0,0 +1,22 @@
Source: python-pyvmomi
Section: python
Priority: optional
Maintainer: PKG OpenStack <openstack-devel@lists.alioth.debian.org>
Uploaders: Julien Danjou <acid@debian.org>,
Thomas Goirand <zigo@debian.org>,
Mehdi Abaakouk <sileht@sileht.net>
Build-Depends: debhelper (>= 9), python-setuptools, python-all (>= 2.6.6-3~)
Standards-Version: 3.9.5
Vcs-Browser: http://anonscm.debian.org/gitweb/?p=openstack/python-pyvmomi.git
Vcs-Git: git://anonscm.debian.org/openstack/python-pyvmomi.git
Homepage: https://github.com/vmware/pyvmomi
Package: python-pyvmomi
Architecture: all
Pre-Depends: dpkg (>= 1.15.6~)
Depends: ${python:Depends}, ${misc:Depends}
Description: VMware vSphere Python SDK - Python 2.x
pyVmomi is a Python SDK for the VMware vSphere API that allows you to
manipulate ESX, ESXi, and vCenter using scripts.
.
This package contains the Python 2.x module.

28
debian/copyright vendored Normal file
View File

@@ -0,0 +1,28 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: pyvmomi
Source: https://github.com/vmware/pyvmomi
Files: debian/*
Copyright: (c) 2013, Thomas Goirand <zigo@debian.org>
License: Apache-2
Files: *
Copyright: (c) 2013, VMware, Inc.
License: Apache-2
License: Apache-2
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
.
http://www.apache.org/licenses/LICENSE-2.0
.
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
.
On Debian-based systems the full text of the Apache version 2.0 license
can be found in /usr/share/common-licenses/Apache-2.0.

8
debian/gbp.conf vendored Normal file
View File

@@ -0,0 +1,8 @@
[DEFAULT]
upstream-branch = master
debian-branch = debian/unstable
upstream-tag = %(version)s
compression = xz
[git-buildpackage]
export-dir = ../build-area/

23
debian/rules vendored Executable file
View File

@@ -0,0 +1,23 @@
#!/usr/bin/make -f
PYTHONS:=$(shell pyversions -vr)
UPSTREAM_GIT = git://github.com/vmware/pyvmomi.git
-include /usr/share/openstack-pkg-tools/pkgos.make
%:
dh $@ --buildsystem=python_distutils --with python2
override_dh_install:
set -e && for pyvers in $(PYTHONS); do \
python$$pyvers setup.py install --install-layout=deb \
--root $(CURDIR)/debian/python-pyvmomi; \
rm $(CURDIR)/debian/python-pyvmomi/usr/lib/python$$pyvers/dist-packages/pyvmomi-5.5.0.egg-info/.gitignore ; \
done
ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
override_dh_auto_test:
set -e && for pyvers in $(PYTHONS); do \
python$$pyvers setup.py test ; \
done
endif

1
debian/source/format vendored Normal file
View File

@@ -0,0 +1 @@
3.0 (quilt)

1
debian/source/options vendored Normal file
View File

@@ -0,0 +1 @@
extend-diff-ignore = "^[^/]*[.]egg-info/"

3
debian/watch vendored Normal file
View File

@@ -0,0 +1,3 @@
version=3
opts="uversionmangle=s/^v//" \
https://github.com/vmware/pyvmomi/tags .*/(\d[\d\.]+)\.tar\.gz