[gtk-osx] Add pybsddb, formerly housed in Gramps.



commit 84682efab42b5925c4cc1f642d13df10af013519
Author: John Ralls <jralls ceridwen us>
Date:   Mon May 27 15:06:10 2013 -0700

    Add pybsddb, formerly housed in Gramps.

 modulesets-stable/gtk-osx-python.modules   |   16 ++++++++++++++--
 modulesets-unstable/gtk-osx-python.modules |   22 ++++++++++++++++++----
 modulesets/gtk-osx-python.modules          |   12 ++++++++++++
 3 files changed, 44 insertions(+), 6 deletions(-)
---
diff --git a/modulesets-stable/gtk-osx-python.modules b/modulesets-stable/gtk-osx-python.modules
index 288c7a7..4386e5d 100644
--- a/modulesets-stable/gtk-osx-python.modules
+++ b/modulesets-stable/gtk-osx-python.modules
@@ -3,14 +3,16 @@
 <?xml-stylesheet type="text/xsl" href="moduleset.xsl"?>
 <moduleset>
 
-  <repository type="tarball" name="ftp.gnome.org" default="yes" 
+  <repository type="tarball" name="ftp.gnome.org" default="yes"
               href="http://ftp.gnome.org/pub/GNOME/sources/"/>
-  <repository type="tarball" name="cairographics.org" 
+  <repository type="tarball" name="cairographics.org"
               href="http://cairographics.org/releases/"/>
   <repository type="tarball" name="python"
              href="http://www.python.org/ftp/python/"/>
   <repository type="tarball" name="oracle"
              href="http://download.oracle.com/"/>
+  <repository type="tarball" name="pymodules"
+             href="http://pypi.python.org/packages/source/"/>
 
   <metamodule id="meta-gtk-osx-python">
     <dependencies>
@@ -86,6 +88,16 @@
     </after>
   </autotools>
 
+  <distutils id="pybsddb">
+    <branch module="b/bsddb3/bsddb3-5.3.0.tar.gz"
+           hash="md5:d5aa4f293c4ea755e84383537f74be82" repo="pymodules"
+           version="5.3.0"/>
+    <dependencies>
+      <dep package="python3"/>
+      <dep package="berkeleydb"/>
+    </dependencies>
+  </distutils>
+
 <!-- Pycairo 1.8.4+ requires Python 2.6. Leopard comes only with 2.5,
      so pycairo is by default held at 1.8.2. Use pycairo-python2.6 if
      you want a more recent version. -->
diff --git a/modulesets-unstable/gtk-osx-python.modules b/modulesets-unstable/gtk-osx-python.modules
index 8c7236b..a041fe1 100644
--- a/modulesets-unstable/gtk-osx-python.modules
+++ b/modulesets-unstable/gtk-osx-python.modules
@@ -3,15 +3,16 @@
 <?xml-stylesheet type="text/xsl" href="moduleset.xsl"?>
 <moduleset>
 
-  <repository type="git" name="git.gnome.org" default="yes" 
+  <repository type="git" name="git.gnome.org" default="yes"
               href="git://git.gnome.org/"/>
-  <repository type="git" name="cairographics" 
+  <repository type="git" name="cairographics"
               href="git://git.cairographics.org/git/"/>
   <repository type="tarball" name="python"
              href="http://www.python.org/ftp/python/"/>
   <repository type="tarball" name="oracle"
              href="http://download.oracle.com/"/>
-
+  <repository type="tarball" name="pymodules"
+             href="http://pypi.python.org/packages/source/"/>
 
   <metamodule id="meta-gtk-osx-python">
     <dependencies>
@@ -67,7 +68,20 @@
     </after>
   </autotools>
 
-
+<!-- Pybsddb replaces Python2's built-in bsd module. Their repo uses
+     hg, so we stick with the tarball. -->
+  <distutils id="pybsddb">
+    <branch module="b/bsddb3/bsddb3-5.3.0.tar.gz"
+           hash="md5:d5aa4f293c4ea755e84383537f74be82" repo="pymodules"
+           version="5.3.0"/>
+    <dependencies>
+      <dep package="python3"/>
+    </dependencies>
+    <after>
+      <dep package="berkeleydb4.8"/>
+      <dep package="berkeleydb5.0"/>
+    </after>
+  </distutils>
 
 <!--Py2cairo is for Python2 and pycairo is for Python3 -->
  <autotools id="py2cairo" >
diff --git a/modulesets/gtk-osx-python.modules b/modulesets/gtk-osx-python.modules
index a0b73d4..22bcfa8 100644
--- a/modulesets/gtk-osx-python.modules
+++ b/modulesets/gtk-osx-python.modules
@@ -13,6 +13,8 @@
              href="http://www.python.org/ftp/python/"/>
   <repository type="tarball" name="oracle"
              href="http://download.oracle.com/"/>
+  <repository type="tarball" name="pymodules"
+             href="http://pypi.python.org/packages/source/"/>
 
 
   <metamodule id="meta-gtk-osx-python">
@@ -109,6 +111,16 @@
     </after>
   </autotools>
 
+  <distutils id="pybsddb">
+    <branch module="b/bsddb3/bsddb3-5.3.0.tar.gz"
+           hash="md5:d5aa4f293c4ea755e84383537f74be82" repo="pymodules"
+           version="5.3.0"/>
+    <dependencies>
+      <dep package="python3"/>
+      <dep package="berkeleydb"/>
+    </dependencies>
+  </distutils>
+
   <autotools id="pygobject" autogenargs="--disable-introspection">
     <branch tag="pygobject-2-28"/>
     <dependencies>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]