From 8cf9282cacdc7b48c12e6fdd8ca091ab0f01f52755b577408fcc50970ff507e1 Mon Sep 17 00:00:00 2001 From: Thomas Bechtold Date: Fri, 30 Nov 2018 13:44:14 +0000 Subject: [PATCH] - update to 2.8.1: * Remove fedora-27 fallback job * Fix bindep path * Fix user profile display * Add opensuse-leap support * Add support for Alpine Linux * Clearer unsupported platform error message * Use the distro package to determine distro * Move to argparse * Remove debian-jessie nodeset * SUSE: Update openSUSE Tumbleweed references for lsb-release-3.X.X * Update to fedora-27 for testing * add detection of darwin (MacOS/OSX) * Move jenkins/data/bindep-fallback.txt * add support for rhel workstation * Zuul: Remove project name * Add native Zuul v3 bindep-fallback test * Fix logic for groups * Add new syntax to allow matching multiple profile * Add ability to list all deps * bindep: Query for RPM capabilities as well * Log an error when lsb\_release cannot be executed * Fix test\_main and test\_depends for systems missing lsb\_release * Handle dotted versions in platform selectors * Update tox.ini with py35 * bindep: depends: Add distro family aliases * Add Amazon Linux support to bindep * Consistently check subprocess output * Update 'pbr' version requirements * Exit the loop when we don't have a package OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bindep?expand=0&rev=2 --- bindep-2.0.0.tar.gz | 3 --- bindep-2.8.1.tar.gz | 3 +++ python-bindep.changes | 53 +++++++++++++++++++++++++++++++++++++++++++ python-bindep.spec | 49 +++++++++++++++++++-------------------- 4 files changed, 81 insertions(+), 27 deletions(-) delete mode 100644 bindep-2.0.0.tar.gz create mode 100644 bindep-2.8.1.tar.gz diff --git a/bindep-2.0.0.tar.gz b/bindep-2.0.0.tar.gz deleted file mode 100644 index 4fd319a..0000000 --- a/bindep-2.0.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:daff146e333ce9c5b141e9694592111627df106a7cdec83eaace64ce17a0b3da -size 22668 diff --git a/bindep-2.8.1.tar.gz b/bindep-2.8.1.tar.gz new file mode 100644 index 0000000..ef374cb --- /dev/null +++ b/bindep-2.8.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:428efc408a090348603558c088c19736de2667bdd38b25b15ee700a486f9d965 +size 33181 diff --git a/python-bindep.changes b/python-bindep.changes index 4d690b4..e758302 100644 --- a/python-bindep.changes +++ b/python-bindep.changes @@ -1,3 +1,56 @@ +------------------------------------------------------------------- +Fri Nov 30 13:36:51 UTC 2018 - Thomas Bechtold + +- update to 2.8.1: + * Remove fedora-27 fallback job + * Fix bindep path + * Fix user profile display + * Add opensuse-leap support + * Add support for Alpine Linux + * Clearer unsupported platform error message + * Use the distro package to determine distro + * Move to argparse + * Remove debian-jessie nodeset + * SUSE: Update openSUSE Tumbleweed references for lsb-release-3.X.X + * Update to fedora-27 for testing + * add detection of darwin (MacOS/OSX) + * Move jenkins/data/bindep-fallback.txt + * add support for rhel workstation + * Zuul: Remove project name + * Add native Zuul v3 bindep-fallback test + * Fix logic for groups + * Add new syntax to allow matching multiple profile + * Add ability to list all deps + * bindep: Query for RPM capabilities as well + * Log an error when lsb\_release cannot be executed + * Fix test\_main and test\_depends for systems missing lsb\_release + * Handle dotted versions in platform selectors + * Update tox.ini with py35 + * bindep: depends: Add distro family aliases + * Add Amazon Linux support to bindep + * Consistently check subprocess output + * Update 'pbr' version requirements + * Exit the loop when we don't have a package + * bindep: depends: Add support for openSUSE {Leap,Tumbleweed} + * Bump lower cap of PBR to 1.3 + * Extract file finding and processing to functions + * Add RHEL support + * get\_pkg\_version: Fix py3 bytes/str errors + * Use the autodoc Sphinx extension + * Move dev reference from readme to contributing + * Remove unused module index in documentation + * Removed remnants of support\_py26 module + * Give some examples + * Update newsfile entry for default filename change + * Update a couple of old references in README file + * Add bindep.txt as default filename + * Build universal wheels + * Add '\_' to the list of valid characters acceptable in package name + * Remove discover from test-requirements +- Switch to singlespec +- Use %license +- Drop unused BuildRequires + ------------------------------------------------------------------- Wed Jul 20 05:44:20 UTC 2016 - tbechtold@suse.com diff --git a/python-bindep.spec b/python-bindep.spec index 0a30bc9..7ec5ff9 100644 --- a/python-bindep.spec +++ b/python-bindep.spec @@ -1,7 +1,7 @@ # # spec file for package python-bindep # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 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 @@ -12,36 +12,29 @@ # 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/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # +%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-bindep -Version: 2.0.0 +Version: 2.8.1 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 +Source: https://files.pythonhosted.org/packages/source/b/bindep/bindep-%{version}.tar.gz +BuildRequires: %{python_module Parsley} +BuildRequires: %{python_module devel} +BuildRequires: %{python_module pbr} +BuildRequires: %{python_module setuptools} Requires: python-Parsley -Requires: python-pbr >= 0.6 -BuildRoot: %{_tmppath}/%{name}-%{version}-build +Requires: python-distro +Requires: python-pbr BuildArch: noarch +%python_subpackages %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 @@ -54,18 +47,26 @@ installed before `pip` can be used - such as `virtualenv` and `pip` itself. %setup -q -n bindep-%{version} %build -python setup.py build +%python_build %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%python_install +%python_clone -a %{buildroot}%{_bindir}/bindep + +%post +%{python_install_alternative bindep} + +%postun +%python_uninstall_alternative bindep ## %check ## python setup.py testr -%files +%files %{python_files} %defattr(-,root,root,-) -%doc README.rst LICENSE ChangeLog AUTHORS NEWS.rst -%{_bindir}/bindep +%license LICENSE +%doc README.rst ChangeLog AUTHORS NEWS.rst +%python_alternative %{_bindir}/bindep %{python_sitelib}/* %changelog