Accepting request 844315 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/844315 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pkgconfig?expand=0&rev=9
This commit is contained in:
commit
d96e5ace13
3
pkgconfig-1.5.1-gh.tar.gz
Normal file
3
pkgconfig-1.5.1-gh.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:88d9ef0c4fee5f760b9ab500d94ef363644340e09f66481e36eb9275fce7a2f9
|
||||||
|
size 7000
|
@ -1,3 +1,3 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
version https://git-lfs.github.com/spec/v1
|
||||||
oid sha256:88d9ef0c4fee5f760b9ab500d94ef363644340e09f66481e36eb9275fce7a2f9
|
oid sha256:97bfe3d981bab675d5ea3ef259045d7919c93897db7d3b59d4e8593cba8d354f
|
||||||
size 7000
|
size 5611
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
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>
|
Sun Aug 16 02:31:58 UTC 2020 - John Vandenberg <jayvdb@gmail.com>
|
||||||
|
|
||||||
|
@ -24,13 +24,15 @@ Summary: Interface Python with pkg-config
|
|||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
URL: https://github.com/matze/pkgconfig
|
URL: https://github.com/matze/pkgconfig
|
||||||
Source: https://github.com/matze/pkgconfig/archive/v%{version}.tar.gz#/pkgconfig-%{version}.tar.gz
|
# 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 pytest}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: openssl-devel
|
BuildRequires: openssl-devel
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: python-dephell-rpm-macros
|
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: pkgconfig
|
Requires: pkgconfig
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
@ -38,11 +40,11 @@ BuildArch: noarch
|
|||||||
|
|
||||||
%description
|
%description
|
||||||
A Python module to interface with the pkg-config
|
A Python module to interface with the pkg-config
|
||||||
command line tool and supports Python 2.6+.
|
command line tool
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n pkgconfig-%{version}
|
%setup -q -n pkgconfig-%{version}
|
||||||
%dephell_gensetup
|
(cd ..; tar xf %{SOURCE1} pkgconfig-%{version}/{test_pkgconfig.py,data})
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%python_build
|
||||||
@ -57,6 +59,7 @@ command line tool and supports Python 2.6+.
|
|||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/pkgconfig
|
||||||
|
%{python_sitelib}/pkgconfig-%{version}*-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user