Module submission - pysvn

duncan.gibson@xs4all.nl duncan.gibson at xs4all.nl
Sun May 13 19:04:29 CEST 2007


module name       : pysvn
suggested section : devel
update (y/n)      : n
bugfix (y/n)      : n
security (y/n)    : n

[BUILD correction for Python 2.5.1  to version submitted in March]

Python module with API for manipulating subversion repositories,
but it doesn't have a standard setup.py for the installation so
I've had to firkle around in the BUILD script to do it manually.

I have a basic subversion installation, so the BUILD also comments
out linking against libraries available in heimdal and cyrus-sasl.
If you want these you will need to update DEPENDS and also BUILD.
According to the archives, lots of people have had problems trying
to link against these libraries, needing extra symlinks etc.

Testing has been limited to installing the WorkBench gui which uses
this module, and which will be submitted shortly.

root

-------------- next part --------------
--- pysvn/BUILD	1970-01-01 01:00:00.000000000 +0100
+++ pysvn/BUILD	2007-05-13 18:56:53.000000000 +0200
@@ -0,0 +1,23 @@
+(
+  # some confusion about whether kerberos etc needed
+
+  sedit 's/-lgssapi_krb5 -lkrb5 -lk5crypto -lkrb5support//' Source/setup.py &&
+
+  cd Source				&&
+  python setup.py configure		&&
+  make					&&
+
+  # tests succeeded as user, but failed as root
+  # cd ../Tests
+  # make
+
+  prepare_install			&&
+
+  XX=$(installed_version Python | cut -d. -f1,2)	&&
+
+  mkdir -p 		/usr/lib/python$XX/site-packages/pysvn	&&
+  cp pysvn/__init__.py 	/usr/lib/python$XX/site-packages/pysvn 	&&
+  cp pysvn/_pysvn*.so	/usr/lib/python$XX/site-packages/pysvn
+
+) > $C_FIFO 2>&1
+
--- pysvn/DEPENDS	1970-01-01 01:00:00.000000000 +0100
+++ pysvn/DEPENDS	2007-04-22 15:46:42.000000000 +0200
@@ -0,0 +1,2 @@
+depends  Python         &&
+depends  subversion
--- pysvn/DETAILS	1970-01-01 01:00:00.000000000 +0100
+++ pysvn/DETAILS	2007-05-13 18:57:21.000000000 +0200
@@ -0,0 +1,26 @@
+          MODULE=pysvn
+         VERSION=1.5.1
+          SOURCE=$MODULE-$VERSION.tar.gz
+      SOURCE_URL=http://pysvn.tigris.org/files/documents/1233/36248/
+      SOURCE_VFY=sha1:1f24b5b18bf93fc978afca049a219128c372ca57
+        WEB_SITE=http://pysvn.tigris.org/
+         ENTERED=20070308
+         UPDATED=20070513
+           SHORT="Python module to interface to Subversion"
+
+# NOTE: I googled, but could not find a generic source url :-(
+
+cat << EOF
+The pysvn module is a python interface to the Subversion version
+control system. This API exposes client interfaces for managing a
+working copy, querying a repository, and synchronizing the two.
+
+This API cannot create new repositories; it can only interact with
+existing repositories. If you need to create a repository, use the
+svnadmin command from Subversion.
+
+Using the API, you can check out a working copy, add, edit,
+and remove working files, and check in, compare, or discard your
+changes. Repository properties such as keyword expansion, end of line
+characters, and ignore lists can also be examined and manipulated.
+EOF
Binary files /var/lib/lunar/moonbase/zlocal/pysvn/.DETAILS.swp and /var/lib/lunar/moonbase/zlocal/pysvn/.DETAILS.swp differ
-------------- next part --------------
lvu submit pysvn 2a2ed0e1479c8b8e1be8c449720aadf0  -
2.6.21.1 2.6.12 gcc-4.1.2 glibc-2.3.6


More information about the Lunar mailing list