# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
set pythons_suffixes {27 34 35 36 37}
categories science python
maintainers {michaelld @michaelld}
description Python Build Overlay Managed Bundle System
long_description PyBOMBS (Python Build Overlay Managed Bundle System) is the GNU Radio install management system for resolving dependencies and pulling in out-of-tree projects from CGRAN (Comprehensive GNU Radio Archive Network).
if {${subport} eq ${name}} {
github.setup pybombs pybombs 2.3.3 v
checksums rmd160 f772af0354ca39acd550da11109956492d395385 \
sha256 cf3bdb8e82a326696cf6210824e18b755e01554a5d3e9c1ce8463e63b4503e3f \
worksrcdir gnuradio-pybombs-4923226
# fix the version to be more explicit
reinplace "s@${version}@${version} MacPorts@g" ${worksrcpath}/pybombs/__init__.py
github.setup pybombs pybombs 22e7f23b8add89b5509aafc2f96c25910abe9738
version 20190919-[string range ${github.version} 0 7]
checksums rmd160 a56b44762b9786f47c6d603c123e469dcb422ccd \
sha256 e56ef0a4a58a23ac0955d53ee5d5ae375f3a54db03e427a6fb40329d3094e0d6 \
worksrcdir gnuradio-${github.project}-[string range ${github.version} 0 6]
long_description ${long_description} \
This port is kept up with the ${name} GIT 'master' branch, is typically updated weekly to monthly.
# fix the version to be very explicit
set mps "git-[string range ${github.version} 0 7] MacPorts"
reinplace "/__version__/s@\\\"\\\(.*\\\)*\\\"@\\\"\\1-${mps}\\\"@g" \
${worksrcpath}/pybombs/__init__.py
# declare +python* variants
foreach this_py_version_no_dot ${pythons_suffixes} {
set ndx [lsearch -exact ${pythons_suffixes} ${this_py_version_no_dot}]