14
0
forked from pool/python-xmlsec

- Version update to 1.3.6:

* Various installation issue fxes
- Make sure the tests are really run and skipped for now
- Make sure to pick up at least one xmlsec backend

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xmlsec?expand=0&rev=6
This commit is contained in:
Tomáš Chvátal
2018-12-07 12:18:07 +00:00
committed by Git OBS Bridge
parent 3979ffc2fb
commit 79bc91a922
4 changed files with 21 additions and 7 deletions

3
1.3.6.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8b9aec1836f6dfedca79d63108ac82fe8849d473a2c61f5093fbf36af5b10545
size 51174

View File

@@ -1,3 +1,11 @@
-------------------------------------------------------------------
Fri Dec 7 12:07:04 UTC 2018 - Tomáš Chvátal <tchvatal@suse.com>
- Version update to 1.3.6:
* Various installation issue fxes
- Make sure the tests are really run and skipped for now
- Make sure to pick up at least one xmlsec backend
-------------------------------------------------------------------
Wed Nov 21 08:06:32 UTC 2018 - Tomáš Chvátal <tchvatal@suse.com>

View File

@@ -18,23 +18,28 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-xmlsec
Version: 1.3.3
Version: 1.3.6
Release: 0
Summary: Python bindings for the XML Security Library
License: MIT
Group: Development/Languages/Python
URL: https://github.com/mehcode/python-xmlsec
Source: https://files.pythonhosted.org/packages/source/x/xmlsec/xmlsec-%{version}.tar.gz
Source: https://github.com/mehcode/python-xmlsec/archive/%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module lxml >= 3.0}
BuildRequires: %{python_module lxml-devel}
BuildRequires: %{python_module pkgconfig}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: libtool
BuildRequires: pkgconfig
BuildRequires: python-rpm-macros
# we need at least one backend
BuildRequires: libxmlsec1-openssl1
BuildRequires: pkgconfig(xmlsec1)
# we need at least one xmlsec backend on runtime
Recommends: libxmlsec1-openssl1
Requires: python-lxml >= 3.0
Requires: python-pkgconfig
%python_subpackages
@@ -43,7 +48,7 @@ Requires: python-pkgconfig
Python bindings for the XML Security Library
%prep
%setup -q -n xmlsec-%{version}
%setup -q
%build
export CFLAGS="%{optflags}"
@@ -54,7 +59,8 @@ export CFLAGS="%{optflags}"
%python_expand %fdupes %{buildroot}%{$python_sitearch}
%check
%python_exec setup.py test
# tests currently quite fail see upstream https://github.com/mehcode/python-xmlsec/issues/84
%python_expand PYTHONPATH=%{buildroot}%{$python_sitearch} py.test-%{$python_bin_suffix} tests/ || :
%files %{python_files}
%doc README.rst

View File

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