pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc Fixed pkglint warnings.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4a95797d852e
branches:  trunk
changeset: 349565:4a95797d852e
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sun Jul 10 10:52:41 2016 +0000

description:
Fixed pkglint warnings.

diffstat:

 net/py-pcap/Makefile         |  23 ++++++++++++-----------
 net/py-pcap/distinfo         |   4 ++--
 net/py-pcap/patches/patch-ab |   4 +---
 time/ical/Makefile           |  12 +++++-------
 4 files changed, 20 insertions(+), 23 deletions(-)

diffs (106 lines):

diff -r 2863856d3dd2 -r 4a95797d852e net/py-pcap/Makefile
--- a/net/py-pcap/Makefile      Sun Jul 10 10:45:40 2016 +0000
+++ b/net/py-pcap/Makefile      Sun Jul 10 10:52:41 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2016/07/09 13:04:01 wiz Exp $
+# $NetBSD: Makefile,v 1.8 2016/07/10 11:15:41 rillig Exp $
 
 DISTNAME=      pypcap-1.1
 PKGNAME=       ${PYPKGPREFIX}-pcap-1.1
@@ -13,19 +13,20 @@
 
 BUILD_DEPENDS+=                ${PYPKGPREFIX}-pyrex-[0-9]*:../../lang/py-pyrex
 
-SUBST_CLASSES+=         python
-SUBST_FILES.python=     Makefile
-SUBST_SED.python+=      -e 's,@PYTHON@,${PYTHONBIN},g'
-SUBST_STAGE.python=     post-patch
-SUBST_CLASSES+=         prefix
-SUBST_FILES.prefix=     Makefile
-SUBST_SED.prefix=       -e "s|@PREFIX@|${PREFIX}|g"
-SUBST_STAGE.prefix=     post-patch
+SUBST_CLASSES+=                python
+SUBST_FILES.python=    Makefile
+SUBST_SED.python+=     -e 's,@PYTHON@,${PYTHONBIN},g'
+SUBST_STAGE.python=    post-patch
 
-PYDISTUTILSPKG= yes
+SUBST_CLASSES+=                prefix
+SUBST_FILES.prefix=    Makefile
+SUBST_SED.prefix=      -e "s|@PREFIX@|${PREFIX}|g"
+SUBST_STAGE.prefix=    post-patch
+
+PYDISTUTILSPKG=                        yes
 PYTHON_VERSIONS_INCOMPATIBLE=  34 35 # py-pyrex
 
-FILES_SUBST+=   PYTHONBIN=${PYTHONBIN:Q}
+FILES_SUBST+=  PYTHONBIN=${PYTHONBIN:Q}
 
 pre-configure:
        cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
diff -r 2863856d3dd2 -r 4a95797d852e net/py-pcap/distinfo
--- a/net/py-pcap/distinfo      Sun Jul 10 10:45:40 2016 +0000
+++ b/net/py-pcap/distinfo      Sun Jul 10 10:52:41 2016 +0000
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.4 2015/11/04 00:35:31 agc Exp $
+$NetBSD: distinfo,v 1.5 2016/07/10 11:15:41 rillig Exp $
 
 SHA1 (pypcap-1.1.tar.gz) = 966f62deca16d5086e2ef6694b0c795f273da15c
 RMD160 (pypcap-1.1.tar.gz) = 119dcc393d42678e6fa8f0b0f8b82536ab1efb13
 SHA512 (pypcap-1.1.tar.gz) = f4fefb48f01b9080446d83fca3793f97aba3b3677d38520c977c49be061568163299a89c5bc6ec552d68c01fc211e1501b75a835eb68412ab8f6e4307eb0b599
 Size (pypcap-1.1.tar.gz) = 22951 bytes
 SHA1 (patch-aa) = 6fb58b55262a9b28bdc9e681b3b3ea07523bd8e3
-SHA1 (patch-ab) = 3be8dad4d70e56fc07a7acfea2d1fc5d0dd2e413
+SHA1 (patch-ab) = 0dc6f05e5f5fc56b4fcdd06c3cdd1845cef813af
 SHA1 (patch-ac) = 4a4f28578b27b4605787ea566217397bf60fdea8
diff -r 2863856d3dd2 -r 4a95797d852e net/py-pcap/patches/patch-ab
--- a/net/py-pcap/patches/patch-ab      Sun Jul 10 10:45:40 2016 +0000
+++ b/net/py-pcap/patches/patch-ab      Sun Jul 10 10:52:41 2016 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-ab,v 1.3 2011/05/09 11:17:22 alnsn Exp $
+$NetBSD: patch-ab,v 1.4 2016/07/10 11:15:41 rillig Exp $
 
 --- Makefile.orig      2005-10-17 02:08:17.000000000 +0200
 +++ Makefile   2010-02-14 17:31:22.000000000 +0100
@@ -9,5 +9,3 @@
 +PYTHON        = @PYTHON@
 +#CONFIG_ARGS = --with-pcap=@PREFIX@
  
- # PYTHON = C:\\Python23\\python.exe
- # CONFIG_ARGS = --with-pcap=..\\wpdpack
diff -r 2863856d3dd2 -r 4a95797d852e time/ical/Makefile
--- a/time/ical/Makefile        Sun Jul 10 10:45:40 2016 +0000
+++ b/time/ical/Makefile        Sun Jul 10 10:52:41 2016 +0000
@@ -1,11 +1,9 @@
-# $NetBSD: Makefile,v 1.32 2014/10/09 14:07:07 wiz Exp $
+# $NetBSD: Makefile,v 1.33 2016/07/10 10:52:41 rillig Exp $
 
-VER=           3.0.2
-DISTNAME=      ical-${VER}
+DISTNAME=      ical-3.0.2
 PKGREVISION=   4
 CATEGORIES=    time
-MASTER_SITES=  https://launchpad.net/ical-tcl/3.x/${VER}/+download/
-EXTRACT_SUFFIX=        .tar.gz
+MASTER_SITES=  https://launchpad.net/ical-tcl/3.x/${PKGVERSION_NOREV}/+download/
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      https://launchpad.net/ical-tcl/
@@ -13,7 +11,7 @@
 
 USE_LANGUAGES= c c++
 GNU_CONFIGURE= yes
-CONFIGURE_ARGS+= --prefix=${PREFIX:Q} \
+CONFIGURE_ARGS+= --prefix=${PREFIX} \
                --with-tclconfig=${BUILDLINK_PREFIX.tcl}/lib \
                --with-tclsh=${BUILDLINK_PREFIX.tcl}/bin/tclsh \
                --with-tkconfig=${BUILDLINK_PREFIX.tk}/lib
@@ -22,7 +20,7 @@
 
 USE_TOOLS+=    gmake gsed
 
-PLIST_SUBS+=   "PKGVERSION=${VER}"
+PLIST_SUBST+=  PKGVERSION=${PKGVERSION_NOREV}
 
 post-configure:
        ${TOUCH} ${WRKDIR}/${DISTNAME}/Makefile \



Home | Main Index | Thread Index | Old Index