commit python-node-semver for openSUSE:Factory

2020-03-30 Thread root
Hello community,

here is the log from the commit of package python-node-semver for 
openSUSE:Factory checked in at 2020-03-30 23:05:46

Comparing /work/SRC/openSUSE:Factory/python-node-semver (Old)
 and  /work/SRC/openSUSE:Factory/.python-node-semver.new.3160 (New)


Package is "python-node-semver"

Mon Mar 30 23:05:46 2020 rev:7 rq:789761 version:0.8.0

Changes:

--- /work/SRC/openSUSE:Factory/python-node-semver/python-node-semver.changes
2019-10-07 14:14:27.678832954 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-node-semver.new.3160/python-node-semver.changes
  2020-03-30 23:05:55.604262765 +0200
@@ -1,0 +2,6 @@
+Mon Mar 30 10:49:12 UTC 2020 - pgaj...@suse.com
+
+- version update to 0.8.0
+  * handle 4-digit version correctly (#35)
+
+---

Old:

  python-node-semver-0.7.0.tar.gz

New:

  python-node-semver-0.8.0.tar.gz



Other differences:
--
++ python-node-semver.spec ++
--- /var/tmp/diff_new_pack.6siPSQ/_old  2020-03-30 23:05:56.564263312 +0200
+++ /var/tmp/diff_new_pack.6siPSQ/_new  2020-03-30 23:05:56.568263315 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-node-semver
 #
-# 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 @@
 %define skip_python2 1
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-node-semver
-Version:0.7.0
+Version:0.8.0
 Release:0
 Summary:Port of node-semver
 License:MIT
@@ -50,7 +50,7 @@
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
-%python_exec setup.py test
+%pytest
 
 %files %{python_files}
 %license LICENSE

++ python-node-semver-0.7.0.tar.gz -> python-node-semver-0.8.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-semver-0.7.0/CHANGES.txt 
new/python-semver-0.8.0/CHANGES.txt
--- old/python-semver-0.7.0/CHANGES.txt 2019-08-12 14:02:25.0 +0200
+++ new/python-semver-0.8.0/CHANGES.txt 2019-11-30 05:54:06.0 +0100
@@ -1,6 +1,10 @@
+0.8.0
+
+- handle 4-digit version correctly (#35)
+
 0.7.0
 
-Include tests in source distributions (#31)
+- include tests in source distributions (#31)
 
 0.6.0
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-semver-0.7.0/Makefile 
new/python-semver-0.8.0/Makefile
--- old/python-semver-0.7.0/Makefile2019-08-12 14:02:25.0 +0200
+++ new/python-semver-0.8.0/Makefile2019-11-30 05:54:06.0 +0100
@@ -1,9 +1,13 @@
-DST=README.rst
-default:
-   echo semver > ${DST}
-   echo = >> ${DST}
-   echo "" >> ${DST}
-   echo "python version of 
[node-semver](https://github.com/isaacs/node-semver)" >> ${DST}
-   echo "" >> ${DST}
-   echo ".. code:: python\n" >> ${DST}
-   cat ./demo.py | gsed 's/^\(.\)/   \1/g' >> ${DST}
+test:
+   python setup.py test
+
+# DST=README.rst
+# SED=$(shell which gsed 2>/dev/null || which sed)
+# default:
+#  echo semver > ${DST}
+#  echo = >> ${DST}
+#  echo "" >> ${DST}
+#  echo "python version of 
[node-semver](https://github.com/isaacs/node-semver)" >> ${DST}
+#  echo "" >> ${DST}
+#  echo ".. code:: python\n" >> ${DST}
+#  cat ./examples/readme.py | $(SED) 's/^\(.\)/   \1/g' >> ${DST}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-semver-0.7.0/README.rst 
new/python-semver-0.8.0/README.rst
--- old/python-semver-0.7.0/README.rst  2019-08-12 14:02:25.0 +0200
+++ new/python-semver-0.8.0/README.rst  2019-11-30 05:54:06.0 +0100
@@ -18,7 +18,6 @@
 
 .. code-block:: python
 
-   # -*- coding:utf-8 -*-
from semver import max_satisfying
 
versions = ['1.2.3', '1.2.4', '1.2.5', '1.2.6', '2.0.1']
@@ -38,4 +37,4 @@
versions = ['1.2.3', '1.2.4', '1.2.5', '1.2.6-pre.1', '2.0.1']
range_ = '~1.2.3'
assert max_satisfying(versions, range_, loose=False, 
include_prerelease=True) == '1.2.6-pre.1'
-   assert max_satisfying(versions, range_, loose=False, 
include_prerelease=False) == '1.2.5'
\ No newline at end of file
+   assert max_satisfying(versions, range_, loose=False, 
include_prerelease=False) == '1.2.5'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-semver-0.7.0/semver/__init__.py 
new/python-semver-0.8.0/semver/__init__.py
--- old/python-semver-0.7.0/semver/__init__.py  2019-08-12 14:02:25.0 
+0200
+++ n

commit python-node-semver for openSUSE:Factory

2019-10-07 Thread root
Hello community,

here is the log from the commit of package python-node-semver for 
openSUSE:Factory checked in at 2019-10-07 13:49:01

Comparing /work/SRC/openSUSE:Factory/python-node-semver (Old)
 and  /work/SRC/openSUSE:Factory/.python-node-semver.new.2352 (New)


Package is "python-node-semver"

Mon Oct  7 13:49:01 2019 rev:6 rq:735621 version:0.7.0

Changes:

--- /work/SRC/openSUSE:Factory/python-node-semver/python-node-semver.changes
2019-08-13 20:45:12.455046147 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-node-semver.new.2352/python-node-semver.changes
  2019-10-07 14:14:27.678832954 +0200
@@ -1,0 +2,5 @@
+Thu Oct  3 10:27:14 UTC 2019 - John Vandenberg 
+
+- Add Conflicts: python-semver
+
+---



Other differences:
--
++ python-node-semver.spec ++
--- /var/tmp/diff_new_pack.t4DCSB/_old  2019-10-07 14:14:28.038831966 +0200
+++ /var/tmp/diff_new_pack.t4DCSB/_new  2019-10-07 14:14:28.042831956 +0200
@@ -31,6 +31,8 @@
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
+# See https://github.com/k-bx/python-semver/issues/67 for why conflicts is 
needed
+Conflicts:  python-semver
 BuildArch:  noarch
 %python_subpackages
 




commit python-node-semver for openSUSE:Factory

2019-08-13 Thread root
Hello community,

here is the log from the commit of package python-node-semver for 
openSUSE:Factory checked in at 2019-08-13 20:45:12

Comparing /work/SRC/openSUSE:Factory/python-node-semver (Old)
 and  /work/SRC/openSUSE:Factory/.python-node-semver.new.9556 (New)


Package is "python-node-semver"

Tue Aug 13 20:45:12 2019 rev:5 rq:723101 version:0.7.0

Changes:

--- /work/SRC/openSUSE:Factory/python-node-semver/python-node-semver.changes
2019-01-11 14:06:36.955732018 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-node-semver.new.9556/python-node-semver.changes
  2019-08-13 20:45:12.455046147 +0200
@@ -1,0 +2,6 @@
+Tue Aug 13 14:41:23 UTC 2019 - Martin Pluskal 
+
+- Update to version 0.7.0:
+  * Include tests in source distributions
+
+---

Old:

  python-node-semver-0.6.1.tar.gz

New:

  python-node-semver-0.7.0.tar.gz



Other differences:
--
++ python-node-semver.spec ++
--- /var/tmp/diff_new_pack.6OKAYw/_old  2019-08-13 20:45:13.019045983 +0200
+++ /var/tmp/diff_new_pack.6OKAYw/_new  2019-08-13 20:45:13.023045982 +0200
@@ -19,7 +19,7 @@
 %define skip_python2 1
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-node-semver
-Version:0.6.1
+Version:0.7.0
 Release:0
 Summary:Port of node-semver
 License:MIT

++ python-node-semver-0.6.1.tar.gz -> python-node-semver-0.7.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-semver-0.6.1/.gitignore 
new/python-semver-0.7.0/.gitignore
--- old/python-semver-0.6.1/.gitignore  2018-11-24 12:55:18.0 +0100
+++ new/python-semver-0.7.0/.gitignore  2019-08-12 14:02:25.0 +0200
@@ -52,3 +52,5 @@
 # Sphinx documentation
 docs/_build/
 
+# misc
+node_modules
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-semver-0.6.1/CHANGES.txt 
new/python-semver-0.7.0/CHANGES.txt
--- old/python-semver-0.6.1/CHANGES.txt 2018-11-24 12:55:18.0 +0100
+++ new/python-semver-0.7.0/CHANGES.txt 2019-08-12 14:02:25.0 +0200
@@ -1,3 +1,7 @@
+0.7.0
+
+Include tests in source distributions (#31)
+
 0.6.0
 
 - more strict error handling (InvalidTypeIncluded is added)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-semver-0.6.1/MANIFEST.in 
new/python-semver-0.7.0/MANIFEST.in
--- old/python-semver-0.6.1/MANIFEST.in 1970-01-01 01:00:00.0 +0100
+++ new/python-semver-0.7.0/MANIFEST.in 2019-08-12 14:02:25.0 +0200
@@ -0,0 +1,4 @@
+graft examples
+graft semver/tests
+global-exclude __pycache__
+global-exclude *.py[co]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-semver-0.6.1/setup.py 
new/python-semver-0.7.0/setup.py
--- old/python-semver-0.6.1/setup.py2018-11-24 12:55:18.0 +0100
+++ new/python-semver-0.7.0/setup.py2019-08-12 14:02:25.0 +0200
@@ -4,14 +4,15 @@
 import sys
 
 from setuptools import setup, find_packages
+
 here = os.path.abspath(os.path.dirname(__file__))
 try:
-with open(os.path.join(here, 'README.rst')) as f:
+with open(os.path.join(here, "README.rst")) as f:
 README = f.read()
-with open(os.path.join(here, 'CHANGES.txt')) as f:
+with open(os.path.join(here, "CHANGES.txt")) as f:
 CHANGES = f.read()
 except IOError:
-README = CHANGES = ''
+README = CHANGES = ""
 
 install_requires = []
 
@@ -31,20 +32,21 @@
 
 def run_tests(self):
 import pytest
+
 pytest.main(self.test_args)
 
 
 setup(
-name='node-semver',
-version='0.6.1',
-description='port of node-semver',
-long_description=README + '\n\n' + CHANGES,
+name="node-semver",
+version="0.7.0",
+description="port of node-semver",
+long_description=README + "\n\n" + CHANGES,
 classifiers=[
 "Programming Language :: Python",
-'Programming Language :: Python :: 3',
+"Programming Language :: Python :: 3",
 "Programming Language :: Python :: Implementation :: CPython",
 ],
-keywords='version semver',
+keywords="version semver",
 author="podhmo",
 author_email="ababjam61+git...@gmail.com",
 url="https://github.com/podhmo/python-semver";,
@@ -52,12 +54,9 @@
 include_package_data=True,
 zip_safe=False,
 install_requires=install_requires,
-extras_require={
-'testing': testing_extras,
-'docs': docs_extras,
-},
+extras_require={"testing": testing_extras, "docs": docs_extras},
 tests_require=tests_require,
-cmdclass={'test': PyTest},
+cmdclass={"test": P

commit python-node-semver for openSUSE:Factory

2019-01-11 Thread root
Hello community,

here is the log from the commit of package python-node-semver for 
openSUSE:Factory checked in at 2019-01-11 14:05:34

Comparing /work/SRC/openSUSE:Factory/python-node-semver (Old)
 and  /work/SRC/openSUSE:Factory/.python-node-semver.new.28833 (New)


Package is "python-node-semver"

Fri Jan 11 14:05:34 2019 rev:4 rq:664383 version:0.6.1

Changes:

--- /work/SRC/openSUSE:Factory/python-node-semver/python-node-semver.changes
2018-10-12 13:11:00.435273033 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-node-semver.new.28833/python-node-semver.changes
 2019-01-11 14:06:36.955732018 +0100
@@ -1,0 +2,10 @@
+Thu Jan 10 13:48:13 UTC 2019 - Martin Pluskal 
+
+- Update to version 0.6.0:
+  * more strict error handling (InvalidTypeIncluded is added)
+- Changes for version 0.5.1:
+  * bug fix
+- Changes for version 0.5.0:
+  * include_prerelease option is added
+
+---

Old:

  python-node-semver-0.4.2.tar.gz

New:

  python-node-semver-0.6.1.tar.gz



Other differences:
--
++ python-node-semver.spec ++
--- /var/tmp/diff_new_pack.yz3fyc/_old  2019-01-11 14:06:37.407731563 +0100
+++ /var/tmp/diff_new_pack.yz3fyc/_new  2019-01-11 14:06:37.415731556 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-node-semver
 #
-# 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
@@ -19,7 +19,7 @@
 %define skip_python2 1
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-node-semver
-Version:0.4.2
+Version:0.6.1
 Release:0
 Summary:Port of node-semver
 License:MIT

++ python-node-semver-0.4.2.tar.gz -> python-node-semver-0.6.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-semver-0.4.2/CHANGES.txt 
new/python-semver-0.6.1/CHANGES.txt
--- old/python-semver-0.4.2/CHANGES.txt 2018-09-28 20:10:19.0 +0200
+++ new/python-semver-0.6.1/CHANGES.txt 2018-11-24 12:55:18.0 +0100
@@ -1,3 +1,15 @@
+0.6.0
+
+- more strict error handling (InvalidTypeIncluded is added)
+
+0.5.1
+
+- bug fix
+
+0.5.0
+
+- include_prerelease option is added
+
 0.4.2
 
 - fix bug for support 4-digit (handling prelease and build)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-semver-0.4.2/README.rst 
new/python-semver-0.6.1/README.rst
--- old/python-semver-0.4.2/README.rst  2018-09-28 20:10:19.0 +0200
+++ new/python-semver-0.6.1/README.rst  2018-11-24 12:55:18.0 +0100
@@ -34,3 +34,8 @@
(max_satisfying(versions, range_, loose=False) == '2.0.0')
except ValueError as e:
assert e.args[0] == "Invalid Version: 2.0.0b1"
+
+   versions = ['1.2.3', '1.2.4', '1.2.5', '1.2.6-pre.1', '2.0.1']
+   range_ = '~1.2.3'
+   assert max_satisfying(versions, range_, loose=False, 
include_prerelease=True) == '1.2.6-pre.1'
+   assert max_satisfying(versions, range_, loose=False, 
include_prerelease=False) == '1.2.5'
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-semver-0.4.2/examples/readme.py 
new/python-semver-0.6.1/examples/readme.py
--- old/python-semver-0.4.2/examples/readme.py  2018-09-28 20:10:19.0 
+0200
+++ new/python-semver-0.6.1/examples/readme.py  2018-11-24 12:55:18.0 
+0100
@@ -1,4 +1,11 @@
 # -*- coding:utf-8 -*-
+from semver import satisfies
+
+assert satisfies("1.2.3-dev.1+abc", ">1.1.0 <2.0.0", include_prerelease=True)
+assert not satisfies("1.2.3-dev.1+abc", ">1.1.0 <2.0.0", 
include_prerelease=False)
+assert satisfies("1.2.3", ">1.1 <2.0")
+
+
 from semver import max_satisfying
 
 versions = ['1.2.3', '1.2.4', '1.2.5', '1.2.6', '2.0.1']
@@ -14,3 +21,9 @@
 (max_satisfying(versions, range_, loose=False) == '2.0.0')
 except ValueError as e:
 assert e.args[0] == "Invalid Version: 2.0.0b1"
+
+
+versions = ['1.2.3', '1.2.4', '1.2.5', '1.2.6-pre.1', '2.0.1']
+range_ = '~1.2.3'
+assert max_satisfying(versions, range_, loose=False, include_prerelease=True) 
== '1.2.6-pre.1'
+assert max_satisfying(versions, range_, loose=False, include_prerelease=False) 
== '1.2.5'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-semver-0.4.2/semver/__init__.py 
new/python-semver-0.6.1/semver/__init__.py
--- old/python-semver-0.4.2/semver/__init__.py  2018-09-28 20:10:19.0 
+0200
+++ new/python-semver-0.6.1/semver/__init__.p

commit python-node-semver for openSUSE:Factory

2018-10-12 Thread root
Hello community,

here is the log from the commit of package python-node-semver for 
openSUSE:Factory checked in at 2018-10-12 13:10:56

Comparing /work/SRC/openSUSE:Factory/python-node-semver (Old)
 and  /work/SRC/openSUSE:Factory/.python-node-semver.new (New)


Package is "python-node-semver"

Fri Oct 12 13:10:56 2018 rev:3 rq:641274 version:0.4.2

Changes:

--- /work/SRC/openSUSE:Factory/python-node-semver/python-node-semver.changes
2018-02-09 15:53:04.535475659 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-node-semver.new/python-node-semver.changes   
2018-10-12 13:11:00.435273033 +0200
@@ -1,0 +2,7 @@
+Thu Oct 11 13:33:36 UTC 2018 - Martin Pluskal 
+
+- Update to version 0.4.2:
+  * fix bug for support 4-digit (handling prelease and build)
+  * suport 4-digit version (e.g. x.y.z.a)
+
+---

Old:

  python-node-semver-0.3.0.tar.gz

New:

  python-node-semver-0.4.2.tar.gz



Other differences:
--
++ python-node-semver.spec ++
--- /var/tmp/diff_new_pack.RyoyJj/_old  2018-10-12 13:11:00.883272397 +0200
+++ /var/tmp/diff_new_pack.RyoyJj/_new  2018-10-12 13:11:00.883272397 +0200
@@ -12,14 +12,14 @@
 # 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 skip_python2 1
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-node-semver
-Version:0.3.0
+Version:0.4.2
 Release:0
 Summary:Port of node-semver
 License:MIT
@@ -51,7 +51,8 @@
 %python_exec setup.py test
 
 %files %{python_files}
-%doc LICENSE README.rst
+%license LICENSE
+%doc README.rst
 %{python_sitelib}/*
 
 %changelog

++ python-node-semver-0.3.0.tar.gz -> python-node-semver-0.4.2.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-semver-0.3.0/.eggs/README.txt 
new/python-semver-0.4.2/.eggs/README.txt
--- old/python-semver-0.3.0/.eggs/README.txt2018-01-13 04:53:03.0 
+0100
+++ new/python-semver-0.4.2/.eggs/README.txt1970-01-01 01:00:00.0 
+0100
@@ -1,6 +0,0 @@
-This directory contains eggs that were downloaded by setuptools to build, 
test, and run plug-ins.
-
-This directory caches those eggs to prevent repeated downloads.
-
-However, it is safe to delete this directory.
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-semver-0.3.0/.travis.yml 
new/python-semver-0.4.2/.travis.yml
--- old/python-semver-0.3.0/.travis.yml 2018-01-13 04:53:03.0 +0100
+++ new/python-semver-0.4.2/.travis.yml 2018-09-28 20:10:19.0 +0200
@@ -7,7 +7,7 @@
   - "nightly"
 # command to install dependencies
 install:
-  - pip install
+  - pip install -e .
 # command to run tests
 script:
   - pytest # or py.test for Python versions 3.5 and below
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-semver-0.3.0/CHANGES.txt 
new/python-semver-0.4.2/CHANGES.txt
--- old/python-semver-0.3.0/CHANGES.txt 2018-01-13 04:53:03.0 +0100
+++ new/python-semver-0.4.2/CHANGES.txt 2018-09-28 20:10:19.0 +0200
@@ -1,3 +1,11 @@
+0.4.2
+
+- fix bug for support 4-digit (handling prelease and build)
+
+0.4.0
+
+- suport 4-digit version (e.g. x.y.z.a)
+
 0.3.0
 
 - drop python2.x support
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-semver-0.3.0/semver/__init__.py 
new/python-semver-0.4.2/semver/__init__.py
--- old/python-semver-0.3.0/semver/__init__.py  2018-01-13 04:53:03.0 
+0100
+++ new/python-semver-0.4.2/semver/__init__.py  2018-09-28 20:10:19.0 
+0200
@@ -278,7 +278,7 @@
 return None
 
 
-NUMERIC = re.compile("^\d+$")
+NUMERIC = re.compile(r"^\d+$")
 
 
 def semver(version, loose):
@@ -305,6 +305,8 @@
 logger.debug("SemVer %s, %s", version, loose)
 self.loose = loose
 self.raw = version
+self.micro_versions = []
+self.build = []
 
 m = regexp[LOOSE if loose else FULL].search(version.strip())
 if not m:
@@ -315,7 +317,29 @@
 self.minor = int(m.group(2)) if m.group(2) else 0
 self.patch = 0
 if not m.group(3):
-self.prerelease = []
+# this is not same behaviour  node's semver (see: 
https://github.com/podhmo/python-semver/issues/15)
+self.prerelease = [id for id in 
version.strip()[m.end():].split(".") if id]
+if self.prerelease a

commit python-node-semver for openSUSE:Factory

2018-02-09 Thread root
Hello community,

here is the log from the commit of package python-node-semver for 
openSUSE:Factory checked in at 2018-02-09 15:52:57

Comparing /work/SRC/openSUSE:Factory/python-node-semver (Old)
 and  /work/SRC/openSUSE:Factory/.python-node-semver.new (New)


Package is "python-node-semver"

Fri Feb  9 15:52:57 2018 rev:2 rq:574520 version:0.3.0

Changes:

--- /work/SRC/openSUSE:Factory/python-node-semver/python-node-semver.changes
2018-01-10 23:33:17.453308301 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-node-semver.new/python-node-semver.changes   
2018-02-09 15:53:04.535475659 +0100
@@ -1,0 +2,7 @@
+Fri Feb  9 08:22:03 UTC 2018 - mplus...@suse.com
+
+- Update to version 0.3.0:
+  * drop python2.x support
+  * bug fix, Add sort key function #14
+
+---

Old:

  python-node-semver-0.2.0.tar.gz

New:

  python-node-semver-0.3.0.tar.gz



Other differences:
--
++ python-node-semver.spec ++
--- /var/tmp/diff_new_pack.jvbUHX/_old  2018-02-09 15:53:06.031421926 +0100
+++ /var/tmp/diff_new_pack.jvbUHX/_new  2018-02-09 15:53:06.035421783 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-node-semver
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 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
@@ -16,16 +16,17 @@
 #
 
 
+%define skip_python2 1
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-node-semver
-Version:0.2.0
+Version:0.3.0
 Release:0
 Summary:Port of node-semver
 License:MIT
 Group:  Development/Languages/Python
-Url:https://github.com/podhmo/python-semver
+URL:https://github.com/podhmo/python-semver
 Source: 
https://github.com/podhmo/python-semver/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
-BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module base}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes

++ python-node-semver-0.2.0.tar.gz -> python-node-semver-0.3.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-semver-0.2.0/.travis.yml 
new/python-semver-0.3.0/.travis.yml
--- old/python-semver-0.2.0/.travis.yml 2017-09-13 18:29:36.0 +0200
+++ new/python-semver-0.3.0/.travis.yml 2018-01-13 04:53:03.0 +0100
@@ -1,6 +1,5 @@
 language: python
 python:
-  - "2.7"
   - "3.4"
   - "3.5"
   - "3.6"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-semver-0.2.0/CHANGES.txt 
new/python-semver-0.3.0/CHANGES.txt
--- old/python-semver-0.2.0/CHANGES.txt 2017-09-13 18:29:36.0 +0200
+++ new/python-semver-0.3.0/CHANGES.txt 2018-01-13 04:53:03.0 +0100
@@ -1 +1,4 @@
+0.3.0
 
+- drop python2.x support
+- bug fix, Add sort key function #14
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-semver-0.2.0/README.rst 
new/python-semver-0.3.0/README.rst
--- old/python-semver-0.2.0/README.rst  2017-09-13 18:29:36.0 +0200
+++ new/python-semver-0.3.0/README.rst  2018-01-13 04:53:03.0 +0100
@@ -6,7 +6,17 @@
 
 python version of [node-semver](https://github.com/isaacs/node-semver)
 
-.. code:: python
+install
+
+
+.. code-block:: console
+
+   pip install node-semver
+
+examples
+
+
+.. code-block:: python
 
# -*- coding:utf-8 -*-
from semver import max_satisfying
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-semver-0.2.0/demo.py 
new/python-semver-0.3.0/demo.py
--- old/python-semver-0.2.0/demo.py 2017-09-13 18:29:36.0 +0200
+++ new/python-semver-0.3.0/demo.py 1970-01-01 01:00:00.0 +0100
@@ -1,16 +0,0 @@
-# -*- coding:utf-8 -*-
-from semver import max_satisfying
-
-versions = ['1.2.3', '1.2.4', '1.2.5', '1.2.6', '2.0.1']
-range_ = '~1.2.3'
-assert max_satisfying(versions, range_, loose=False) == '1.2.6'
-
-
-versions = ['1.1.0', '1.2.0', '1.2.1', '1.3.0', '2.0.0b1', '2.0.0b2', 
'2.0.0b3', '2.0.0', '2.1.0']
-range_ = '~2.0.0'
-assert max_satisfying(versions, range_, loose=True) == '2.0.0'
-
-try:
-(max_satisfying(versions, range_, loose=False) == '2.0.0')
-except ValueError as e:
-assert e.args[0] == "Invalid Version: 2.0.0b1"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-s

commit python-node-semver for openSUSE:Factory

2018-01-10 Thread root
Hello community,

here is the log from the commit of package python-node-semver for 
openSUSE:Factory checked in at 2018-01-10 23:33:07

Comparing /work/SRC/openSUSE:Factory/python-node-semver (Old)
 and  /work/SRC/openSUSE:Factory/.python-node-semver.new (New)


Package is "python-node-semver"

Wed Jan 10 23:33:07 2018 rev:1 rq:559893 version:0.2.0

Changes:

New Changes file:

--- /dev/null   2018-01-05 12:14:39.755488130 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-node-semver.new/python-node-semver.changes   
2018-01-10 23:33:17.453308301 +0100
@@ -0,0 +1,15 @@
+---
+Mon Dec 25 21:53:07 UTC 2017 - mplus...@suse.com
+
+- Use github source
+- Run tests
+
+---
+Mon Dec 25 19:24:25 UTC 2017 - mplus...@suse.com
+
+- Cleanup specfile
+
+---
+Wed Oct 25 21:23:15 UTC 2017 - dan.weather...@cantab.net
+
+- generate package from pyPI using py2pack

New:

  python-node-semver-0.2.0.tar.gz
  python-node-semver.changes
  python-node-semver.spec



Other differences:
--
++ python-node-semver.spec ++
#
# spec file for package python-node-semver
#
# Copyright (c) 2017 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
# 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.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name:   python-node-semver
Version:0.2.0
Release:0
Summary:Port of node-semver
License:MIT
Group:  Development/Languages/Python
Url:https://github.com/podhmo/python-semver
Source: 
https://github.com/podhmo/python-semver/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires:  %{python_module devel}
BuildRequires:  %{python_module pytest}
BuildRequires:  %{python_module setuptools}
BuildRequires:  fdupes
BuildRequires:  python-rpm-macros
BuildArch:  noarch
%python_subpackages

%description
python version of node-semver (https://github.com/isaacs/node-semver)

%prep
%setup -q -n python-semver-%{version}

%build
%python_build

%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}

%check
%python_exec setup.py test

%files %{python_files}
%doc LICENSE README.rst
%{python_sitelib}/*

%changelog