14
0
forked from pool/python-pysvn
Files
python-pysvn/python-pysvn.spec

90 lines
2.9 KiB
RPMSpec
Raw Normal View History

#
# spec file for package python-pysvn
#
Accepting request 520001 from devel:languages:python:singlespec-staging - Update to version 1.9.4 - Remove bnc445431_pysvn_svnenv.cpp.diff * No longer needed - singlespec auto-conversion - update to 1.8.0: * Support python3 sorting of list of PysvnDict objects that name a known "key". * Support Subversion 1.9.1. * Support Python 3.5 * Fix issue: is_versioned is always 0 * Fix issue: svn_client_root_url_from_path() would crash if login callback was called. - Update to version 1.7.8 + No changelog available - update to 1.7.7 * no degestible changelog provided from upstream - Added patch for bnc#780243, cherry-picked from upstream r1742 - license update: Apache-1.1 See LICENSE.txt (most of the package is in fact BSD-3-Clause licensed" - Fix building python 3 package on openSUSE 11.4 - Add python 3 package - update to 1.7.6: * supports subversion 1.7.3 (and earlier) - Ran spec-cleaner - update to 1.7.5: * update included pycss to 0.6 to build against subversion 1.7 - Update to version 1.7.4 * bug fixes for reported issues - Update to version 1.7.2 - enable parallel build - update to version 1.7.0 switch to the authors recommended way to build/install this thing - readd the second last change - Fixed bnc#445431 "undefinied C++ code" in pysvn_svnenv.cpp - fix typo in specfile - remove doc files from INSTALLED_FILES - renamed macro _realname - Taken from home:/termim into factory - Version 1.6.0 setup.py - Revision: 130370 - New release Bogdano Arendartchuk <bogdano@mandriva.com> - fix after version upgrade) - Revision: 91597 - Remove patch and update - Rebuild for latest pyhton + Bogdano Arendartchuk <bogdano@mandriva.com> - Import python-pysvn OBS-URL: https://build.opensuse.org/request/show/520001 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pysvn?expand=0&rev=35
2017-08-31 17:31:13 +00:00
# Copyright (c) 2017 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
# 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/
#
Accepting request 520001 from devel:languages:python:singlespec-staging - Update to version 1.9.4 - Remove bnc445431_pysvn_svnenv.cpp.diff * No longer needed - singlespec auto-conversion - update to 1.8.0: * Support python3 sorting of list of PysvnDict objects that name a known "key". * Support Subversion 1.9.1. * Support Python 3.5 * Fix issue: is_versioned is always 0 * Fix issue: svn_client_root_url_from_path() would crash if login callback was called. - Update to version 1.7.8 + No changelog available - update to 1.7.7 * no degestible changelog provided from upstream - Added patch for bnc#780243, cherry-picked from upstream r1742 - license update: Apache-1.1 See LICENSE.txt (most of the package is in fact BSD-3-Clause licensed" - Fix building python 3 package on openSUSE 11.4 - Add python 3 package - update to 1.7.6: * supports subversion 1.7.3 (and earlier) - Ran spec-cleaner - update to 1.7.5: * update included pycss to 0.6 to build against subversion 1.7 - Update to version 1.7.4 * bug fixes for reported issues - Update to version 1.7.2 - enable parallel build - update to version 1.7.0 switch to the authors recommended way to build/install this thing - readd the second last change - Fixed bnc#445431 "undefinied C++ code" in pysvn_svnenv.cpp - fix typo in specfile - remove doc files from INSTALLED_FILES - renamed macro _realname - Taken from home:/termim into factory - Version 1.6.0 setup.py - Revision: 130370 - New release Bogdano Arendartchuk <bogdano@mandriva.com> - fix after version upgrade) - Revision: 91597 - Remove patch and update - Rebuild for latest pyhton + Bogdano Arendartchuk <bogdano@mandriva.com> - Import python-pysvn OBS-URL: https://build.opensuse.org/request/show/520001 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pysvn?expand=0&rev=35
2017-08-31 17:31:13 +00:00
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-pysvn
Accepting request 520001 from devel:languages:python:singlespec-staging - Update to version 1.9.4 - Remove bnc445431_pysvn_svnenv.cpp.diff * No longer needed - singlespec auto-conversion - update to 1.8.0: * Support python3 sorting of list of PysvnDict objects that name a known "key". * Support Subversion 1.9.1. * Support Python 3.5 * Fix issue: is_versioned is always 0 * Fix issue: svn_client_root_url_from_path() would crash if login callback was called. - Update to version 1.7.8 + No changelog available - update to 1.7.7 * no degestible changelog provided from upstream - Added patch for bnc#780243, cherry-picked from upstream r1742 - license update: Apache-1.1 See LICENSE.txt (most of the package is in fact BSD-3-Clause licensed" - Fix building python 3 package on openSUSE 11.4 - Add python 3 package - update to 1.7.6: * supports subversion 1.7.3 (and earlier) - Ran spec-cleaner - update to 1.7.5: * update included pycss to 0.6 to build against subversion 1.7 - Update to version 1.7.4 * bug fixes for reported issues - Update to version 1.7.2 - enable parallel build - update to version 1.7.0 switch to the authors recommended way to build/install this thing - readd the second last change - Fixed bnc#445431 "undefinied C++ code" in pysvn_svnenv.cpp - fix typo in specfile - remove doc files from INSTALLED_FILES - renamed macro _realname - Taken from home:/termim into factory - Version 1.6.0 setup.py - Revision: 130370 - New release Bogdano Arendartchuk <bogdano@mandriva.com> - fix after version upgrade) - Revision: 91597 - Remove patch and update - Rebuild for latest pyhton + Bogdano Arendartchuk <bogdano@mandriva.com> - Import python-pysvn OBS-URL: https://build.opensuse.org/request/show/520001 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pysvn?expand=0&rev=35
2017-08-31 17:31:13 +00:00
Version: 1.9.4
Release: 0
%define pcxxver 6.2.8
Summary: Highlevel Subversion Python 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
Accepting request 520001 from devel:languages:python:singlespec-staging - Update to version 1.9.4 - Remove bnc445431_pysvn_svnenv.cpp.diff * No longer needed - singlespec auto-conversion - update to 1.8.0: * Support python3 sorting of list of PysvnDict objects that name a known "key". * Support Subversion 1.9.1. * Support Python 3.5 * Fix issue: is_versioned is always 0 * Fix issue: svn_client_root_url_from_path() would crash if login callback was called. - Update to version 1.7.8 + No changelog available - update to 1.7.7 * no degestible changelog provided from upstream - Added patch for bnc#780243, cherry-picked from upstream r1742 - license update: Apache-1.1 See LICENSE.txt (most of the package is in fact BSD-3-Clause licensed" - Fix building python 3 package on openSUSE 11.4 - Add python 3 package - update to 1.7.6: * supports subversion 1.7.3 (and earlier) - Ran spec-cleaner - update to 1.7.5: * update included pycss to 0.6 to build against subversion 1.7 - Update to version 1.7.4 * bug fixes for reported issues - Update to version 1.7.2 - enable parallel build - update to version 1.7.0 switch to the authors recommended way to build/install this thing - readd the second last change - Fixed bnc#445431 "undefinied C++ code" in pysvn_svnenv.cpp - fix typo in specfile - remove doc files from INSTALLED_FILES - renamed macro _realname - Taken from home:/termim into factory - Version 1.6.0 setup.py - Revision: 130370 - New release Bogdano Arendartchuk <bogdano@mandriva.com> - fix after version upgrade) - Revision: 91597 - Remove patch and update - Rebuild for latest pyhton + Bogdano Arendartchuk <bogdano@mandriva.com> - Import python-pysvn OBS-URL: https://build.opensuse.org/request/show/520001 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pysvn?expand=0&rev=35
2017-08-31 17:31:13 +00:00
BuildRequires: %{python_module devel}
BuildRequires: %{python_module xml}
BuildRequires: gcc-c++
BuildRequires: libapr1-devel
BuildRequires: libcom_err-devel
BuildRequires: libcom_err2
BuildRequires: libexpat-devel
BuildRequires: neon-devel
Accepting request 520001 from devel:languages:python:singlespec-staging - Update to version 1.9.4 - Remove bnc445431_pysvn_svnenv.cpp.diff * No longer needed - singlespec auto-conversion - update to 1.8.0: * Support python3 sorting of list of PysvnDict objects that name a known "key". * Support Subversion 1.9.1. * Support Python 3.5 * Fix issue: is_versioned is always 0 * Fix issue: svn_client_root_url_from_path() would crash if login callback was called. - Update to version 1.7.8 + No changelog available - update to 1.7.7 * no degestible changelog provided from upstream - Added patch for bnc#780243, cherry-picked from upstream r1742 - license update: Apache-1.1 See LICENSE.txt (most of the package is in fact BSD-3-Clause licensed" - Fix building python 3 package on openSUSE 11.4 - Add python 3 package - update to 1.7.6: * supports subversion 1.7.3 (and earlier) - Ran spec-cleaner - update to 1.7.5: * update included pycss to 0.6 to build against subversion 1.7 - Update to version 1.7.4 * bug fixes for reported issues - Update to version 1.7.2 - enable parallel build - update to version 1.7.0 switch to the authors recommended way to build/install this thing - readd the second last change - Fixed bnc#445431 "undefinied C++ code" in pysvn_svnenv.cpp - fix typo in specfile - remove doc files from INSTALLED_FILES - renamed macro _realname - Taken from home:/termim into factory - Version 1.6.0 setup.py - Revision: 130370 - New release Bogdano Arendartchuk <bogdano@mandriva.com> - fix after version upgrade) - Revision: 91597 - Remove patch and update - Rebuild for latest pyhton + Bogdano Arendartchuk <bogdano@mandriva.com> - Import python-pysvn OBS-URL: https://build.opensuse.org/request/show/520001 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pysvn?expand=0&rev=35
2017-08-31 17:31:13 +00:00
BuildRequires: python-rpm-macros
BuildRequires: subversion-devel
Requires: neon
Requires: subversion
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Accepting request 520001 from devel:languages:python:singlespec-staging - Update to version 1.9.4 - Remove bnc445431_pysvn_svnenv.cpp.diff * No longer needed - singlespec auto-conversion - update to 1.8.0: * Support python3 sorting of list of PysvnDict objects that name a known "key". * Support Subversion 1.9.1. * Support Python 3.5 * Fix issue: is_versioned is always 0 * Fix issue: svn_client_root_url_from_path() would crash if login callback was called. - Update to version 1.7.8 + No changelog available - update to 1.7.7 * no degestible changelog provided from upstream - Added patch for bnc#780243, cherry-picked from upstream r1742 - license update: Apache-1.1 See LICENSE.txt (most of the package is in fact BSD-3-Clause licensed" - Fix building python 3 package on openSUSE 11.4 - Add python 3 package - update to 1.7.6: * supports subversion 1.7.3 (and earlier) - Ran spec-cleaner - update to 1.7.5: * update included pycss to 0.6 to build against subversion 1.7 - Update to version 1.7.4 * bug fixes for reported issues - Update to version 1.7.2 - enable parallel build - update to version 1.7.0 switch to the authors recommended way to build/install this thing - readd the second last change - Fixed bnc#445431 "undefinied C++ code" in pysvn_svnenv.cpp - fix typo in specfile - remove doc files from INSTALLED_FILES - renamed macro _realname - Taken from home:/termim into factory - Version 1.6.0 setup.py - Revision: 130370 - New release Bogdano Arendartchuk <bogdano@mandriva.com> - fix after version upgrade) - Revision: 91597 - Remove patch and update - Rebuild for latest pyhton + Bogdano Arendartchuk <bogdano@mandriva.com> - Import python-pysvn OBS-URL: https://build.opensuse.org/request/show/520001 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pysvn?expand=0&rev=35
2017-08-31 17:31:13 +00:00
%python_subpackages
%description
pysvn is a set of highlevel Python bindings to Subversion. pysvn
enables tools to be written in Python that use Subversion.
Features:
* Supports all svn client features
* Supports svn transaction features required to write svn pre-commit
hooks
* Python like interface
* Documentation and examples provided
* No need to understand the Subversion C API
%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
Accepting request 520001 from devel:languages:python:singlespec-staging - Update to version 1.9.4 - Remove bnc445431_pysvn_svnenv.cpp.diff * No longer needed - singlespec auto-conversion - update to 1.8.0: * Support python3 sorting of list of PysvnDict objects that name a known "key". * Support Subversion 1.9.1. * Support Python 3.5 * Fix issue: is_versioned is always 0 * Fix issue: svn_client_root_url_from_path() would crash if login callback was called. - Update to version 1.7.8 + No changelog available - update to 1.7.7 * no degestible changelog provided from upstream - Added patch for bnc#780243, cherry-picked from upstream r1742 - license update: Apache-1.1 See LICENSE.txt (most of the package is in fact BSD-3-Clause licensed" - Fix building python 3 package on openSUSE 11.4 - Add python 3 package - update to 1.7.6: * supports subversion 1.7.3 (and earlier) - Ran spec-cleaner - update to 1.7.5: * update included pycss to 0.6 to build against subversion 1.7 - Update to version 1.7.4 * bug fixes for reported issues - Update to version 1.7.2 - enable parallel build - update to version 1.7.0 switch to the authors recommended way to build/install this thing - readd the second last change - Fixed bnc#445431 "undefinied C++ code" in pysvn_svnenv.cpp - fix typo in specfile - remove doc files from INSTALLED_FILES - renamed macro _realname - Taken from home:/termim into factory - Version 1.6.0 setup.py - Revision: 130370 - New release Bogdano Arendartchuk <bogdano@mandriva.com> - fix after version upgrade) - Revision: 91597 - Remove patch and update - Rebuild for latest pyhton + Bogdano Arendartchuk <bogdano@mandriva.com> - Import python-pysvn OBS-URL: https://build.opensuse.org/request/show/520001 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pysvn?expand=0&rev=35
2017-08-31 17:31:13 +00:00
%{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}/"
make %{?_smp_mflags}
Accepting request 520001 from devel:languages:python:singlespec-staging - Update to version 1.9.4 - Remove bnc445431_pysvn_svnenv.cpp.diff * No longer needed - singlespec auto-conversion - update to 1.8.0: * Support python3 sorting of list of PysvnDict objects that name a known "key". * Support Subversion 1.9.1. * Support Python 3.5 * Fix issue: is_versioned is always 0 * Fix issue: svn_client_root_url_from_path() would crash if login callback was called. - Update to version 1.7.8 + No changelog available - update to 1.7.7 * no degestible changelog provided from upstream - Added patch for bnc#780243, cherry-picked from upstream r1742 - license update: Apache-1.1 See LICENSE.txt (most of the package is in fact BSD-3-Clause licensed" - Fix building python 3 package on openSUSE 11.4 - Add python 3 package - update to 1.7.6: * supports subversion 1.7.3 (and earlier) - Ran spec-cleaner - update to 1.7.5: * update included pycss to 0.6 to build against subversion 1.7 - Update to version 1.7.4 * bug fixes for reported issues - Update to version 1.7.2 - enable parallel build - update to version 1.7.0 switch to the authors recommended way to build/install this thing - readd the second last change - Fixed bnc#445431 "undefinied C++ code" in pysvn_svnenv.cpp - fix typo in specfile - remove doc files from INSTALLED_FILES - renamed macro _realname - Taken from home:/termim into factory - Version 1.6.0 setup.py - Revision: 130370 - New release Bogdano Arendartchuk <bogdano@mandriva.com> - fix after version upgrade) - Revision: 91597 - Remove patch and update - Rebuild for latest pyhton + Bogdano Arendartchuk <bogdano@mandriva.com> - Import python-pysvn OBS-URL: https://build.opensuse.org/request/show/520001 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pysvn?expand=0&rev=35
2017-08-31 17:31:13 +00:00
popd
}
%install
Accepting request 520001 from devel:languages:python:singlespec-staging - Update to version 1.9.4 - Remove bnc445431_pysvn_svnenv.cpp.diff * No longer needed - singlespec auto-conversion - update to 1.8.0: * Support python3 sorting of list of PysvnDict objects that name a known "key". * Support Subversion 1.9.1. * Support Python 3.5 * Fix issue: is_versioned is always 0 * Fix issue: svn_client_root_url_from_path() would crash if login callback was called. - Update to version 1.7.8 + No changelog available - update to 1.7.7 * no degestible changelog provided from upstream - Added patch for bnc#780243, cherry-picked from upstream r1742 - license update: Apache-1.1 See LICENSE.txt (most of the package is in fact BSD-3-Clause licensed" - Fix building python 3 package on openSUSE 11.4 - Add python 3 package - update to 1.7.6: * supports subversion 1.7.3 (and earlier) - Ran spec-cleaner - update to 1.7.5: * update included pycss to 0.6 to build against subversion 1.7 - Update to version 1.7.4 * bug fixes for reported issues - Update to version 1.7.2 - enable parallel build - update to version 1.7.0 switch to the authors recommended way to build/install this thing - readd the second last change - Fixed bnc#445431 "undefinied C++ code" in pysvn_svnenv.cpp - fix typo in specfile - remove doc files from INSTALLED_FILES - renamed macro _realname - Taken from home:/termim into factory - Version 1.6.0 setup.py - Revision: 130370 - New release Bogdano Arendartchuk <bogdano@mandriva.com> - fix after version upgrade) - Revision: 91597 - Remove patch and update - Rebuild for latest pyhton + Bogdano Arendartchuk <bogdano@mandriva.com> - Import python-pysvn OBS-URL: https://build.opensuse.org/request/show/520001 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pysvn?expand=0&rev=35
2017-08-31 17:31:13 +00:00
%{python_expand mkdir -p %{buildroot}/%{$python_sitearch}/pysvn
pushd Source-%{$python_bin_suffix}
cp pysvn/{__init__.py,_pysvn*.so} %{buildroot}/%{$python_sitearch}/pysvn
$python -m compileall -d %{$python_sitearch} %{buildroot}/%{$python_sitearch}/pysvn
$python -O -m compileall -d %{$python_sitearch} %{buildroot}/%{$python_sitearch}/pysvn
popd
}
rm -f Docs/generate_cpp_docs_from_html_docs.py
%check
cd Tests
Accepting request 520001 from devel:languages:python:singlespec-staging - Update to version 1.9.4 - Remove bnc445431_pysvn_svnenv.cpp.diff * No longer needed - singlespec auto-conversion - update to 1.8.0: * Support python3 sorting of list of PysvnDict objects that name a known "key". * Support Subversion 1.9.1. * Support Python 3.5 * Fix issue: is_versioned is always 0 * Fix issue: svn_client_root_url_from_path() would crash if login callback was called. - Update to version 1.7.8 + No changelog available - update to 1.7.7 * no degestible changelog provided from upstream - Added patch for bnc#780243, cherry-picked from upstream r1742 - license update: Apache-1.1 See LICENSE.txt (most of the package is in fact BSD-3-Clause licensed" - Fix building python 3 package on openSUSE 11.4 - Add python 3 package - update to 1.7.6: * supports subversion 1.7.3 (and earlier) - Ran spec-cleaner - update to 1.7.5: * update included pycss to 0.6 to build against subversion 1.7 - Update to version 1.7.4 * bug fixes for reported issues - Update to version 1.7.2 - enable parallel build - update to version 1.7.0 switch to the authors recommended way to build/install this thing - readd the second last change - Fixed bnc#445431 "undefinied C++ code" in pysvn_svnenv.cpp - fix typo in specfile - remove doc files from INSTALLED_FILES - renamed macro _realname - Taken from home:/termim into factory - Version 1.6.0 setup.py - Revision: 130370 - New release Bogdano Arendartchuk <bogdano@mandriva.com> - fix after version upgrade) - Revision: 91597 - Remove patch and update - Rebuild for latest pyhton + Bogdano Arendartchuk <bogdano@mandriva.com> - Import python-pysvn OBS-URL: https://build.opensuse.org/request/show/520001 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pysvn?expand=0&rev=35
2017-08-31 17:31:13 +00:00
%python_expand PYTHON=$python make %{?_smp_mflags} || true
Accepting request 520001 from devel:languages:python:singlespec-staging - Update to version 1.9.4 - Remove bnc445431_pysvn_svnenv.cpp.diff * No longer needed - singlespec auto-conversion - update to 1.8.0: * Support python3 sorting of list of PysvnDict objects that name a known "key". * Support Subversion 1.9.1. * Support Python 3.5 * Fix issue: is_versioned is always 0 * Fix issue: svn_client_root_url_from_path() would crash if login callback was called. - Update to version 1.7.8 + No changelog available - update to 1.7.7 * no degestible changelog provided from upstream - Added patch for bnc#780243, cherry-picked from upstream r1742 - license update: Apache-1.1 See LICENSE.txt (most of the package is in fact BSD-3-Clause licensed" - Fix building python 3 package on openSUSE 11.4 - Add python 3 package - update to 1.7.6: * supports subversion 1.7.3 (and earlier) - Ran spec-cleaner - update to 1.7.5: * update included pycss to 0.6 to build against subversion 1.7 - Update to version 1.7.4 * bug fixes for reported issues - Update to version 1.7.2 - enable parallel build - update to version 1.7.0 switch to the authors recommended way to build/install this thing - readd the second last change - Fixed bnc#445431 "undefinied C++ code" in pysvn_svnenv.cpp - fix typo in specfile - remove doc files from INSTALLED_FILES - renamed macro _realname - Taken from home:/termim into factory - Version 1.6.0 setup.py - Revision: 130370 - New release Bogdano Arendartchuk <bogdano@mandriva.com> - fix after version upgrade) - Revision: 91597 - Remove patch and update - Rebuild for latest pyhton + Bogdano Arendartchuk <bogdano@mandriva.com> - Import python-pysvn OBS-URL: https://build.opensuse.org/request/show/520001 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pysvn?expand=0&rev=35
2017-08-31 17:31:13 +00:00
%files %{python_files}
%defattr(-,root,root)
%doc LICENSE.txt Docs Examples
%{python_sitearch}/*
%changelog