Hello community,

here is the log from the commit of package python-ebcdic for openSUSE:Factory 
checked in at 2019-09-13 15:03:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-ebcdic (Old)
 and      /work/SRC/openSUSE:Factory/.python-ebcdic.new.7948 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-ebcdic"

Fri Sep 13 15:03:11 2019 rev:2 rq:730630 version:1.1.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-ebcdic/python-ebcdic.changes      
2019-08-05 10:39:19.763313282 +0200
+++ /work/SRC/openSUSE:Factory/.python-ebcdic.new.7948/python-ebcdic.changes    
2019-09-13 15:04:52.437262405 +0200
@@ -1,0 +2,7 @@
+Fri Sep 13 08:18:58 UTC 2019 - Tomáš Chvátal <tchva...@suse.com>
+
+- Update to 1.1.1:
+  * supporrt for more codepages
+- Switch to github archive and generate everything properly
+
+-------------------------------------------------------------------

Old:
----
  ebcdic-1.0.2.zip

New:
----
  v1.1.1.tar.gz

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

Other differences:
------------------
++++++ python-ebcdic.spec ++++++
--- /var/tmp/diff_new_pack.2ZGEyI/_old  2019-09-13 15:04:52.893262308 +0200
+++ /var/tmp/diff_new_pack.2ZGEyI/_new  2019-09-13 15:04:52.893262308 +0200
@@ -18,17 +18,17 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-ebcdic
-Version:        1.0.2
+Version:        1.1.1
 Release:        0
 Summary:        Additional EBCDIC codecs for Python
 License:        BSD-2-Clause
 Group:          Development/Languages/Python
-URL:            https://pypi.python.org/pypi/ebcdic
-Source:         
https://files.pythonhosted.org/packages/source/e/ebcdic/ebcdic-%{version}.zip
+URL:            https://github.com/roskakori/CodecMapper
+Source:         
https://github.com/roskakori/CodecMapper/archive/v%{version}.tar.gz
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  ant
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-BuildRequires:  unzip
 BuildArch:      noarch
 %python_subpackages
 
@@ -36,15 +36,25 @@
 Additional EBCDIC codecs for Python.
 
 %prep
-%setup -q -n ebcdic-%{version}
+%setup -q -n CodecMapper-%{version}/ebcdic
+# do not use venv python
+sed -i -e 's:"${basedir}/venv/bin/python":"/usr/bin/python3":' ../build.xml
 
 %build
+# first generate the py files
+pushd ..
+ant ebcdic
+popd
 %python_build
 
 %install
 %python_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
+%check
+export LANG="en_US.UTF8"
+%python_exec setup.py test
+
 %files %{python_files}
 %doc README.rst
 %license LICENSE.txt


Reply via email to