Hello community,

here is the log from the commit of package python-smartypants for 
openSUSE:Factory checked in at 2019-05-08 15:17:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-smartypants (Old)
 and      /work/SRC/openSUSE:Factory/.python-smartypants.new.5148 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-smartypants"

Wed May  8 15:17:40 2019 rev:4 rq:701543 version:2.0.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-smartypants/python-smartypants.changes    
2018-12-24 11:43:59.373313954 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-smartypants.new.5148/python-smartypants.changes
  2019-05-08 15:17:43.645157106 +0200
@@ -1,0 +2,7 @@
+Tue May  7 15:40:36 UTC 2019 - John Vandenberg <[email protected]>
+
+- Activate test suite
+- Update Summary and Description
+- Add %doc
+
+-------------------------------------------------------------------

Old:
----
  COPYING
  smartypants-2.0.1-py2.py3-none-any.whl

New:
----
  smartypants-2.0.1.tar.gz

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

Other differences:
------------------
++++++ python-smartypants.spec ++++++
--- /var/tmp/diff_new_pack.FNyZfD/_old  2019-05-08 15:17:44.937159983 +0200
+++ /var/tmp/diff_new_pack.FNyZfD/_new  2019-05-08 15:17:44.973160064 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-smartypants
 #
-# 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
@@ -20,13 +20,14 @@
 Name:           python-smartypants
 Version:        2.0.1
 Release:        0
-Summary:        A smart-quotes plugin for SmartyPants
+Summary:        Python fork of perl SmartyPants
 License:        BSD-3-Clause
 Group:          Development/Languages/Python
 Url:            https://github.com/leohemsted/smartypants.py
-Source0:        
https://files.pythonhosted.org/packages/py2.py3/s/smartypants/smartypants-%{version}-py2.py3-none-any.whl
-Source10:       
https://raw.githubusercontent.com/leohemsted/smartypants.py/v%{version}/COPYING
-BuildRequires:  %{python_module pip}
+Source:         
https://github.com/leohemsted/smartypants.py/archive/v%{version}.tar.gz#/smartypants-%{version}.tar.gz
+BuildRequires:  %{python_module docutils}
+BuildRequires:  %{python_module pygments}
+BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Requires(post): update-alternatives
@@ -36,27 +37,21 @@
 %python_subpackages
 
 %description
-This module encapsulates Chad Miller's SmartyPants module so that
-it's available on PyPI. For more information, consult
-
-* http://web.chad.org/projects/smartypants.py/
-* http://daringfireball.net/projects/smartypants/
+smartypants is a Python implementation of the perl SmartyPants,
+which translates plain ASCII punctuation characters into smart
+typographic punctuation HTML entities.
 
 %prep
-%setup -T -c -n smartypants-%{version}
-cp %{SOURCE10} .
+%setup -q -n smartypants.py-%{version}
 
 %build
-# Not needed
+%python_build
 
 %install
-%{python_expand pip%{$python_bin_suffix} install --root %{buildroot} %{SOURCE0}
-sed -i -e '/^#!\//, 1d' %{buildroot}%{$python_sitelib}/smartypants.py
-$python -m compileall -d %{$python_sitelib} 
%{buildroot}%{$python_sitelib}/smartypants.py
-$python -O -m compileall -d %{$python_sitelib} 
%{buildroot}%{$python_sitelib}/smartypants.py
+%python_install
+%{python_expand sed -i '1{/^#!/d}' 
%{buildroot}%{$python_sitelib}/smartypants.py
 %fdupes %{buildroot}%{$python_sitelib}
 }
-
 %python_clone -a %{buildroot}%{_bindir}/smartypants
 
 %post
@@ -66,10 +61,11 @@
 %python_uninstall_alternative smartypants
 
 %check
-# todo
+%python_exec setup.py test
 
 %files %{python_files}
 %license COPYING
+%doc README.rst docs/*.rst
 %python_alternative %{_bindir}/smartypants
 %{python_sitelib}/*
 


Reply via email to