From: Daniel J. <dan...@us...> - 2010-11-09 00:21:54
|
Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/libs/pythonmods In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv21110 Modified Files: dulwich-py.info Log Message: Take over with maintainer's permission, update to latest upstream, add py27 and use update-alternatives to allow multiple python versions to coexist. Index: dulwich-py.info =================================================================== RCS file: /cvsroot/fink/dists/10.4/unstable/main/finkinfo/libs/pythonmods/dulwich-py.info,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- dulwich-py.info 25 Apr 2010 06:55:56 -0000 1.2 +++ dulwich-py.info 9 Nov 2010 00:21:46 -0000 1.3 @@ -1,26 +1,51 @@ Info2: << Package: dulwich-py%type_pkg[python] -Version: 0.5.0 +Version: 0.6.2 Revision: 1 Distribution: (%type_pkg[python] = 24) 10.4, (%type_pkg[python] = 24) 10.5 -Type: python (2.4 2.5 2.6) +Type: python (2.4 2.5 2.6 2.7) Source: http://samba.org/~jelmer/dulwich/dulwich-%v.tar.gz -Source-MD5: 811e77a8f1deb6f4bcaca6597b7367a5 -Depends: python%type_pkg[python], setuptools-py%type_pkg[python] (>= 0.6c1) +Source-MD5: 69d7e998f466972d5f9e0a6c6c1147f1 +BuildDepends: distribute-py%type_pkg[python], fink (>= 0.24.12) +Depends: python%type_pkg[python] CompileScript: << - python%type_raw[python] setup.py build - python%type_raw[python] setup.py build_ext -i + %p/bin/python%type_raw[python] setup.py build # Needs pydoctor # make doc << + +InfoTest: << + TestDepends: discover-py%type_pkg[python], testtools-py%type_pkg[python] + TestScript: %p/bin/discover-py%type_pkg[python] || exit 2 +<< + InstallScript: << - python%type_raw[python] setup.py install --prefix %p --root %d + %p/bin/python%type_raw[python] setup.py install --root=%d + + mv %i/bin/dul-daemon %i/bin/dul-daemon-py%type_pkg[python] + mv %i/bin/dul-web %i/bin/dul-web-py%type_pkg[python] + mv %i/bin/dulwich %i/bin/dulwich-py%type_pkg[python] + mkdir -p %i/share/doc cp -r docs %i/share/doc/%n << DocFiles: AUTHORS COPYING NEWS README +PostInstScript: << + update-alternatives --install %p/bin/dul-daemon dul-daemon %p/bin/dul-daemon-py%type_pkg[python] %type_pkg[python] + update-alternatives --install %p/bin/dul-web dul-web %p/bin/dul-web-py%type_pkg[python] %type_pkg[python] + update-alternatives --install %p/bin/dulwich dulwich %p/bin/dulwich-py%type_pkg[python] %type_pkg[python] +<< + +PreRmScript: << + if [ $1 != "upgrade" ]; then + update-alternatives --remove dul-daemon %p/bin/dul-daemon-py%type_pkg[python] + update-alternatives --remove dul-web %p/bin/dul-web-py%type_pkg[python] + update-alternatives --remove dulwich %p/bin/dulwich-py%type_pkg[python] + fi +<< + Description: Python implementation of Git DescDetail: << Dulwich is a pure-Python implementation of the Git file formats @@ -29,7 +54,8 @@ The project is named after the village in which Mr. and Mrs. Git live in the Monty Python sketch. << -License: GPL +DescPackaging: Previously maintained by Brendan Cully <br...@fi...> +License: GPL2+ Homepage: http://samba.org/~jelmer/dulwich/ -Maintainer: Brendan Cully <br...@fi...> +Maintainer: Daniel Johnson <da...@da...> << |