pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/pius pius: fix installation



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f606db0fdf66
branches:  trunk
changeset: 421393:f606db0fdf66
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Wed Jan 15 13:07:46 2020 +0000

description:
pius: fix installation

Switch from egg.mk to distutils.mk, the latter works.
Add perl dependency for pius-party-worksheet.

Bump PKGREVISION.

diffstat:

 security/pius/Makefile |   8 ++++++--
 security/pius/PLIST    |  11 ++++++-----
 2 files changed, 12 insertions(+), 7 deletions(-)

diffs (57 lines):

diff -r 1319a4c0dad0 -r f606db0fdf66 security/pius/Makefile
--- a/security/pius/Makefile    Wed Jan 15 12:41:28 2020 +0000
+++ b/security/pius/Makefile    Wed Jan 15 13:07:46 2020 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.2 2020/01/13 20:52:04 schmonz Exp $
+# $NetBSD: Makefile,v 1.3 2020/01/15 13:07:46 wiz Exp $
 
 DISTNAME=              pius-3.0.0
 PKGNAME=               ${PYPKGPREFIX}-${DISTNAME}
+PKGREVISION=           1
 CATEGORIES=            security python
 MASTER_SITES=          ${MASTER_SITE_GITHUB:=jaymzh/pius/releases/download/v3.0.0/}
 EXTRACT_SUFX=          .tar.bz2
@@ -15,6 +16,7 @@
 DEPENDS+=              gnupg2-[0-9]*:../../security/gnupg2
 
 USE_LANGUAGES=         # none
+USE_TOOLS+=            perl:run
 
 SUBST_CLASSES+=                paths
 SUBST_STAGE.paths=     do-configure
@@ -22,6 +24,8 @@
 SUBST_FILES.paths+=    doc/pius.1 doc/pius-keyring-mgr.1 doc/pius-report.1
 SUBST_VARS.paths=      PREFIX PKGMANDIR
 
-.include "../../lang/python/egg.mk"
+REPLACE_PERL+=         pius-party-worksheet
+
+.include "../../lang/python/distutils.mk"
 .include "../../lang/python/application.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 1319a4c0dad0 -r f606db0fdf66 security/pius/PLIST
--- a/security/pius/PLIST       Wed Jan 15 12:41:28 2020 +0000
+++ b/security/pius/PLIST       Wed Jan 15 13:07:46 2020 +0000
@@ -1,12 +1,8 @@
-@comment $NetBSD: PLIST,v 1.1 2020/01/13 20:39:29 schmonz Exp $
+@comment $NetBSD: PLIST,v 1.2 2020/01/15 13:07:46 wiz Exp $
 bin/pius
 bin/pius-keyring-mgr
 bin/pius-party-worksheet
 bin/pius-report
-man/man1/pius-keyring-mgr.1
-man/man1/pius-party-worksheet.1
-man/man1/pius-report.1
-man/man1/pius.1
 ${PYSITELIB}/libpius/__init__.py
 ${PYSITELIB}/libpius/__init__.pyo
 ${PYSITELIB}/libpius/__init__.pyc
@@ -31,3 +27,8 @@
 ${PYSITELIB}/libpius/state.py
 ${PYSITELIB}/libpius/util.py
 ${PYSITELIB}/libpius/wotsap.py
+${PYSITELIB}/${EGG_FILE}
+man/man1/pius-keyring-mgr.1
+man/man1/pius-party-worksheet.1
+man/man1/pius-report.1
+man/man1/pius.1



Home | Main Index | Thread Index | Old Index