Accepting request 627536 from devel:languages:python
- update to 1.5 - fixed dependencies * switch to setuptools_scm * avoid dict iteration (fixes issue on python3) * preserve __package__ - ths gets us better pep 302 compliance (forwarded request 627535 from mimi_vx) OBS-URL: https://build.opensuse.org/request/show/627536 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-apipkg?expand=0&rev=4
This commit is contained in:
parent
19581898ae
commit
c9991e6a73
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:2e38399dbe842891fe85392601aab8f40a8f4cc5a9053c326de35a1cc0297ac6
|
|
||||||
size 11224
|
|
3
apipkg-1.5.tar.gz
Normal file
3
apipkg-1.5.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:37228cda29411948b422fae072f57e31d3396d2ee1c9783775980ee9c9990af6
|
||||||
|
size 11186
|
@ -1,3 +1,12 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Aug 5 17:06:32 UTC 2018 - mimi.vx@gmail.com
|
||||||
|
|
||||||
|
- update to 1.5
|
||||||
|
- fixed dependencies
|
||||||
|
* switch to setuptools_scm
|
||||||
|
* avoid dict iteration (fixes issue on python3)
|
||||||
|
* preserve __package__ - ths gets us better pep 302 compliance
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Apr 27 10:37:20 UTC 2017 - aloisio@gmx.com
|
Thu Apr 27 10:37:20 UTC 2017 - aloisio@gmx.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-apipkg
|
# spec file for package python-apipkg
|
||||||
#
|
#
|
||||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2018 SUSE LINUX 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
|
||||||
@ -18,23 +18,19 @@
|
|||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
Name: python-apipkg
|
Name: python-apipkg
|
||||||
Version: 1.4
|
Version: 1.5
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Namespace control and lazy-import mechanism
|
Summary: Namespace control and lazy-import mechanism
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
Url: http://bitbucket.org/hpk42/apipkg
|
URL: https://github.com/pytest-dev/apipkg/
|
||||||
Source: https://files.pythonhosted.org/packages/source/a/apipkg/apipkg-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/a/apipkg/apipkg-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module devel}
|
BuildRequires: %{python_module base}
|
||||||
|
BuildRequires: %{python_module pytest}
|
||||||
|
BuildRequires: %{python_module setuptools_scm}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildRequires: unzip
|
|
||||||
# Testsuite BuildRequires:
|
|
||||||
BuildRequires: %{python_module nose}
|
|
||||||
BuildRequires: %{python_module pytest}
|
|
||||||
BuildRequires: %{python_module py}
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
@ -60,13 +56,14 @@ can copy paste the <100 Lines of code into your project.
|
|||||||
%python_expand %fdupes -s %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes -s %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%python_expand py.test-%{$python_version}
|
export PYTHONPATH="${PWD}/src"
|
||||||
|
%python_exec -mpytest
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%defattr(-,root,root,-)
|
%license LICENSE
|
||||||
%doc README.txt LICENSE CHANGELOG
|
%doc README.rst CHANGELOG
|
||||||
%pycache_only %{python_sitelib}/__pycache__
|
%dir %{python_sitelib}/apipkg
|
||||||
%{python_sitelib}/apipkg.py*
|
%{python_sitelib}/apipkg/*
|
||||||
%{python_sitelib}/apipkg-%{version}-py%{python_version}.egg-info
|
%{python_sitelib}/apipkg-%{version}-py%{python_version}.egg-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user