Hello,
The following updates chirp to 20201128. PORTHOME fix provided by sthen.
This also comments out the update check (I think). Not sure if this is
the best approach, because, /me not a py-person.
Thoughts? Ok?
--
Tracey Emery
Index: Makefile
===================================================================
RCS file: /cvs/ports/comms/chirp/Makefile,v
retrieving revision 1.18
diff -u -p -r1.18 Makefile
--- Makefile 9 Oct 2020 11:03:45 -0000 1.18
+++ Makefile 8 Dec 2020 14:57:24 -0000
@@ -2,7 +2,7 @@
COMMENT= tool to programme a wide range of amateur radios
-MODPY_EGG_VERSION= 20201008
+MODPY_EGG_VERSION= 20201128
DISTNAME= chirp-daily-${MODPY_EGG_VERSION}
PKGNAME= chirp-${MODPY_EGG_VERSION}
@@ -25,6 +25,8 @@ RUN_DEPENDS= ${COMMON_DEPS} \
x11/py-gtk2
NO_TEST= Yes
+
+PORTHOME= ${WRKDIR}
post-extract:
sed -i 's,/usr/share,${PREFIX}/share,' \
Index: distinfo
===================================================================
RCS file: /cvs/ports/comms/chirp/distinfo,v
retrieving revision 1.13
diff -u -p -r1.13 distinfo
--- distinfo 9 Oct 2020 11:03:45 -0000 1.13
+++ distinfo 8 Dec 2020 14:57:24 -0000
@@ -1,2 +1,2 @@
-SHA256 (chirp-daily-20201008.tar.gz) =
TChmolqNORUlJFQDGRkJQhXKCljyERa8qFXHvq88LNY=
-SIZE (chirp-daily-20201008.tar.gz) = 934702
+SHA256 (chirp-daily-20201128.tar.gz) =
GpDw3Xk+msbLO36r2eAQ3G4ykQizGnFWZiAqUt2hhxA=
+SIZE (chirp-daily-20201128.tar.gz) = 966152
Index: patches/patch-chirp_ui_mainapp_py
===================================================================
RCS file: /cvs/ports/comms/chirp/patches/patch-chirp_ui_mainapp_py,v
retrieving revision 1.1
diff -u -p -r1.1 patch-chirp_ui_mainapp_py
--- patches/patch-chirp_ui_mainapp_py 8 Jun 2020 09:07:33 -0000 1.1
+++ patches/patch-chirp_ui_mainapp_py 8 Dec 2020 14:57:24 -0000
@@ -4,6 +4,8 @@ generic_xml is the only thing needing py
https://chirp.danplanet.com/projects/chirp/repository/revisions/49d2862932d4
https://chirp.danplanet.com/issues/495 etc
+While here, disable update checks
+
Index: chirp/ui/mainapp.py
--- chirp/ui/mainapp.py.orig
+++ chirp/ui/mainapp.py
@@ -16,3 +18,11 @@ Index: chirp/ui/mainapp.py
from chirp.drivers import ic9x, kenwood_live, idrp, vx7, vx5, vx6
from chirp.drivers import icf, ic9x_icf
from chirp import CHIRP_VERSION, chirp_common, detect, errors
+@@ -2156,5 +2156,5 @@ of file.
+ def updates_callback(ver):
+ gobject.idle_add(self._updates, ver)
+
+- if not CONF.get_bool("skip_update_check", "state"):
+- reporting.check_for_updates(updates_callback)
++ # if not CONF.get_bool("skip_update_check", "state"):
++ # reporting.check_for_updates(updates_callback)
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/comms/chirp/pkg/PLIST,v
retrieving revision 1.12
diff -u -p -r1.12 PLIST
--- pkg/PLIST 25 Sep 2020 13:48:50 -0000 1.12
+++ pkg/PLIST 8 Dec 2020 14:57:24 -0000
@@ -40,6 +40,8 @@ lib/python${MODPY_VERSION}/site-packages
lib/python${MODPY_VERSION}/site-packages/chirp/drivers/anytone778uv.pyc
lib/python${MODPY_VERSION}/site-packages/chirp/drivers/anytone_ht.py
lib/python${MODPY_VERSION}/site-packages/chirp/drivers/anytone_ht.pyc
+lib/python${MODPY_VERSION}/site-packages/chirp/drivers/anytone_iii.py
+lib/python${MODPY_VERSION}/site-packages/chirp/drivers/anytone_iii.pyc
lib/python${MODPY_VERSION}/site-packages/chirp/drivers/ap510.py
lib/python${MODPY_VERSION}/site-packages/chirp/drivers/ap510.pyc
lib/python${MODPY_VERSION}/site-packages/chirp/drivers/baofeng_common.py
@@ -238,6 +240,8 @@ lib/python${MODPY_VERSION}/site-packages
lib/python${MODPY_VERSION}/site-packages/chirp/drivers/th_uv3r25.pyc
lib/python${MODPY_VERSION}/site-packages/chirp/drivers/th_uv8000.py
lib/python${MODPY_VERSION}/site-packages/chirp/drivers/th_uv8000.pyc
+lib/python${MODPY_VERSION}/site-packages/chirp/drivers/th_uv88.py
+lib/python${MODPY_VERSION}/site-packages/chirp/drivers/th_uv88.pyc
lib/python${MODPY_VERSION}/site-packages/chirp/drivers/th_uvf8d.py
lib/python${MODPY_VERSION}/site-packages/chirp/drivers/th_uvf8d.pyc
lib/python${MODPY_VERSION}/site-packages/chirp/drivers/thd72.py