forked from pool/python-pkginfo
Accepting request 489383 from home:TheBlackCat:branches:devel:languages:python
- Update to version 1.4.1 - Implement single-spec version OBS-URL: https://build.opensuse.org/request/show/489383 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pkginfo?expand=0&rev=4
This commit is contained in:
parent
5ff2fa5808
commit
26e2d5bc64
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ad3f6dfe8a831f96a7b56a588ca874137ca102cc6b79fc9b0a1c3b7ab7320f3c
|
||||
size 31072
|
3
pkginfo-1.4.1.tar.gz
Normal file
3
pkginfo-1.4.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:bb1a6aeabfc898f5df124e7e00303a5b3ec9a489535f346bfbddb081af93f89e
|
||||
size 32001
|
@ -1,3 +1,21 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 19 15:35:40 UTC 2017 - toddrme2178@gmail.com
|
||||
|
||||
- Update to version 1.4.1
|
||||
* Packaging only change (invalid sdist bulit for 1.4.0).
|
||||
- Update to version 1.4.0
|
||||
* Relicense under MIT license: the PSF license is not suitable for third-party libraries.
|
||||
- Update to version 1.3.2
|
||||
* Packaging-only change (automate fix for wheel built for 1.3.1).
|
||||
- Update to version 1.3.1
|
||||
* Packaging-only change (invalid wheel built for 1.3.0).
|
||||
- Update to version 1.3.0
|
||||
* Update homepage URL to point to Launchpad, rather than PyPI.
|
||||
* Add support for building wheels.
|
||||
* Add support for Python 3.5.
|
||||
* Drop support for Python 2.6 and 3.2.
|
||||
- Implement single-spec version.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 2 15:18:33 UTC 2015 - p.drouand@gmail.com
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-pkginfo
|
||||
#
|
||||
# Copyright (c) 2015 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
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -16,22 +16,30 @@
|
||||
#
|
||||
|
||||
|
||||
# Tests are currently broken.
|
||||
%bcond_with tests
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-pkginfo
|
||||
Version: 1.2.1
|
||||
Version: 1.4.1
|
||||
Release: 0
|
||||
Summary: Query metadatdata from sdists / bdists / installed packages
|
||||
License: Python-2.0
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
Url: http://pypi.python.org/pypi/pkginfo/
|
||||
Source: https://pypi.python.org/packages/source/p/pkginfo/pkginfo-%{version}.tar.gz
|
||||
BuildRequires: python-devel
|
||||
Requires: python-setuptools
|
||||
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
|
||||
Source: https://files.pythonhosted.org/packages/source/p/pkginfo/pkginfo-%{version}.tar.gz
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
%if %{with tests}
|
||||
BuildRequires: %{python_module nose}
|
||||
%endif
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildArch: noarch
|
||||
Requires(post): update-alternatives
|
||||
Requires(preun): update-alternatives
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
This package provides an API for querying the distutils metadata written in
|
||||
@ -45,15 +53,31 @@ the *.egg-info stored in a "development checkout"
|
||||
%setup -q -n pkginfo-%{version}
|
||||
|
||||
%build
|
||||
python setup.py build
|
||||
%python_build
|
||||
|
||||
%install
|
||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
%python_clone -a %{buildroot}%{_bindir}/pkginfo
|
||||
|
||||
%files
|
||||
%if %{with tests}
|
||||
%check
|
||||
%{python_expand $python setup.py develop --user
|
||||
$python setup.py test -q
|
||||
}
|
||||
%endif
|
||||
|
||||
%post
|
||||
%python_install_alternative pkginfo
|
||||
|
||||
%preun
|
||||
%python_uninstall_alternative pkginfo
|
||||
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root,-)
|
||||
%doc README.txt CHANGES.txt
|
||||
%{python_sitelib}/pkginfo-%{version}-py%{py_ver}.egg-info
|
||||
%doc README.txt CHANGES.txt LICENSE.txt TODO.txt
|
||||
%python_alternative %{_bindir}/pkginfo
|
||||
%{python_sitelib}/pkginfo
|
||||
%{python_sitelib}/pkginfo-%{version}-py*.egg-info
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user