[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [craft] portage/frameworks/tier1/kapidox: Use python3 for kapidox
From: Hannah von Reth <null () kde ! org>
Date: 2017-06-30 16:17:37
Message-ID: E1dQybx-0002bk-PI () code ! kde ! org
[Download RAW message or body]
Git commit c164677d4eb2522c32c6731a624cbdc8efe64447 by Hannah von Reth.
Committed on 30/06/2017 at 16:17.
Pushed by vonreth into branch 'master'.
Use python3 for kapidox
M +3 -5 portage/frameworks/tier1/kapidox/kapidox.py
https://commits.kde.org/craft/c164677d4eb2522c32c6731a624cbdc8efe64447
diff --git a/portage/frameworks/tier1/kapidox/kapidox.py \
b/portage/frameworks/tier1/kapidox/kapidox.py index 3faa6d3e0..0f3b7c948 100644
--- a/portage/frameworks/tier1/kapidox/kapidox.py
+++ b/portage/frameworks/tier1/kapidox/kapidox.py
@@ -8,12 +8,12 @@ class subinfo(info.infoclass):
self.versionInfo.setDefaultValues( )
self.shortDescription = "Scripts and data for building API documentation \
(dox) in a standard format and style."
-
+
def setDependencies( self ):
self.buildDependencies["virtual/base"] = "default"
self.buildDependencies["dev-util/cmake"] = "default"
- self.runtimeDependencies["dev-util/python2"] = "default"
+ self.runtimeDependencies["dev-util/python3"] = "default"
self.runtimeDependencies["dev-util/doxygen"] = "default"
self.runtimeDependencies["python-modules/pyyaml"] = "default"
self.runtimeDependencies["python-modules/jinja2"] = "default"
@@ -26,10 +26,8 @@ class Package(CMakePackageBase):
CMakePackageBase.__init__( self )
#the shims are not portable
self.subinfo.options.package.disableBinaryCache = True
- # this program needs python 2.7
- self.subinfo.options.configure.defines = f" \
-DPYTHON_EXECUTABLE={utils.utilsCache.findApplication('python2')}"
-
+
def install(self):
if not CMakeBuildSystem.install(self):
return False
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic