forked from pool/python-pysvn
- Update to 1.9.6:
* No real obvious changelog * Support python 3.7 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pysvn?expand=0&rev=39
This commit is contained in:
committed by
Git OBS Bridge
parent
46d12654f6
commit
0c65c54f81
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5b0f61f27c45699f8a944c9e84e32c63ba8870eb095c9fc67c8506ff0a4ba8da
|
||||
size 405817
|
3
pysvn-1.9.6.tar.gz
Normal file
3
pysvn-1.9.6.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1508f63e66fc9d1303f8fd0f49547b59492f6977be4434914c38bc29dc82b2d6
|
||||
size 515394
|
@@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 9 07:15:37 UTC 2018 - tchvatal@suse.com
|
||||
|
||||
- Update to 1.9.6:
|
||||
* No real obvious changelog
|
||||
* Support python 3.7
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 7 12:02:11 UTC 2017 - jengelh@inai.de
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-pysvn
|
||||
#
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2018 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
|
||||
@@ -17,16 +17,17 @@
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-pysvn
|
||||
Version: 1.9.4
|
||||
Release: 0
|
||||
%define pcxxver 6.2.8
|
||||
Name: python-pysvn
|
||||
Version: 1.9.6
|
||||
Release: 0
|
||||
Summary: Highlevel Subversion Python Bindings
|
||||
License: Apache-1.1
|
||||
Group: Development/Libraries/Python
|
||||
Url: http://pysvn.tigris.org
|
||||
URL: http://pysvn.tigris.org
|
||||
Source0: http://pysvn.barrys-emacs.org/source_kits/pysvn-%{version}.tar.gz
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module pycxx-devel}
|
||||
BuildRequires: %{python_module xml}
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: libapr1-devel
|
||||
@@ -38,7 +39,6 @@ BuildRequires: python-rpm-macros
|
||||
BuildRequires: subversion-devel
|
||||
Requires: neon
|
||||
Requires: subversion
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@@ -55,14 +55,16 @@ Features:
|
||||
|
||||
%prep
|
||||
%setup -q -n pysvn-%{version}
|
||||
# patch in rpm compiler flags
|
||||
sed -i 's/CCFLAGS=-Wall/CCFLAGS=$(RPM_OPT_FLAGS) -Wall -Wno-deprecated/g' Source/setup_configure.py
|
||||
|
||||
%build
|
||||
export CFLAGS="%{optflags}"
|
||||
%{python_expand cp -r Source Source-%{$python_bin_suffix}
|
||||
pushd Source-%{$python_bin_suffix}
|
||||
$python setup.py backport
|
||||
$python setup.py configure --enable-debug --norpath --pycxx-dir="../Import/pycxx-%{pcxxver}/"
|
||||
$python setup.py configure \
|
||||
--enable-debug --verbose --fixed-module-name --norpath \
|
||||
--pycxx-dir=%{$python_sysconfig_path include}/ --pycxx-src-dir=%{_datadir}/python%{$python_bin_suffix}/CXX
|
||||
sed -i -e 's@-Wall -fPIC -fexceptions -frtti@%{optflags} -fPIC -frtti@' Makefile
|
||||
make %{?_smp_mflags}
|
||||
popd
|
||||
}
|
||||
@@ -79,11 +81,11 @@ rm -f Docs/generate_cpp_docs_from_html_docs.py
|
||||
|
||||
%check
|
||||
cd Tests
|
||||
%python_expand PYTHON=$python make %{?_smp_mflags} || true
|
||||
%python_expand PYTHONPATH=%{buildroot}%{$python_sitearch} PYTHON=$python make %{?_smp_mflags} || :
|
||||
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root)
|
||||
%doc LICENSE.txt Docs Examples
|
||||
%license LICENSE.txt
|
||||
%doc Docs Examples
|
||||
%{python_sitearch}/*
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user