Added initial debian folder.

This commit is contained in:
Thomas Goirand
2013-07-20 20:25:05 +08:00
parent 93ac15bfeb
commit 75f0d55046
9 changed files with 127 additions and 0 deletions

7
debian/changelog vendored Normal file
View File

@@ -0,0 +1,7 @@
python-neutronclient (2.2.4-1) unstable; urgency=low
* Initial release.
* Note that this is a rename of Quantum into Neutron because of a trademark
problem.
-- Thomas Goirand <zigo@debian.org> Sat, 20 Jul 2013 20:21:03 +0800

1
debian/compat vendored Normal file
View File

@@ -0,0 +1 @@
9

50
debian/control vendored Normal file
View File

@@ -0,0 +1,50 @@
Source: python-neutronclient
Section: python
Priority: optional
Maintainer: PKG OpenStack <openstack-devel@lists.alioth.debian.org>
Uploaders: Julien Danjou <acid@debian.org>,
Ghe Rivero <ghe.rivero@stackops.com>,
Loic Dachary (OuoU) <loic@debian.org>,
Mehdi Abaakouk <sileht@sileht.net>,
Thomas Goirand <zigo@debian.org>
Build-Depends: debhelper (>= 9), openstack-pkg-tools, python-all (>= 2.6.6-3~)
Build-Depends-Indep: cliff-tablib,
pep8,
python-argparse,
python-cliff (>= 1.3.3),
python-fixtures,
python-iso8601,
python-httplib2,
python-mox,
python-nose,
python-prettytable,
python-pyparsing (>= 1.5.7+dfsg1-1~),
python-simplejson
Standards-Version: 3.9.3
Homepage: http://launchpad.net/python-neutronclient
Vcs-Browser: http://anonscm.debian.org/gitweb/?p=openstack/python-neutronclient.git;a=summary
Vcs-Git: git://anonscm.debian.org/openstack/python-neutronclient.git
Package: python-neutronclient
Architecture: all
Replaces: quantum-client, python-quantumclient
Provides: python-quantumclient
Breaks: python-quantumclient
Pre-Depends: dpkg (>= 1.15.6~)
Depends: python-argparse,
python-cliff (>= 1.3.3),
python-httplib2,
python-iso8601,
python-prettytable,
python-pyparsing (>= 1.5.7+dfsg1-1~),
python-simplejson,
${misc:Depends},
${python:Depends},
${shlibs:Depends}
Description: client API library for Neutron
Neutron provides an API to dynamically request and configure virtual networks.
These networks connect "interfaces" from other OpenStack services (e.g., vNICs
from Nova VMs). The Neutron API supports extensions to provide advanced network
capabilities (e.g., QoS, ACLs, network monitoring, etc).
.
This package provides the client agent.

31
debian/copyright vendored Normal file
View File

@@ -0,0 +1,31 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: python-neutronclient
Source: http://github.com/openstack/python-neutronclient
Files: *
Copyright: 2011 Citrix Systems
2011, Nicira Networks, Inc.
2010 OpenStack, LLC
2001-2010 Twisted Matrix Laboratories.
License: Apache-2.0
Files: debian/*
Copyright: 2012 Ghe Rivero <ghe.rivero@stackops.com>
2012-2013, Thomas Goirand <zigo@debian.org>
License: Apache-2.0
License: Apache-2.0
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 systems, the complete text of the Apache version 2.0 license
can be found in "/usr/share/common-licenses/Apache-2.0".

7
debian/gbp.conf vendored Normal file
View File

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

1
debian/install vendored Normal file
View File

@@ -0,0 +1 @@
tools/neutron.bash_completion /etc/bash_completion.d

24
debian/rules vendored Executable file
View File

@@ -0,0 +1,24 @@
#!/usr/bin/make -f
#export DH_VERBOSE=1
include /usr/share/openstack-pkg-tools/pkgos.make
export OSLO_PACKAGE_VERSION=$(VERSION)
%:
dh $@ --with python2
override_dh_auto_build:
echo $(VERSION) >neutronclient/versioninfo
dh_auto_install
ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
override_dh_auto_test:
#rm neutronclient/tests/unit/test_cli20_network.py
nosetests
endif
override_dh_auto_clean:
dh_auto_clean
rm -f neutronclient/versioninfo

1
debian/source/format vendored Normal file
View File

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

5
debian/watch vendored Normal file
View File

@@ -0,0 +1,5 @@
version=3
# Since we use EPOC, and we want to move away 2012.x, we use
# uversionmangle...
opts="uversionmangle=s/^2012/0.0./" \
https://github.com/openstack/python-neutronclient/tags .*/(\d[\d\.]+)\.tar\.gz