2011-06-07 14:02:16 +02:00
|
|
|
#
|
|
|
|
# spec file for package python-dulwich
|
|
|
|
#
|
Accepting request 451239 from devel:languages:python
- update to 0.16.3:
IMPROVEMENTS
* Fixed failing test-cases on windows.
(Koen Martens)
* Add support for worktrees. See `git-worktree(1)` and
`gitrepository-layout(5)`. (Laurent Rineau)
* Add support for `commondir` file in Git control
directories. (Laurent Rineau)
* Add support for passwords in HTTP URLs.
(Jon Bain, Mika Mäenpää)
* Add `release_robot` script to contrib,
allowing easy finding of current version based on Git tags.
(Mark Mikofski)
* Add ``Blob.splitlines`` method.
(Jelmer Vernooij)
* Add `dulwich.config.parse_submodules` function.
* Add `RefsContainer.follow` method. (#438)
* Support `ssh://` URLs in get_transport_and_path_from_url().
(Jelmer Vernooij, #402)
* Support missing empty line after headers in Git commits and tags.
(Nicolas Dandrimont, #413)
* Fix `dulwich.porcelain.status` when used in empty trees.
(Jelmer Vernooij, #415)
* Return copies of objects in MemoryObjectStore rather than
references, making the behaviour more consistent with that of
DiskObjectStore. (Félix Mattrat, Jelmer Vernooij)
* Fix ``dulwich.web`` on Python3. (#295, Jonas Haag)
* Many bugfixes, see NEWS file for details
CHANGES
* Changed license from "GNU General Public License, version 2.0 or later"
OBS-URL: https://build.opensuse.org/request/show/451239
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-dulwich?expand=0&rev=19
2017-01-25 23:26:33 +01:00
|
|
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
2011-06-07 14:02:16 +02:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
2011-07-19 15:01:44 +02:00
|
|
|
|
2011-06-07 14:02:16 +02:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2011-07-19 15:01:44 +02:00
|
|
|
|
2017-08-13 14:58:03 +02:00
|
|
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
2011-07-19 15:01:36 +02:00
|
|
|
Name: python-dulwich
|
2017-08-13 14:58:03 +02:00
|
|
|
Version: 0.17.3
|
2011-09-26 10:14:21 +02:00
|
|
|
Release: 0
|
2016-01-01 19:47:17 +01:00
|
|
|
Url: https://www.dulwich.io
|
2011-06-07 14:02:16 +02:00
|
|
|
Summary: Pure-Python Git Library
|
Accepting request 451239 from devel:languages:python
- update to 0.16.3:
IMPROVEMENTS
* Fixed failing test-cases on windows.
(Koen Martens)
* Add support for worktrees. See `git-worktree(1)` and
`gitrepository-layout(5)`. (Laurent Rineau)
* Add support for `commondir` file in Git control
directories. (Laurent Rineau)
* Add support for passwords in HTTP URLs.
(Jon Bain, Mika Mäenpää)
* Add `release_robot` script to contrib,
allowing easy finding of current version based on Git tags.
(Mark Mikofski)
* Add ``Blob.splitlines`` method.
(Jelmer Vernooij)
* Add `dulwich.config.parse_submodules` function.
* Add `RefsContainer.follow` method. (#438)
* Support `ssh://` URLs in get_transport_and_path_from_url().
(Jelmer Vernooij, #402)
* Support missing empty line after headers in Git commits and tags.
(Nicolas Dandrimont, #413)
* Fix `dulwich.porcelain.status` when used in empty trees.
(Jelmer Vernooij, #415)
* Return copies of objects in MemoryObjectStore rather than
references, making the behaviour more consistent with that of
DiskObjectStore. (Félix Mattrat, Jelmer Vernooij)
* Fix ``dulwich.web`` on Python3. (#295, Jonas Haag)
* Many bugfixes, see NEWS file for details
CHANGES
* Changed license from "GNU General Public License, version 2.0 or later"
OBS-URL: https://build.opensuse.org/request/show/451239
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-dulwich?expand=0&rev=19
2017-01-25 23:26:33 +01:00
|
|
|
License: GPL-2.0+ or Apache-2.0
|
2011-06-07 14:02:16 +02:00
|
|
|
Group: Development/Languages/Python
|
2017-05-17 10:54:12 +02:00
|
|
|
Source0: https://pypi.io/packages/source/d/dulwich/dulwich-%{version}.tar.gz
|
2017-08-13 14:58:03 +02:00
|
|
|
BuildRequires: %{python_module devel}
|
|
|
|
BuildRequires: %{python_module setuptools}
|
2016-01-01 19:47:17 +01:00
|
|
|
BuildRequires: fdupes
|
2017-08-13 14:58:03 +02:00
|
|
|
BuildRequires: python-rpm-macros
|
|
|
|
BuildRequires: python3-Sphinx
|
2016-01-20 09:54:21 +01:00
|
|
|
Requires(post): update-alternatives
|
2016-08-17 12:05:35 +02:00
|
|
|
Requires(preun): update-alternatives
|
2011-06-07 14:02:16 +02:00
|
|
|
|
2017-08-13 14:58:03 +02:00
|
|
|
%python_subpackages
|
|
|
|
|
2011-06-07 14:02:16 +02:00
|
|
|
%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.
|
|
|
|
|
2017-08-13 14:58:03 +02:00
|
|
|
%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.
|
|
|
|
|
2011-06-07 14:02:16 +02:00
|
|
|
%prep
|
2011-07-19 15:01:36 +02:00
|
|
|
%setup -q -n dulwich-%{version}
|
2011-06-07 14:02:16 +02:00
|
|
|
|
|
|
|
%build
|
2017-08-13 14:58:03 +02:00
|
|
|
export CFLAGS="%{optflags}"
|
|
|
|
%python_build
|
|
|
|
sphinx-build -b html docs/ docs/build/html
|
2011-06-07 14:02:16 +02:00
|
|
|
|
|
|
|
%install
|
2017-08-13 14:58:03 +02:00
|
|
|
%python_install
|
|
|
|
%python_expand %fdupes -s %{buildroot}%{$python_sitelib}
|
|
|
|
%python_clone -a %{buildroot}%{_bindir}/dulwich
|
|
|
|
%python_clone -a %{buildroot}%{_bindir}/dul-receive-pack
|
|
|
|
%python_clone -a %{buildroot}%{_bindir}/dul-upload-pack
|
2011-06-07 14:02:16 +02:00
|
|
|
|
2016-01-20 09:54:21 +01:00
|
|
|
%post
|
2017-08-13 14:58:03 +02:00
|
|
|
%python_install_alternative dulwich
|
|
|
|
%python_install_alternative dul-receive-pack
|
|
|
|
%python_install_alternative dul-upload-pack
|
2016-01-20 09:54:21 +01:00
|
|
|
|
2017-08-13 14:58:03 +02:00
|
|
|
%postun
|
|
|
|
%python_uninstall_alternative dulwich
|
|
|
|
%python_uninstall_alternative dul-receive-pack
|
|
|
|
%python_uninstall_alternative dul-upload-pack
|
2016-01-20 09:54:21 +01:00
|
|
|
|
2017-08-13 14:58:03 +02:00
|
|
|
%files %{python_files}
|
2011-06-07 14:02:16 +02:00
|
|
|
%defattr(-,root,root,-)
|
Accepting request 451239 from devel:languages:python
- update to 0.16.3:
IMPROVEMENTS
* Fixed failing test-cases on windows.
(Koen Martens)
* Add support for worktrees. See `git-worktree(1)` and
`gitrepository-layout(5)`. (Laurent Rineau)
* Add support for `commondir` file in Git control
directories. (Laurent Rineau)
* Add support for passwords in HTTP URLs.
(Jon Bain, Mika Mäenpää)
* Add `release_robot` script to contrib,
allowing easy finding of current version based on Git tags.
(Mark Mikofski)
* Add ``Blob.splitlines`` method.
(Jelmer Vernooij)
* Add `dulwich.config.parse_submodules` function.
* Add `RefsContainer.follow` method. (#438)
* Support `ssh://` URLs in get_transport_and_path_from_url().
(Jelmer Vernooij, #402)
* Support missing empty line after headers in Git commits and tags.
(Nicolas Dandrimont, #413)
* Fix `dulwich.porcelain.status` when used in empty trees.
(Jelmer Vernooij, #415)
* Return copies of objects in MemoryObjectStore rather than
references, making the behaviour more consistent with that of
DiskObjectStore. (Félix Mattrat, Jelmer Vernooij)
* Fix ``dulwich.web`` on Python3. (#295, Jonas Haag)
* Many bugfixes, see NEWS file for details
CHANGES
* Changed license from "GNU General Public License, version 2.0 or later"
OBS-URL: https://build.opensuse.org/request/show/451239
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-dulwich?expand=0&rev=19
2017-01-25 23:26:33 +01:00
|
|
|
%doc COPYING NEWS README.md
|
2017-08-13 14:58:03 +02:00
|
|
|
%python_alternative dulwich
|
|
|
|
%python_alternative dul-receive-pack
|
|
|
|
%python_alternative dul-upload-pack
|
Accepting request 142565 from devel:languages:python
- Update to version 0.8.6:
+ dulwich.__init__ no longer imports client, protocol, repo and
server modules. (Jelmer Vernooij)
+ ConfigDict now behaves more like a dictionary.
(Adam 'Cezar' Jenkins, issue #58)
+ HTTPGitApplication now takes an optional
fallback_app argument. (Jonas Haag, issue #67)
+ Support for large pack index files. (Jameson Nash)
+ Make index entry tests a little bit less strict, to cope with
slightly different behaviour on various platforms.
(Jelmer Vernooij)
+ setup.py test (available when setuptools is installed) now
runs all tests, not just the basic unit tests.
(Jelmer Vernooij)
+ Commit._deserialize now actually deserializes the current state rather than
the previous one. (Yifan Zhang, issue #59)
+ Handle None elements in lists of TreeChange objects. (Alex Holmes)
+ Support cloning repositories without HEAD set.
(D-Key, Jelmer Vernooij, issue #69)
+ Support MemoryRepo.get_config. (Jelmer Vernooij)
+ In get_transport_and_path, pass extra keyword arguments on to
HttpGitClient. (Jelmer Vernooij)
- Changes from version 0.8.5:
+ Avoid use of 'with' in dulwich.index. (Jelmer Vernooij)
+ Be a little bit strict about OS behaviour in index tests.
Should fix the tests on Debian GNU/kFreeBSD. (Jelmer Vernooij)
- See NEWS file for more changes
OBS-URL: https://build.opensuse.org/request/show/142565
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-dulwich?expand=0&rev=9
2012-11-25 13:28:42 +01:00
|
|
|
%{python_sitearch}/*
|
2011-06-07 14:02:16 +02:00
|
|
|
|
2017-08-13 14:58:03 +02:00
|
|
|
%files -n python-dulwich-doc
|
|
|
|
%doc COPYING docs/build/html
|
|
|
|
|
2011-06-07 14:02:16 +02:00
|
|
|
%changelog
|