Line 0
Link Here
|
|
|
1 |
# Created by: Kubilay Kocak <koobs@FreeBSD.org> |
2 |
# $FreeBSD$ |
3 |
|
4 |
PORTNAME= letsencrypt |
5 |
DISTVERSION= 0.0.0.dev20151104 |
6 |
CATEGORIES= security python |
7 |
MASTER_SITES= CHEESESHOP |
8 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
9 |
|
10 |
MAINTAINER= koobs@FreeBSD.org |
11 |
COMMENT= Let's Encrypt client |
12 |
|
13 |
LICENSE= APACHE20 |
14 |
LICENSE_FILE= ${WRKSRC}/LICENSE.txt |
15 |
|
16 |
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/acme/__init__.py:${PORTSDIR}/security/py-acme \ |
17 |
${PYTHON_PKGNAMEPREFIX}configargparse>0:${PORTSDIR}/devel/py-configargparse \ |
18 |
${PYTHON_PKGNAMEPREFIX}configobj>0:${PORTSDIR}/devel/py-configobj \ |
19 |
${PYTHON_PKGNAMEPREFIX}cryptography>=0.7:${PORTSDIR}/security/py-cryptography \ |
20 |
${PYTHON_PKGNAMEPREFIX}parsedatetime>0:${PORTSDIR}/devel/py-parsedatetime \ |
21 |
${PYTHON_PKGNAMEPREFIX}psutil>0:${PORTSDIR}/sysutils/py-psutil \ |
22 |
${PYTHON_PKGNAMEPREFIX}openssl>0:${PORTSDIR}/security/py-openssl \ |
23 |
${PYTHON_PKGNAMEPREFIX}pyrfc3339>0:${PORTSDIR}/devel/py-pyrfc3339 \ |
24 |
${PYTHON_PKGNAMEPREFIX}python2-pythondialog>0:${PORTSDIR}/devel/py-python2-pythondialog \ |
25 |
${PYTHON_PKGNAMEPREFIX}pytz>0:${PORTSDIR}/devel/py-pytz \ |
26 |
${PYTHON_PKGNAMEPREFIX}requests>0:${PORTSDIR}/www/py-requests \ |
27 |
${PYTHON_PKGNAMEPREFIX}six>0:${PORTSDIR}/devel/py-six \ |
28 |
${PYTHON_PKGNAMEPREFIX}zope.component>0:${PORTSDIR}/devel/py-zope.component \ |
29 |
${PYTHON_PKGNAMEPREFIX}zope.interface>0:${PORTSDIR}/devel/py-zope.interface |
30 |
|
31 |
USES= python:-2.7 |
32 |
USE_PYTHON= autoplist distutils |
33 |
|
34 |
post-patch: |
35 |
${REINPLACE_CMD} \ |
36 |
-e 's|/etc/|${LOCALBASE}/etc/|' \ |
37 |
-e 's|/var/lib|/var/db|' \ |
38 |
${WRKSRC}/letsencrypt/constants.py |
39 |
do-test: |
40 |
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test |
41 |
|
42 |
.include <bsd.port.mk> |