add a bunch of fixes and a TODO
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@75 cd1c1023-2f26-0410-ae45-c471fc1f0318
This commit is contained in:
1
TODO
1
TODO
@@ -2,4 +2,5 @@ TODO list (for developers only):
|
||||
- timestamp management across database and packages servers
|
||||
- hash management (like Manifest in gentoo)
|
||||
- write rules for exit codes
|
||||
- store etpData['md5'] and use it to choose if there is the needing of a version bump of the .etp file
|
||||
- a lot more :-P
|
||||
@@ -128,9 +128,12 @@ def extractPkgData(package):
|
||||
f.close()
|
||||
|
||||
# Fill CFLAGS
|
||||
f = open(tbz2TmpDir+dbCFLAGS,"r")
|
||||
etpData['cflags'] = f.readline().strip()
|
||||
f.close()
|
||||
try:
|
||||
f = open(tbz2TmpDir+dbCFLAGS,"r")
|
||||
etpData['cflags'] = f.readline().strip()
|
||||
f.close()
|
||||
except IOError:
|
||||
etpData['cflags'] = ""
|
||||
|
||||
# Fill CXXFLAGS
|
||||
try:
|
||||
@@ -204,9 +207,12 @@ def extractPkgData(package):
|
||||
etpData['useflags'] = removeSpaceAtTheEnd(etpData['useflags'])
|
||||
|
||||
# fill KEYWORDS
|
||||
f = open(tbz2TmpDir+dbKEYWORDS,"r")
|
||||
etpData['keywords'] = f.readline().strip()
|
||||
f.close()
|
||||
try:
|
||||
f = open(tbz2TmpDir+dbKEYWORDS,"r")
|
||||
etpData['keywords'] = f.readline().strip()
|
||||
f.close()
|
||||
except IOError:
|
||||
etpData['keywords'] = ""
|
||||
|
||||
# fill ARCHs
|
||||
pkgArchs = etpData['keywords']
|
||||
|
||||
Reference in New Issue
Block a user