commit python-dephell-links for openSUSE:Factory

2020-03-04 Thread root
Hello community,

here is the log from the commit of package python-dephell-links for 
openSUSE:Factory checked in at 2020-03-04 09:46:23

Comparing /work/SRC/openSUSE:Factory/python-dephell-links (Old)
 and  /work/SRC/openSUSE:Factory/.python-dephell-links.new.26092 (New)


Package is "python-dephell-links"

Wed Mar  4 09:46:23 2020 rev:3 rq:781229 version:0.1.5

Changes:

--- 
/work/SRC/openSUSE:Factory/python-dephell-links/python-dephell-links.changes
2019-09-13 15:05:10.673258528 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-dephell-links.new.26092/python-dephell-links.changes
 2020-03-04 09:47:00.154165035 +0100
@@ -1,0 +2,6 @@
+Tue Mar  3 15:17:51 CET 2020 - Matej Cepl 
+
+- Upgrade to 0.1.5:
+  - Fix path-like links for cygwin-like paths on Windows
+
+---

Old:

  dephell_links-0.1.4.tar.gz

New:

  dephell_links-0.1.5.tar.gz



Other differences:
--
++ python-dephell-links.spec ++
--- /var/tmp/diff_new_pack.c0WPpl/_old  2020-03-04 09:47:01.854166054 +0100
+++ /var/tmp/diff_new_pack.c0WPpl/_new  2020-03-04 09:47:01.858166056 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-dephell-links
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,7 +19,7 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define skip_python2 1
 Name:   python-dephell-links
-Version:0.1.4
+Version:0.1.5
 Release:0
 Summary:Dephell library to parse dependency links
 License:MIT

++ dephell_links-0.1.4.tar.gz -> dephell_links-0.1.5.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/dephell_links-0.1.4/PKG-INFO 
new/dephell_links-0.1.5/PKG-INFO
--- old/dephell_links-0.1.4/PKG-INFO1970-01-01 01:00:00.0 +0100
+++ new/dephell_links-0.1.5/PKG-INFO1970-01-01 01:00:00.0 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: dephell-links
-Version: 0.1.4
+Version: 0.1.5
 Summary: Parse dependency links
 Project-URL: Repository, https://github.com/dephell/dephell_links
 Author: Gram
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/dephell_links-0.1.4/dephell_links/__init__.py 
new/dephell_links-0.1.5/dephell_links/__init__.py
--- old/dephell_links-0.1.4/dephell_links/__init__.py   2019-04-19 
11:38:02.0 +0200
+++ new/dephell_links-0.1.5/dephell_links/__init__.py   2019-12-30 
15:18:57.0 +0100
@@ -4,6 +4,7 @@
 from ._unknown import UnknownLink
 from ._url import URLLink
 from ._vcs import VCSLink
+from ._constants import IS_WINDOWS
 
 
 __all__ = [
@@ -13,4 +14,5 @@
 'UnknownLink',
 'URLLink',
 'VCSLink',
+'IS_WINDOWS',
 ]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/dephell_links-0.1.4/dephell_links/_constants.py 
new/dephell_links-0.1.5/dephell_links/_constants.py
--- old/dephell_links-0.1.4/dephell_links/_constants.py 1970-01-01 
01:00:00.0 +0100
+++ new/dephell_links-0.1.5/dephell_links/_constants.py 2019-12-30 
15:18:57.0 +0100
@@ -0,0 +1,6 @@
+# built-in
+import os
+import platform
+
+
+IS_WINDOWS = (os.name == 'nt') or (platform.system() == 'Windows')
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/dephell_links-0.1.4/dephell_links/_path.py 
new/dephell_links-0.1.5/dephell_links/_path.py
--- old/dephell_links-0.1.4/dephell_links/_path.py  2019-04-19 
11:38:02.0 +0200
+++ new/dephell_links-0.1.5/dephell_links/_path.py  2019-12-30 
15:18:57.0 +0100
@@ -6,6 +6,7 @@
 
 # app
 from ._cached_property import cached_property
+from ._constants import IS_WINDOWS
 
 
 class _PathLink:
@@ -17,7 +18,10 @@
 def parse(cls, link) -> Optional['_PathLink']:
 if '@' in link:
 return None
-if link.startswith('file://'):
+if IS_WINDOWS and link.startswith('file:///'):
+# cygwin-like absolute paths (file:///c:/foo/bar)
+link = link[len('file:///'):]
+elif link.startswith('file://'):
 link = link[len('file://'):]
 if '://' in link:
 return None
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/dephell_links-0.1.4/dephell_links.egg-info/PKG-INFO 
new/dephell_links-0.1.5/dephell_links.egg-info/PKG-INFO
--- old/dephell_links-0.1.4/dephell_links.egg-info/PKG-INFO 1970-01-01 
01:00:00.0 +0100
+++ 

commit python-dephell-links for openSUSE:Factory

2019-09-13 Thread root
Hello community,

here is the log from the commit of package python-dephell-links for 
openSUSE:Factory checked in at 2019-09-13 15:03:45

Comparing /work/SRC/openSUSE:Factory/python-dephell-links (Old)
 and  /work/SRC/openSUSE:Factory/.python-dephell-links.new.7948 (New)


Package is "python-dephell-links"

Fri Sep 13 15:03:45 2019 rev:2 rq:730647 version:0.1.4

Changes:

--- 
/work/SRC/openSUSE:Factory/python-dephell-links/python-dephell-links.changes
2019-08-13 13:26:43.657332125 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-dephell-links.new.7948/python-dephell-links.changes
  2019-09-13 15:05:10.673258528 +0200
@@ -1,0 +2,6 @@
+Fri Sep 13 09:13:05 UTC 2019 - Tomáš Chvátal 
+
+- Update to 0.1.4:
+  * ship tests
+
+---

Old:

  dephell_links-0.1.3.tar.gz

New:

  dephell_links-0.1.4.tar.gz



Other differences:
--
++ python-dephell-links.spec ++
--- /var/tmp/diff_new_pack.164oGK/_old  2019-09-13 15:05:11.729258304 +0200
+++ /var/tmp/diff_new_pack.164oGK/_new  2019-09-13 15:05:11.733258303 +0200
@@ -12,29 +12,30 @@
 # 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/
+#
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define skip_python2 1
 Name:   python-dephell-links
-Version:0.1.3
+Version:0.1.4
 Release:0
-License:MIT
 Summary:Dephell library to parse dependency links
-Url:https://github.com/dephell/dephell-links
+License:MIT
 Group:  Development/Languages/Python
-Source: 
https://files.pythonhosted.org/packages/source/d/dephell-links/dephell_links-%{version}.tar.gz
-BuildRequires:  python-rpm-macros
+URL:https://github.com/dephell/dephell_links
+Source: 
https://files.pythonhosted.org/packages/source/d/dephell_links/dephell_links-%{version}.tar.gz
 BuildRequires:  %{python_module base >= 3.5}
 BuildRequires:  %{python_module setuptools}
-# SECTION test requirements
-BuildRequires:  %{python_module attrs}
-# /SECTION
 BuildRequires:  fdupes
+BuildRequires:  python-rpm-macros
 Requires:   python-attrs
 BuildArch:  noarch
-
+# SECTION test requirements
+BuildRequires:  %{python_module attrs}
+BuildRequires:  %{python_module pytest}
+# /SECTION
 %python_subpackages
 
 %description
@@ -50,6 +51,9 @@
 %python_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
+%check
+%pytest
+
 %files %{python_files}
 %license LICENSE
 %doc README.md

++ dephell_links-0.1.3.tar.gz -> dephell_links-0.1.4.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/dephell_links-0.1.3/PKG-INFO 
new/dephell_links-0.1.4/PKG-INFO
--- old/dephell_links-0.1.3/PKG-INFO1970-01-01 01:00:00.0 +0100
+++ new/dephell_links-0.1.4/PKG-INFO1970-01-01 01:00:00.0 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
-Name: dephell_links
-Version: 0.1.3
+Name: dephell-links
+Version: 0.1.4
 Summary: Parse dependency links
 Project-URL: Repository, https://github.com/dephell/dephell_links
 Author: Gram
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/dephell_links-0.1.3/dephell_links.egg-info/PKG-INFO 
new/dephell_links-0.1.4/dephell_links.egg-info/PKG-INFO
--- old/dephell_links-0.1.3/dephell_links.egg-info/PKG-INFO 1970-01-01 
01:00:00.0 +0100
+++ new/dephell_links-0.1.4/dephell_links.egg-info/PKG-INFO 1970-01-01 
01:00:00.0 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
-Name: dephell_links
-Version: 0.1.3
+Name: dephell-links
+Version: 0.1.4
 Summary: Parse dependency links
 Project-URL: Repository, https://github.com/dephell/dephell_links
 Author: Gram
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/dephell_links-0.1.3/setup.py 
new/dephell_links-0.1.4/setup.py
--- old/dephell_links-0.1.3/setup.py2019-05-19 14:52:41.0 +0200
+++ new/dephell_links-0.1.4/setup.py2019-05-23 20:41:16.0 +0200
@@ -13,13 +13,15 @@
 
 readme = ''
 here = os.path.abspath(os.path.dirname(__file__))
-with open(os.path.join(here, 'README.rst'), 'rb') as stream:
-readme = stream.read().decode('utf8')
+readme_path = os.path.join(here, 'README.rst')
+if os.path.exists(readme_path):
+with open(readme_path, 'rb') as stream:
+readme = stream.read().decode('utf8')
 
 setup(
 long_description=readme,
 name='dephell_links',
-version='0.1.3',
+version='0.1.4',