[Greater-commits] r3742 - in trunk/portage/contributed: . greater-pydbapi
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Thu Jul 28 17:23:32 CEST 2011
Author: aheinecke
Date: 2011-07-28 17:23:31 +0200 (Thu, 28 Jul 2011)
New Revision: 3742
Added:
trunk/portage/contributed/greater-pydbapi/
trunk/portage/contributed/greater-pydbapi/greater-pydbapi-20110627.py
Log:
Add portage for python greater dbapi
Added: trunk/portage/contributed/greater-pydbapi/greater-pydbapi-20110627.py
===================================================================
--- trunk/portage/contributed/greater-pydbapi/greater-pydbapi-20110627.py 2011-07-28 15:22:33 UTC (rev 3741)
+++ trunk/portage/contributed/greater-pydbapi/greater-pydbapi-20110627.py 2011-07-28 15:23:31 UTC (rev 3742)
@@ -0,0 +1,29 @@
+# -*- coding: utf-8 -*-
+import utils
+import info
+
+class subinfo(info.infoclass):
+ def setTargets(self):
+ self.svnTargets['svnHEAD'] = (
+ 'https://svn.wald.intevation.org/svn/greater/branches/3.0.0-usf/GREAT-ER-DB')
+ self.defaultTarget = 'svnHEAD'
+ self.shortDescription =(
+ "GREAT-ER-PYDBAPI provides python bindings for the greater dbapi "
+ "for the GREAT-ER Software (http://www.great-er.org/) ")
+
+ def setDependencies(self):
+ self.buildDependencies['virtual/base'] = 'default'
+ self.dependencies['contributed/greater-dbapi'] = 'default'
+
+from Package.CMakePackageBase import *
+
+class Package(CMakePackageBase):
+ def __init__(self, **args):
+ self.subinfo = subinfo()
+ CMakePackageBase.__init__(self)
+ if (self.buildType != "Release"):
+ self.subinfo.options.configure.defines = (
+ "-DAGREATER_DEBUG=ON")
+
+if __name__ == '__main__':
+ Package().execute()
More information about the Greater-commits
mailing list