Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-scrypt for openSUSE:Factory 
checked in at 2021-01-18 11:29:47
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-scrypt (Old)
 and      /work/SRC/openSUSE:Factory/.python-scrypt.new.28504 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-scrypt"

Mon Jan 18 11:29:47 2021 rev:6 rq:863922 version:0.8.17

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-scrypt/python-scrypt.changes      
2020-12-02 13:58:28.401817070 +0100
+++ /work/SRC/openSUSE:Factory/.python-scrypt.new.28504/python-scrypt.changes   
2021-01-18 11:33:46.484981647 +0100
@@ -1,0 +2,7 @@
+Sun Jan 17 21:50:47 UTC 2021 - Benjamin Greiner <c...@bnavigator.de>
+
+- Fix test call (the old non-macro pytest call did conflict with
+  _build directories from other python3 flavors)
+- Fix line endings and remove interpreter lines in sitelib
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-scrypt.spec ++++++
--- /var/tmp/diff_new_pack.eoOOhP/_old  2021-01-18 11:33:47.048982836 +0100
+++ /var/tmp/diff_new_pack.eoOOhP/_new  2021-01-18 11:33:47.048982836 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-scrypt
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -22,18 +22,16 @@
 Release:        0
 Summary:        Bindings for scrypt
 License:        BSD-2-Clause
-URL:            https://bitbucket.org/mhallin/py-scrypt
+URL:            https://github.com/holgern/py-scrypt
 Source0:        
https://files.pythonhosted.org/packages/source/s/scrypt/scrypt-%{version}.tar.gz
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  dos2unix
 BuildRequires:  fdupes
 BuildRequires:  gcc
 BuildRequires:  pkgconfig
 BuildRequires:  python-rpm-macros
 BuildRequires:  pkgconfig(openssl)
-# SECTION test requires
-BuildRequires:  %{python_module pytest}
-# /SECTION
 %python_subpackages
 
 %description
@@ -41,6 +39,8 @@
 
 %prep
 %setup -q -n scrypt-%{version}
+dos2unix -R README.rst scrypt/*.py
+sed -i '1{/^#!/ d}' scrypt/*.py
 
 %build
 %python_build
@@ -50,7 +50,7 @@
 %python_expand %fdupes %{buildroot}%{$python_sitearch}
 
 %check
-%python_expand PYTHONPATH=%{buildroot}%{$python_sitearch} $python -mpytest
+%pyunittest_arch discover -s scrypt/tests -v
 
 %files %{python_files}
 %doc README.rst

Reply via email to