Accepting request 489348 from devel:languages:python
1 OBS-URL: https://build.opensuse.org/request/show/489348 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pkgconfig?expand=0&rev=2
This commit is contained in:
commit
106b789e1d
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:709daaf077aa2b33bedac12706373412c3683576a43013bbaa529fc2769d80df
|
|
||||||
size 3887
|
|
3
pkgconfig-1.2.2.tar.gz
Normal file
3
pkgconfig-1.2.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:3685ba02a9b72654a764b728b559f327e1dbd7dc6ebc310a1bd429666ee202aa
|
||||||
|
size 5305
|
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Apr 19 15:33:55 UTC 2017 - toddrme2178@gmail.com
|
||||||
|
|
||||||
|
- Update to version 1.1.0
|
||||||
|
+ No changelog available
|
||||||
|
- Implement single-spec version.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Nov 27 21:38:57 UTC 2013 - p.drouand@gmail.com
|
Wed Nov 27 21:38:57 UTC 2013 - p.drouand@gmail.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-pkgconfig
|
# spec file for package python-pkgconfig
|
||||||
#
|
#
|
||||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2017 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -15,25 +15,29 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
|
|
||||||
|
|
||||||
|
%bcond_without tests
|
||||||
|
|
||||||
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
Name: python-pkgconfig
|
Name: python-pkgconfig
|
||||||
Version: 1.1.0
|
Version: 1.2.2
|
||||||
Release: 0
|
Release: 0
|
||||||
License: MIT
|
License: MIT
|
||||||
Summary: Interface Python with pkg-config
|
Summary: Interface Python with pkg-config
|
||||||
Url: http://github.com/matze/pkgconfig
|
Url: http://github.com/matze/pkgconfig
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
Source: https://pypi.python.org/packages/source/p/pkgconfig/pkgconfig-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/p/pkgconfig/pkgconfig-%{version}.tar.gz
|
||||||
BuildRequires: python-devel
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-setuptools
|
BuildRequires: python-rpm-macros
|
||||||
# Test requirements (wrongly marked as install req):
|
BuildRequires: %{python_module devel}
|
||||||
BuildRequires: python-nose
|
BuildRequires: %{python_module setuptools}
|
||||||
|
%if %{with tests}
|
||||||
|
# Test requirements
|
||||||
|
BuildRequires: %{python_module nose}
|
||||||
|
%endif
|
||||||
Requires: pkg-config
|
Requires: pkg-config
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
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
|
BuildArch: noarch
|
||||||
%endif
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
A Python module to interface with the pkg-config
|
A Python module to interface with the pkg-config
|
||||||
@ -43,15 +47,18 @@ command line tool and supports Python 2.6+.
|
|||||||
%setup -q -n pkgconfig-%{version}
|
%setup -q -n pkgconfig-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
python setup.py build
|
%python_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
%python_install
|
||||||
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
#%%check
|
%if %{with tests}
|
||||||
#python setup.py test
|
%check
|
||||||
|
%python_exec setup.py test
|
||||||
|
%endif
|
||||||
|
|
||||||
%files
|
%files %{python_files}
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc LICENSE README.rst
|
%doc LICENSE README.rst
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/*
|
||||||
|
Loading…
Reference in New Issue
Block a user