Filippo Giunchedi has uploaded a new change for review. https://gerrit.wikimedia.org/r/212528
Change subject: initial debian packaging ...................................................................... initial debian packaging Bug: T99771 Change-Id: I4d6126e8281222a19a80157c354ed996063e31e5 --- A debian/changelog A debian/compat A debian/control A debian/copyright A debian/docs A debian/python-etcd-doc.docs A debian/python-etcd.links A debian/rules A debian/source/format 9 files changed, 106 insertions(+), 0 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/operations/debs/python-etcd refs/changes/28/212528/1 diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..6185a7c --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +python-etcd (0.3.3-1) UNRELEASED; urgency=medium + + * Initial packaging + + -- Filippo Giunchedi <fili...@wikimedia.org> Thu, 21 May 2015 10:35:24 +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..ad2213f --- /dev/null +++ b/debian/control @@ -0,0 +1,41 @@ +Source: python-etcd +Section: python +Priority: optional +Maintainer: Filippo Giunchedi <fili...@wikimedia.org> +Standards-Version: 3.9.6 +Build-Depends: debhelper (>= 9), dh-python, + python-all (>= 2.7), python-setuptools, + python3-all, python3-setuptools, + python-docutils, python-sphinx (>= 1.0.7+dfsg-1~), + python-urllib3, python-openssl +Homepage: https://github.com/jplana/python-etcd +X-Python-Version: >= 2.7 +X-Python3-Version: >= 3.3 + +Package: python-etcd +Architecture: any +Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends} +Breaks: ${python:Breaks} +Suggests: etcd, python-etcd-doc +Provides: ${python:Provides} +Description: client for etcd distributed, consistent key/value store - python 2.x + python-etcd provides a client for etcd: a distributed, consistent key value + store for shared configuration and service discovery. + +Package: python3-etcd +Architecture: any +Depends: ${python3:Depends}, ${shlibs:Depends}, ${misc:Depends} +Breaks: ${python3:Breaks} +Suggests: etcd, python-etcd-doc +Provides: ${python3:Provides} +Description: client for etcd distributed, consistent key/value store - python 3.x + python-etcd provides a client for etcd: a distributed, consistent key value + store for shared configuration and service discovery. + +Package: python-etcd-doc +Architecture: all +Section: doc +Depends: ${sphinxdoc:Depends}, ${misc:Depends} +Description: client for etcd distributed, consistent key/value store - documentation + python-etcd provides a client for etcd: a distributed, consistent key value + store for shared configuration and service discovery. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..9f97a71 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,44 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: python-etcd +Source: https://github.com/jplana/python-etcd + +Files: * +Copyright: 2013 Jose Plana Mario +License: MIT + +Files: bootstrap.py +Copyright: 2006 Zope Foundation and Contributors. +License: ZPL-2.1 + +Files: debian/* +Copyright: 2015 Filippo Giunchedi <fili...@wikimedia.org> + 2015 Wikimedia Foundation +License: MIT + +License: MIT + Permission is hereby granted, free of charge, to any person obtaining a + copy of this software and associated documentation files (the "Software"), + to deal in the Software without restriction, including without limitation + the rights to use, copy, modify, merge, publish, distribute, sublicense, + and/or sell copies of the Software, and to permit persons to whom the + Software is furnished to do so, subject to the following conditions: + . + The above copyright notice and this permission notice shall be included + in all copies or substantial portions of the Software. + . + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY + CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, + TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE + SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +License: ZPL-2.1 + This software is subject to the provisions of the Zope Public License, + Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution. + . + THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED + WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS + FOR A PARTICULAR PURPOSE. diff --git a/debian/docs b/debian/docs new file mode 100644 index 0000000..0022c97 --- /dev/null +++ b/debian/docs @@ -0,0 +1,2 @@ +NEWS.txt +README.rst diff --git a/debian/python-etcd-doc.docs b/debian/python-etcd-doc.docs new file mode 100644 index 0000000..53f0919 --- /dev/null +++ b/debian/python-etcd-doc.docs @@ -0,0 +1 @@ +.pybuild/docs/html diff --git a/debian/python-etcd.links b/debian/python-etcd.links new file mode 100644 index 0000000..c131156 --- /dev/null +++ b/debian/python-etcd.links @@ -0,0 +1 @@ +usr/share/doc/python-etcd-doc/html/_sources usr/share/doc/python-etcd/rst diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..75dd03d --- /dev/null +++ b/debian/rules @@ -0,0 +1,10 @@ +#!/usr/bin/make -f +export PYBUILD_NAME=etcd +export PYBUILD_DISABLE=test + +%: + dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild + +override_dh_auto_build: + dh_auto_build + PYTHONPATH=. http_proxy='127.0.0.1:9' sphinx-build -N -bhtml docs-source/ .pybuild/docs/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) -- To view, visit https://gerrit.wikimedia.org/r/212528 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I4d6126e8281222a19a80157c354ed996063e31e5 Gerrit-PatchSet: 1 Gerrit-Project: operations/debs/python-etcd Gerrit-Branch: master Gerrit-Owner: Filippo Giunchedi <fgiunch...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits