comparison packages.py @ 203:3fd439ae1380

minor & some upgrades
author drewp@bigasterisk.com
date Fri, 30 Jun 2023 22:39:13 -0700
parents c409ea5a1d5c
children 826db3c40fa7
comparison
equal deleted inserted replaced
202:a5399e8b47b6 203:3fd439ae1380
26 server.shell([ 26 server.shell([
27 "rm -f /usr/local/bin/pnp{m,x}", 27 "rm -f /usr/local/bin/pnp{m,x}",
28 "corepack enable", 28 "corepack enable",
29 # https://github.com/pnpm/pnpm/releases 29 # https://github.com/pnpm/pnpm/releases
30 # but also https://pnpm.io/installation#compatibility 30 # but also https://pnpm.io/installation#compatibility
31 "corepack prepare 'pnpm@7.30.1' --activate", 31 "corepack prepare 'pnpm@8.6.3' --activate",
32 ]) 32 ])
33 33
34 def pdm():
35 server.shell(["pip install 'pdm==2.7.4'"])
34 36
35 def proper_locate(): 37 def proper_locate():
36 apt.packages(packages='mlocate', present=False) 38 apt.packages(packages='mlocate', present=False)
37 if not is_pi and host.name not in ['prime', 'pipe']: 39 if not is_pi and host.name not in ['prime', 'pipe']:
38 apt.packages(packages='plocate') 40 apt.packages(packages='plocate')
80 desktop_env = host.name in ['dash', 'slash', 'plus', 'squib'] 82 desktop_env = host.name in ['dash', 'slash', 'plus', 'squib']
81 if desktop_env: 83 if desktop_env:
82 apt.packages(packages=package_lists.xorg + package_lists.desktop, **kw) 84 apt.packages(packages=package_lists.xorg + package_lists.desktop, **kw)
83 apt.deb(src="http://mirrors.kernel.org/ubuntu/pool/universe/libp/libpod/podman_4.3.1+ds1-5ubuntu1_amd64.deb") 85 apt.deb(src="http://mirrors.kernel.org/ubuntu/pool/universe/libp/libpod/podman_4.3.1+ds1-5ubuntu1_amd64.deb")
84 apt.deb(src="http://mirrors.kernel.org/ubuntu/pool/universe/libp/libpod/podman-docker_4.3.1+ds1-5ubuntu1_amd64.deb") 86 apt.deb(src="http://mirrors.kernel.org/ubuntu/pool/universe/libp/libpod/podman-docker_4.3.1+ds1-5ubuntu1_amd64.deb")
87 pdm()
85 88
86 if not is_pi: 89 if not is_pi:
87 apt.packages(packages=package_lists.non_pi, **kw) 90 apt.packages(packages=package_lists.non_pi, **kw)
88 if host.name != 'prime': # couldn't get prime to install a newer version than 18.7.0 91 if host.name != 'prime': # couldn't get prime to install a newer version than 18.7.0
89 nodejs() 92 nodejs()