123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151 |
- %{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
- %global srcname dulwich
- Name: python-%{srcname}
- Version: 0.13.0
- Release: 1%{?_dist_release}
- Summary: A python implementation of the Git file formats and protocols
- Summary(ja): Git ファイルフォーマットとプロトコルの python 実装
- 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}-root
- BuildRequires: python-devel
- BuildRequires: python-setuptools
- BuildRequires: python-nose
- Vendor: Project Vine
- Distribution: Vine Linux
- %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}
- %build
- CFLAGS="%{optflags}" %{__python} setup.py build
- %install
- rm -rf %{buildroot}
- %{__python} setup.py install --skip-build --root %{buildroot}
- rm -rf %{buildroot}%{python_sitearch}/docs
- %clean
- rm -rf %{buildroot}
- %check
- cd dulwich/tests
- #nosetests test*.py
- nosetests test_blackbox.py
- nosetests test_client.py
- #nosetests test_diff_tree.py
- nosetests test_fastexport.py
- nosetests test_file.py
- nosetests test_index.py
- nosetests test_lru_cache.py
- nosetests test_objects.py
- nosetests test_object_store.py
- nosetests test_patch.py
- nosetests test_pack.py
- nosetests test_protocol.py
- nosetests test_repository.py
- nosetests test_server.py
- nosetests test_web.py
- %files
- %defattr(-,root,root,-)
- %doc AUTHORS COPYING NEWS docs/
- %{_bindir}/dul-*
- %{_bindir}/%{srcname}
- %{python_sitearch}/%{srcname}*
- %exclude %{python_sitearch}/%{srcname}/tests*
- %changelog
- * Tue May 24 2016 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.13.0-1
- - new upstream release
- - fixed %%doc
- * Sun Jan 12 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.9.4-1
- - new upstream release
- * Sat Jul 20 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.0-1
- - new upstream release
- * Sat Jan 26 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.8.7-1
- - new upstream release
- * Fri Nov 23 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.8.6-1
- - new upstream release
- - deleted Patch0
- * Wed May 16 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.8.5-2
- - dropt BuildRequires: python-unittest2
- * Thu May 10 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.8.5-1
- - new upstream release
- - added Patch0 from Debian sid
- * Sun Feb 19 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.8.3-2
- - rebuild with python-2.7.2
- * Sat Jan 28 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.8.3-1
- - initial build for Vine Linux
- * Sun Apr 17 2011 Fabian Affolter <fabian@bernewireless.net> - 0.7.1-1
- - Updated to new upstream version 0.7.1
- * Fri Mar 11 2011 Fabian Affolter <fabian@bernewireless.net> - 0.7.0-3
- - Test section reworked
- * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.0-2
- - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
- * Thu Jan 27 2011 Fabian Affolter <fabian@bernewireless.net> - 0.7.0-1
- - Updated to new upstream version 0.7.0
- * Mon Nov 08 2010 Fabian Affolter <fabian@bernewireless.net> - 0.6.2-1
- - Filtering added
- - Updated to new upstream version 0.6.2
- * Wed Sep 01 2010 Fabian Affolter <fabian@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@bernewireless.net> - 0.6.0-3
- - Removed exec permission from test.py
- - Added python-nose
- * Fri Jun 25 2010 Fabian Affolter <fabian@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@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@bernewireless.net> - 0.5.0-2
- - Doc added
- - Added BR setuptools
- * Fri Apr 16 2010 Steve 'Ashcrow' Milner <me@stevemilner.org> 0.5.0-1
- - Initial package
|