From 9c22b84af5a3d6a78ccba6d366d4749fb0e69542 Mon Sep 17 00:00:00 2001 From: Johann Visagie Date: Tue, 19 Jun 2001 13:00:47 +0000 Subject: [PATCH] Update to version 0.8.6 PR: 27955 Submitted by: MAINTAINER --- net/py-xmlrpc/Makefile | 15 ++++++++++----- net/py-xmlrpc/distinfo | 2 +- net/py-xmlrpc/files/patch-setup.py | 11 ----------- net/py-xmlrpc/pkg-plist | 9 +++++++++ 4 files changed, 20 insertions(+), 17 deletions(-) delete mode 100644 net/py-xmlrpc/files/patch-setup.py diff --git a/net/py-xmlrpc/Makefile b/net/py-xmlrpc/Makefile index e113746ebee2..46e457988aac 100644 --- a/net/py-xmlrpc/Makefile +++ b/net/py-xmlrpc/Makefile @@ -6,10 +6,10 @@ # PORTNAME= xmlrpc -PORTVERSION= 0.8.2 +PORTVERSION= 0.8.6 CATEGORIES= net python MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} -MASTER_SITE_SUBDIR= ${PKGNAMEPREFIX}${PORTNAME} +MASTER_SITE_SUBDIR= ${PKGNAMEPREFIX}${PORTNAME} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= ${PKGNAMEPREFIX}${PORTNAME}-${PORTVERSION} @@ -17,10 +17,11 @@ MAINTAINER= perky@python.or.kr BUILD_DEPENDS= ${PYDISTUTILS} -WRKSRC= ${WRKDIR}/${PORTNAME} -PLIST_SUB+= PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR:S/^${LOCALBASE}\///g} - USE_PYTHON= yes + +PLIST_SUB+= PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR:S/^${LOCALBASE}\///g} \ + SHARE_SUBDIR=${SHARE_SUBDIR} +SHARE_SUBDIR= ${PKGNAMEPREFIX}${PORTNAME} SETUP_CMD= cd ${WRKSRC} && ${PYTHON_CMD} setup.py do-build: @@ -28,5 +29,9 @@ do-build: do-install: ${SETUP_CMD} install +.if !defined(NOPORTDOCS) + ${MKDIR} ${PREFIX}/share/examples/${SHARE_SUBDIR} + cd ${WRKSRC} && ${INSTALL_DATA} doc/example/* ${PREFIX}/share/examples/${SHARE_SUBDIR} +.endif .include diff --git a/net/py-xmlrpc/distinfo b/net/py-xmlrpc/distinfo index 03094559a72d..5c78a053b614 100644 --- a/net/py-xmlrpc/distinfo +++ b/net/py-xmlrpc/distinfo @@ -1 +1 @@ -MD5 (py-xmlrpc-0.8.2.tar.gz) = bd484cd20b7b7a418222a39b39bb4c39 +MD5 (py-xmlrpc-0.8.6.tar.gz) = b27630de8034a4b6fe4fc9fb4a5b742f diff --git a/net/py-xmlrpc/files/patch-setup.py b/net/py-xmlrpc/files/patch-setup.py deleted file mode 100644 index c20a56cdf9c0..000000000000 --- a/net/py-xmlrpc/files/patch-setup.py +++ /dev/null @@ -1,11 +0,0 @@ ---- setup.py.orig Sun Apr 22 23:37:47 2001 -+++ setup.py Sun Apr 22 23:37:55 2001 -@@ -4,7 +4,7 @@ - - import sys - --if sys.platform[:5] == 'linux': -+if sys.platform[:7] == 'freebsd': - MACROS = {'define' : []} - LIBS = [] - else: diff --git a/net/py-xmlrpc/pkg-plist b/net/py-xmlrpc/pkg-plist index 54b53df9f023..912d91fcf2c7 100644 --- a/net/py-xmlrpc/pkg-plist +++ b/net/py-xmlrpc/pkg-plist @@ -1,3 +1,12 @@ %%PYTHON_SITELIBDIR%%/_xmlrpc.so %%PYTHON_SITELIBDIR%%/xmlrpc.py %%PYTHON_SITELIBDIR%%/xmlrpc.pyc +%%PORTDOCS%%share/examples/%%SHARE_SUBDIR%%/README +%%PORTDOCS%%share/examples/%%SHARE_SUBDIR%%/baseClient.py +%%PORTDOCS%%share/examples/%%SHARE_SUBDIR%%/baseControl.py +%%PORTDOCS%%share/examples/%%SHARE_SUBDIR%%/baseServer.py +%%PORTDOCS%%share/examples/%%SHARE_SUBDIR%%/exControl.py +%%PORTDOCS%%share/examples/%%SHARE_SUBDIR%%/exclient.py +%%PORTDOCS%%share/examples/%%SHARE_SUBDIR%%/exserver.py +%%PORTDOCS%%share/examples/%%SHARE_SUBDIR%%/killserver.py +%%PORTDOCS%%@dirrm share/examples/%%SHARE_SUBDIR%%