Hello community,

here is the log from the commit of package python-subst for openSUSE:Leap:15.2 
checked in at 2020-02-22 18:49:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-subst (Old)
 and      /work/SRC/openSUSE:Leap:15.2/.python-subst.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-subst"

Sat Feb 22 18:49:41 2020 rev:1 rq:775517 version:0.4.0

Changes:
--------
New Changes file:

--- /dev/null   2019-12-19 10:12:34.003146842 +0100
+++ /work/SRC/openSUSE:Leap:15.2/.python-subst.new.26092/python-subst.changes   
2020-02-22 18:49:43.208393741 +0100
@@ -0,0 +1,4 @@
+-------------------------------------------------------------------
+Mon May 13 08:53:14 AM UTC 2019 - John Vandenberg <[email protected]>
+
+- Initial spec for v0.4.0

New:
----
  LICENSE
  python-subst.changes
  python-subst.spec
  subst-0.4.0.tar.gz

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

Other differences:
------------------
++++++ python-subst.spec ++++++
#
# spec file for package python-subst
#
# 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
# 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-subst
Version:        0.4.0
Release:        0
License:        MIT
Summary:        Utility to replace one string into another in given list of 
files
Url:            http://mysz.github.io/subst/
Group:          Development/Languages/Python
Source:         
https://files.pythonhosted.org/packages/source/s/subst/subst-%{version}.tar.gz
Source1:        
https://raw.githubusercontent.com/msztolcman/subst/master/LICENSE
BuildRequires:  python-rpm-macros
BuildRequires:  %{python_module setuptools}
# SECTION test requirements
# /SECTION
BuildRequires:  fdupes
BuildArch:      noarch

%python_subpackages

%description
`subst` is simple utility to replace one string into another in given list of 
files.

%prep
%setup -q -n subst-%{version}
cp %{SOURCE1} .

sed -i '/argparse/d' setup.py

sed -i '1{/^#!/d}' subst.py

touch test/__init__.py

%build
%python_build

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

%check
export PYTHONPATH=${PWD}/test
%python_exec setup.py test

%files %{python_files}
%license LICENSE
%doc README.rst
%python3_only %{_bindir}/subst
%{python_sitelib}/*

%changelog
++++++ LICENSE ++++++
The MIT License (MIT)

Copyright (c) 2013 Marcin Sztolcman

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Reply via email to