From: JinWang An Date: Mon, 28 Dec 2020 04:46:08 +0000 (+0900) Subject: Imported Upstream version 4.1.1 X-Git-Tag: upstream/4.1.1^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9a820465cdedd0d4a6d611e57b79340b83ef586d;p=platform%2Fupstream%2Fpython3-pbr.git Imported Upstream version 4.1.1 --- diff --git a/ChangeLog b/ChangeLog index e102726..b7d6601 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,13 @@ CHANGES ======= +4.1.1 +----- + +* trivial: Fix file permissions +* trivial: Remove 'tools/releasenotes\_tox.sh' +* Add docstring from LocalManifestMaker.add\_defaults + 4.1.0 ----- diff --git a/PKG-INFO b/PKG-INFO index 11cd572..6442a7f 100644 --- a/PKG-INFO +++ b/PKG-INFO @@ -1,14 +1,14 @@ Metadata-Version: 2.1 Name: pbr -Version: 4.1.0 +Version: 4.1.1 Summary: Python Build Reasonableness Home-page: https://docs.openstack.org/pbr/latest/ Author: OpenStack Author-email: openstack-dev@lists.openstack.org License: UNKNOWN -Project-URL: Documentation, https://docs.openstack.org/pbr/ -Project-URL: Bug Tracker, https://bugs.launchpad.net/pbr/ Project-URL: Source Code, https://git.openstack.org/cgit/openstack-dev/pbr/ +Project-URL: Bug Tracker, https://bugs.launchpad.net/pbr/ +Project-URL: Documentation, https://docs.openstack.org/pbr/ Description: Introduction ============ diff --git a/pbr.egg-info/PKG-INFO b/pbr.egg-info/PKG-INFO index 11cd572..6442a7f 100644 --- a/pbr.egg-info/PKG-INFO +++ b/pbr.egg-info/PKG-INFO @@ -1,14 +1,14 @@ Metadata-Version: 2.1 Name: pbr -Version: 4.1.0 +Version: 4.1.1 Summary: Python Build Reasonableness Home-page: https://docs.openstack.org/pbr/latest/ Author: OpenStack Author-email: openstack-dev@lists.openstack.org License: UNKNOWN -Project-URL: Documentation, https://docs.openstack.org/pbr/ -Project-URL: Bug Tracker, https://bugs.launchpad.net/pbr/ Project-URL: Source Code, https://git.openstack.org/cgit/openstack-dev/pbr/ +Project-URL: Bug Tracker, https://bugs.launchpad.net/pbr/ +Project-URL: Documentation, https://docs.openstack.org/pbr/ Description: Introduction ============ diff --git a/pbr.egg-info/SOURCES.txt b/pbr.egg-info/SOURCES.txt index e2f9588..619cf06 100644 --- a/pbr.egg-info/SOURCES.txt +++ b/pbr.egg-info/SOURCES.txt @@ -94,5 +94,4 @@ releasenotes/notes/v_version-457b38c8679c5868.yaml releasenotes/source/conf.py releasenotes/source/index.rst releasenotes/source/unreleased.rst -tools/integration.sh -tools/tox_releasenotes.sh \ No newline at end of file +tools/integration.sh \ No newline at end of file diff --git a/pbr/packaging.py b/pbr/packaging.py index 68df288..44bfb1a 100644 --- a/pbr/packaging.py +++ b/pbr/packaging.py @@ -488,6 +488,15 @@ class LocalManifestMaker(egg_info.manifest_maker): self.filelist.process_template_line(template_line) def add_defaults(self): + """Add all the default files to self.filelist: + + Extends the functionality provided by distutils to also included + additional sane defaults, such as the ``AUTHORS`` and ``ChangeLog`` + files generated by *pbr*. + + Warns if (``README`` or ``README.txt``) or ``setup.py`` are missing; + everything else is optional. + """ option_dict = self.distribution.get_option_dict('pbr') sdist.sdist.add_defaults(self) diff --git a/pbr/tests/testpackage/setup.py b/pbr/tests/testpackage/setup.py old mode 100755 new mode 100644 index 8866691..2d9f685 --- a/pbr/tests/testpackage/setup.py +++ b/pbr/tests/testpackage/setup.py @@ -1,4 +1,3 @@ -#!/usr/bin/env python # Copyright (c) 2013 Hewlett-Packard Development Company, L.P. # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/setup.py b/setup.py old mode 100755 new mode 100644 index 65c675b..1036c99 --- a/setup.py +++ b/setup.py @@ -1,4 +1,3 @@ -#!/usr/bin/env python # Copyright (c) 2013 Hewlett-Packard Development Company, L.P. # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/tools/tox_releasenotes.sh b/tools/tox_releasenotes.sh deleted file mode 100755 index fc64b99..0000000 --- a/tools/tox_releasenotes.sh +++ /dev/null @@ -1,28 +0,0 @@ -#!/usr/bin/env bash - -rm -rf releasenotes/build - -sphinx-build -a -E -W \ - -d releasenotes/build/doctrees \ - -b html \ - releasenotes/source releasenotes/build/html -BUILD_RESULT=$? - -UNCOMMITTED_NOTES=$(git status --porcelain | \ - awk '$1 ~ "M|A|??" && $2 ~ /releasenotes\/notes/ {print $2}') - -if [ "${UNCOMMITTED_NOTES}" ] -then - cat <