<pre style='margin:0'>
Michael Dickens (michaelld) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/c3b3059a26de3069d7ee1c1045dfc1155b2a97a6">https://github.com/macports/macports-ports/commit/c3b3059a26de3069d7ee1c1045dfc1155b2a97a6</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new c3b3059 pybombs and pybombs-devel: new ports.
</span>c3b3059 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit c3b3059a26de3069d7ee1c1045dfc1155b2a97a6
</span>Author: Michael Dickens <michaelld@macports.org>
AuthorDate: Fri Mar 10 14:46:34 2017 -0500
<span style='display:block; white-space:pre;color:#404040;'> pybombs and pybombs-devel: new ports.
</span>---
science/pybombs/Portfile | 108 +++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 108 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/pybombs/Portfile b/science/pybombs/Portfile
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..fb63c6d
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/pybombs/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,108 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# -*- 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
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortSystem 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup python 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup github 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+name pybombs
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set pythons_suffixes {27 34 35 36}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+python.versions ${pythons_suffixes}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+python.default_version 27
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+categories science python
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license GPL-3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+platforms darwin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+supported_archs noarch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers michaelld
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description Python Build Overlay Managed Bundle System
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+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).
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+subport ${name}-devel {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {${subport} eq ${name}} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ github.setup pybombs pybombs 2.3.0 v
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ checksums rmd160 1780d5174c630456e5bb9d3315a2f0f2746c6816 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 f611de637dcbfe56852945568867fa4e3c25dfcedb269406b904463817bbab08
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ worksrcdir gnuradio-pybombs-37e7afe
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ conflicts ${name}-devel
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # fix the version to be more explicit
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-patch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s@${version}@${version} MacPorts@g" ${worksrcpath}/pybombs/__init__.py
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+} else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ github.setup pybombs pybombs 36d2da72fc55c62019073c3b4c9fed02557d03e4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ version 20170225
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ checksums rmd160 6f44d323d5694ed939b01f95c5d87846d39bfd91 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 3228fdfa7f5e8c22e181e8144d46c3813727fa4e8a1372ad9a8ba0803e79cbea
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ worksrcdir gnuradio-${github.project}-[string range ${github.version} 0 6]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ long_description ${long_description} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ This port is kept up with the ${name} GIT 'master' branch, is typically updated weekly to monthly.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ conflicts ${name}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # fix the version to be very explicit
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-patch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s@2.3.1a0@git-[string range ${github.version} 0 7](${version}) MacPorts@g" ${worksrcpath}/pybombs/__init__.py
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# declare +python* variants
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+foreach this_py_version_no_dot ${pythons_suffixes} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set ndx [lsearch -exact ${this_py_version_no_dot} ${this_py_version_no_dot}]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set this_conflicts [lreplace ${this_py_version_no_dot} ${ndx} ${ndx}]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set this_description "Use python${this_py_version_no_dot}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ eval [subst {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ variant python${this_py_version_no_dot} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ conflicts ${this_conflicts} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ description ${this_description} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ python.versions ${this_py_version_no_dot}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ python.version ${this_py_version_no_dot}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-delete \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:python[option python.default_version]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:python${this_py_version_no_dot} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:py${this_py_version_no_dot}-future \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:py${this_py_version_no_dot}-requests \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:py${this_py_version_no_dot}-six \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:py${this_py_version_no_dot}-yaml
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# set default, if no variants selected
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set PY_VER_NO_DOT 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+foreach this_py_version_no_dot ${pythons_suffixes} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {[variant_isset python${this_py_version_no_dot}]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set PY_VER_NO_DOT ${this_py_version_no_dot}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ break
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {${PY_VER_NO_DOT} == 0} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ default_variants +python[option python.default_version]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# make sure the default variant is not deselected alone
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set PY_VER_NO_DOT 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+foreach this_py_version_no_dot ${pythons_suffixes} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {[variant_isset python${this_py_version_no_dot}]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set PY_VER_NO_DOT ${this_py_version_no_dot}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ break
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {${PY_VER_NO_DOT} == 0} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ui_error "\n\nYou must select a Python variant; you cannot select -python[option python.default_version] alone.\n"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ return -code error "Invalid variant selection."
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span></pre><pre style='margin:0'>
</pre>