[packages/python3-git] - updated to 3.1.27 - removed obsolete markdown patch

qboosh qboosh at pld-linux.org
Thu Apr 28 19:25:54 CEST 2022


commit a23ccc6283b9212ea01ca16ef9a422221e5e44dc
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Thu Apr 28 19:25:58 2022 +0200

    - updated to 3.1.27
    - removed obsolete markdown patch

 markdown.patch   |  9 ---------
 python3-git.spec | 42 +++++++++++++++++++++++++++---------------
 2 files changed, 27 insertions(+), 24 deletions(-)
---
diff --git a/python3-git.spec b/python3-git.spec
index f3103d2..5f4def1 100644
--- a/python3-git.spec
+++ b/python3-git.spec
@@ -6,29 +6,34 @@
 Summary:	Python Git Library
 Summary(pl.UTF-8):	Biblioteka Git dla Pythona
 Name:		python3-git
-Version:	3.1.26
-Release:	3
+Version:	3.1.27
+Release:	1
 License:	BSD
 Group:		Development/Languages/Python
-#Source0Download: https://github.com/gitpython-developers/GitPython/releases
+#Source0Download: https://github.com/gitpython-developers/GitPython/tags
 Source0:	https://github.com/gitpython-developers/GitPython/archive/%{version}/GitPython-%{version}.tar.gz
-# Source0-md5:	64aa168043fa344ae0dda9e0e969600a
-Patch0:		markdown.patch
+# Source0-md5:	105eaf93318203fb4ca447cb6bb77878
 URL:		https://pypi.org/project/GitPython/
-BuildRequires:	python3-modules >= 1:3.4
+# python 3.7 requires additionally typing-extensions>=3.7.4.3
+BuildRequires:	python3-modules >= 1:3.8
 BuildRequires:	python3-setuptools
 %if %{with tests}
 BuildRequires:	python3-ddt >= 1.1.1
-BuildRequires:	python3-gitdb >= 2.0.0
+BuildRequires:	python3-gitdb >= 4.0.1
+BuildRequires:	python3-gitdb < 5
+BuildRequires:	python3-pytest
+BuildRequires:	python3-pytest-cov
+BuildRequires:	python3-pytest-sugar
 %endif
 BuildRequires:	rpm-pythonprov
 BuildRequires:	rpmbuild(macros) >= 1.714
 %if %{with doc}
-BuildRequires:	python3-gitdb
-BuildRequires:	sphinx-pdg
+#BuildRequires:	python3-sphinx_autodoc_typehints
+BuildRequires:	python3-gitdb >= 4.0.1
+BuildRequires:	python3-sphinx_rtd_theme
+BuildRequires:	sphinx-pdg >= 4.3.0
 %endif
-Requires:	python3-modules >= 1:3.4
-Obsoletes:	GitPython
+Requires:	python3-modules >= 1:3.8
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -65,13 +70,20 @@ Dokumentacja API biblioteki GitPython.
 
 %prep
 %setup -q -n GitPython-%{version}
-%patch0 -p1
 
 %build
-%py3_build %{?with_tests:test}
+%py3_build
+
+%if %{with tests}
+PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
+PYTEST_PLUGINS=pytest_cov.plugin,pytest_sugar \
+%{__python3} -m pytest test
+%endif
 
 %if %{with doc}
-%{__make} -C doc html
+# disable -W, there are two "Actor" symbols
+%{__make} -C doc html \
+	SPHINXOPTS=
 %endif
 
 %install
@@ -84,7 +96,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS CHANGES LICENSE README.md
+%doc AUTHORS CHANGES LICENSE README.md SECURITY.md
 %dir %{py3_sitescriptdir}/git
 %{py3_sitescriptdir}/git/*.py
 %{py3_sitescriptdir}/git/index
diff --git a/markdown.patch b/markdown.patch
deleted file mode 100644
index f49ea74..0000000
--- a/markdown.patch
+++ /dev/null
@@ -1,9 +0,0 @@
---- GitPython-3.1.26/doc/source/changes.rst~	2022-01-10 14:10:34.000000000 +0100
-+++ GitPython-3.1.26/doc/source/changes.rst	2022-01-13 13:43:47.530792463 +0100
-@@ -1,5 +1,6 @@
- =========
- Changelog
-+=========
- 
- 3.1.26
- ======
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-git.git/commitdiff/a23ccc6283b9212ea01ca16ef9a422221e5e44dc



More information about the pld-cvs-commit mailing list