forked from pool/python-dulwich
Accepting request 685050 from devel:languages:python
- Update to 0.19.11: * too many changes to enumerate, see NEWS - Drop docu subpackage as it needs many more sphinx modules OBS-URL: https://build.opensuse.org/request/show/685050 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-dulwich?expand=0&rev=26
This commit is contained in:
parent
837428d4eb
commit
e866e7eba9
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:838bac318fd0ed79e0eedb6cfd53b6424dc618fec6b99dc959881b12da7bd6e0
|
||||
size 330097
|
3
dulwich-0.19.11.tar.gz
Normal file
3
dulwich-0.19.11.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:afbe070f6899357e33f63f3f3696e601731fef66c64a489dea1bc9f539f4a725
|
||||
size 364581
|
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 14 15:03:51 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Update to 0.19.11:
|
||||
* too many changes to enumerate, see NEWS
|
||||
- Drop docu subpackage as it needs many more sphinx modules
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 6 22:05:31 UTC 2017 - rjschwei@suse.com
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-dulwich
|
||||
#
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -12,59 +12,64 @@
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%define oldpython python
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-dulwich
|
||||
Version: 0.18.5
|
||||
Version: 0.19.11
|
||||
Release: 0
|
||||
Url: https://www.dulwich.io
|
||||
Summary: Pure-Python Git Library
|
||||
License: GPL-2.0-or-later OR Apache-2.0
|
||||
Group: Development/Languages/Python
|
||||
Source0: https://pypi.io/packages/source/d/dulwich/dulwich-%{version}.tar.gz
|
||||
URL: https://www.dulwich.io
|
||||
Source0: https://files.pythonhosted.org/packages/source/d/dulwich/dulwich-%{version}.tar.gz
|
||||
BuildRequires: %{python_module certifi}
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module fastimport}
|
||||
BuildRequires: %{python_module geventhttpclient}
|
||||
BuildRequires: %{python_module gevent}
|
||||
BuildRequires: %{python_module gpg}
|
||||
BuildRequires: %{python_module mock}
|
||||
BuildRequires: %{python_module setuptools >= 17.1}
|
||||
BuildRequires: %{python_module urllib3 >= 1.24.1}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: python3-Sphinx
|
||||
Requires: python-certifi
|
||||
Requires: python-fastimport
|
||||
Requires: python-gpg
|
||||
Requires: python-urllib3 >= 1.24.1
|
||||
Requires(post): update-alternatives
|
||||
Requires(preun): update-alternatives
|
||||
|
||||
Recommends: python-gevent
|
||||
Recommends: python-geventhttpclient
|
||||
Obsoletes: %{oldpython}-dulwich-doc
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
Simple Pure-Python implementation of the Git file formats and protocols. Dulwich
|
||||
is the place where Mr. and Mrs. Git live in one of the Monty Python sketches.
|
||||
|
||||
%package -n python-dulwich-doc
|
||||
Summary: Documentation for %{name}
|
||||
Group: Documentation/Other
|
||||
Provides: %{python_module dulwich-doc = %{version}}
|
||||
|
||||
%description -n python-dulwich-doc
|
||||
Simple Pure-Python implementation of the Git file formats and protocols. Dulwich
|
||||
is the place where Mr. and Mrs. Git live in one of the Monty Python sketches.
|
||||
|
||||
This package contains the documentation.
|
||||
|
||||
%prep
|
||||
%setup -q -n dulwich-%{version}
|
||||
|
||||
%build
|
||||
export CFLAGS="%{optflags}"
|
||||
%python_build
|
||||
sphinx-build -b html docs/ docs/build/html
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%python_expand %fdupes -s %{buildroot}%{$python_sitelib}
|
||||
%python_expand rm -r %{buildroot}%{$python_sitearch}/dulwich/tests
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
||||
%python_clone -a %{buildroot}%{_bindir}/dulwich
|
||||
%python_clone -a %{buildroot}%{_bindir}/dul-receive-pack
|
||||
%python_clone -a %{buildroot}%{_bindir}/dul-upload-pack
|
||||
rm docs/build/html/.doctrees/environment.pickle
|
||||
|
||||
%check
|
||||
%python_expand PYTHONPATH=%{buildroot}%{$python_sitearch} $python -m unittest dulwich.tests.test_suite
|
||||
|
||||
%post
|
||||
%python_install_alternative dulwich
|
||||
@ -77,14 +82,11 @@ rm docs/build/html/.doctrees/environment.pickle
|
||||
%python_uninstall_alternative dul-upload-pack
|
||||
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root,-)
|
||||
%doc COPYING NEWS README.md
|
||||
%license COPYING
|
||||
%doc NEWS README.rst
|
||||
%python_alternative dulwich
|
||||
%python_alternative dul-receive-pack
|
||||
%python_alternative dul-upload-pack
|
||||
%{python_sitearch}/*
|
||||
|
||||
%files -n python-dulwich-doc
|
||||
%doc COPYING docs/build/html
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user