Sync from SUSE:SLFO:Main python-pkgconfig revision 5d134510fd4fa34e36790357c0a276bf

This commit is contained in:
Adrian Schröter 2024-05-03 21:52:58 +02:00
commit f24fdf592b
5 changed files with 170 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -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

BIN
pkgconfig-1.5.5-gh.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

BIN
pkgconfig-1.5.5.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

75
python-pkgconfig.changes Normal file
View File

@ -0,0 +1,75 @@
-------------------------------------------------------------------
Wed Jan 5 10:39:45 UTC 2022 - Dirk Müller <dmueller@suse.com>
- update to 1.5.5:
* drop python 2.x support
* Added Support for Linux On Power
* Document configure_extension in README.
* test_configure_extension: sorted expected
-------------------------------------------------------------------
Tue Oct 27 11:48:14 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
- Kill dephell dependency by using released sdist setup.py but
get testfile and data from Github
-------------------------------------------------------------------
Sun Aug 16 02:31:58 UTC 2020 - John Vandenberg <jayvdb@gmail.com>
- Activate test suite, replacing nose with pytest
-------------------------------------------------------------------
Fri Oct 18 12:17:58 UTC 2019 - Marketa Calabkova <mcalabkova@suse.com>
- update to 1.5.1
* Use poetry instead of setuptools directly
* Fix #42: raise exception if package is missing
* Fix version parsing for openssl-like version numbers, fixes #32
* Add boolean static keyword to output private libraries as well
* Raise original OSError as well
- Do not launch tests (https://github.com/matze/pkgconfig/issues/45)
-------------------------------------------------------------------
Thu Apr 11 02:38:27 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
- Remove unnecessary bcond tests
- Add missing test dependency pkgconfig
- Fix the test suite which was running 0 tests
-------------------------------------------------------------------
Tue Dec 4 12:51:34 UTC 2018 - Matej Cepl <mcepl@suse.com>
- Remove superfluous devel dependency for noarch package
-------------------------------------------------------------------
Fri Apr 13 21:04:53 UTC 2018 - arun@gmx.de
- specfile:
* update copyright year
- update to version 1.3.1:
* Fix compatibility problems with Python 2.6
- changes from version 1.3.0:
* Add variables() API to query defined variables
* Disable Python 3.2 and enable Python 3.5 and 3.6 tests
* Fix #16: handle spaces of values in .pc files correctly
-------------------------------------------------------------------
Wed Apr 19 15:33:55 UTC 2017 - toddrme2178@gmail.com
- Update to version 1.2.2
+ No changelog available
- Implement single-spec version.
-------------------------------------------------------------------
Wed Nov 27 21:38:57 UTC 2013 - p.drouand@gmail.com
- Update to version 1.1.0
+ No changelog available
-------------------------------------------------------------------
Wed Oct 16 08:45:06 UTC 2013 - speilicke@suse.com
- Initial version

66
python-pkgconfig.spec Normal file
View File

@ -0,0 +1,66 @@
#
# spec file for package python-pkgconfig
#
# Copyright (c) 2022 SUSE LLC
#
# 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 https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%global skip_python2 1
Name: python-pkgconfig
Version: 1.5.5
Release: 0
Summary: Interface Python with pkg-config
License: MIT
Group: Development/Languages/Python
URL: https://github.com/matze/pkgconfig
# PyPI sdist has generated setup.py ..
Source0: https://files.pythonhosted.org/packages/source/p/pkgconfig/pkgconfig-%{version}.tar.gz
# .. get the tests from github
Source1: https://github.com/matze/pkgconfig/archive/v%{version}.tar.gz#/pkgconfig-%{version}-gh.tar.gz
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: openssl-devel
BuildRequires: pkgconfig
BuildRequires: python-rpm-macros
Requires: pkgconfig
BuildArch: noarch
%python_subpackages
%description
A Python module to interface with the pkg-config
command line tool
%prep
%setup -q -n pkgconfig-%{version}
(cd ..; tar xf %{SOURCE1} pkgconfig-%{version}/{test_pkgconfig.py,data})
%build
%python_build
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest
%files %{python_files}
%license LICENSE
%doc README.rst
%{python_sitelib}/pkgconfig
%{python_sitelib}/pkgconfig-%{version}*-info
%changelog