Hashar has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/203961

Change subject: Initial Debian packaging
......................................................................

Initial Debian packaging

Change-Id: I770b7ddfdeea9618f732c0bcccf04e99f328fd98
---
A debian/changelog
A debian/compat
A debian/control
A debian/copyright
A debian/docs
A debian/rules
A debian/source/format
A debian/source/options
8 files changed, 96 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/debs/nodepool 
refs/changes/61/203961/1

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..59b8ac3
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+nodepool (0.0.1-90-ga34aae2) UNRELEASED; urgency=low
+
+  * Initial release. (Closes: #781027)
+
+ -- Antoine Musso <[email protected]>  Mon, 23 Mar 2015 15:07:07 +0100
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..0b98203
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,32 @@
+Source: nodepool
+Maintainer: Antoine Musso <[email protected]>
+Priority: optional
+Section: python
+X-Python-Version: = 2.7
+Build-Depends: debhelper (>=9),
+ dh-python,
+ openstack-pkg-tools,
+ python-pbr,
+ python (>= 2.7),
+ python (<< 2.8)
+Build-Depends-Indep:
+ python-statsd,
+ python-sqlalchemy (>= 0.8.2),
+ python-sphinxcontrib.programoutput,
+ python-sphinx
+Standards-Version: 3.9.6
+Homepage: http://ci.openstack.org/nodepool/
+Vcs-Git: https://review.openstack.org/openstack-infra/nodepool.git
+Vcs-Browser: https://review.openstack.org/gitweb?p=openstack-infra/nodepool.git
+
+Package: nodepool
+Architecture: any
+Pre-Depends: python2.7
+Depends: ${python:Depends},
+ ${shlibs:Depends},
+ ${misc:Depends}
+Description: Launch single use test nodes on OpenStack
+ Nodepool is a system for launching single-use test nodes on demand based on
+ images built with cached data. It is designed to work with any OpenStack based
+ cloud, and is part of a suite of tools that form a comprehensive test system
+ including Jenkins and Zuul.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..b30d1f4
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,29 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: Nodepool
+Upstream-Contact: OpenStack Infrastructure Team 
<[email protected]>
+Source: https://review.openstack.org/gitweb?p=openstack-infra/nodepool.git
+
+Files: *
+Copyright: 2011-2013, OpenStack, LLC.
+           2012, Hewlett-Packard Development Company, L.P.
+           2013, OpenStack Foundation
+License: Apache-2.0
+
+Files: debian/*
+Copyright: 2015 Antoine Musso <[email protected]>
+           2015 Wikimedia Foundation Inc.
+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 either:
+ .
+      http://www.apache.org/licenses/LICENSE-2.0
+      /usr/share/common-licenses/Apache-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.
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..a1320b1
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1 @@
+README.rst
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..dd6586d
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,26 @@
+#!/usr/bin/make -f
+
+export DH_VERBOSE=1
+
+UPSTREAM_GIT = git://github.com/openstack-infra/nodepool.git
+
+include /usr/share/openstack-pkg-tools/pkgos.make
+
+export OSLO_PACKAGE_VERSION=$(VERSION)
+
+%:
+       dh $@ --with python2,sphinxdoc
+
+override_dh_installdocs:
+       PYTHONPATH=$(CURDIR)/debian/nodepool/usr/lib/python2.7/dist-packages 
pip freeze
+       PATH=$(PATH):$(CURDIR)/debian/nodepool/usr/bin 
PYTHONPATH=$(CURDIR)/debian/nodepool/usr/lib/python2.7/dist-packages nodepool 
--help
+       #PATH=$(PATH):$(CURDIR)/debian/nodepool/usr/bin 
PYTHONPATH=$(CURDIR)/debian/nodepool/usr/lib/python2.7/dist-packages make -C 
doc html man
+       dh_installdocs build/html
+       dh_installdocs build/man
+
+override_dh_auto_clean:
+       rm -rf *.egg
+       rm -rf doc/build
+
+#override_dh_sphinxdoc:
+#      dh_sphinxdoc /usr/share/doc/nodepool/html
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/source/options b/debian/source/options
new file mode 100644
index 0000000..d6eeadc
--- /dev/null
+++ b/debian/source/options
@@ -0,0 +1 @@
+extend-diff-ignore = '(^\.gitreview$|.*\.swp$)'

-- 
To view, visit https://gerrit.wikimedia.org/r/203961
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I770b7ddfdeea9618f732c0bcccf04e99f328fd98
Gerrit-PatchSet: 1
Gerrit-Project: operations/debs/nodepool
Gerrit-Branch: debian
Gerrit-Owner: Hashar <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to