Hello community,

here is the log from the commit of package git-deps for openSUSE:Factory 
checked in at 2020-11-04 18:24:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/git-deps (Old)
 and      /work/SRC/openSUSE:Factory/.git-deps.new.11331 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "git-deps"

Wed Nov  4 18:24:46 2020 rev:2 rq:845067 version:1.0.2+git.1559732444.7c75531

Changes:
--------
--- /work/SRC/openSUSE:Factory/git-deps/git-deps.changes        2020-07-05 
01:17:25.324851265 +0200
+++ /work/SRC/openSUSE:Factory/.git-deps.new.11331/git-deps.changes     
2020-11-04 18:25:03.505095095 +0100
@@ -1,0 +2,10 @@
+Thu Oct 29 15:48:48 UTC 2020 - Bruce Rogers <[email protected]>
+
+- Fix setup.py to correctly identify the project packages git_deps
+  and git_deps/listener. These were not being packaged and as a
+  result the git-deps command was simply failing
+- Add Fix-issue-with-unbuffered-text-I-O-under-python3.patch,
+  which fixes the issue with unbuffered text I/O under python3,
+  (gh#aspiers/git-deps#93).
+
+-------------------------------------------------------------------

New:
----
  Fix-issue-with-unbuffered-text-I-O-under-python3.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ git-deps.spec ++++++
--- /var/tmp/diff_new_pack.HXKPcL/_old  2020-11-04 18:25:04.365093122 +0100
+++ /var/tmp/diff_new_pack.HXKPcL/_new  2020-11-04 18:25:04.369093112 +0100
@@ -15,6 +15,7 @@
 # Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
+
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define skip_python2 1
 Name:           git-deps
@@ -26,13 +27,14 @@
 URL:            https://github.com/aspiers/git-deps
 Source:         %{name}-%{version}.tar.xz
 Patch0:         dont-use-st-markdown.patch
-BuildRequires:  python-rpm-macros
-BuildRequires:  fdupes
-BuildRequires:  %{python_module setuptools}
+Patch1:         Fix-issue-with-unbuffered-text-I-O-under-python3.patch
 BuildRequires:  %{python_module pip}
-BuildRequires:  %{python_module wheel}
-BuildRequires:  %{python_module six}
 BuildRequires:  %{python_module pygit2}
+BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module six}
+BuildRequires:  %{python_module wheel}
+BuildRequires:  fdupes
+BuildRequires:  python-rpm-macros
 Requires:       python-pygit2
 # for html subpackage
 Requires:       python-Flask
@@ -48,6 +50,7 @@
 
 %package html
 Summary:        Tool to analyze git deps - HTML parts
+Group:          Development/Tools/Version Control
 
 %description html
 Documentation for git-deps.

++++++ Fix-issue-with-unbuffered-text-I-O-under-python3.patch ++++++
>From 8d9a7d6dacad4a033f2a4c800ff32137e6e894da Mon Sep 17 00:00:00 2001
From: Bruce Rogers <[email protected]>
Date: Wed, 28 Oct 2020 18:09:24 -0600
Subject: [PATCH] Fix issue with unbuffered text I/O under python3

This fix is in an upstream pull request, as shown here:
https://github.com/aspiers/git-deps/pull/93/commits/6beebe034b5c6fd19d73edd774dbf424ea183fee

Signed-off-by: Bruce Rogers <[email protected]>
---
 git_deps/cli.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/git_deps/cli.py b/git_deps/cli.py
index 9e8b0ab..7882088 100755
--- a/git_deps/cli.py
+++ b/git_deps/cli.py
@@ -135,7 +135,7 @@ def main(args):
     if options.serve:
         serve(options)
     else:
-        sys.stdout = os.fdopen(sys.stdout.fileno(), 'w', 0)
+        sys.stdout = os.fdopen(sys.stdout.fileno(), 'w')
         try:
             cli(options, args)
         except InvalidCommitish as e:
-- 
2.29.0

++++++ dont-use-st-markdown.patch ++++++
--- /var/tmp/diff_new_pack.HXKPcL/_old  2020-11-04 18:25:04.429092975 +0100
+++ /var/tmp/diff_new_pack.HXKPcL/_new  2020-11-04 18:25:04.433092965 +0100
@@ -37,7 +37,7 @@
 +            "Topic :: Utilities"
 +        ],
 +        scripts = ["bin/git-fixup"],
-+        # packages = "git_deps",
++        packages = ["git_deps", "git_deps/listener"],
 +        # data_files = "share/git_deps = share/gitfile-handler.desktop",
          setup_requires=[
              'six',


Reply via email to