debian/0000775000000000000000000000000012315024103007157 5ustar debian/rules0000775000000000000000000000065312247645354010270 0ustar #!/usr/bin/make -f PYTHON3:=$(shell py3versions -r) py3sdo=set -ex; $(foreach py, $(PYTHON3), $(py) $(1);) %: dh $@ --with python2,python3 override_dh_clean: dh_clean override_dh_auto_build: dh_auto_build $(call py3sdo, setup.py build) override_dh_auto_install: dh_auto_install $(call py3sdo, setup.py install --root=$(CURDIR)/debian/tmp --install-layout=deb) override_dh_auto_clean: dh_auto_clean rm -rf build debian/source/0000775000000000000000000000000012247646370010503 5ustar debian/source/format0000664000000000000000000000001412247645354011712 0ustar 3.0 (quilt) debian/python3-pbr.install0000664000000000000000000000002012247645354012751 0ustar usr/lib/python3 debian/compat0000664000000000000000000000000212247645354010402 0ustar 9 debian/copyright0000664000000000000000000000541112247645354011140 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: pbr Upstream-Contact: OpenStack Devel Source: http://pypi.python.org/pypi/pbr Files: debian/* Copyright: (c) 2013, Thomas Goirand License: Apache-2 Files: * Copyright: 2011, OpenStack LLC. 2011-2012, OpenStack Foundation 2013, Hewlett-Packard Development Company, L.P. 2012 Red Hat, Inc. Andrew Bogott Angus Salkeld Anthony Young Bhuvan Arumugam Brian Waldon Chuck Short Clark Boylan Dan Prince Davanum Srinivas Davanum Srinivas David Ripton Devananda van der Veen Dirk Mueller Doug Hellmann Eoghan Glynn Eric Windisch Eugene Kirpichov Gary Kotton Giampaolo Lauria Ionuț Arțăriși Jason Kölker Jay Pipes Joe Gordon Joe Heck Johannes Erdfelt Julien Danjou Laurence Miao Mark McLoughlin Michael Basnight Michael Still Monty Taylor Rajaram Mallya Rick Harris Robert Myers Russell Bryant Sean Dague Steven Hardy Tim Simpson Vincent Untz Vishvananda Ishaya YAMAMOTO Takashi Yaguang Tang Yuriy Taraday Zhongyue Luo 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. debian/python-pbr.install0000664000000000000000000000002112247645354012667 0ustar usr/lib/python2* debian/control0000664000000000000000000000715012247645354010612 0ustar Source: python-pbr Section: python Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: PKG OpenStack Uploaders: Loic Dachary (OuoU) , Julien Danjou , Thomas Goirand , Ghe Rivero , Mehdi Abaakouk Build-Depends: debhelper (>= 9), python-all (>= 2.6.6-3~), python-coverage, python-fixtures, python-setuptools, python-sphinx, python-subunit, python-testrepository (>= 0.0.14), python-testresources, python-testtools, python3-all, python3-setuptools, subunit Standards-Version: 3.9.4 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=openstack/python-pbr.git Vcs-Git: git://anonscm.debian.org/openstack/python-pbr.git Homepage: http://pypi.python.org/pypi/pbr Package: python-pbr Architecture: all Pre-Depends: dpkg (>= 1.15.6~) Depends: ${misc:Depends}, ${python:Depends} Recommends: ${python:Recommends} Description: inject useful and sensible default behaviors into setuptools - Python 2.x PBR (Python Build Reasonableness) is a library that injects some useful and sensible default behaviors into your setuptools run. PBR can: * Manage version number bad on git revisions and tags (Version file). * Generate AUTHORS file from git log * Generate ChangeLog from git log * Generate Sphinx autodoc stub files for your whole module * Store your dependencies in a pip requirements file * Use your README file as a long_description * Smartly find packages under your root package . PBR is only mildly configurable. The basic idea is that there's a decent way to run things and if you do, you should reap the rewards, because then it's simple and repeatable. If you want to do things differently, cool! But you've already got the power of Python at your fingertips, so you don't really need PBR. . PBR builds on top of `d2to1` to provide for declarative configuration. It then filters the `setup.cfg` data through a setup hook to fill in default values and provide more sensible behaviors. . This package provides support for Python 2.x. Package: python3-pbr Architecture: all Pre-Depends: dpkg (>= 1.15.6~) Depends: ${misc:Depends}, ${python3:Depends} Recommends: ${python3:Recommends} Description: inject useful and sensible default behaviors into setuptools - Python 3.x PBR (Python Build Reasonableness) is a library that injects some useful and sensible default behaviors into your setuptools run. PBR can: * Manage version number bad on git revisions and tags (Version file). * Generate AUTHORS file from git log * Generate ChangeLog from git log * Generate Sphinx autodoc stub files for your whole module * Store your dependencies in a pip requirements file * Use your README file as a long_description * Smartly find packages under your root package . PBR is only mildly configurable. The basic idea is that there's a decent way to run things and if you do, you should reap the rewards, because then it's simple and repeatable. If you want to do things differently, cool! But you've already got the power of Python at your fingertips, so you don't really need PBR. . PBR builds on top of `d2to1` to provide for declarative configuration. It then filters the `setup.cfg` data through a setup hook to fill in default values and provide more sensible behaviors. . This package provides support for Python 3.x. debian/watch0000664000000000000000000000011012247645354010225 0ustar version=3 http://pypi.python.org/packages/source/p/pbr pbr-(.*).tar.gz debian/changelog0000664000000000000000000000654212315024060011042 0ustar python-pbr (0.7.0-0ubuntu2) trusty; urgency=medium * debian/patches/python-3.2-compat.patch: Updated to fix FTBFS with python3.2. (LP: #1298384) -- Chuck Short Thu, 27 Mar 2014 09:30:26 -0400 python-pbr (0.7.0-0ubuntu1) trusty; urgency=medium * New upstream release. * debian/patches/drop-pip-requirement.patch: Refreshed -- Chuck Short Tue, 18 Mar 2014 11:23:48 -0400 python-pbr (0.6-0ubuntu1) trusty; urgency=medium * New upstream release. * debian/patches/python-3.2-compat.patch: Refreshed. -- Chuck Short Mon, 17 Mar 2014 18:45:41 -0400 python-pbr (0.5.23-0ubuntu4) trusty; urgency=medium * Rebuild to drop files installed into /usr/share/pyshared. -- Matthias Klose Sun, 23 Feb 2014 13:52:37 +0000 python-pbr (0.5.23-0ubuntu3) trusty; urgency=low * d/p/python-3.2-compat.patch: Fix Python 3.2 compat a bit harder. -- James Page Thu, 05 Dec 2013 07:51:15 +0000 python-pbr (0.5.23-0ubuntu2) trusty; urgency=low * d/p/python-3.2-compat.patch: Fixup compatibility with Python 3.2 to ease backporting to Ubuntu 12.04. -- James Page Wed, 04 Dec 2013 15:40:35 +0000 python-pbr (0.5.23-0ubuntu1) trusty; urgency=low * New upstream release. -- Chuck Short Mon, 25 Nov 2013 11:44:26 -0500 python-pbr (0.5.22-0ubuntu1) trusty; urgency=low * New upstream release: - debian/control: Dropped openstack-pkg-tools, python3-d2to1, python-d2to1 dependencies. - debian/rules: + Dropped openstack-pkg-tools cruft. + Dont remove the egg info when cleaning. -- Chuck Short Mon, 28 Oct 2013 13:02:36 -0400 python-pbr (0.5.21-0ubuntu4) saucy; urgency=low * d/p/drop-pip-requirements.patch: Really drop requirement on pip. * d/*-overrides: Dropped - no longer required. -- James Page Tue, 13 Aug 2013 22:31:54 +0100 python-pbr (0.5.21-0ubuntu3) saucy; urgency=low * debian/pydist-overrides: Add pip to overrides. * debian/py3dist-overrides: Add pip to overrides. -- Chuck Short Tue, 13 Aug 2013 15:15:13 -0400 python-pbr (0.5.21-0ubuntu2) saucy; urgency=low * debian/patches/drop-pip-requirements.patch: Drop python-pip from requirements its in universe. -- Chuck Short Tue, 13 Aug 2013 11:21:53 -0400 python-pbr (0.5.21-0ubuntu1) saucy; urgency=low * New upstream release. * debian/control: - Dropped python-setuptools-git as a build dependency. -- Chuck Short Tue, 06 Aug 2013 07:59:51 -0400 python-pbr (0.5.16-4) unstable; urgency=low * Build-Depends: on python3-d2to1 (Closes: #714552). -- Thomas Goirand Tue, 02 Jul 2013 01:00:52 +0800 python-pbr (0.5.16-3) unstable; urgency=low * Reviewed short and long description. * Fixed python3 dependencies (there was none). -- Thomas Goirand Sat, 15 Jun 2013 01:57:23 +0800 python-pbr (0.5.16-2) unstable; urgency=low * Fixed a bit debian/copyright. * Added many missing build-dependencies. * Added support for python3. -- Thomas Goirand Fri, 14 Jun 2013 14:56:22 +0800 python-pbr (0.5.16-1) unstable; urgency=low * Initial release. (Closes: #712173) -- Thomas Goirand Fri, 14 Jun 2013 02:59:11 +0800 debian/gbp.conf0000664000000000000000000000023712247645354010625 0ustar [DEFAULT] upstream-branch = master debian-branch = debian/unstable upstream-tag = %(version)s compression = xz [git-buildpackage] export-dir = ../build-area/ debian/patches/0000775000000000000000000000000012250027351010614 5ustar debian/patches/python-3.2-compat.patch0000664000000000000000000000335112315023754014746 0ustar Description: Fix python-pbr on python3.2 Author: Chuck Short Forwarded: No diff -Naurp pbr-0.7.0.orig/pbr/packaging.py pbr-0.7.0/pbr/packaging.py --- pbr-0.7.0.orig/pbr/packaging.py 2014-03-18 10:08:07.000000000 -0400 +++ pbr-0.7.0/pbr/packaging.py 2014-03-27 09:26:56.759481000 -0400 @@ -280,7 +280,7 @@ def write_git_changelog(git_dir=None, de underline = len(tag) * '-' if not first_line: - changelog_file.write(u'\n') + changelog_file.write('\n') changelog_file.write( ("%(tag)s\n%(underline)s\n\n" % dict(tag=tag, diff -Naurp pbr-0.7.0.orig/pbr/tests/test_setup.py pbr-0.7.0/pbr/tests/test_setup.py --- pbr-0.7.0.orig/pbr/tests/test_setup.py 2014-03-18 10:08:07.000000000 -0400 +++ pbr-0.7.0/pbr/tests/test_setup.py 2014-03-27 09:24:58.139481000 -0400 @@ -17,6 +17,7 @@ # under the License. from __future__ import print_function +from __future__ import unicode_literals import os import sys @@ -145,10 +146,10 @@ class GitLogsTest(base.BaseTestCase): self.assertNotIn('Merge "', changelog_contents) def test_generate_authors(self): - author_old = u"Foo Foo " - author_new = u"Bar Bar " - co_author = u"Foo Bar " - co_author_by = u"Co-authored-by: " + co_author + author_old = "Foo Foo " + author_new = "Bar Bar " + co_author = "Foo Bar " + co_author_by = "Co-authored-by: " + co_author git_log_cmd = ( "git --git-dir=%s log --use-mailmap --format=%%aN <%%aE>" debian/patches/drop-pip-requirement.patch0000664000000000000000000000035212312063206015723 0ustar diff -Naurp pbr-0.7.0.orig/requirements.txt pbr-0.7.0/requirements.txt --- pbr-0.7.0.orig/requirements.txt 2014-03-18 10:08:07.000000000 -0400 +++ pbr-0.7.0/requirements.txt 2014-03-18 11:29:51.219870236 -0400 @@ -1 +0,0 @@ -pip>=1.4 debian/patches/series0000664000000000000000000000006312247645414012044 0ustar drop-pip-requirement.patch python-3.2-compat.patch