From e5c5a76b53c5a2a42d436aad106eaf6e94540c054316398c072b234d6861de06 Mon Sep 17 00:00:00 2001 From: Thomas Bechtold Date: Fri, 30 Nov 2018 13:36:20 +0000 Subject: [PATCH] osc copypac from project:Cloud:OpenStack:Master package:python-bindep revision:1, using expand OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bindep?expand=0&rev=1 --- .gitattributes | 23 ++++++++++++++ .gitignore | 1 + bindep-2.0.0.tar.gz | 3 ++ python-bindep.changes | 5 +++ python-bindep.spec | 71 +++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 103 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 bindep-2.0.0.tar.gz create mode 100644 python-bindep.changes create mode 100644 python-bindep.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/bindep-2.0.0.tar.gz b/bindep-2.0.0.tar.gz new file mode 100644 index 0000000..4fd319a --- /dev/null +++ b/bindep-2.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:daff146e333ce9c5b141e9694592111627df106a7cdec83eaace64ce17a0b3da +size 22668 diff --git a/python-bindep.changes b/python-bindep.changes new file mode 100644 index 0000000..4d690b4 --- /dev/null +++ b/python-bindep.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Wed Jul 20 05:44:20 UTC 2016 - tbechtold@suse.com + +- Initial packaging (version 2.0.0) + diff --git a/python-bindep.spec b/python-bindep.spec new file mode 100644 index 0000000..0a30bc9 --- /dev/null +++ b/python-bindep.spec @@ -0,0 +1,71 @@ +# +# spec file for package python-bindep +# +# Copyright (c) 2016 SUSE LINUX 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-bindep +Version: 2.0.0 +Release: 0 +Summary: Binary dependency utility +License: Apache-2.0 +Group: Development/Languages/Python +Url: http://docs.openstack.org/infra/bindep +Source0: https://pypi.io/packages/source/b/bindep/bindep-%{version}.tar.gz +BuildRequires: python-Parsley +BuildRequires: python-devel +BuildRequires: python-pbr >= 0.6 +BuildRequires: python-setuptools +# test requirements +BuildRequires: python-fixtures >= 0.3.12 +BuildRequires: python-mock >= 2.0 +BuildRequires: python-oslosphinx >= 2.5.0 +BuildRequires: python-python-subunit +BuildRequires: python-sphinx >= 1.1.2 +BuildRequires: python-sphinxcontrib-programoutput +BuildRequires: python-testrepository >= 0.0.13 +BuildRequires: python-testtools >= 0.9.27 +Requires: python-Parsley +Requires: python-pbr >= 0.6 +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildArch: noarch + +%description +Bindep is a tool for checking the presence of binary packages needed to +use an application / library. It started life as a way to make it easier to set +up a development environment for OpenStack projects. While OpenStack depends +heavily on `pip` for installation of Python dependencies, some dependencies are +not Python based, and particularly for testing, some dependencies have to be +installed before `pip` can be used - such as `virtualenv` and `pip` itself. + +%prep +%setup -q -n bindep-%{version} + +%build +python setup.py build + +%install +python setup.py install --prefix=%{_prefix} --root=%{buildroot} + +## %check +## python setup.py testr + +%files +%defattr(-,root,root,-) +%doc README.rst LICENSE ChangeLog AUTHORS NEWS.rst +%{_bindir}/bindep +%{python_sitelib}/* + +%changelog