[Dependencies] Boosted PcbDraw version to 0.9.0.3
- The upstream is currently undergoing a major rewrite and isn't usable. It has problems with KiCad 5 and 6.
This commit is contained in:
parent
f1c6913449
commit
8fa4f985d3
|
|
@ -129,9 +129,10 @@ Notes:
|
|||
- Mandatory for `kicost`
|
||||
- Optional to find components costs and specs for `bom`
|
||||
|
||||
[**PcbDraw**](https://github.com/INTI-CMNB/pcbdraw) v0.9.0 [](https://github.com/INTI-CMNB/pcbdraw) 
|
||||
[**PcbDraw**](https://github.com/INTI-CMNB/pcbdraw) v0.9.0.3 [](https://github.com/INTI-CMNB/pcbdraw) 
|
||||
- Mandatory for `pcbdraw`
|
||||
- Optional to create realistic solder masks for `pcb_print`
|
||||
- Note: Currently the upstream version is broken, please use the mentioned fork
|
||||
|
||||
[**Interactive HTML BoM**](https://github.com/INTI-CMNB/InteractiveHtmlBom) v2.4.1.4 [](https://github.com/INTI-CMNB/InteractiveHtmlBom) 
|
||||
- Mandatory for `ibom`
|
||||
|
|
@ -175,6 +176,7 @@ Notes:
|
|||
|
||||
[**Pandoc**](https://pandoc.org/) [](https://pandoc.org/) [](https://packages.debian.org/bullseye/pandoc)
|
||||
- Optional to create PDF/ODF/DOCX files for `report`
|
||||
- Note: In CI/CD environments: the `kicad_auto_test` docker image contains it.
|
||||
|
||||
[**RAR**](https://www.rarlab.com/) [](https://www.rarlab.com/) [](https://packages.debian.org/bullseye/rar) 
|
||||
- Optional to compress in RAR format for `compress`
|
||||
|
|
|
|||
|
|
@ -804,6 +804,15 @@ class MyEncoder(json.JSONEncoder):
|
|||
return o.__dict__
|
||||
|
||||
|
||||
def print_dep_comments(dep):
|
||||
if len(dep.comments) == 1:
|
||||
print('- Note: '+dep.comments[0])
|
||||
elif len(dep.comments) > 1:
|
||||
print('- Notes:')
|
||||
for comment in dep.comments:
|
||||
print(' - '+comment)
|
||||
|
||||
|
||||
def print_dependencies(markdown=True, jsn=False):
|
||||
# Compute the importance of each dependency
|
||||
for dep in RegDependency.get_registered().values():
|
||||
|
|
@ -875,4 +884,5 @@ def print_dependencies(markdown=True, jsn=False):
|
|||
if o.version:
|
||||
ver = ' (v'+'.'.join(map(str, o.version))+')'
|
||||
print(' - {} for {}{}'.format(o.desc, global2human(o.output), ver))
|
||||
print_dep_comments(dep)
|
||||
print()
|
||||
|
|
|
|||
|
|
@ -50,10 +50,12 @@ Dependencies:
|
|||
debian: imagemagick
|
||||
- name: PcbDraw
|
||||
# 0.9.0 implements KiCad 6 support
|
||||
version: 0.9.0
|
||||
# 0.9.0.3 Fixes KiCad 5 problems
|
||||
version: 0.9.0.3
|
||||
github: INTI-CMNB/pcbdraw
|
||||
pypi: PcbDraw
|
||||
downloader: pytool
|
||||
comments: 'Currently the upstream version is broken, please use the mentioned fork'
|
||||
- name: KiCost
|
||||
github: hildogjr/KiCost
|
||||
pypi: KiCost
|
||||
|
|
|
|||
|
|
@ -489,7 +489,9 @@ deps = '{\
|
|||
},\
|
||||
"PcbDraw": {\
|
||||
"command": "pcbdraw",\
|
||||
"comments": [],\
|
||||
"comments": [\
|
||||
"Currently the upstream version is broken, please use the mentioned fork"\
|
||||
],\
|
||||
"deb_package": "pcbdraw",\
|
||||
"downloader": {},\
|
||||
"downloader_str": "pytool",\
|
||||
|
|
@ -513,7 +515,8 @@ deps = '{\
|
|||
"version": [\
|
||||
0,\
|
||||
9,\
|
||||
0\
|
||||
0,\
|
||||
3\
|
||||
]\
|
||||
},\
|
||||
{\
|
||||
|
|
@ -523,7 +526,8 @@ deps = '{\
|
|||
"version": [\
|
||||
0,\
|
||||
9,\
|
||||
0\
|
||||
0,\
|
||||
3\
|
||||
]\
|
||||
}\
|
||||
],\
|
||||
|
|
|
|||
Loading…
Reference in New Issue