blob: 8c75f317591ade12119f33f5037117a7623bd5b9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Created by: Alexander Botero-Lowry <alex@foxybanana.com>
# $FreeBSD$
PORTNAME= trustedpickle
PORTVERSION= 0.02
CATEGORIES= security python
MASTER_SITES= SF
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= TrustedPickle
MAINTAINER= ports@FreeBSD.org
COMMENT= TrustedPickle is a Python (de)Pickler with a way to verify the data
USES= dos2unix tar:tgz
USE_PYTHON= 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:
@${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}
${INSTALL_DATA} ${WRKSRC}/TrustedPickle.py ${STAGEDIR}${PYTHON_SITELIBDIR}
${INSTALL_DATA} ${WRKSRC}/TrustedPickle.pyc ${STAGEDIR}${PYTHON_SITELIBDIR}
${INSTALL_DATA} ${WRKSRC}/TrustedPickle.pyo ${STAGEDIR}${PYTHON_SITELIBDIR}
.include <bsd.port.mk>
|