[python-subvertpy] Initial import

Fabian Affolter fab at fedoraproject.org
Fri May 11 07:44:54 UTC 2012


commit 9796eb6effb09619489165d3bac407640155a03b
Author: Fabian Affolter <mail at fabian-affolter.ch>
Date:   Fri May 11 09:44:43 2012 +0200

    Initial import

 .gitignore            |    1 +
 python-subvertpy.spec |   98 +++++++++++++++++++++++++++++++++++++++++++++++++
 sources               |    1 +
 3 files changed, 100 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..790479c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/subvertpy-0.8.10.tar.gz
diff --git a/python-subvertpy.spec b/python-subvertpy.spec
new file mode 100644
index 0000000..2aa3b65
--- /dev/null
+++ b/python-subvertpy.spec
@@ -0,0 +1,98 @@
+%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5)
+%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
+%endif
+
+%global srcname subvertpy
+%filter_provides_in %{python_sitearch}
+%filter_setup
+
+Name:           python-subvertpy
+Version:        0.8.10
+Release:        1%{?dist}
+Summary:        Python bindings for Subversion
+
+Group:          Development/Languages
+License:        LGPLv2+
+URL:            http://samba.org/~jelmer/subvertpy/
+Source0:        http://samba.org/~jelmer/%{srcname}/%{srcname}-%{version}.tar.gz
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildRequires:  python2-devel
+BuildRequires:  python-setuptools
+BuildRequires:  subversion-devel
+BuildRequires:  python-nose
+
+
+%description
+Alternative Python bindings for Subversion, split out from bzr-svn.
+The goal is to have complete, portable and "Pythonic" Python bindings.
+
+
+%prep
+%setup -q -n %{srcname}-%{version}
+chmod -x examples/ra_*.py
+
+
+%build
+CFLAGS="%{optflags}" %{__python} setup.py build
+
+
+%install
+rm -rf %{buildroot}
+%{__python} setup.py install --skip-build --root %{buildroot}
+
+ 
+%clean
+rm -rf %{buildroot}
+
+
+%check
+cd build/*/subvertpy/tests
+PYTHONPATH=.. nosetests test*.py
+
+
+%files
+%defattr(-,root,root,-)
+%doc AUTHORS COPYING NEWS TODO examples/
+%{_bindir}/%{srcname}*
+%{python_sitearch}/%{srcname}/
+%{python_sitearch}/%{srcname}-*.egg-info
+%exclude %{python_sitearch}/%{srcname}/tests
+
+
+%changelog
+* Sun Mar 04 2012 Fabian Affolter <mail at fabian-affolter.ch> - 0.8.10-1
+- Updated to new upstream release 0.8.10
+
+* Sat Nov 26 2011 Fabian Affolter <mail at fabian-affolter.ch> - 0.8.9-1
+- Updated to new upstream release 0.8.9
+
+* Mon Oct 10 2011 Fabian Affolter <mail at fabian-affolter.ch> - 0.8.8-1
+- Updated to new upstream release 0.8.8
+
+* Mon Sep 19 2011 Fabian Affolter <mail at fabian-affolter.ch> - 0.8.7-1
+- Updated to new upstream release 0.8.7
+
+* Sun Aug 20 2011 Fabian Affolter <mail at fabian-affolter.ch> - 0.8.4-1
+- Updated to new upstream release 0.8.4
+
+* Wed Jun 22 2011 Fabian Affolter <mail at fabian-affolter.ch> - 0.8.2-1
+- Updated to new upstream release 0.8.2
+
+* Sun Mar 27 2011 Fabian Affolter <mail at fabian-affolter.ch> - 0.8.0-1
+- Excluded the tests directory
+- Updated to new upstream version 0.8.0
+
+* Thu Nov 25 2010 Fabian Affolter <mail at fabian-affolter.ch> - 0.7.5-2
+- Check section fixed
+
+* Sat Nov 20 2010 Fabian Affolter <mail at fabian-affolter.ch> - 0.7.5-1
+- Changed the filtering stuff to get rid of private-shared-object-provides
+- Added the tests (at the moment all failed)
+- Renamed the package
+
+* Fri Aug 20 2010 Fabian Affolter <mail at fabian-affolter.ch> - 0.7.3-1
+- Updated to new upstream release 0.7.3
+
+* Sun Jun 28 2010 Fabian Affolter <mail at fabian-affolter.ch> - 0.7.2-1
+- Initial package
diff --git a/sources b/sources
index e69de29..c31c032 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+e8a762128ff5f656fd5488e3d14a8516  subvertpy-0.8.10.tar.gz


More information about the scm-commits mailing list