aboutsummaryrefslogtreecommitdiffstats
path: root/net/py-xmlrpc
diff options
context:
space:
mode:
authorpat <pat@FreeBSD.org>2002-03-23 15:47:39 +0800
committerpat <pat@FreeBSD.org>2002-03-23 15:47:39 +0800
commit1bff7f0585b4cd84676513a9b56a6dcb5b6180b2 (patch)
tree1c78171afe6296d9d37e91f1e185501bba0fa2b1 /net/py-xmlrpc
parent1d3d06fa96986cb3cd28d6e0f1b2ae4d27cd7dde (diff)
downloadfreebsd-ports-gnome-1bff7f0585b4cd84676513a9b56a6dcb5b6180b2.tar.gz
freebsd-ports-gnome-1bff7f0585b4cd84676513a9b56a6dcb5b6180b2.tar.zst
freebsd-ports-gnome-1bff7f0585b4cd84676513a9b56a6dcb5b6180b2.zip
Update to 0.8.8
PR: 36073 Submitted by: maintainer
Diffstat (limited to 'net/py-xmlrpc')
-rw-r--r--net/py-xmlrpc/Makefile13
-rw-r--r--net/py-xmlrpc/distinfo2
-rw-r--r--net/py-xmlrpc/pkg-plist30
3 files changed, 23 insertions, 22 deletions
diff --git a/net/py-xmlrpc/Makefile b/net/py-xmlrpc/Makefile
index 5cdee3cd9ffe..8332ebce2d62 100644
--- a/net/py-xmlrpc/Makefile
+++ b/net/py-xmlrpc/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= xmlrpc
-PORTVERSION= 0.8.7
+PORTVERSION= 0.8.8
CATEGORIES= net python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= py-${PORTNAME}
@@ -18,20 +18,17 @@ MAINTAINER= perky@fallin.lv
BUILD_DEPENDS= ${PYDISTUTILS}
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
+EXAMPLESDIR= ${PREFIX}/share/examples/py-xmlrpc
do-build:
${SETUP_CMD} build
do-install:
- ${SETUP_CMD} install
+ ${SETUP_CMD} install -c -O1 --prefix=${PREFIX}
.if !defined(NOPORTDOCS)
- ${MKDIR} ${PREFIX}/share/examples/${SHARE_SUBDIR}
- cd ${WRKSRC} && ${INSTALL_DATA} doc/example/* ${PREFIX}/share/examples/${SHARE_SUBDIR}
+ ${MKDIR} ${EXAMPLESDIR}
+ ${TAR} -C ${WRKSRC}/examples -cf- . | ${TAR} -C ${EXAMPLESDIR} -xpf-
.endif
.include <bsd.port.mk>
diff --git a/net/py-xmlrpc/distinfo b/net/py-xmlrpc/distinfo
index 614071753f40..c63babc2d73d 100644
--- a/net/py-xmlrpc/distinfo
+++ b/net/py-xmlrpc/distinfo
@@ -1 +1 @@
-MD5 (py-xmlrpc-0.8.7.tar.gz) = 39fc6965b4c5c6feab10a752151be3d2
+MD5 (py-xmlrpc-0.8.8.tar.gz) = c9ed617ef46327a5d1edef4c78222278
diff --git a/net/py-xmlrpc/pkg-plist b/net/py-xmlrpc/pkg-plist
index 91e12a039ea4..408061594b71 100644
--- a/net/py-xmlrpc/pkg-plist
+++ b/net/py-xmlrpc/pkg-plist
@@ -1,13 +1,17 @@
-%%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%%
-@cwd %%LOCALBASE%%
-%%PYTHON_SITELIBDIR%%/_xmlrpc.so
-%%PYTHON_SITELIBDIR%%/xmlrpc.py
-%%PYTHON_SITELIBDIR%%/xmlrpc.pyc
+lib/%%PYTHON_VERSION%%/site-packages/_xmlrpc.so
+lib/%%PYTHON_VERSION%%/site-packages/xmlrpc.py
+lib/%%PYTHON_VERSION%%/site-packages/xmlrpc.pyc
+lib/%%PYTHON_VERSION%%/site-packages/xmlrpc.pyo
+%%PORTDOCS%%share/examples/py-xmlrpc/crj/README
+%%PORTDOCS%%share/examples/py-xmlrpc/crj/baseClient.py
+%%PORTDOCS%%share/examples/py-xmlrpc/crj/baseControl.py
+%%PORTDOCS%%share/examples/py-xmlrpc/crj/baseServer.py
+%%PORTDOCS%%share/examples/py-xmlrpc/crj/exControl.py
+%%PORTDOCS%%share/examples/py-xmlrpc/crj/exclient.py
+%%PORTDOCS%%share/examples/py-xmlrpc/crj/exserver.py
+%%PORTDOCS%%share/examples/py-xmlrpc/crj/killserver.py
+%%PORTDOCS%%share/examples/py-xmlrpc/examples.py
+%%PORTDOCS%%share/examples/py-xmlrpc/interop.py
+%%PORTDOCS%%share/examples/py-xmlrpc/validate.py
+%%PORTDOCS%%@dirrm share/examples/py-xmlrpc/crj
+%%PORTDOCS%%@dirrm share/examples/py-xmlrpc