[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:
Salvador E. Tropea 2022-08-16 09:47:15 -03:00
parent f1c6913449
commit 8fa4f985d3
4 changed files with 23 additions and 5 deletions

View File

@ -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 [![Tool](https://raw.githubusercontent.com/INTI-CMNB/KiBot/master/docs/images/llave-inglesa-22x22.png)](https://github.com/INTI-CMNB/pcbdraw) ![Auto-download](https://raw.githubusercontent.com/INTI-CMNB/KiBot/master/docs/images/auto_download-22x22.png)
[**PcbDraw**](https://github.com/INTI-CMNB/pcbdraw) v0.9.0.3 [![Tool](https://raw.githubusercontent.com/INTI-CMNB/KiBot/master/docs/images/llave-inglesa-22x22.png)](https://github.com/INTI-CMNB/pcbdraw) ![Auto-download](https://raw.githubusercontent.com/INTI-CMNB/KiBot/master/docs/images/auto_download-22x22.png)
- 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 [![Tool](https://raw.githubusercontent.com/INTI-CMNB/KiBot/master/docs/images/llave-inglesa-22x22.png)](https://github.com/INTI-CMNB/InteractiveHtmlBom) ![Auto-download](https://raw.githubusercontent.com/INTI-CMNB/KiBot/master/docs/images/auto_download-22x22.png)
- Mandatory for `ibom`
@ -175,6 +176,7 @@ Notes:
[**Pandoc**](https://pandoc.org/) [![Tool](https://raw.githubusercontent.com/INTI-CMNB/KiBot/master/docs/images/llave-inglesa-22x22.png)](https://pandoc.org/) [![Debian](https://raw.githubusercontent.com/INTI-CMNB/KiBot/master/docs/images/debian-openlogo-22x22.png)](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/) [![Tool](https://raw.githubusercontent.com/INTI-CMNB/KiBot/master/docs/images/llave-inglesa-22x22.png)](https://www.rarlab.com/) [![Debian](https://raw.githubusercontent.com/INTI-CMNB/KiBot/master/docs/images/debian-openlogo-22x22.png)](https://packages.debian.org/bullseye/rar) ![Auto-download](https://raw.githubusercontent.com/INTI-CMNB/KiBot/master/docs/images/auto_download-22x22.png)
- Optional to compress in RAR format for `compress`

View File

@ -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()

View File

@ -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

View File

@ -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\
]\
}\
],\