pkgsrc-Bugs archive

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

pkg/41675: Update devel/py-logging to 0.4.9.6



>Number:         41675
>Category:       pkg
>Synopsis:       Update devel/py-logging  to 0.4.9.6
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jul 07 00:55:01 +0000 2009
>Originator:     Kamel Derouiche
>Release:        netbsd 5.0
>Organization:
Algerie Motors
>Environment:
NetBSD Khandahar 5.0 NetBSD 5.0 (GENERIC) #0: Sun Apr 26 18:50:08 UTC 2009  
builds%b6.netbsd.org@localhost:/home/builds/ab/netbsd-5-0-RELEASE/i386/200904260229Z-obj/home/builds/ab/netbsd-5-0-RELEASE/src/sys/arch/i386/compile/GENERIC
 i386

>Description:
I tried to update devel/py-logging to the latest available version, 0.4.9.6

pkgsrc changes:
---------------
    o SET LICENSE
    o Added Documentation

$ diff -ruN Makefile.orig Makefile
--- Makefile.orig       2009-07-07 01:25:14.000000000 +0000
+++ Makefile    2009-07-07 01:37:23.000000000 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.8 2006/03/04 21:29:28 jlam Exp $
+# $NetBSD$
 #
 
-DISTNAME=      logging-0.4.9.2
+DISTNAME=      logging-0.4.9.6
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 PKGREVISION=   1
 CATEGORIES=    devel python
@@ -10,10 +10,21 @@
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      http://www.red-dove.com/python_logging.html
 COMMENT=       Python logging system
+#LICENSE=      LICENSE please read /usr/pkg/share/doc/py-logging/LICENSE
 
 PKG_DESTDIR_SUPPORT=   user-destdir
 
 PYDISTUTILSPKG=        yes
 
+INSTALLATION_DIRS=     share/doc/py-logging
+
+post-install:
+       ${INSTALL_DATA} ${WRKSRC}/LICENSE \
+               ${DESTDIR}${PREFIX}/share/doc/py-logging
+       ${INSTALL_DATA} ${WRKSRC}/default.css\
+               ${DESTDIR}${PREFIX}/share/doc/py-logging
+       ${INSTALL_DATA} ${WRKSRC}/python_logging.html \
+               ${DESTDIR}${PREFIX}/share/doc/py-logging
+
 .include "../../lang/python/extension.mk"
 .include "../../mk/bsd.pkg.mk"

$diff -ruN PLIST.orig PLIST

--- PLIST.orig  2009-07-07 01:25:20.000000000 +0000
+++ PLIST       2009-07-07 01:46:14.000000000 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2003/09/14 16:43:49 recht Exp $
+@comment $NetBSD$
 ${PYSITELIB}/logging/__init__.py
 ${PYSITELIB}/logging/__init__.pyc
 ${PYSITELIB}/logging/__init__.pyo
@@ -8,3 +8,6 @@
 ${PYSITELIB}/logging/handlers.py
 ${PYSITELIB}/logging/handlers.pyc
 ${PYSITELIB}/logging/handlers.pyo
+share/doc/py-logging/LICENSE
+share/doc/py-logging/default.css
+share/doc/py-logging/python_logging.html


>How-To-Repeat:
n/a
>Fix:
n/a



Home | Main Index | Thread Index | Old Index