commit python-helpdev for openSUSE:Factory

2020-05-26 Thread root
Hello community,

here is the log from the commit of package python-helpdev for openSUSE:Factory 
checked in at 2020-05-26 17:49:57

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


Package is "python-helpdev"

Tue May 26 17:49:57 2020 rev:4 rq:808937 version:0.7.1

Changes:

--- /work/SRC/openSUSE:Factory/python-helpdev/python-helpdev.changes
2020-05-19 14:47:08.747898749 +0200
+++ /work/SRC/openSUSE:Factory/.python-helpdev.new.2738/python-helpdev.changes  
2020-05-26 17:49:59.827969547 +0200
@@ -1,0 +2,12 @@
+Tue May 26 07:33:07 UTC 2020 - Antonio Larrosa 
+
+- python-psutil is only used to call its "swap_memory" and
+  "virtual_memory" functions, so we reduced the required version
+  from 5.6 to 5.4.8 so we can build packages for SLE/Leap.
+
+---
+Mon May 25 10:59:16 UTC 2020 - Petr Gajdos 
+
+- %python3_only -> %python_alternative
+
+---



Other differences:
--
++ python-helpdev.spec ++
--- /var/tmp/diff_new_pack.rKCjbJ/_old  2020-05-26 17:50:00.515971054 +0200
+++ /var/tmp/diff_new_pack.rKCjbJ/_new  2020-05-26 17:50:00.519971063 +0200
@@ -29,11 +29,13 @@
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Requires:   python-importlib-metadata
-Requires:   python-psutil >= 5.6
+Requires:   python-psutil >= 5.4.8
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
 BuildArch:  noarch
 # SECTION test requirements
 BuildRequires:  %{python_module importlib-metadata}
-BuildRequires:  %{python_module psutil >= 5.6}
+BuildRequires:  %{python_module psutil >= 5.4.8}
 BuildRequires:  %{python_module pytest}
 # /SECTION
 %python_subpackages
@@ -44,21 +46,29 @@
 %prep
 %setup -q -n helpdev-v%{version}
 sed -i '1{\,^#!%{_bindir}/env python,d}' helpdev/*.py
+sed -i -e "s/psutil>=5.6/psutil>=5.4.8/" setup.py
 
 %build
 %python_build
 
 %install
 %python_install
+%python_clone -a %{buildroot}%{_bindir}/helpdev
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
 #test_check_python_packages needs the binary
 %pytest -k 'not test_check_python_packages'
 
+%post
+%python_install_alternative helpdev
+
+%postun
+%python_uninstall_alternative helpdev
+
 %files %{python_files}
 %doc README.rst
-%python3_only %{_bindir}/helpdev
+%python_alternative %{_bindir}/helpdev
 %{python_sitelib}/*
 
 %changelog




commit python-helpdev for openSUSE:Factory

2020-05-19 Thread root
Hello community,

here is the log from the commit of package python-helpdev for openSUSE:Factory 
checked in at 2020-05-19 14:47:06

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


Package is "python-helpdev"

Tue May 19 14:47:06 2020 rev:3 rq:806821 version:0.7.1

Changes:

--- /work/SRC/openSUSE:Factory/python-helpdev/python-helpdev.changes
2020-03-08 22:24:48.180102103 +0100
+++ /work/SRC/openSUSE:Factory/.python-helpdev.new.2738/python-helpdev.changes  
2020-05-19 14:47:08.747898749 +0200
@@ -1,0 +2,24 @@
+Mon May 18 08:11:04 UTC 2020 - Antonio Larrosa 
+
+- Update to version 0.7.1 (fixes issue reported in boo#1135733 #c4):
+  * Fix pipeline, doc8 linting ignores D001, line too long
+  * Add customize function, part of #1
+  * Change _filter to filter_packages and make it public
+  * Improve filter_package explanation
+  * Improve docs
+  * Add check_qt() function
+  * Add check_numbers() function
+  * Enhance help from command line parser
+  * Enhance command line order
+  * Correct mispelling errors
+  * Remove importlib_metadata for Python 3.8+, incoporated into std lib, MR#2
+  * Add MANIFEST.in, part of #9
+  * Improve internal code and linting
+  * Remove support for Python 2.7 and 3.4, closes #8
+
+- There's no 0.7.0 release by upstream.
+
+- Remove patch already included by upstream:
+  * python38.patch
+
+---

Old:

  helpdev-v0.6.10.tar.gz
  python38.patch

New:

  helpdev-v0.7.1.tar.gz



Other differences:
--
++ python-helpdev.spec ++
--- /var/tmp/diff_new_pack.VTC2yw/_old  2020-05-19 14:47:10.107901655 +0200
+++ /var/tmp/diff_new_pack.VTC2yw/_new  2020-05-19 14:47:10.111901663 +0200
@@ -18,14 +18,13 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-helpdev
-Version:0.6.10
+Version:0.7.1
 Release:0
 Summary:HelpDev - Extracts information about the Python environment 
easily
 License:MIT AND CC-BY-4.0
 Group:  Development/Languages/Python
 URL:https://gitlab.com/dpizetta/helpdev
 Source0:
https://gitlab.com/dpizetta/helpdev/-/archive/v%{version}/helpdev-v%{version}.tar.gz
-Patch0: python38.patch
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
@@ -44,7 +43,6 @@
 
 %prep
 %setup -q -n helpdev-v%{version}
-%patch0 -p1
 sed -i '1{\,^#!%{_bindir}/env python,d}' helpdev/*.py
 
 %build

++ helpdev-v0.6.10.tar.gz -> helpdev-v0.7.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/helpdev-v0.6.10/.gitlab-ci.yml 
new/helpdev-v0.7.1/.gitlab-ci.yml
--- old/helpdev-v0.6.10/.gitlab-ci.yml  2019-05-17 04:46:18.0 +0200
+++ new/helpdev-v0.7.1/.gitlab-ci.yml   2020-05-05 22:16:22.0 +0200
@@ -25,40 +25,18 @@
 before_script:
   # OUTSIDE VIRTUAL ENV -
   - python -V
-  - pip install -U setuptools
-  - pip install -U wheel
-  - pip install -U pip
-  - pip install -U virtualenv
-  - pip install -U tox
-
-  - virtualenv venv
-  - source venv/bin/activate
-
-  # INSIDE VIRTUAL ENV -
-  - python -V
-  - pip install -U setuptools
-  - pip install -U wheel
-  - pip install -U pip
-  - pip install -U virtualenv
-  - pip install -U tox
-
-
-py27-build:
-  stage: build
-  image: python:2.7
-  script:
-- export TOXENV=py27-build
-- tox -s true
-
-
-py34-build:
-  stage: build
-  image: python:3.4
-  script:
-- export TOXENV=py34-build
-- tox -s true
-
+  - python -m ensurepip
+  - python -m pip install -U pip
+  - python -m pip install -U setuptools
+  - python -m pip install -U wheel
+  - python -m pip install -U virtualenv
+  - python -m pip install -U tox
+
+# Python 2.7 end of support 2020-01
+# Python 3.4 end of support 2019-03
+# Python 3.5 end of support 2020-09
 
+# End of support 2021-12
 py36-build:
   stage: build
   image: python:3.6
@@ -66,7 +44,7 @@
 - export TOXENV=py36-build
 - tox -s true
 
-
+# End of support 2023-06
 py37-build:
   stage: build
   image: python:3.7
@@ -74,38 +52,49 @@
 - export TOXENV=py37-build
 - tox -s true
 
+# End of support 2024-10
+py38-build:
+  stage: build
+  image: python:3.8
+  script:
+- export TOXENV=py38-build
+- tox -s true
+
 
-py36-test:
+py38-test:
   stage: test
-  image: python:3.6
+  image: python:3.8
   script:
-- export TOXENV=py36-test
+- export TOXENV=py38-test
 - tox -s true
 
 
-py36-lint:
+py38-lint:
   stage: test
-  image: python:3.6
+  image: 

commit python-helpdev for openSUSE:Factory

2020-03-08 Thread root
Hello community,

here is the log from the commit of package python-helpdev for openSUSE:Factory 
checked in at 2020-03-08 22:24:32

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


Package is "python-helpdev"

Sun Mar  8 22:24:32 2020 rev:2 rq:782611 version:0.6.10

Changes:

--- /work/SRC/openSUSE:Factory/python-helpdev/python-helpdev.changes
2020-01-29 13:15:30.338081649 +0100
+++ /work/SRC/openSUSE:Factory/.python-helpdev.new.26092/python-helpdev.changes 
2020-03-08 22:24:48.180102103 +0100
@@ -1,0 +2,5 @@
+Sun Mar  8 03:51:01 UTC 2020 - Tomáš Chvátal 
+
+- Use proper name for importlib-metadata
+
+---



Other differences:
--
++ python-helpdev.spec ++
--- /var/tmp/diff_new_pack.NeIFii/_old  2020-03-08 22:24:48.952102580 +0100
+++ /var/tmp/diff_new_pack.NeIFii/_new  2020-03-08 22:24:48.952102580 +0100
@@ -29,11 +29,11 @@
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-Requires:   python-importlib_metadata
+Requires:   python-importlib-metadata
 Requires:   python-psutil >= 5.6
 BuildArch:  noarch
 # SECTION test requirements
-BuildRequires:  %{python_module importlib_metadata}
+BuildRequires:  %{python_module importlib-metadata}
 BuildRequires:  %{python_module psutil >= 5.6}
 BuildRequires:  %{python_module pytest}
 # /SECTION