- Timestamp:
- Jul 4, 2007, 4:08:15 AM (18 years ago)
- Location:
- trunk/essentials/sys-apps/prefix-portage
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/essentials/sys-apps/prefix-portage/kNIX-bootstrap.kmk
r3503 r3516 425 425 endif 426 426 $(APPEND) $@ 'CXXFLAGS="$${CFLAGS}"' 427 $(APPEND) $@ 'PORTDIR_OVERLAY="$(PATH_ROOT)/kNIXPortage $(PATH_ROOT)/prefix-overlay"' 427 $(APPEND) $@ '## @todo Figure why this ain't working while the next works...' 428 $(APPEND) $@ '#PORTDIR_OVERLAY="$(PATH_ROOT)/kNIXPortage $(PATH_ROOT)/prefix-overlay"' 429 $(APPEND) $@ 'PORTDIR_OVERLAY="$(PATH_ROOT)/kNIXPortage"' 428 430 $(APPEND) $@ 'GENTOO_MIRRORS="ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo http://128.213.5.34/gentoo http://mirrors.tds.net/gentoo http://mirror.datapipe.net/gentoo"' 429 431 $(APPEND) $@ 'USE="-nls"' -
trunk/essentials/sys-apps/prefix-portage/pym/portage/__init__.py
r3514 r3516 2373 2373 # bird: XXX: pty and termios.tcgetattr doesn't work/exist on OS/2 yet. 2374 2374 if sys.platform == "os2knix": 2375 pr, pw= os.pipe()2375 (pr, pw) = os.pipe() 2376 2376 fd_pipes.setdefault(0, sys.stdin.fileno()) 2377 2377 mypids.extend(portage.process.spawn(('tee', '-i', '-a', logfile), … … 2380 2380 fd_pipes[1] = pw 2381 2381 fd_pipes[2] = pw 2382 output_pid = mypids[-1] 2383 slave_fd = pw 2382 2384 keywords["fd_pipes"] = fd_pipes 2383 2385 else: -
trunk/essentials/sys-apps/prefix-portage/pym/portage/dbapi/porttree.py
r3511 r3516 131 131 try: 132 132 for mydir in (self.depcachedir,): 133 # bird: XXX: doesn't quite work, so skip it for now. 134 if sys.platform == "os2knix": 135 continue 133 136 if ensure_dirs(mydir, gid=portage_gid, mode=dirmode, mask=modemask): 134 137 writemsg("Adjusting permissions recursively: '%s'\n" % mydir, -
trunk/essentials/sys-apps/prefix-portage/pym/portage/news.py
r3511 r3516 123 123 if update: 124 124 self.updateItems(repoid) 125 126 125 unreadfile = os.path.join(self.UNREAD_PATH, "news-"+repoid+".unread") 127 126 try: … … 133 132 134 133 if os.path.exists(unreadfile): 135 unread = open(unreadfile).readlines() 134 # bird: XXX: set file mode or something fails somewhere in readlines. 135 import sys 136 if sys.platform == "os2knix": 137 import errno 138 try: 139 unread = open(unreadfile, "r+").readlines() 140 except IOError, e: 141 unread = "" 142 pass 143 else: 144 unread = open(unreadfile).readlines() 136 145 if len(unread): 137 146 return len(unread)
Note:
See TracChangeset
for help on using the changeset viewer.