forked from pool/python-smmap
- Install doc/license
- Sync the package with smmap2 to have the same fixes in OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-smmap?expand=0&rev=15
This commit is contained in:
parent
5fa4cdc974
commit
d722b315d6
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Mar 30 10:58:58 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
- Install doc/license
|
||||||
|
- Sync the package with smmap2 to have the same fixes in
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Mar 16 12:09:46 UTC 2020 - Dirk Mueller <dmueller@suse.com>
|
Mon Mar 16 12:09:46 UTC 2020 - Dirk Mueller <dmueller@suse.com>
|
||||||
|
|
||||||
|
@ -17,28 +17,19 @@
|
|||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
%bcond_without test
|
|
||||||
Name: python-smmap
|
Name: python-smmap
|
||||||
Version: 3.0.1
|
Version: 3.0.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: A pure git implementation of a sliding window memory map manager
|
Summary: A pure git implementation of a sliding window memory map manager
|
||||||
License: BSD-2-Clause
|
License: BSD-2-Clause
|
||||||
Group: Development/Languages/Python
|
|
||||||
URL: https://github.com/gitpython-developers/smmap
|
URL: https://github.com/gitpython-developers/smmap
|
||||||
Source: https://files.pythonhosted.org/packages/source/s/smmap/smmap-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/s/smmap/smmap-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module setuptools}
|
|
||||||
BuildRequires: python-rpm-macros
|
|
||||||
# SECTION test requirements
|
|
||||||
%if %{with test}
|
|
||||||
BuildRequires: %{python_module coverage}
|
|
||||||
BuildRequires: %{python_module nosexcover}
|
|
||||||
BuildRequires: %{python_module nose}
|
BuildRequires: %{python_module nose}
|
||||||
%endif
|
BuildRequires: %{python_module setuptools}
|
||||||
# /SECTION
|
BuildRequires: dos2unix
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -54,6 +45,7 @@ The documentation can be found here: http://packages.python.org/smmap
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n smmap-%{version}
|
%setup -q -n smmap-%{version}
|
||||||
|
dos2unix README.md
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%python_build
|
||||||
@ -61,13 +53,13 @@ The documentation can be found here: http://packages.python.org/smmap
|
|||||||
%install
|
%install
|
||||||
%python_install
|
%python_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
%if %{with test}
|
|
||||||
%check
|
%check
|
||||||
%python_exec setup.py test
|
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} nosetests-%{$python_bin_suffix} -v
|
||||||
%endif
|
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%defattr(-,root,root,-)
|
%license LICENSE
|
||||||
|
%doc README.md
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user