[Lunar-commits] <moonbase> pysvn: Add new module.

Jannis Pohlmann jannis at xfce.org
Fri May 29 15:40:42 CEST 2009


commit a1e1796f8cf58f6285884c8c8dbec314eb31260f
Author: Jannis Pohlmann <jannis at xfce.org>
Date:   Fri May 29 15:40:42 2009 +0200

    pysvn: Add new module.
---
 python/pysvn/BUILD   |   18 ++++++++++++++++++
 python/pysvn/DEPENDS |    2 ++
 python/pysvn/DETAILS |   26 ++++++++++++++++++++++++++
 3 files changed, 46 insertions(+), 0 deletions(-)

diff --git a/python/pysvn/BUILD b/python/pysvn/BUILD
new file mode 100644
index 0000000..abd362e
--- /dev/null
+++ b/python/pysvn/BUILD
@@ -0,0 +1,18 @@
+(
+  # determine the current major Python version
+  python_major=`installed_version Python | cut -d. -f1-2`
+  
+  # determine the Python site-packages path
+  pysvn_dir="/usr/lib/python${python_major}/site-packages/pysvn"
+
+  pushd Source &&
+  python setup.py configure &&
+  make &&
+
+  prepare_install &&
+
+  test -d $pysvn_dir || mkdir $pysvn_dir &&
+  cp pysvn/__init__.py $pysvn_dir &&
+  cp pysvn/_pysvn*.so $pysvn_dir
+
+) > $C_FIFO 2>&1
diff --git a/python/pysvn/DEPENDS b/python/pysvn/DEPENDS
new file mode 100644
index 0000000..867296a
--- /dev/null
+++ b/python/pysvn/DEPENDS
@@ -0,0 +1,2 @@
+depends Python
+depends subversion
diff --git a/python/pysvn/DETAILS b/python/pysvn/DETAILS
new file mode 100644
index 0000000..503f8a2
--- /dev/null
+++ b/python/pysvn/DETAILS
@@ -0,0 +1,26 @@
+          MODULE=pysvn
+         VERSION=1.6.0
+          SOURCE=$MODULE-$VERSION.tar.gz
+      SOURCE_URL=http://pysvn.barrys-emacs.org/source_kits/
+      SOURCE_VFY=sha1:a87a72e9822b6494363f98768df6214e82c789d4
+        WEB_SITE=http://pysvn.tigris.org/
+         ENTERED=20090529
+         UPDATED=20090529
+           SHORT="Python bindings for Subversion"
+      MAINTAINER=jannis at lunar-linux.org
+
+cat << EOF
+The pysvn project's goal is to enable Tools to be written in Python
+that use Subversion.
+
+Windows, Mac OS X, Linux and other unix platforms are supported.
+pysvn Extension Features
+
+    * Supports all svn client features
+    * Supports svn transaction features required to write svn 
+      pre-commit hooks
+    * Easy to learn and use
+    * Python like interface
+    * Good Documentation and examples
+    * No need to understand the Subversion C API 
+EOF


More information about the Lunar-commits mailing list