From 45eb30507becda2ff8e2e54b4eddc5ab7eb79ce05ff508f31801e46b14e8083a Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Wed, 3 Jul 2013 08:26:40 +0000 Subject: [PATCH] Accepting request 181787 from Cloud:OpenStack:Factory OBS-URL: https://build.opensuse.org/request/show/181787 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pbr?expand=0&rev=1 --- .gitattributes | 23 +++++++++++++ .gitignore | 1 + pbr-0.5.17.tar.gz | 3 ++ python-pbr.changes | 61 ++++++++++++++++++++++++++++++++++ python-pbr.spec | 82 ++++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 170 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 pbr-0.5.17.tar.gz create mode 100644 python-pbr.changes create mode 100644 python-pbr.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/pbr-0.5.17.tar.gz b/pbr-0.5.17.tar.gz new file mode 100644 index 0000000..5711490 --- /dev/null +++ b/pbr-0.5.17.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fc3e5394a3fe89b270d84c624aed440f5b617e24586bd1f837e97ea4eb5fc1b0 +size 87439 diff --git a/python-pbr.changes b/python-pbr.changes new file mode 100644 index 0000000..57ef182 --- /dev/null +++ b/python-pbr.changes @@ -0,0 +1,61 @@ +------------------------------------------------------------------- +Tue Jul 2 16:06:42 UTC 2013 - dmueller@suse.com + +- update description + +------------------------------------------------------------------- +Wed Jun 26 15:29:49 UTC 2013 - cdenicolo@suse.com + +- license update: Apache-2.0 + license SUSE-Xano license not found in package. See LICENSE file. + +------------------------------------------------------------------- +Wed Jun 26 09:47:22 UTC 2013 - dmueller@suse.com + +- remove python-discover dependency for newer distros + +------------------------------------------------------------------- +Fri Jun 21 07:28:12 UTC 2013 - dmueller@suse.com + +- update to 0.5.17: + * Remove dependency on distribute + * Fix pip invocation for old versions of pip. +- remove 0001-Use-pip-instead-of-easy_install-for-installation.patch +- remove 0001-Skip-git-checkout-related-tests-when-.git-is-missing.patch + +------------------------------------------------------------------- +Mon Jun 10 13:35:54 UTC 2013 - dmueller@suse.com + +- add 0001-Use-pip-instead-of-easy_install-for-installation.patch + +------------------------------------------------------------------- +Mon Jun 10 12:01:19 UTC 2013 - dmueller@suse.com + +- update to 0.5.14: + * Remove jinja pin. + * Explicitly install install_requires. + * More python3 compatibility. + * Fix tox.ini to not reference deleted testenv + * Fix doc autoindexing. + * Add missing files to the tarball. +- add 0001-Skip-git-checkout-related-tests-when-.git-is-missing.patch + +------------------------------------------------------------------- +Mon May 27 09:43:54 UTC 2013 - dmueller@suse.com + +- update to 0.5.10: + + Default to single-version-externally-managed + + Add config for skipping authors and changelog. + + Update to d2to1 0.2.10. + +------------------------------------------------------------------- +Tue May 7 08:16:26 UTC 2013 - speilicke@suse.com + +- Buildrequire python-python-mimeparse and use testr instead of nosetests. + The pbr testsuite needs some proper setup to pass successfully. + +------------------------------------------------------------------- +Thu May 2 12:22:15 UTC 2013 - speilicke@suse.com + +- Initial version + diff --git a/python-pbr.spec b/python-pbr.spec new file mode 100644 index 0000000..e7491e5 --- /dev/null +++ b/python-pbr.spec @@ -0,0 +1,82 @@ +# +# spec file for package python-pbr +# +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + + +Name: python-pbr +Version: 0.5.17 +Release: 0 +Summary: Python Build Reasonableness +License: Apache-2.0 +Group: Development/Languages/Python +Url: http://pypi.python.org/pypi/pbr +Source: http://pypi.python.org/packages/source/p/pbr/pbr-%{version}.tar.gz +BuildRequires: python-d2to1 +BuildRequires: python-devel +# Documentation requirements: +BuildRequires: python-Sphinx +# Test requirements: +BuildRequires: python-coverage >= 3.6 +%if 0%{?suse_version} <= 1110 +BuildRequires: python-discover +%endif +BuildRequires: python-fixtures >= 0.3.12 +BuildRequires: python-flake8 +BuildRequires: python-mox +BuildRequires: python-nose +BuildRequires: python-oslo.config +BuildRequires: python-python-mimeparse +BuildRequires: python-python-subunit +BuildRequires: python-testrepository >= 0.0.13 +BuildRequires: python-testresources +BuildRequires: python-testscenarios +BuildRequires: python-testtools >= 0.9.27 +BuildRoot: %{_tmppath}/%{name}-%{version}-build +%if 0%{?suse_version} && 0%{?suse_version} <= 1110 +%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} +%else +BuildArch: noarch +%endif + +%description +PBR is a library to automatically do a bunch of standard +things you want in your setup.py without you having to repeat +them every time. It will set versions, process requirements +files and generate AUTHORS and ChangeLog file all from git +information. + +%prep +%setup -q -n pbr-%{version} +# Get rid of ugly build-time deps that require network: +sed -i "/setuptools_git.*/d" requirements.txt +sed -i "s/, 'sphinx\.ext\.intersphinx'//" doc/source/conf.py + +%build +python setup.py build +python setup.py build_sphinx + +%install +python setup.py install --prefix=%{_prefix} --root=%{buildroot} + +%check +python setup.py testr + +%files +%defattr(-,root,root,-) +%doc README.rst AUTHORS LICENSE +%{python_sitelib}/* + +%changelog