Hello community,

here is the log from the commit of package python-publicsuffixlist for 
openSUSE:Factory checked in at 2018-05-29 10:37:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-publicsuffixlist (Old)
 and      /work/SRC/openSUSE:Factory/.python-publicsuffixlist.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-publicsuffixlist"

Tue May 29 10:37:49 2018 rev:2 rq:611049 version:0.6.1

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-publicsuffixlist/python-publicsuffixlist.changes
  2018-04-04 11:04:26.578161242 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-publicsuffixlist.new/python-publicsuffixlist.changes
     2018-05-29 10:37:57.439912422 +0200
@@ -1,0 +2,13 @@
+Mon May 21 06:48:00 UTC 2018 - [email protected]
+
+- update to version 0.6.1:
+ - cleanup pypi descriptors
+- update to version 0.6.0:
+ - support for icann-only suffixes
+
+-------------------------------------------------------------------
+Mon May 14 09:37:38 UTC 2018 - [email protected]
+
+- add change_psl_location.patch to use list from publicsuffix package.
+
+-------------------------------------------------------------------

Old:
----
  publicsuffixlist-0.5.1.tar.gz

New:
----
  change_psl_location.patch
  publicsuffixlist-0.6.1.tar.gz

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

Other differences:
------------------
++++++ python-publicsuffixlist.spec ++++++
--- /var/tmp/diff_new_pack.GVEXot/_old  2018-05-29 10:37:57.959893224 +0200
+++ /var/tmp/diff_new_pack.GVEXot/_new  2018-05-29 10:37:57.963893077 +0200
@@ -13,23 +13,28 @@
 # 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-publicsuffixlist
-Version:        0.5.1
+Version:        0.6.1
 Release:        0
-License:        MPL-2.0
 Summary:        Public suffix list implementaion in Python
-Url:            https://github.com/ko-zu/psl
+License:        MPL-2.0
 Group:          Development/Languages/Python
+Url:            https://github.com/ko-zu/psl
 Source:         
https://files.pythonhosted.org/packages/source/p/publicsuffixlist/publicsuffixlist-%{version}.tar.gz
-BuildRequires:  python-rpm-macros
+# PATCH-FIX-OPENSUSE change_psl_location.patch -- use list from publicsuffix 
package
+Patch0:         change_psl_location.patch
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
-Requires(post):   update-alternatives
-Requires(postun):  update-alternatives
+BuildRequires:  python-rpm-macros
+# SECTION tests
+BuildRequires:  publicsuffix
+# /SECTION
+Requires:       publicsuffix
 Recommends:     python-requests
 BuildArch:      noarch
 
@@ -38,33 +43,28 @@
 %description
 Parser implementation for the Public Suffix List <https://publicsuffix.org/> 
in Python.
 
-Support for IDN (unicode or punycoded). With built-in list and an updater 
script.
+Support for IDN (unicode or punycoded).
 
 %prep
 %setup -q -n publicsuffixlist-%{version}
+%patch0 -p1
+sed -i '/public_suffix_list\.dat/ d' setup.py
+rm publicsuffixlist/update.py
 
 %build
 %python_build
 
 %install
 %python_install
+rm %{buildroot}%{_bindir}/publicsuffixlist-download
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
-%python_clone -a %{buildroot}%{_bindir}/publicsuffixlist-download
 
 %check
 %python_exec setup.py test
 
-%post
-%python_install_alternative publicsuffixlist-download
-
-%postun
-%python_uninstall_alternative publicsuffixlist-download
-
 %files %{python_files}
 %doc README.md
 %license LICENSE
 %{python_sitelib}/*
-%{_bindir}/publicsuffixlist-download-%{python_bin_suffix}
-%python_alternative %{_bindir}/publicsuffixlist-download
 
 %changelog

++++++ change_psl_location.patch ++++++
--- publicsuffixlist-0.5.1/publicsuffixlist/__init__.py 2018-03-31 
04:11:06.000000000 +0200
+++ publicsuffixlist-0.5.1/publicsuffixlist/__init__.py 2018-05-14 
11:35:04.328909547 +0200
@@ -16,7 +16,7 @@
 
 PSLURL = "https://publicsuffix.org/list/public_suffix_list.dat";
 
-PSLFILE = os.path.join(os.path.dirname(__file__), "public_suffix_list.dat")
+PSLFILE = "/usr/share/publicsuffix/public_suffix_list.dat"
 
 if sys.version_info >= (3, ):
     # python3.x
++++++ publicsuffixlist-0.5.1.tar.gz -> publicsuffixlist-0.6.1.tar.gz ++++++
++++ 3500 lines of diff (skipped)


Reply via email to