[python-dulwich/f14/master] Initial import

Fabian Affolter fab at fedoraproject.org
Sun Nov 7 20:54:46 UTC 2010


commit b1ac17f94c7625020e8612d3d6ea6d10142e29d9
Author: Fabian Affolter <fabian at bernewireless.net>
Date:   Sun Nov 7 21:54:40 2010 +0100

    Initial import

 .gitignore          |    1 +
 python-dulwich.spec |   96 +++++++++++++++++++++++++++++++++++++++++++++++++++
 sources             |    1 +
 3 files changed, 98 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..0fbb69e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/dulwich-0.6.2.tar.gz
diff --git a/python-dulwich.spec b/python-dulwich.spec
new file mode 100644
index 0000000..2a09495
--- /dev/null
+++ b/python-dulwich.spec
@@ -0,0 +1,96 @@
+%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 dulwich
+
+%filter_provides_in %{python_sitearch}
+%filter_setup
+
+Name:           python-%{srcname}
+Version:        0.6.2
+Release:        1%{?dist}
+Summary:        A python implementation of the Git file formats and protocols
+
+Group:          Development/Libraries
+License:        GPLv2+
+URL:            http://samba.org/~jelmer/dulwich/
+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:  python-nose
+
+
+%description
+Dulwich is a pure-Python implementation of the Git file formats and
+protocols. The project is named after the village in which Mr. and
+Mrs. Git live in the Monty Python sketch.
+
+
+%prep
+%setup -q -n %{srcname}-%{version}
+sed -i -e '/^#!\//, 1d' docs/tutorial/test.py
+rm docs/tutorial/.gitignore
+chmod -x docs/tutorial/test.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 dulwich/tests
+nosetests test*.py
+
+
+%files
+%defattr(-,root,root,-)
+%doc AUTHORS COPYING HACKING NEWS README docs/
+%{_bindir}/dul-*
+%{_bindir}/%{srcname}
+%{python_sitearch}/%{srcname}*
+%exclude %{python_sitearch}/%{srcname}/tests*
+
+
+%changelog
+* Sat Nov 08 2010 Fabian Affolter <fabian at bernewireless.net> - 0.6.2-1
+- Filtering added
+- Updated to new upstream version 0.6.2
+
+* Wed Sep 01 2010 Fabian Affolter <fabian at bernewireless.net> - 0.6.1-1
+- Fixed grep parameter
+- Run all test now
+- Updated to new upstream version 0.6.1
+
+* Sat Jul 03 2010 Fabian Affolter <fabian at bernewireless.net> - 0.6.0-3
+- Removed exec permission from test.py
+- Added python-nose
+
+* Fri Jun 25 2010 Fabian Affolter <fabian at bernewireless.net> - 0.6.0-2
+- Changed summary
+- Change to srcname
+- Fixed rpmlint issue
+- Added check section and exclude the tests directory
+
+* Thu Jun 17 2010 Fabian Affolter <fabian at bernewireless.net> - 0.6.0-1
+- Fixed some rpmlint issues
+- Added docs directory
+- Updated to new upstream version 0.6.0
+
+* Wed Apr 28 2010 Fabian Affolter <fabian at bernewireless.net> - 0.5.0-2
+- Doc added
+- Added BR setuptools
+
+* Fri Apr 16 2010 Steve 'Ashcrow' Milner <me at stevemilner.org> 0.5.0-1
+- Initial package
diff --git a/sources b/sources
index e69de29..96ae7c8 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+69d7e998f466972d5f9e0a6c6c1147f1  dulwich-0.6.2.tar.gz


More information about the scm-commits mailing list