14
0
forked from pool/python-pysvn

Python3 moved to devel:languages:python3

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pysvn?expand=0&rev=28
This commit is contained in:
Sascha Peilicke
2013-06-17 12:53:26 +00:00
committed by Git OBS Bridge
parent f462592c3c
commit d566060067
3 changed files with 1 additions and 115 deletions

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-pysvn # spec file for package python-pysvn
# #
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed

View File

@@ -1,26 +0,0 @@
-------------------------------------------------------------------
Thu Nov 22 14:28:33 UTC 2012 - toddrme2178@gmail.com
- Removed openSUSE 11.4 spec file workarounds
-------------------------------------------------------------------
Thu Nov 22 11:17:40 UTC 2012 - robert.munteanu@gmail.com
- Added patch for bnc#780243, cherry-picked from upstream r1742
-------------------------------------------------------------------
Mon Apr 30 10:16:03 UTC 2012 - cfarrell@suse.com
- license update: Apache-1.1
See LICENSE.txt (most of the package is in fact BSD-3-Clause licensed"
-------------------------------------------------------------------
Fri Apr 27 14:07:19 UTC 2012 - toddrme2178@gmail.com
- Fix building python 3 package on openSUSE 11.4
-------------------------------------------------------------------
Thu Apr 26 09:01:12 UTC 2012 - toddrme2178@gmail.com
- Add python 3 package

View File

@@ -1,88 +0,0 @@
#
# spec file for package python3-pysvn
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: python3-pysvn
Version: 1.7.6
Release: 0
Summary: Highlevel Subversion Python 3 Bindings
License: Apache-1.1
Group: Development/Libraries/Python
Url: http://pysvn.tigris.org
Source0: http://pysvn.barrys-emacs.org/source_kits/pysvn-%{version}.tar.gz
Patch0: bnc445431_pysvn_svnenv.cpp.diff
Patch1: bnc780243_fix_build_script.diff
BuildRequires: gcc-c++
BuildRequires: libcom_err-devel
BuildRequires: libexpat-devel
BuildRequires: neon-devel
BuildRequires: python3
BuildRequires: python3-2to3
BuildRequires: python3-devel
BuildRequires: python3-distribute
BuildRequires: python3-xml
BuildRequires: subversion-devel
BuildRequires: pkgconfig(apr-1)
Requires: neon
Requires: python(abi) = %{py3_ver}
Requires: subversion
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
pysvn is a highlevel and easy to use Python bindings to Subversion. The pysvn
project's goal is to enable Tools to be written in Python that use Subversion.
Windows, Mac OS X, Linux and other unix platforms are supported.
Features:
* Supports all svn client features
* Supports svn transaction features required to write svn pre-commit
hooks
* Easy to learn and use
* Python like interface
* Good Documentation and examples
* No need to understand the Subversion C API
%prep
%setup -q -n pysvn-%{version}
%patch0 -p0
%patch1 -p0
# patch in rpm compiler flags
sed -i 's/CCFLAGS=-Wall/CCFLAGS=$(RPM_OPT_FLAGS) -Wall -Wno-deprecated/g' Source/setup_configure.py
%build
cd Source
python3 setup.py backport
python3 setup.py configure
# --norpath
make %{?_smp_mflags}
%install
mkdir -p %{buildroot}/%{python3_sitearch}/pysvn
cp Source/pysvn/{__init__.py,_pysvn*.so} %{buildroot}/%{python3_sitearch}/pysvn
python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
rm -f Docs/generate_cpp_docs_from_html_docs.py
#%%check
#cd Tests
#make %{?_smp_mflags}
%files
%defattr(-,root,root)
%doc LICENSE.txt Docs Examples
%{python3_sitearch}/*
%changelog