1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-15 07:56:36 +00:00
freebsd-ports/net/py-xmlrpclib/Makefile
Ruslan Makhmatkhanov c2cf234df1 net/py-xmlrpclib: set for deprecation
xmlrpclib is available in standard library since python 2.2. Last consumer of
this port is broken and marked deprecated, so mark this port deprecated too.
Set expiration date to 2015-08-07 (adjust to expiration date of it's only
consumer - net-p2p/py-kenosis).
2015-07-08 16:21:00 +00:00

43 lines
1.1 KiB
Makefile

# Created by: Johann Visagie <johann@egenetics.com>
# $FreeBSD$
PORTNAME= xmlrpclib
PORTVERSION= 1.0.1
CATEGORIES= net python
MASTER_SITES= http://effbot.org/media/downloads/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= ports@FreeBSD.org
COMMENT= Python implementation of the XML-RPC protocol
DEPRECATED= This is part of standard library since python 2.2
EXPIRATION_DATE=2015-08-07
USES= python zip
DOCSDIR= ${PREFIX}/share/doc/py-xmlrpclib
EXAMPLESDIR= ${PREFIX}/share/examples/py-xmlrpclib
PORTDOCS= *
PORTEXAMPLES= *
do-build:
${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py \
-d ${PYTHONPREFIX_SITELIBDIR} \
-f ${WRKSRC}
${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py \
-d ${PYTHONPREFIX_SITELIBDIR} \
-f ${WRKSRC}
do-install:
@${MKDIR} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
${INSTALL_DATA} ${WRKSRC}/xmlrpclib.py* \
${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
.for egfile in xmlrpcserver.py xmlrpc_handler.py
${INSTALL_DATA} ${WRKSRC}/${egfile} ${STAGEDIR}${EXAMPLESDIR}
.endfor
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_MAN} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>