freebsd-ports/security/py-trustedpickle/Makefile
Ion-Mihai Tetcu bdcd0201a6 TrustedPickle is a Python module that can save most any arbitrary Python object
in a signed pickle file. There are two big differences between this module and
the standard pickle module. First, TrustedPickle can pickle a module, but the
standard pickle module cannot. Second, TrustedPickle includes a signature that
can verify the data's origin before the data is unpickled.

WWW: http://trustedpickle.sourceforge.net/index.html

PR:		ports/96691
Submitted by:	Alexander Botero-Lowry <alex@foxybanana.com>
Approved by:	lawrance (mentor)
2006-05-09 11:46:02 +00:00

38 lines
1 KiB
Makefile

# New ports collection makefile for: py-trustedpickle
# Date created: 02 May 2006
# Whom: Alexander Botero-Lowry <alex@foxybanana.com>
#
# $FreeBSD$
#
PORTNAME= trustedpickle
PORTVERSION= 0.02
CATEGORIES= security python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= TrustedPickle
EXTRACT_SUFX= .tgz
MAINTAINER= alex@foxybanana.com
COMMENT= TrustedPickle is a Python (de)Pickler with a way to verify the data
USE_PYTHON= yes
USE_DOS2UNIX= yes
PLIST_FILES= %%PYTHON_SITELIBDIR%%/TrustedPickle.py \
%%PYTHON_SITELIBDIR%%/TrustedPickle.pyc \
%%PYTHON_SITELIBDIR%%/TrustedPickle.pyo
WRKSRC= ${WRKDIR}/${PORTNAME}
do-build:
@cd ${WRKSRC} && ${PYTHON_CMD} -OOOO -c 'import TrustedPickle' && \
${PYTHON_CMD} -c 'import TrustedPickle'
do-install:
${INSTALL_DATA} ${WRKSRC}/TrustedPickle.py ${PYTHON_SITELIBDIR}
${INSTALL_DATA} ${WRKSRC}/TrustedPickle.pyc ${PYTHON_SITELIBDIR}
${INSTALL_DATA} ${WRKSRC}/TrustedPickle.pyo ${PYTHON_SITELIBDIR}
.include <bsd.port.mk>