forked from Lainports/freebsd-ports
Python library for XenAPI (XAPI)
WWW: http://community.citrix.com/display/xs/Introduction+to+XenServer+XAPI PR: 166058 Submitted by: Evan Sarmiento <bsdports@wayfair.com>
This commit is contained in:
parent
01aba96a4e
commit
6ba5f782cb
4 changed files with 43 additions and 0 deletions
|
|
@ -699,6 +699,7 @@
|
|||
SUBDIR += pwgen
|
||||
SUBDIR += pwgen2
|
||||
SUBDIR += pwsafe
|
||||
SUBDIR += py-XenAPI
|
||||
SUBDIR += py-bcfg2
|
||||
SUBDIR += py-drmaa
|
||||
SUBDIR += py-filelike
|
||||
|
|
|
|||
37
sysutils/py-XenAPI/Makefile
Normal file
37
sysutils/py-XenAPI/Makefile
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
# New ports collection makefile for: py-XenAPI
|
||||
# Date created: 13 April 2012
|
||||
# Whom: Evan Sarmiento <bsdports@wayfair.com>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= XenAPI
|
||||
PORTVERSION= 1.0
|
||||
CATEGORIES= sysutils python
|
||||
MASTER_SITES= http://community.citrix.com/download/attachments/38633496/
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
DISTNAME= ${PORTNAME}
|
||||
EXTRACT_SUFX= .py
|
||||
EXTRACT_ONLY=
|
||||
|
||||
MAINTAINER= bsdports@wayfair.com
|
||||
COMMENT= Xen API Library for Python
|
||||
|
||||
USE_PYTHON= -2.7
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}
|
||||
PLIST_FILES= %%PYTHON_SITELIBDIR%%/XenAPI.py \
|
||||
%%PYTHON_SITELIBDIR%%/XenAPI.pyc \
|
||||
%%PYTHON_SITELIBDIR%%/XenAPI.pyo
|
||||
|
||||
post-patch:
|
||||
${MKDIR} ${WRKSRC}
|
||||
${CP} ${DISTDIR}/${DISTFILES} ${WRKSRC}
|
||||
|
||||
do-build:
|
||||
@${PYTHON_CMD} -m py_compile ${WRKSRC}/${DISTFILES}
|
||||
@${PYTHON_CMD} -O -m py_compile ${WRKSRC}/${DISTFILES}
|
||||
|
||||
do-install:
|
||||
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.py* ${PYTHON_SITELIBDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
2
sysutils/py-XenAPI/distinfo
Normal file
2
sysutils/py-XenAPI/distinfo
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
SHA256 (XenAPI.py) = 52373ae0e904341dea89f409665cb0c588ba54795981bda7dee3664961b93109
|
||||
SIZE (XenAPI.py) = 8838
|
||||
3
sysutils/py-XenAPI/pkg-descr
Normal file
3
sysutils/py-XenAPI/pkg-descr
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
Python library for XenAPI (XAPI)
|
||||
|
||||
WWW: http://community.citrix.com/display/xs/Introduction+to+XenServer+XAPI
|
||||
Loading…
Add table
Reference in a new issue