Module submission - pysvn
duncan.gibson@xs4all.nl
duncan.gibson at xs4all.nl
Sat Mar 10 11:46:34 CET 2007
module name : pysvn
suggested section : devel
update (y/n) : n
bugfix (y/n) : n
security (y/n) : n
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.
Duncan / engelsman
-------------- next part --------------
--- pysvn/BUILD 1970-01-01 01:00:00.000000000 +0100
+++ pysvn/BUILD 2007-03-08 21:00:36.000000000 +0100
@@ -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) &&
+
+ 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-03-08 20:15:49.000000000 +0100
@@ -0,0 +1,2 @@
+depends Python &&
+depends subversion
--- pysvn/DETAILS 1970-01-01 01:00:00.000000000 +0100
+++ pysvn/DETAILS 2007-03-08 21:03:46.000000000 +0100
@@ -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=20070308
+ 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
-------------- next part --------------
lvu submit pysvn 511060b0fb284c62efd9f6c20ab91312 -
2.6.20 2.6.12 gcc-3.4.6 glibc-2.3.6
More information about the Lunar
mailing list