commit python-plumbum for openSUSE:Factory

2020-04-27 Thread root
Hello community,

here is the log from the commit of package python-plumbum for openSUSE:Factory 
checked in at 2020-04-27 23:37:07

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


Package is "python-plumbum"

Mon Apr 27 23:37:07 2020 rev:5 rq:798106 version:1.6.9

Changes:

--- /work/SRC/openSUSE:Factory/python-plumbum/python-plumbum.changes
2020-03-18 12:50:36.717146742 +0100
+++ /work/SRC/openSUSE:Factory/.python-plumbum.new.2738/python-plumbum.changes  
2020-04-27 23:37:09.823381014 +0200
@@ -1,0 +2,13 @@
+Mon Apr 27 07:26:40 UTC 2020 - Tomáš Chvátal 
+
+- Add patch fixing build with no python2 available:
+  * no-python2.patch
+- Update to 1.6.9:
+  * Last version to support Python 2.6; added python_requires (#507)
+  * Paths: Fix bug with subscription operations (#498), (#506)
+  * Paths: Fix resolve (#492)
+  * Commands: Fix resolve (#491)
+  * Commands: Add context manager on popen (#495)
+  * Several smaller fixes (#500), (#505)
+
+---

Old:

  v1.6.8.tar.gz

New:

  no-python2.patch
  v1.6.9.tar.gz



Other differences:
--
++ python-plumbum.spec ++
--- /var/tmp/diff_new_pack.YS6cIS/_old  2020-04-27 23:37:10.659382646 +0200
+++ /var/tmp/diff_new_pack.YS6cIS/_new  2020-04-27 23:37:10.663382654 +0200
@@ -18,13 +18,13 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-plumbum
-Version:1.6.8
+Version:1.6.9
 Release:0
 Summary:Shell combinators library
 License:MIT
-Group:  Development/Languages/Python
 URL:https://github.com/tomerfiliba/plumbum
 Source: 
https://github.com/tomerfiliba/plumbum/archive/v%{version}.tar.gz
+Patch0: no-python2.patch
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
@@ -51,6 +51,7 @@
 
 %prep
 %setup -q -n plumbum-%{version}
+%patch0 -p1
 # remote tests won't work in OBS
 rm tests/test_remote.py
 

++ no-python2.patch ++
Index: plumbum-1.6.9/tests/test_local.py
===
--- plumbum-1.6.9.orig/tests/test_local.py
+++ plumbum-1.6.9/tests/test_local.py
@@ -966,7 +966,7 @@ class TestLocalEncoding:
 
 name = self.richstr + six.str("_program")
 with open(name, 'w') as f:
-f.write("#!/usr/bin/env python\nprint('yes')")
+f.write("#!{}\nprint('yes')".format(sys.executable))
 
 st = os.stat(name)
 os.chmod(name, st.st_mode | stat.S_IEXEC)
++ v1.6.8.tar.gz -> v1.6.9.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/plumbum-1.6.8/.ci/travis.sh 
new/plumbum-1.6.9/.ci/travis.sh
--- old/plumbum-1.6.8/.ci/travis.sh 2019-10-30 22:21:12.0 +0100
+++ new/plumbum-1.6.9/.ci/travis.sh 2020-03-23 14:25:44.0 +0100
@@ -11,7 +11,7 @@
 else
 pip install --upgrade pip
 pip install -r dev-requirements.txt
-pip install coveralls
+pip install 'coveralls;python_version>="2.7"'
 pip install -e .
 fi
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/plumbum-1.6.8/.travis.yml 
new/plumbum-1.6.9/.travis.yml
--- old/plumbum-1.6.8/.travis.yml   2019-10-30 22:21:12.0 +0100
+++ new/plumbum-1.6.9/.travis.yml   2020-03-23 14:25:44.0 +0100
@@ -13,10 +13,12 @@
 env: PYV=3.6
   - python: 3.7
 env: PYV=3.7
+  - python: 3.8
+env: PYV=3.8
   - python: 2.6
 dist: trusty
 env: PYV=2.6
-  - python: pypy
+  - python: pypy3
   - language: generic
 env: PY3=2 PYV=Mac2
 os: osx
@@ -32,7 +34,7 @@
 install: ".ci/travis.sh"
 script: python$PY3 setup.py test -c
 after_success:
-- if [ -n "$PYV" ] ; then coveralls; fi
+- if [ -n "$PYV" ] && [ "$PYV" -ne "2.6" ] ; then coveralls; fi
 notifications:
   email:
 on_success: change
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/plumbum-1.6.8/CHANGELOG.rst 
new/plumbum-1.6.9/CHANGELOG.rst
--- old/plumbum-1.6.8/CHANGELOG.rst 2019-10-30 22:21:12.0 +0100
+++ new/plumbum-1.6.9/CHANGELOG.rst 2020-03-23 14:25:44.0 +0100
@@ -1,3 +1,14 @@
+1.6.9
+-
+
+* Last version to support Python 2.6; added python_requires (`#507 
`_)
+* Paths: Fix bug with subscription operations (`#498 
`_), (`#506 
`_)
+* Paths: Fix resolve (`#492 
`_)
+* Command

commit python-plumbum for openSUSE:Factory

2020-03-18 Thread root
Hello community,

here is the log from the commit of package python-plumbum for openSUSE:Factory 
checked in at 2020-03-18 12:45:03

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


Package is "python-plumbum"

Wed Mar 18 12:45:03 2020 rev:4 rq:786084 version:1.6.8

Changes:

--- /work/SRC/openSUSE:Factory/python-plumbum/python-plumbum.changes
2019-06-06 18:15:53.448711179 +0200
+++ /work/SRC/openSUSE:Factory/.python-plumbum.new.3160/python-plumbum.changes  
2020-03-18 12:50:36.717146742 +0100
@@ -1,0 +2,12 @@
+Wed Mar 18 07:29:06 UTC 2020 - Marketa Calabkova 
+
+- Update to 1.6.8
+  * Exceptions: Changed ProcessExecutionError's formatting to be more 
user-friendly
+  * Commands: support for per-line timeout with iter_lines
+  * Commands: support for piping stdout/stderr to a logger
+  * Commands: execute local/remote commands via a magic .cmd attribute
+  * Paths: support composing paths using subscription operations
+  * CLI: Improved 'Set' validator to allow non-string types, and CSV params
+  * TypedEnv: Facility for modeling environment-variables into python data 
types
+
+---

Old:

  v1.6.7.tar.gz

New:

  v1.6.8.tar.gz



Other differences:
--
++ python-plumbum.spec ++
--- /var/tmp/diff_new_pack.yihsK7/_old  2020-03-18 12:50:40.217148832 +0100
+++ /var/tmp/diff_new_pack.yihsK7/_new  2020-03-18 12:50:40.217148832 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-plumbum
 #
-# 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
@@ -18,16 +18,17 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-plumbum
-Version:1.6.7
+Version:1.6.8
 Release:0
 Summary:Shell combinators library
 License:MIT
 Group:  Development/Languages/Python
-Url:https://github.com/tomerfiliba/plumbum
+URL:https://github.com/tomerfiliba/plumbum
 Source: 
https://github.com/tomerfiliba/plumbum/archive/v%{version}.tar.gz
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
+BuildArch:  noarch
 # SECTION test requirements
 BuildRequires:  %{python_module paramiko}
 BuildRequires:  %{python_module psutil}
@@ -37,8 +38,6 @@
 BuildRequires:  openssh
 BuildRequires:  sudo
 # /SECTION
-BuildArch:  noarch
-
 %python_subpackages
 
 %description

++ v1.6.7.tar.gz -> v1.6.8.tar.gz ++
 2527 lines of diff (skipped)




commit python-plumbum for openSUSE:Factory

2019-06-06 Thread root
Hello community,

here is the log from the commit of package python-plumbum for openSUSE:Factory 
checked in at 2019-06-06 18:15:51

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


Package is "python-plumbum"

Thu Jun  6 18:15:51 2019 rev:3 rq:707129 version:1.6.7

Changes:

--- /work/SRC/openSUSE:Factory/python-plumbum/python-plumbum.changes
2018-12-24 11:41:19.349455828 +0100
+++ /work/SRC/openSUSE:Factory/.python-plumbum.new.4811/python-plumbum.changes  
2019-06-06 18:15:53.448711179 +0200
@@ -1,0 +2,12 @@
+Mon Jun  3 10:34:35 UTC 2019 - Tomáš Chvátal 
+
+- Update to 1.6.7:
+  * Commands: Added run_* methods as an alternative to modifiers (#386)
+  * CLI: Added support for ALLOW_ABREV (#401)
+  * CLI: Added DESCRIPTION_MORE, preserves spacing (#378)
+  * Color: Avoid throwing error in atexit in special cases (like pytest) (#393)
+  * Including Python 3.7 in testing matrix.
+  * Smaller bugfixes and other testing improvements.
+- Switch to github archive for tests
+
+---

Old:

  plumbum-1.6.6.tar.gz

New:

  v1.6.7.tar.gz



Other differences:
--
++ python-plumbum.spec ++
--- /var/tmp/diff_new_pack.MqBw67/_old  2019-06-06 18:15:54.016711013 +0200
+++ /var/tmp/diff_new_pack.MqBw67/_new  2019-06-06 18:15:54.020711012 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-plumbum
 #
-# 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
@@ -18,21 +18,24 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-plumbum
-Version:1.6.6
+Version:1.6.7
 Release:0
 Summary:Shell combinators library
 License:MIT
 Group:  Development/Languages/Python
 Url:https://github.com/tomerfiliba/plumbum
-Source: 
https://files.pythonhosted.org/packages/source/p/plumbum/plumbum-%{version}.tar.gz
+Source: 
https://github.com/tomerfiliba/plumbum/archive/v%{version}.tar.gz
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 # SECTION test requirements
 BuildRequires:  %{python_module paramiko}
+BuildRequires:  %{python_module psutil}
 BuildRequires:  %{python_module pytest-cov}
 BuildRequires:  %{python_module pytest-mock}
 BuildRequires:  %{python_module pytest}
+BuildRequires:  openssh
+BuildRequires:  sudo
 # /SECTION
 BuildArch:  noarch
 
@@ -47,9 +50,10 @@
 manipulation, and a programmatic Command-Line Interface (CLI)
 application toolkit.
 
-
 %prep
 %setup -q -n plumbum-%{version}
+# remote tests won't work in OBS
+rm tests/test_remote.py
 
 %build
 %python_build
@@ -58,6 +62,11 @@
 %python_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
+%check
+export LANG=en_US.UTF8
+# the skipped tests need running local SSH server or root privs
+%pytest -k 'not (test_iterdir or test_iter_lines_timeout or 
test_iter_lines_error or test_atomic_file2 or test_pid_file or 
test_atomic_counter or test_as_user or test_copy_move_delete)'
+
 %files %{python_files}
 %doc README.rst
 %license LICENSE




commit python-plumbum for openSUSE:Factory

2018-12-24 Thread root
Hello community,

here is the log from the commit of package python-plumbum for openSUSE:Factory 
checked in at 2018-12-24 11:41:18

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


Package is "python-plumbum"

Mon Dec 24 11:41:18 2018 rev:2 rq:659557 version:1.6.6

Changes:

--- /work/SRC/openSUSE:Factory/python-plumbum/python-plumbum.changes
2018-06-15 14:37:13.456206556 +0200
+++ /work/SRC/openSUSE:Factory/.python-plumbum.new.28833/python-plumbum.changes 
2018-12-24 11:41:19.349455828 +0100
@@ -1,0 +2,5 @@
+Tue Dec  4 12:51:36 UTC 2018 - Matej Cepl 
+
+- Remove superfluous devel dependency for noarch package
+
+---



Other differences:
--
++ python-plumbum.spec ++
--- /var/tmp/diff_new_pack.DJU4cw/_old  2018-12-24 11:41:19.801455428 +0100
+++ /var/tmp/diff_new_pack.DJU4cw/_new  2018-12-24 11:41:19.801455428 +0100
@@ -12,7 +12,7 @@
 # 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/
 #
 
 
@@ -25,7 +25,6 @@
 Group:  Development/Languages/Python
 Url:https://github.com/tomerfiliba/plumbum
 Source: 
https://files.pythonhosted.org/packages/source/p/plumbum/plumbum-%{version}.tar.gz
-BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros