Fri Jan 14 14:59:43 2022 UTC ()
chirp: simplify

Add egg file to PLIST.


(wiz)
diff -r1.40 -r1.41 pkgsrc/ham/chirp/Makefile
diff -r1.10 -r1.11 pkgsrc/ham/chirp/PLIST

cvs diff -r1.40 -r1.41 pkgsrc/ham/chirp/Makefile (expand / switch to unified diff)

--- pkgsrc/ham/chirp/Makefile 2022/01/10 08:11:43 1.40
+++ pkgsrc/ham/chirp/Makefile 2022/01/14 14:59:43 1.41
@@ -1,18 +1,17 @@ @@ -1,18 +1,17 @@
1# $NetBSD: Makefile,v 1.40 2022/01/10 08:11:43 wiz Exp $ 1# $NetBSD: Makefile,v 1.41 2022/01/14 14:59:43 wiz Exp $
2 2
3PKGVERSION= 20211216 3DISTNAME= chirp-daily-20211216
4PKGNAME= chirp-${PKGVERSION} 4PKGNAME= ${DISTNAME:S/-daily//}
5DISTNAME= chirp-daily-${PKGVERSION_NOREV} 
6PKGREVISION= 1 5PKGREVISION= 1
7CATEGORIES= ham 6CATEGORIES= ham
8MASTER_SITES= https://trac.chirp.danplanet.com/chirp_daily/daily-${PKGVERSION_NOREV}/ 7MASTER_SITES= https://trac.chirp.danplanet.com/chirp_daily/daily-${PKGVERSION_NOREV}/
9# Chirp does not have what would normally called releasees. They have 8# Chirp does not have what would normally called releasees. They have
10# "daily builds" which are like releases except that: 9# "daily builds" which are like releases except that:
11# they are called chirp-daily instead of chirp 10# they are called chirp-daily instead of chirp
12# they have YYYYMMDD version numbers 11# they have YYYYMMDD version numbers
13# they don't have the usual release testing 12# they don't have the usual release testing
14# Upstream says 13# Upstream says
15# they will not go back to regular version numbers 14# they will not go back to regular version numbers
16# the preferred name is chirp, not chirp-daily 15# the preferred name is chirp, not chirp-daily
17# via 16# via
18# https://chirp.danplanet.com/issues/8067 17# https://chirp.danplanet.com/issues/8067
@@ -21,26 +20,27 @@ MASTER_SITES= https://trac.chirp.danplan @@ -21,26 +20,27 @@ MASTER_SITES= https://trac.chirp.danplan
21MAINTAINER= dbj@NetBSD.org 20MAINTAINER= dbj@NetBSD.org
22#MAINTAINER+= gdt@NetBSD.org 21#MAINTAINER+= gdt@NetBSD.org
23HOMEPAGE= https://chirp.danplanet.com/projects/chirp/wiki/Home 22HOMEPAGE= https://chirp.danplanet.com/projects/chirp/wiki/Home
24COMMENT= Tool for programming Amateur Radio HTs 23COMMENT= Tool for programming Amateur Radio HTs
25LICENSE= gnu-gpl-v3 24LICENSE= gnu-gpl-v3
26 25
27USE_LANGUAGES= #none 26USE_LANGUAGES= #none
28REPLACE_PYTHON= *.py chirp/*.py chirp/ui/*.py 27REPLACE_PYTHON= *.py chirp/*.py chirp/ui/*.py
29 28
30DEPENDS+= ${PYPKGPREFIX}-serial>=2.7:../../comms/py-serial 29DEPENDS+= ${PYPKGPREFIX}-serial>=2.7:../../comms/py-serial
31DEPENDS+= ${PYPKGPREFIX}-future>=0.18.0:../../devel/py-future 30DEPENDS+= ${PYPKGPREFIX}-future>=0.18.0:../../devel/py-future
32 31
33PYTHON_VERSIONS_ACCEPTED= 27 # py-gtk2 32PYTHON_VERSIONS_ACCEPTED= 27 # py-gtk2
 33EGG_NAME= chirp-daily_${PKGVERSION_NOREV}
34 34
35.include "../../mk/bsd.prefs.mk" 35.include "../../mk/bsd.prefs.mk"
36 36
37SUBST_CLASSES+= fix-manpaths 37SUBST_CLASSES+= fix-manpaths
38SUBST_STAGE.fix-manpaths= pre-configure 38SUBST_STAGE.fix-manpaths= pre-configure
39SUBST_MESSAGE.fix-manpaths= Fixing man paths 39SUBST_MESSAGE.fix-manpaths= Fixing man paths
40SUBST_FILES.fix-manpaths= setup.py 40SUBST_FILES.fix-manpaths= setup.py
41SUBST_SED.fix-manpaths= -e 's,share/man/man1,${PKGMANDIR}/man1,g' 41SUBST_SED.fix-manpaths= -e 's,share/man/man1,${PKGMANDIR}/man1,g'
42 42
43SUBST_CLASSES+= fix-sharepaths 43SUBST_CLASSES+= fix-sharepaths
44SUBST_STAGE.fix-sharepaths= pre-configure 44SUBST_STAGE.fix-sharepaths= pre-configure
45SUBST_MESSAGE.fix-sharepaths= Fixing /usr/share paths 45SUBST_MESSAGE.fix-sharepaths= Fixing /usr/share paths
46SUBST_FILES.fix-sharepaths= chirp/platform.py 46SUBST_FILES.fix-sharepaths= chirp/platform.py

cvs diff -r1.10 -r1.11 pkgsrc/ham/chirp/PLIST (expand / switch to unified diff)

--- pkgsrc/ham/chirp/PLIST 2022/01/10 08:11:43 1.10
+++ pkgsrc/ham/chirp/PLIST 2022/01/14 14:59:43 1.11
@@ -1,17 +1,17 @@ @@ -1,17 +1,17 @@
1@comment $NetBSD: PLIST,v 1.10 2022/01/10 08:11:43 wiz Exp $ 1@comment $NetBSD: PLIST,v 1.11 2022/01/14 14:59:43 wiz Exp $
2@pkgdir share/chirp/images 
3bin/chirpw 2bin/chirpw
4bin/rpttool 3bin/rpttool
 4${PYSITELIB}/${EGG_INFODIR}
5${PYSITELIB}/chirp/__init__.py 5${PYSITELIB}/chirp/__init__.py
6${PYSITELIB}/chirp/__init__.pyc 6${PYSITELIB}/chirp/__init__.pyc
7${PYSITELIB}/chirp/__init__.pyo 7${PYSITELIB}/chirp/__init__.pyo
8${PYSITELIB}/chirp/bandplan.py 8${PYSITELIB}/chirp/bandplan.py
9${PYSITELIB}/chirp/bandplan.pyc 9${PYSITELIB}/chirp/bandplan.pyc
10${PYSITELIB}/chirp/bandplan.pyo 10${PYSITELIB}/chirp/bandplan.pyo
11${PYSITELIB}/chirp/bandplan_au.py 11${PYSITELIB}/chirp/bandplan_au.py
12${PYSITELIB}/chirp/bandplan_au.pyc 12${PYSITELIB}/chirp/bandplan_au.pyc
13${PYSITELIB}/chirp/bandplan_au.pyo 13${PYSITELIB}/chirp/bandplan_au.pyo
14${PYSITELIB}/chirp/bandplan_iaru_r1.py 14${PYSITELIB}/chirp/bandplan_iaru_r1.py
15${PYSITELIB}/chirp/bandplan_iaru_r1.pyc 15${PYSITELIB}/chirp/bandplan_iaru_r1.pyc
16${PYSITELIB}/chirp/bandplan_iaru_r1.pyo 16${PYSITELIB}/chirp/bandplan_iaru_r1.pyo
17${PYSITELIB}/chirp/bandplan_iaru_r2.py 17${PYSITELIB}/chirp/bandplan_iaru_r2.py