Index: head/comms/Makefile =================================================================== --- head/comms/Makefile (revision 521786) +++ head/comms/Makefile (revision 521787) @@ -1,222 +1,223 @@ # $FreeBSD$ # COMMENT = Communication utilities SUBDIR += acfax SUBDIR += airspy SUBDIR += aldo SUBDIR += amtterm SUBDIR += anyremote SUBDIR += apitran SUBDIR += aprsd SUBDIR += ath3k-firmware SUBDIR += atslog SUBDIR += bfhist SUBDIR += bforce-kst SUBDIR += birda SUBDIR += bladerf SUBDIR += bluegps SUBDIR += bluez-firmware SUBDIR += bpl+ SUBDIR += chirp SUBDIR += chu SUBDIR += comserv SUBDIR += concordance SUBDIR += congruity SUBDIR += conserver-com SUBDIR += cqrlog SUBDIR += cubicsdr SUBDIR += cutecom SUBDIR += cwdaemon SUBDIR += cwstudio SUBDIR += dcf77pi SUBDIR += deforaos-phone SUBDIR += dfu-programmer SUBDIR += dfu-util SUBDIR += direwolf SUBDIR += dsd SUBDIR += dump1090 SUBDIR += ebook2cw SUBDIR += ebook2cwgui SUBDIR += ebusd SUBDIR += echolinux SUBDIR += efax SUBDIR += ems-flasher SUBDIR += fl_moxgen SUBDIR += flcluster SUBDIR += fldigi SUBDIR += fllog SUBDIR += flrig SUBDIR += flwrap SUBDIR += freedv SUBDIR += gammu SUBDIR += geoid SUBDIR += gkermit SUBDIR += gnocky SUBDIR += gnokii SUBDIR += gnuradio SUBDIR += gpredict SUBDIR += gqrx SUBDIR += gr-osmosdr SUBDIR += grig SUBDIR += gstreamer1-plugins-spandsp SUBDIR += gtkmmorse SUBDIR += hackrf SUBDIR += hamlib SUBDIR += hcidump SUBDIR += hidapi SUBDIR += hylafax SUBDIR += ibp SUBDIR += inspectrum SUBDIR += iwmbt-firmware SUBDIR += java-simple-serial-connector SUBDIR += jerm SUBDIR += kb SUBDIR += kermit SUBDIR += klog SUBDIR += libbtbb SUBDIR += libconcord SUBDIR += libfap SUBDIR += libfec SUBDIR += libimobiledevice SUBDIR += libirman SUBDIR += libmodbus SUBDIR += librs232 SUBDIR += libsdr SUBDIR += libsdr-gui SUBDIR += libticables2 SUBDIR += libticalcs2 SUBDIR += libusbmuxd SUBDIR += linrad SUBDIR += liquid-dsp SUBDIR += lirc SUBDIR += locator SUBDIR += lrzsz SUBDIR += lysdr SUBDIR += mbelib SUBDIR += mgetty+sendfax SUBDIR += minicom SUBDIR += mlan3 SUBDIR += morse SUBDIR += multimon-ng + SUBDIR += nanovna-saver SUBDIR += nasawash SUBDIR += ncid SUBDIR += nec2c SUBDIR += nmealib SUBDIR += o2sms SUBDIR += obexapp SUBDIR += openobex SUBDIR += openzwave SUBDIR += openzwave-devel SUBDIR += owfs SUBDIR += p5-Cisco-UCS SUBDIR += p5-Device-Gsm SUBDIR += p5-Device-Modem SUBDIR += p5-Device-SerialPort SUBDIR += p5-Fax-Hylafax-Client SUBDIR += p5-Nexmo-SMS SUBDIR += p5-SMS-SMS77 SUBDIR += p5-SMS-Send SUBDIR += p5-SMS-Send-DeviceGsm SUBDIR += p5-SMS-Send-NexmoUnicode SUBDIR += p5-SMS-Send-TW-HiAir SUBDIR += p5-SMS-Send-TW-PChome SUBDIR += p5-SMS-Send-TW-Qma SUBDIR += p5-SMS-Send-TW-ShareSMS SUBDIR += p5-SMS-Send-TW-Socket2Air SUBDIR += p5-SMS-Send-TW-chtsns SUBDIR += p5-SMS-Send-TW-emome SUBDIR += pear-Horde_ActiveSync SUBDIR += pear-Horde_SyncMl SUBDIR += picocom SUBDIR += pr SUBDIR += predict SUBDIR += py-adafruit-ampy SUBDIR += py-bulksms SUBDIR += py-esptool SUBDIR += py-gammu SUBDIR += py-hidapi SUBDIR += py-libconcord SUBDIR += py-libimobiledevice SUBDIR += py-lirc SUBDIR += py-qt5-serialport SUBDIR += py-serial SUBDIR += py-xmodem SUBDIR += pyla SUBDIR += qico SUBDIR += qpage SUBDIR += qrq SUBDIR += qsstv SUBDIR += qt5-connectivity SUBDIR += qt5-sensors SUBDIR += qt5-serialbus SUBDIR += qt5-serialport SUBDIR += qtel SUBDIR += quisk SUBDIR += redsea SUBDIR += remserial SUBDIR += rtl-sdr SUBDIR += rubygem-callsign SUBDIR += rubygem-ruby-termios SUBDIR += rubygem-serialport SUBDIR += rxtx SUBDIR += scmxx SUBDIR += scrcpy SUBDIR += sdr-wspr SUBDIR += ser2net SUBDIR += serialoverip SUBDIR += seyon SUBDIR += sms_client SUBDIR += smstools3 SUBDIR += snap7 SUBDIR += soapyairspy SUBDIR += soapybladerf SUBDIR += soapyplutosdr SUBDIR += soapyredpitaya SUBDIR += soapyremote SUBDIR += soapysdrhackrf SUBDIR += soapyuhd SUBDIR += spandsp SUBDIR += splat SUBDIR += sredird SUBDIR += sunxi-tools SUBDIR += svxlink SUBDIR += syncterm SUBDIR += tcpser SUBDIR += telldus-core SUBDIR += thebridge SUBDIR += tilp2 SUBDIR += tio SUBDIR += tits SUBDIR += tkhylafax SUBDIR += tkscanfax SUBDIR += tlf SUBDIR += trustedqsl SUBDIR += twpsk SUBDIR += uarduno SUBDIR += uartlirc SUBDIR += uhd SUBDIR += uird SUBDIR += unixcw SUBDIR += usbmuxd SUBDIR += viewfax SUBDIR += vrflash SUBDIR += wsjtx SUBDIR += wwl SUBDIR += wy60 SUBDIR += xastir SUBDIR += xcwcp SUBDIR += xdemorse SUBDIR += xdx SUBDIR += xlog SUBDIR += xmorse SUBDIR += xnec2c SUBDIR += xnecview SUBDIR += yaac SUBDIR += yagiuda SUBDIR += yaps SUBDIR += yfklog SUBDIR += zssh .include Index: head/comms/nanovna-saver/Makefile =================================================================== --- head/comms/nanovna-saver/Makefile (nonexistent) +++ head/comms/nanovna-saver/Makefile (revision 521787) @@ -0,0 +1,28 @@ +# $FreeBSD$ + +PORTNAME= nanovna-saver +PORTVERSION= 0.2.1 +CATEGORIES= comms hamradio + +MAINTAINER= hamradio@FreeBSD.org +COMMENT= Multiplatform tool to save Touchstone files from the NanoVNA + +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYNUMPY} \ + ${PYTHON_PKGNAMEPREFIX}scipy>=0.13.2:science/py-scipy@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}serial>0:comms/py-serial@${PY_FLAVOR} +RUN_DEPENDS= ${BUILD_DEPENDS} + +USES= python:3.3+ pyqt:5 qt:5 +USE_PYTHON= distutils autoplist +USE_PYQT= core_run gui_run widgets_run +QT5_USE= core gui widgets + +NO_ARCH= yes +USE_GITHUB= yes +GH_ACCOUNT= mihtjel +GH_TAGNAME= 47e95d1 + +.include Property changes on: head/comms/nanovna-saver/Makefile ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/comms/nanovna-saver/distinfo =================================================================== --- head/comms/nanovna-saver/distinfo (nonexistent) +++ head/comms/nanovna-saver/distinfo (revision 521787) @@ -0,0 +1,3 @@ +TIMESTAMP = 1577802970 +SHA256 (mihtjel-nanovna-saver-0.2.1-47e95d1_GH0.tar.gz) = bf2a9ebd1d78e940b49ecf3590291fb948ecaaffa173b51c799a420db39383b9 +SIZE (mihtjel-nanovna-saver-0.2.1-47e95d1_GH0.tar.gz) = 172939 Property changes on: head/comms/nanovna-saver/distinfo ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +on \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/comms/nanovna-saver/files/patch-NanoVNASaver_NanoVNASaver.py =================================================================== --- head/comms/nanovna-saver/files/patch-NanoVNASaver_NanoVNASaver.py (nonexistent) +++ head/comms/nanovna-saver/files/patch-NanoVNASaver_NanoVNASaver.py (revision 521787) @@ -0,0 +1,15 @@ +--- NanoVNASaver/NanoVNASaver.py.orig 2019-12-04 11:05:36 UTC ++++ NanoVNASaver/NanoVNASaver.py +@@ -540,11 +540,7 @@ class NanoVNASaver(QtWidgets.QWidget): + return_ports = [] + device_list = list_ports.comports() + for d in device_list: +- if (d.vid == VID and +- d.pid == PID): +- port = d.device +- logger.info("Found NanoVNA (%04x %04x) on port %s", d.vid, d.pid, d.device) +- return_ports.append(port) ++ return_ports.append(d.device) + return return_ports + + def exportFileS1P(self): Property changes on: head/comms/nanovna-saver/files/patch-NanoVNASaver_NanoVNASaver.py ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +on \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/comms/nanovna-saver/files/patch-setup.py =================================================================== --- head/comms/nanovna-saver/files/patch-setup.py (nonexistent) +++ head/comms/nanovna-saver/files/patch-setup.py (revision 521787) @@ -0,0 +1,36 @@ +--- setup.py.orig 2019-12-04 11:05:36 UTC ++++ setup.py +@@ -15,10 +15,11 @@ + # along with this program. If not, see . + + import sys ++import io + from NanoVNASaver.about import version + +-if sys.version_info < (3, 7): +- print("You need at least Python 3.7 for this application!") ++if sys.version_info < (3, 3): ++ print("You need at least Python 3.3 for this application!") + if sys.version_info[0] < 3: + print("try running with python3 {}".format(" ".join(sys.argv))) + sys.exit(1) +@@ -30,7 +31,7 @@ except ImportError: + print("Try installing them with pip install setuptools") + sys.exit(1) + +-with open("README.md", "r") as fh: ++with io.open("README.md", "r", encoding="utf-8") as fh: + long_description = fh.read() + + setup( +@@ -48,10 +49,4 @@ setup( + 'NanoVNASaver = NanoVNASaver.__main__:main' + ], + }, +- install_requires=[ +- 'pyserial', +- 'PyQt5', +- 'numpy', +- 'scipy' +- ], + ) Property changes on: head/comms/nanovna-saver/files/patch-setup.py ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +on \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/comms/nanovna-saver/pkg-descr =================================================================== --- head/comms/nanovna-saver/pkg-descr (nonexistent) +++ head/comms/nanovna-saver/pkg-descr (revision 521787) @@ -0,0 +1,7 @@ +NanoVNASaver + +A multiplatform tool to save Touchstone files from the NanoVNA, sweep +frequency spans in segments to gain more than 101 data points, and +generally display and analyze the resulting data. + +WWW: https://github.com/mihtjel/nanovna-saver Property changes on: head/comms/nanovna-saver/pkg-descr ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +on \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property