15
0
forked from pool/python-ebcdic

- Update to 1.1.1:

* supporrt for more codepages
- Switch to github archive and generate everything properly

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ebcdic?expand=0&rev=4
This commit is contained in:
Tomáš Chvátal
2019-09-13 08:19:28 +00:00
committed by Git OBS Bridge
parent 935e30b3b9
commit 8f1ba619eb
4 changed files with 25 additions and 8 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:914492dec6e70ccd7aa3364d4f46930b25c2c3e5d0f24f375a7177f99b64304f
size 136341

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Fri Sep 13 08:18:58 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 1.1.1:
* supporrt for more codepages
- Switch to github archive and generate everything properly
-------------------------------------------------------------------
Tue Jul 30 01:57:36 PM UTC 2019 - John Vandenberg <jayvdb@gmail.com>

View File

@@ -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 @@ BuildArch: noarch
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

3
v1.1.1.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7a1a77fdc7e87924e42826087bd9c0c4b48b779156c10cabc94eec237739c818
size 18048