commit python-configargparse for openSUSE:Leap:15.2

2020-04-25 Thread root
Hello community,

here is the log from the commit of package python-configargparse for 
openSUSE:Leap:15.2 checked in at 2020-04-25 19:06:14

Comparing /work/SRC/openSUSE:Leap:15.2/python-configargparse (Old)
 and  /work/SRC/openSUSE:Leap:15.2/.python-configargparse.new.2738 (New)


Package is "python-configargparse"

Sat Apr 25 19:06:14 2020 rev:14 rq:797130 version:1.0

Changes:

--- 
/work/SRC/openSUSE:Leap:15.2/python-configargparse/python-configargparse.changes
2020-03-13 10:59:19.164517853 +0100
+++ 
/work/SRC/openSUSE:Leap:15.2/.python-configargparse.new.2738/python-configargparse.changes
  2020-04-25 19:06:16.191748616 +0200
@@ -1,0 +2,5 @@
+Thu Apr 23 11:15:11 UTC 2020 - Tomáš Chvátal 
+
+- Fix build without python2
+
+---



Other differences:
--
++ python-configargparse.spec ++
--- /var/tmp/diff_new_pack.zbHIyF/_old  2020-04-25 19:06:16.555749399 +0200
+++ /var/tmp/diff_new_pack.zbHIyF/_new  2020-04-25 19:06:16.559749408 +0200
@@ -17,6 +17,7 @@
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%bcond_without python2
 Name:   python-configargparse
 Version:1.0
 Release:0
@@ -31,11 +32,13 @@
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-BuildRequires:  python2-devel
-BuildRequires:  python2-unittest2
 Requires:   python-PyYAML
 Requires:   python-setuptools
 BuildArch:  noarch
+%if %{with python2}
+BuildRequires:  python2-devel
+BuildRequires:  python2-unittest2
+%endif
 %python_subpackages
 
 %description




commit python-configargparse for openSUSE:Leap:15.2

2020-03-13 Thread root
Hello community,

here is the log from the commit of package python-configargparse for 
openSUSE:Leap:15.2 checked in at 2020-03-13 10:57:57

Comparing /work/SRC/openSUSE:Leap:15.2/python-configargparse (Old)
 and  /work/SRC/openSUSE:Leap:15.2/.python-configargparse.new.3160 (New)


Package is "python-configargparse"

Fri Mar 13 10:57:57 2020 rev:13 rq:783428 version:1.0

Changes:

--- 
/work/SRC/openSUSE:Leap:15.2/python-configargparse/python-configargparse.changes
2020-03-09 18:03:59.256776473 +0100
+++ 
/work/SRC/openSUSE:Leap:15.2/.python-configargparse.new.3160/python-configargparse.changes
  2020-03-13 10:59:19.164517853 +0100
@@ -1,0 +2,6 @@
+Thu Feb 20 11:25:43 UTC 2020 - Steve Kowalik 
+
+- Update to 1.0.
+  * Dash supported as first char of argument
+
+---

Old:

  ConfigArgParse-0.15.1.tar.gz

New:

  ConfigArgParse-1.0.tar.gz



Other differences:
--
++ python-configargparse.spec ++
--- /var/tmp/diff_new_pack.sn9dDs/_old  2020-03-13 10:59:19.552518130 +0100
+++ /var/tmp/diff_new_pack.sn9dDs/_new  2020-03-13 10:59:19.556518133 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-configargparse
 #
-# Copyright (c) 2019 SUSE LLC
+# 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
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-configargparse
-Version:0.15.1
+Version:1.0
 Release:0
 Summary:A drop-in replacement for argparse
 License:MIT

++ ConfigArgParse-0.15.1.tar.gz -> ConfigArgParse-1.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/ConfigArgParse-0.15.1/ConfigArgParse.egg-info/PKG-INFO 
new/ConfigArgParse-1.0/ConfigArgParse.egg-info/PKG-INFO
--- old/ConfigArgParse-0.15.1/ConfigArgParse.egg-info/PKG-INFO  2019-10-08 
16:50:55.0 +0200
+++ new/ConfigArgParse-1.0/ConfigArgParse.egg-info/PKG-INFO 2019-12-30 
06:16:29.0 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: ConfigArgParse
-Version: 0.15.1
+Version: 1.0
 Summary: A drop-in replacement for argparse that allows options to also be set 
via config files and/or environment variables.
 Home-page: https://github.com/bw2/ConfigArgParse
 License: MIT
@@ -106,7 +106,7 @@
 
 .. code:: bash
 
-python my_script.py --genome hg19 --my-config config.txt  f1.vcf  
f2.vcf
+DBSNP_PATH=/data/dbsnp/variants_v2.vcf python config_test.py 
--my-config config.txt f1.vcf f2.vcf
 
 *output:*
 
@@ -114,30 +114,36 @@
 
 .. code:: bash
 
-Namespace(dbsnp='/data/dbsnp/variants.vcf', genome='hg19', 
my_config='config.txt', vcf=['f1.vcf', 'f2.vcf'], verbose=False)
+Namespace(dbsnp='/data/dbsnp/variants_v2.vcf', genome='HCMV', 
my_config='config.txt', v=False, vcf=['f1.vcf', 'f2.vcf'])
 --
-usage: my_script.py [-h] --genome GENOME [-v] -c MY_CONFIG [-d 
DBSNP]
-vcf [vcf ...]
+usage: config_test.py [-h] -c MY_CONFIG --genome GENOME [-v] [-d 
DBSNP]
+  vcf [vcf ...]
+
 Args that start with '--' (eg. --genome) can also be set in a 
config file
-(/etc/settings.ini or /home/jeff/.my_settings or provided via -c) 
by using
-.ini or .yaml-style syntax (eg. genome=value). Command-line values 
override
-environment variables which override config file values which 
override
-defaults.
-
+(/etc/app/conf.d/*.conf or ~/.my_settings or specified via -c). 
Config file
+syntax allows: key=value, flag=true, stuff=[a,b,c] (for details, 
see syntax at
+https://goo.gl/R74nmi). If an arg is specified in more than one 
place, then
+commandline values override environment variables which override 
config file
+values which override defaults.
+
 positional arguments:
-  vcf   variant file
+  vcf   variant file(s)
+
 optional arguments:
   -h, --helpshow this help message and exit
-  --genome GENOME   path to genome file
-  -vverbose
   -c MY_CONFIG, --my-config MY_CONFIG
 config file path
+  --genome GENOME   path to genome file
+  -v  

commit python-configargparse for openSUSE:Leap:15.2

2020-03-09 Thread root
Hello community,

here is the log from the commit of package python-configargparse for 
openSUSE:Leap:15.2 checked in at 2020-03-09 18:03:58

Comparing /work/SRC/openSUSE:Leap:15.2/python-configargparse (Old)
 and  /work/SRC/openSUSE:Leap:15.2/.python-configargparse.new.26092 (New)


Package is "python-configargparse"

Mon Mar  9 18:03:58 2020 rev:12 rq:776512 version:0.15.1

Changes:

--- 
/work/SRC/openSUSE:Leap:15.2/python-configargparse/python-configargparse.changes
2020-01-15 15:47:57.443409404 +0100
+++ 
/work/SRC/openSUSE:Leap:15.2/.python-configargparse.new.26092/python-configargparse.changes
 2020-03-09 18:03:59.256776473 +0100
@@ -1,0 +2,35 @@
+Thu Nov 21 15:24:10 CET 2019 - Matej Cepl 
+
+- When setting the environmental variable COLUMNS=80
+  test case test_help_with_metavar works again.
+  gh#bw2/ConfigArgParse#146
+
+---
+Wed Oct 23 13:07:43 UTC 2019 - Marketa Calabkova 
+
+- Update to 0.15.1
+  * Drop support for EOL Python 2.6, 3.2-3.3
+  * Add Python 3.6
+  * sudo no longer needed
+  * travis: Add latest Python versions.
+  * Drop support for EOL Python 3.4
+  * Fix DeprecationWarning: invalid escape sequence \[
+- dropped skip-test.patch
+  * 
https://github.com/bw2/ConfigArgParse/commit/6267759da55c87508394314292c6c5286220d99d
+
+---
+Tue Sep 17 09:14:02 UTC 2019 - Tomáš Chvátal 
+
+- Skip failing tests that were reported upstream with no reaction
+
+---
+Fri Mar  1 13:20:35 UTC 2019 - Tomáš Chvátal 
+
+- Update to 0.14.0:
+  * Fixes for python3.6 and 3.7
+  * Various lint fixes
+- Make sure we run tests
+- add patch skip-test.patch that skips test that does not work
+  in our test enviroment
+
+---

Old:

  ConfigArgParse-0.10.0.tar.gz

New:

  ConfigArgParse-0.15.1.tar.gz



Other differences:
--
++ python-configargparse.spec ++
--- /var/tmp/diff_new_pack.E9I5rb/_old  2020-03-09 18:03:59.524776606 +0100
+++ /var/tmp/diff_new_pack.E9I5rb/_new  2020-03-09 18:03:59.528776608 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-configargparse
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,22 +12,28 @@
 # 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-%{**}}
 Name:   python-configargparse
-Version:0.10.0
+Version:0.15.1
 Release:0
 Summary:A drop-in replacement for argparse
 License:MIT
 Group:  Development/Languages/Python
-URL:https://github.com/zorro3/ConfigArgParse
+URL:https://github.com/bw2/ConfigArgParse
 Source: 
https://files.pythonhosted.org/packages/source/C/ConfigArgParse/ConfigArgParse-%{version}.tar.gz
+BuildRequires:  %{python_module PyYAML}
+BuildRequires:  %{python_module mock}
+BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
+BuildRequires:  python2-devel
+BuildRequires:  python2-unittest2
+Requires:   python-PyYAML
 Requires:   python-setuptools
 BuildArch:  noarch
 %python_subpackages
@@ -52,16 +58,18 @@
 
 %install
 %python_install
-%fdupes %{buildroot}
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
-%python_exec setup.py test
+# https://github.com/bw2/ConfigArgParse/issues/146
+export COLUMNS=80
+%pytest -k 'not (test_main or testGlobalInstances or 
testGlobalInstances_WithName or testConfigOrEnvValueErrors)'
 
 %files %{python_files}
-
+%doc README.rst
+%license LICENSE
 %{python_sitelib}/configargparse*
 %{python_sitelib}/ConfigArgParse-%{version}-py*.egg-info
 %pycache_only %{python_sitelib}/__pycache__
-%license LICENSE
 
 %changelog

++ ConfigArgParse-0.10.0.tar.gz -> ConfigArgParse-0.15.1.tar.gz ++
 2905 lines of diff (skipped)