Compare commits

...

2 Commits

Author SHA1 Message Date
Salvador E. Tropea 347ad65363 Support for only kicad-nightly installed. 2021-02-08 19:57:55 -03:00
Salvador E. Tropea c9d0e1e03d Accept debian-nightly as dependency, not just kicad. 2021-02-08 19:44:36 -03:00
5 changed files with 27 additions and 1 deletions

View File

@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
## [0.9.0-3] - 2021-02-08
### Fixed
- Support for only kicad-nightly installed.
## [0.9.0-2] - 2021-02-08
### Changed
- Accept kicad-nightly as dependency, not just kicad.
## [0.9.0] - 2021-01-04
### Added
- iBoM output: file name patterns are allowed for the `netlist_file` option.

12
debian/changelog vendored
View File

@ -1,3 +1,15 @@
kibot (0.9.0-3) stable; urgency=medium
* Support for only kicad-nightly installed.
-- Salvador E. Tropea <salvador@galadriel.inti.gob.ar> Mon, 08 Feb 2021 19:56:48 -0300
kibot (0.9.0-2) stable; urgency=medium
* Accept kicad-nightly as dependency, not just kicad.
-- Salvador E. Tropea <salvador@inti.gob.ar> Mon, 08 Feb 2021 19:42:44 -0300
kibot (0.9.0-1) stable; urgency=medium
* Added: file name patterns are allowed for the `netlist_file` option.

2
debian/control vendored
View File

@ -10,7 +10,7 @@ X-Python3-Version: >= 3.6
Package: kibot
Architecture: all
Multi-Arch: foreign
Depends: ${misc:Depends}, ${python3:Depends}, python3-yaml, kicad (>= 5.1.0), python3-wxgtk4.0
Depends: ${misc:Depends}, ${python3:Depends}, python3-yaml, kicad (>= 5.1.6) | kicad-nightly, python3-wxgtk4.0
Recommends: kibom.inti-cmnb (>= 1.8.0), interactivehtmlbom.inti-cmnb, pcbdraw, imagemagick, librsvg2-bin, python3-xlsxwriter
Description: KiCad Bot
KiBot is a program which helps you to automate the generation of KiCad

View File

@ -36,6 +36,9 @@ script_versions = {}
if os.environ.get('KIAUS_USE_NIGHTLY'):
# Path to the Python module
sys_path.insert(0, '/usr/lib/kicad-nightly/lib/python3/dist-packages')
else:
# Add it as low priority
sys_path.append('/usr/lib/kicad-nightly/lib/python3/dist-packages')
try:
import pcbnew
except ImportError:

View File

@ -26,6 +26,9 @@ ng_ver = os.environ.get('KIAUS_USE_NIGHTLY')
if ng_ver:
# Path to the Python module
sys.path.insert(0, '/usr/lib/kicad-nightly/lib/python3/dist-packages')
else:
# Add it as low priority
sys_path.append('/usr/lib/kicad-nightly/lib/python3/dist-packages')
import pcbnew
m = re.search(r'(\d+)\.(\d+)\.(\d+)', pcbnew.GetBuildVersion())
logging.debug(pcbnew.GetBuildVersion())