Changeset 8703
- Timestamp:
- Jun 26, 2019, 12:34:25 AM (20 months ago)
- Location:
- lliurex-store/trunk/fuentes
- Files:
-
- 9 added
- 15 edited
Legend:
- Unmodified
- Added
- Removed
-
lliurex-store/trunk/fuentes/README.md
r7475 r8703 1 # Lliurex Store1 # Lliurex Store 2 2 <p>Software store for Lliurex.</p> 3 3 <p> 4 4 Offers support for Lliurex's zomandos, snaps, appimage and software repositories.<br> 5 5 It can be also be installed on a non-Lliurex system and it shall enable or disable plugins if any of them isn't supported on the base system</p> 6 ##Lliurex Store plugin system 6 7 More info: 8 9 [Valencian](http://wiki.lliurex.net/tiki-index.php?page=LliureX+Store_va) 10 11 [Spanish](http://wiki.lliurex.net/tiki-index.php?page=LliureX+Store) 12 13 14 15 ## Lliurex Store plugin system 7 16 <p> 8 17 Plugins must provide one register method and return a dictionary with "data" and "status" keys.<br> 9 The basic structure of a plugin is provided at the "example.py" plugin. 18 The basic structure of a plugin is provided at the example.py plugin. 19 20 [example.py](python3-lliurex-store.install/usr/share/lliurexstore/plugins/example.py) 10 21 </p> 11 ###Available public methods 22 23 ### Available public methods 12 24 <ul> 13 25 <li> -
lliurex-store/trunk/fuentes/debian/changelog
r8463 r8703 1 lliurex-store (0.7.1) xenial; urgency=medium 2 3 * Fix error when loading a corrupted image 4 5 -- Juanma Navarro Mañez <juanma1980@gmail.com> Fri, 22 Feb 2019 09:47:32 +0100 6 7 lliurex-store (0.7) xenial; urgency=medium 1 lliurex-store (0.7.5.6) xenial; urgency=medium 2 3 * Fix typo on appimagemanager 4 5 -- Juanma Navarro Mañez <juanma1980@gmail.com> Mon, 03 Jun 2019 10:40:03 +0200 6 7 lliurex-store (0.7.5.5) bionic; urgency=medium 8 9 * Appimages now install to ~/Applications (standard appimage dir) 10 11 -- Juanma Navarro Mañez <juanma1980@gmail.com> Tue, 14 May 2019 08:32:17 +0200 12 13 lliurex-store (0.7.5.3) bionic; urgency=medium 14 15 * Fix path to missing image png 16 17 -- Juanma Navarro Mañez <juanma1980@gmail.com> Tue, 07 May 2019 16:28:59 +0200 18 19 lliurex-store (0.7.5.2) bionic; urgency=medium 20 21 * Change path to ~/AppImages for appimages 22 23 -- Juanma Navarro Mañez <juanma1980@gmail.com> Tue, 09 Apr 2019 09:07:44 +0200 24 25 lliurex-store (0.7.5.1) bionic; urgency=medium 26 27 * Replace pe in zmdmanager with pkexec 28 29 -- Juanma Navarro Mañez <juanma1980@gmail.com> Tue, 12 Mar 2019 16:02:41 +0100 30 31 lliurex-store (0.7.4) bionic; urgency=medium 32 33 * Replace gksu with pkexec 34 35 -- Juanma Navarro Mañez <juanma1980@gmail.com> Tue, 12 Mar 2019 15:07:08 +0100 36 37 lliurex-store (0.7.3) bionic; urgency=medium 38 39 * Fix some css 40 41 -- Juanma Navarro Mañez <juanma1980@gmail.com> Fri, 14 Dec 2018 09:14:40 +0100 42 43 lliurex-store (0.7.2) bionic; urgency=medium 44 45 * Fix lookup for 'package' icon 46 47 -- Juanma Navarro Mañez <juanma1980@gmail.com> Fri, 14 Dec 2018 09:09:51 +0100 48 49 lliurex-store (0.7.1) bionic; urgency=medium 50 51 * Fix font definitions in css 52 53 -- Juanma Navarro Mañez <juanma1980@gmail.com> Thu, 15 Nov 2018 13:15:49 +0100 54 55 lliurex-store (0.7) bionic; urgency=medium 8 56 9 57 * Implemented cache for package info … … 11 59 -- Juanma Navarro Mañez <juanma1980@gmail.com> Fri, 02 Nov 2018 09:15:13 +0100 12 60 13 lliurex-store (0.6.2) xenial; urgency=medium61 lliurex-store (0.6.2) bionic; urgency=medium 14 62 15 63 * Improved icons cache … … 17 65 -- Juanma Navarro Mañez <juanma1980@gmail.com> Wed, 24 Oct 2018 09:49:26 +0200 18 66 19 lliurex-store (0.6.1) xenial; urgency=medium67 lliurex-store (0.6.1) bionic; urgency=medium 20 68 21 69 * DebManager: add threads … … 23 71 -- Juanma Navarro Mañez <juanma1980@gmail.com> Tue, 23 Oct 2018 09:16:05 +0200 24 72 25 lliurex-store (0.6) xenial; urgency=medium73 lliurex-store (0.6) bionic; urgency=medium 26 74 27 75 * SnapManager: add threads … … 29 77 -- Juanma Navarro Mañez <juanma1980@gmail.com> Wed, 26 Sep 2018 17:00:44 +0200 30 78 31 lliurex-store (0.5.9) xenial; urgency=medium79 lliurex-store (0.5.9) bionic; urgency=medium 32 80 33 81 * Add method "policy" to debManager … … 35 83 -- Juanma Navarro Mañez <juanma1980@gmail.com> Wed, 12 Sep 2018 12:30:11 +0200 36 84 37 lliurex-store (0.5.8) xenial; urgency=high85 lliurex-store (0.5.8) bionic; urgency=high 38 86 39 87 * Added background xml to mate settings … … 41 89 -- Hector Garcia Huerta <hectorgh@gmail.com> Thu, 09 Aug 2018 13:51:05 +0200 42 90 43 lliurex-store (0.5.7.1) xenial; urgency=medium91 lliurex-store (0.5.7.1) bionic; urgency=medium 44 92 45 93 * Fix description not loading in appimage plugin … … 47 95 -- Juanma Navarro Mañez <juanma1980@gmail.com> Mon, 16 Jul 2018 12:52:52 +0200 48 96 49 lliurex-store (0.5.7) xenial; urgency=medium97 lliurex-store (0.5.7) bionic; urgency=medium 50 98 51 99 * Availabe snaps are loaded from available sections and not from wilcard … … 53 101 -- Juanma Navarro Mañez <juanma1980@gmail.com> Mon, 16 Jul 2018 12:21:53 +0200 54 102 55 lliurex-store (0.5.6.5) xenial; urgency=high103 lliurex-store (0.5.6.5) bionic; urgency=high 56 104 57 105 * Reverting to the old new home content … … 59 107 -- Hector Garcia Huerta <hectorgh@gmail.com> Wed, 04 Jul 2018 09:20:09 +0200 60 108 61 lliurex-store (0.5.6.4) xenial; urgency=high109 lliurex-store (0.5.6.4) bionic; urgency=high 62 110 63 111 * Changed some home page applications … … 65 113 -- Hector Garcia Huerta <hectorgh@gmail.com> Tue, 03 Jul 2018 14:31:44 +0200 66 114 67 lliurex-store (0.5.6.3) xenial; urgency=medium115 lliurex-store (0.5.6.3) bionic; urgency=medium 68 116 69 117 * Bug: Store was listing max 10 apps per section -
lliurex-store/trunk/fuentes/debian/control
r7383 r8703 3 3 Priority: optional 4 4 Maintainer: Equipo LliureX <lliurex@gva.es> 5 Uploaders: M.Angel Juan <m.angel.juan@gmail.com>, Raul Rodrigo Segura <lliurex_devel3@edu.gva.es>, David Montalva Furio <montalva_dav@gva.es>, Hector Garcia Huerta <lliurex_devel1@edu.gva.es>, Daniel Duran Vecino <daduve@gmail.com>, Juanma Navarro <juanma1980@gmail.com>6 Build-Depends: llxsrchelper,debhelper (>= 7.0),python3-all, llxcfg-dev7 Standards-Version: 3.9.55 Uploaders: M.Angel Juan <m.angel.juan@gmail.com>, Raul Rodrigo Segura <lliurex_devel3@edu.gva.es>, Hector Garcia Huerta <lliurex_devel1@edu.gva.es>, Daniel Duran Vecino <daduve@gmail.com>, Juanma Navarro <juanma1980@gmail.com>, Juan Ramon Pelegrina <juapesai@hotmail.com> 6 Build-Depends: llxsrchelper,debhelper (>= 7.0),python3-all, python3-poinstaller 7 Standards-Version: 4.1.4 8 8 X-Python3-Version: >= 3.5 9 Homepage: http://lliurex.net 9 10 10 11 Package: lliurex-store 11 12 Architecture: all 12 Depends: ${misc:Depends}, ${python3:Depends}, python3-lliurex-store (= ${binary:Version}), python3-html2text,lliurex-store-blacklist,lliurex-store-common (= ${binary:Version}) 13 Depends: ${misc:Depends}, ${python3:Depends}, python3-lliurex-store (= ${binary:Version}), python3-html2text,lliurex-store-blacklist,lliurex-store-common (= ${binary:Version}),gir1.2-webkit-3.0,python3-gi-cairo 13 14 Description: LliureX Software Store 14 15 … … 23 24 Package: python3-lliurex-store 24 25 Architecture: all 25 Depends: ${misc:Depends}, ${python3:Depends}, gir1.2-appstreamglib-1.0 (>=0.5.13), appstream (>=0.9.4), libappstream4 (>=0.10.0),python3-aptdaemon.pkcompat,python3-bs4,gir1.2-snapd-1(>=1.23),libsnapd-glib1(>=1.23)26 Depends: ${misc:Depends}, ${python3:Depends}, gir1.2-appstreamglib-1.0, appstream , libappstream4 ,python3-bs4,gir1.2-snapd-1,libsnapd-glib1,python3-psutil 26 27 Description: Libs for the LliureX Software Store 27 28 -
lliurex-store/trunk/fuentes/debian/lliurex-store.install
r6694 r8703 1 1 lliurex-store-cli/* / 2 2 lliurex-store-gui/usr/* /usr 3 docs/* /usr/share/doc/lliurex-store -
lliurex-store/trunk/fuentes/debian/rules
r6057 r8703 12 12 13 13 %: 14 dh $@ --with llxsrc,python3,llxdev --buildsystem pybuild 14 dh $@ --with llxsrc,python3 --buildsystem pybuild 15 15 16 -
lliurex-store/trunk/fuentes/lliurex-store-gui/usr/share/lliurex-store/lliurex-store-gui/DetailsBox.py
r8187 r8703 605 605 if os.path.exists(os.getenv("HOME")+"/.local/bin/%s"%appimg): 606 606 Popen([os.getenv("HOME")+"/.local/bin/%s"%appimg]) 607 # os.system(os.getenv("HOME")+"/.local/bin/%s"%appimg) 607 elif os.path.exists(os.getenv("HOME")+"/AppImages/%s"%appimg): 608 Popen([os.getenv("HOME")+"/AppImages/%s"%appimg]) 608 609 elif 'Zomando' in self.core.main_window.current_pkg["categories"]: 609 610 zmd=self.core.main_window.current_pkg["id"]+".zmd" -
lliurex-store/trunk/fuentes/lliurex-store-gui/usr/share/lliurex-store/lliurex-store-gui/ImageManager.py
r8463 r8703 13 13 pixbuf=image.get_pixbuf() 14 14 if not pixbuf: 15 image=Gtk.Image.new_from_file("/usr/share/icons/ Vibrancy-Colors/status/96/image-missing.png")15 image=Gtk.Image.new_from_file("/usr/share/icons/oxygen/base/64x64/status/image-missing.png") 16 16 pixbuf=image.get_pixbuf() 17 17 img_x=pixbuf.get_width() -
lliurex-store/trunk/fuentes/lliurex-store-gui/usr/share/lliurex-store/lliurex-store-gui/ResourcesManager.py
r7629 r8703 30 30 self.icon_db=Gtk.IconTheme() 31 31 self.icon_db.set_custom_theme("Vibrancy-Dark-Orange") 32 self.package_icon=self.icon_db.lookup_icon("package",256,Gtk.IconLookupFlags.FORCE_SVG ).get_filename() 32 try: 33 self.package_icon=self.icon_db.lookup_icon("package",256,Gtk.IconLookupFlags.FORCE_SVG ).get_filename() 34 except: 35 self.icon_db.set_custom_theme("Humanity") 36 self.package_icon=self.icon_db.lookup_icon("package-x-generic",256,Gtk.IconLookupFlags.FORCE_SVG ).get_filename() 37 33 38 34 39 #def init -
lliurex-store/trunk/fuentes/lliurex-store-gui/usr/share/lliurex-store/lliurex-store-gui/rsrc/lliurex-store.css
r4217 r8703 32 32 { 33 33 34 background -color: rgba(0,0,0,0.7);34 background: rgba(0,0,0,0.7); 35 35 36 36 } … … 50 50 #LIGHT_BLUE_BOX{ 51 51 52 /*background -color: rgba(0,95,219,1);*/53 background -color: #000000;52 /*background: rgba(0,95,219,1);*/ 53 background: #000000; 54 54 } 55 55 … … 58 58 #TRANSPARENT 59 59 { 60 background -color:transparent;60 background:transparent; 61 61 color: transparent; 62 62 } … … 68 68 border:0; 69 69 border-radius: 0; 70 color:white; 71 background-color: transparent; 70 /* color:white;*/ 71 color:grey; 72 background: transparent; 72 73 transition: none; 73 74 animation-delay: 0ms; … … 77 78 { 78 79 color:rgba(0,0,0,0.8); 79 font: Roboto 11;80 font: 11px Roboto; 80 81 text-shadow: 0px 0px 1px white; 81 82 … … 85 86 #SECTION_BOX:hover { 86 87 background-image: -gtk-gradient (linear, left top, right top, from ( rgba(79,142,217,1) ), to (rgba(79,142,217,1))); 88 color:white; 87 89 88 90 } … … 102 104 #MENU_BUTTON{ 103 105 106 background:red; 104 107 background-image: url("icons/llx-store.svg"); 105 background-color:red;106 108 border-color: black; 107 109 border: 0px; … … 169 171 170 172 color:white; 171 font: Roboto 25;173 font: 25px Roboto; 172 174 } 173 175 … … 175 177 176 178 color:white; 177 font: Roboto 22;179 font: 22px Roboto; 178 180 } 179 181 … … 181 183 182 184 color: #A0A0A0; 183 font: Roboto 10;185 font: 10px Roboto; 184 186 } 185 187 186 188 #ROBOTO_MEDIUM_GRAY{ 187 189 color: #A0A0A0; 188 font: Roboto 12;190 font: 12px Roboto; 189 191 } 190 192 191 193 #SHORT_DESCRIPTION{ 192 194 color: white; 193 font: Roboto Light 12;195 font: 12px Roboto Light; 194 196 } 195 197 196 198 #DETAILS_LABEL{ 197 199 color:white; 198 font: Roboto 13;200 font: 13px Roboto; 199 201 } 200 202 201 203 #DETAILS_OPTIONS{ 202 204 color: #A0A0A0; 203 font: Roboto 10;205 font: 10px Roboto; 204 206 } 205 207 206 208 #DETAILS_VALUES{ 207 209 color: white; 208 font: Roboto 10;210 font: 10px Roboto; 209 211 } 210 212 … … 217 219 border: none; 218 220 color: white; 219 font: Roboto 14;221 font: 14px Roboto; 220 222 background-image:-gtk-gradient (linear, left top, left bottom, from (#5294e2), to (#5294e2)); 221 223 text-shadow: none; … … 235 237 border: none; 236 238 color: white; 237 font: Roboto 16;239 font: 16px Roboto; 238 240 background-image:-gtk-gradient (linear, left top, left bottom, from (#5294e2), to (#5294e2)); 239 241 text-shadow: none; … … 253 255 border: none; 254 256 color: white; 255 font: Roboto 16;256 background -color: #F44336;257 font: 16px Roboto; 258 background: #F44336; 257 259 text-shadow: none; 258 260 … … 260 262 261 263 #UNINSTALL_BUTTON:hover { 262 background -color: #f45936;264 background: #f45936; 263 265 } 264 266 … … 270 272 border: none; 271 273 color: white; 272 font: Roboto 16;273 background -color: #4CAF50;274 font: 16px Roboto; 275 background: #4CAF50; 274 276 text-shadow: none; 275 277 … … 277 279 278 280 #OPEN_BUTTON:hover { 279 background -color: #81C784;281 background: #81C784; 280 282 } 281 283 … … 306 308 box-shadow: none; 307 309 border-color: transparent; 308 background -color: transparent;310 background: transparent; 309 311 transition-property: background-image, box-shadow; 310 312 transition-duration: 250ms; … … 316 318 #RELATED_BUTTON:backdrop { 317 319 318 background -color: transparent;320 background: transparent; 319 321 } 320 322 … … 330 332 #RELATED_LABEL { 331 333 color:white; 332 font: Roboto 16;334 font: 16px Roboto; 333 335 } 334 336 … … 336 338 #MEDIA_BUTTON { 337 339 border-radius: 0px; 338 background -color: white;340 background: white; 339 341 } 340 342 … … 344 346 345 347 346 background -color: transparent;348 background: transparent; 347 349 348 350 } … … 350 352 #BACK_BUTTON:hover { 351 353 border-radius: 0%; 352 background -color: rgba(34,69,128,1);354 background: rgba(34,69,128,1); 353 355 } 354 356 355 357 #BACK_BUTTON:active { 356 358 border-radius: 100%; 357 background -color: rgb(50,101,187);359 background: rgb(50,101,187); 358 360 transition: 200ms ease-out; 359 361 } … … 375 377 376 378 .scrollbar .trough { 377 background -color: transparent;379 background: transparent; 378 380 border: 0px; 379 381 … … 381 383 382 384 .scrollbar .slider { 383 background -color: rgba(90,140,220,0.7);385 background: rgba(90,140,220,0.7); 384 386 385 387 } … … 388 390 389 391 background-image: none; 390 background -color: transparent;392 background: transparent; 391 393 border: 0px; 392 394 } … … 401 403 402 404 box-shadow: none; 403 background -color: transparent;405 background: transparent; 404 406 background-image: none; 405 407 border: 0px; … … 426 428 background-position: 50% 50%; 427 429 background-repeat: no-repeat; 428 background -color: transparent;430 background: transparent; 429 431 animation: bounce-image infinite ease-out 2s; 430 432 animation-delay: 0ms; … … 437 439 background-position: 50% 50%; 438 440 background-repeat: no-repeat; 439 background -color: transparent;441 background: transparent; 440 442 animation: bounce-image infinite ease-out 2s; 441 443 animation-delay: 100ms; … … 448 450 background-position: 50% 50%; 449 451 background-repeat: no-repeat; 450 background -color: transparent;452 background: transparent; 451 453 animation: bounce-image infinite ease-out 2s; 452 454 animation-delay: 200ms; … … 459 461 background-position: 50% 50%; 460 462 background-repeat: no-repeat; 461 background -color: transparent;463 background: transparent; 462 464 animation: bounce-image infinite ease-out 2s; 463 465 animation-delay: 300ms; … … 470 472 background-position: 50% 50%; 471 473 background-repeat: no-repeat; 472 background -color: transparent;474 background: transparent; 473 475 animation: bounce-image infinite ease-out 2s; 474 476 animation-delay: 400ms; … … 481 483 background-position: 50% 50%; 482 484 background-repeat: no-repeat; 483 background -color: transparent;485 background: transparent; 484 486 animation: bounce-image infinite ease-out 2s; 485 487 animation-delay: 500ms; … … 492 494 background-position: 50% 50%; 493 495 background-repeat: no-repeat; 494 background -color: transparent;496 background: transparent; 495 497 animation: bounce-image infinite ease-out 2s; 496 498 animation-delay: 600ms; … … 499 501 500 502 #TEST{ 501 background -color: red;503 background: red; 502 504 box-shadow: none; 503 505 background-image: none; -
lliurex-store/trunk/fuentes/python3-lliurex-store.install/usr/share/lliurexstore/plugins/appImageManager.py
r8226 r8703 32 32 self.icons_dir=self.cache_dir+"/icons" 33 33 self.cache_xmls=self.cache_dir+"/xmls/appimage" 34 self.appimage_dir=os.getenv("HOME")+"/.local/bin" 34 self.appimage_dir=os.getenv("HOME")+"/Applications" 35 #Prevent appimage desktop integration 36 if not os.path.isfile("%s/.local/share/appimagekit/no_desktopintegration"%os.environ['HOME']): 37 if not os.path.isdir("%s/.local/share/appimagekit/"%os.environ['HOME']): 38 os.makedirs("%s/.local/share/appimagekit/"%os.environ['HOME']) 39 try: 40 f=open("%s/.local/share/appimagekit/no_desktopintegration"%os.environ['HOME'],'w') 41 f.close() 42 except Exception as e: 43 self._debug("Couldn't create %s"%"%s/.local/share/appimagekit/no_desktopintegration"%os.environ['HOME']) 44 self._debug("Reason: 5s"%e) 35 45 #To get the description of an app we must go to a specific url defined in url_info. 36 46 #$(appname) we'll be replaced with the appname so the url matches the right one. … … 158 168 self._callback(acumbf,app_size) 159 169 st = os.stat(dest_path) 160 os.chmod(dest_path, st.st_mode | 0o 111)170 os.chmod(dest_path, st.st_mode | 0o755) 161 171 self._set_status(0) 162 172 except Exception as e: -
lliurex-store/trunk/fuentes/python3-lliurex-store.install/usr/share/lliurexstore/plugins/shManager.py
r8223 r8703 80 80 err=0 81 81 try: 82 sudo_cmd=['gksudo',dest_path] 82 # sudo_cmd=['gksudo',dest_path] 83 sudo_cmd=['pkexec',dest_path] 83 84 #self._debug("executing "+str(sudo_cmd)) 84 85 launched_cmd=subprocess.Popen(sudo_cmd,stdout=subprocess.PIPE,stdin=subprocess.PIPE,stderr=subprocess.PIPE) … … 101 102 except subprocess.CalledProcessError as callError: 102 103 # err=callError.returncode 103 #if gksudofails set "permission denied" error104 #if authentication fails set "permission denied" error 104 105 err=303 105 106 except Exception as e: -
lliurex-store/trunk/fuentes/python3-lliurex-store.install/usr/share/lliurexstore/plugins/snapManager.py
r8223 r8703 276 276 stable_pkgs=[] 277 277 for section in sections: 278 apps =self.snap_client.find_section_sync(Snapd.FindFlags.MATCH_NAME,section,None)278 apps,curr=self.snap_client.find_section_sync(Snapd.FindFlags.MATCH_NAME,section,None) 279 279 for pkg in apps: 280 280 stable_pkgs.append(pkg) … … 292 292 while 'Snapd' not in str(type(wrap)): 293 293 time.sleep(0.1) 294 snaps =self.snap_client.find_finish(wrap)294 snaps,curr=self.snap_client.find_finish(wrap) 295 295 if type(snaps)!=type([]): 296 296 pkgs=[snaps] … … 315 315 pkgs=None 316 316 try: 317 pkgs =self.snap_client.find_sync(Snapd.FindFlags.MATCH_NAME,tokens,None)317 pkgs,curr=self.snap_client.find_sync(Snapd.FindFlags.MATCH_NAME,tokens,None) 318 318 except Exception as e: 319 319 print("ERR: %s"%e) -
lliurex-store/trunk/fuentes/python3-lliurex-store.install/usr/share/lliurexstore/plugins/zmdManager.py
r8223 r8703 67 67 except: 68 68 self.disabled=True 69 print("ERROR2!!!!")70 69 self._set_status(10) 71 70 self.progress=100 … … 98 97 err=0 99 98 try: 100 zmd_sudo=['p e',zmd]99 zmd_sudo=['pkexec',zmd] 101 100 #self._debug("executing "+str(zmd_sudo)) 102 101 launched_zmd=subprocess.Popen(zmd_sudo,stdout=subprocess.PIPE,stdin=subprocess.PIPE,stderr=subprocess.PIPE) … … 161 160 f3.close() 162 161 os.chmod(zmd_script,stat.S_IEXEC|stat.S_IREAD|stat.S_IWRITE|stat.S_IROTH|stat.S_IWOTH|stat.S_IXOTH|stat.S_IRGRP|stat.S_IWGRP|stat.S_IXGRP) 163 zmd_sudo=['gksudo',zmd_script] 162 # zmd_sudo=['gksudo',zmd_script] 163 zmd_sudo=['pkexec',zmd_script] 164 164 try: 165 #self._debug("Executing "+str(zmd_sudo))165 self._debug("Executing "+str(zmd_sudo)) 166 166 zmd_launcher=os.path.basename(zmd) 167 167 zmd_launcher=os.path.splitext(zmd_launcher)[0] -
lliurex-store/trunk/fuentes/python3-lliurex-store.install/usr/share/lliurexstore/storeManager.py
r8223 r8703 29 29 self._propagate_dbg=False 30 30 self.store=None 31 self.stores={} 31 self.cache="%s/.cache/lliurex-store"%os.environ['HOME'] 32 self.cache_data="%s/data"%self.cache 33 if not os.path.isdir(self.cache_data): 34 os.makedirs(self.cache_data) 35 self.cache_completion="%s/bash_completion"%self.cache_data 32 36 self.related_actions={ 33 37 'load':['load'], … … 487 491 while store_pool.qsize(): 488 492 self.store=store_pool.get() 493 with open(self.cache_completion,'w') as f: 494 for app in self.store.get_apps(): 495 f.write("%s\n"%app.get_pkgname_default()) 496 489 497 #def _load_Store 490 498 -
lliurex-store/trunk/fuentes/setup.py
r3274 r8703 1 #!/usr/bin/env python 1 #!/usr/bin/env python3 2 2 # 3 3 # $Id: setup.py,v 1.32 2010/10/17 15:47:21 ghantoos Exp $
Note: See TracChangeset
for help on using the changeset viewer.