Sun Mar 22 22:32:29 2020 UTC ()
security/py-certbot: remove nonexistent files from SUBST block


(rillig)
diff -r1.22 -r1.23 pkgsrc/security/py-certbot/Makefile

cvs diff -r1.22 -r1.23 pkgsrc/security/py-certbot/Makefile (expand / switch to unified diff)

--- pkgsrc/security/py-certbot/Makefile 2019/12/15 09:48:37 1.22
+++ pkgsrc/security/py-certbot/Makefile 2020/03/22 22:32:29 1.23
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: Makefile,v 1.22 2019/12/15 09:48:37 adam Exp $ 1# $NetBSD: Makefile,v 1.23 2020/03/22 22:32:29 rillig Exp $
2 2
3.include "../../security/py-certbot/Makefile.common" 3.include "../../security/py-certbot/Makefile.common"
4 4
5DISTNAME= certbot-${CERTBOT_VERSION} 5DISTNAME= certbot-${CERTBOT_VERSION}
6MASTER_SITES= ${MASTER_SITE_PYPI:=c/certbot/} 6MASTER_SITES= ${MASTER_SITE_PYPI:=c/certbot/}
7 7
8COMMENT= Client for the Let's Encrypt CA 8COMMENT= Client for the Let's Encrypt CA
9 9
10DEPENDS+= ${PYPKGPREFIX}-acme>=0.40.0:../../security/py-acme 10DEPENDS+= ${PYPKGPREFIX}-acme>=0.40.0:../../security/py-acme
11DEPENDS+= ${PYPKGPREFIX}-configargparse>=0.9.3:../../devel/py-configargparse 11DEPENDS+= ${PYPKGPREFIX}-configargparse>=0.9.3:../../devel/py-configargparse
12DEPENDS+= ${PYPKGPREFIX}-configobj-[0-9]*:../../devel/py-configobj 12DEPENDS+= ${PYPKGPREFIX}-configobj-[0-9]*:../../devel/py-configobj
13DEPENDS+= ${PYPKGPREFIX}-cryptography>=1.2.3:../../security/py-cryptography 13DEPENDS+= ${PYPKGPREFIX}-cryptography>=1.2.3:../../security/py-cryptography
14DEPENDS+= ${PYPKGPREFIX}-distro>=1.0.1:../../devel/py-distro 14DEPENDS+= ${PYPKGPREFIX}-distro>=1.0.1:../../devel/py-distro
@@ -24,31 +24,28 @@ DEPENDS+= ${PYPKGPREFIX}-ZopeInterface-[ @@ -24,31 +24,28 @@ DEPENDS+= ${PYPKGPREFIX}-ZopeInterface-[
24# https://github.com/certbot/certbot/issues/2956 24# https://github.com/certbot/certbot/issues/2956
25TEST_DEPENDS+= ${PYPKGPREFIX}-readline-[0-9]*:../../devel/py-readline 25TEST_DEPENDS+= ${PYPKGPREFIX}-readline-[0-9]*:../../devel/py-readline
26TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test 26TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
27TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov 27TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
28TEST_DEPENDS+= ${PYPKGPREFIX}-test-xdist-[0-9]*:../../devel/py-test-xdist 28TEST_DEPENDS+= ${PYPKGPREFIX}-test-xdist-[0-9]*:../../devel/py-test-xdist
29 29
30BUILD_DEFS+= VARBASE 30BUILD_DEFS+= VARBASE
31 31
32PKG_SYSCONFSUBDIR= letsencrypt 32PKG_SYSCONFSUBDIR= letsencrypt
33 33
34SUBST_CLASSES+= path 34SUBST_CLASSES+= path
35SUBST_STAGE.path= pre-build 35SUBST_STAGE.path= pre-build
36SUBST_MESSAGE.path= Fixing default paths 36SUBST_MESSAGE.path= Fixing default paths
37SUBST_FILES.path+= certbot/cert_manager.py 37SUBST_FILES.path= certbot/compat/misc.py
38SUBST_FILES.path+= certbot/cli.py 38SUBST_SED.path= -e 's,/etc/letsencrypt,${PKG_SYSCONFDIR},g'
39SUBST_FILES.path+= certbot/compat/misc.py 
40SUBST_FILES.path+= certbot/tests/cli_test.py 
41SUBST_SED.path+= -e 's,/etc/letsencrypt,${PKG_SYSCONFDIR},g' 
42SUBST_SED.path+= -e 's,/var/lib/letsencrypt,${VARBASE}/letsencrypt,g' 39SUBST_SED.path+= -e 's,/var/lib/letsencrypt,${VARBASE}/letsencrypt,g'
43SUBST_SED.path+= -e 's,/var/log/letsencrypt,${VARBASE}/letsencrypt/log,g' 40SUBST_SED.path+= -e 's,/var/log/letsencrypt,${VARBASE}/letsencrypt/log,g'
44 41
45MAKE_DIRS+= ${VARBASE}/letsencrypt/log 42MAKE_DIRS+= ${VARBASE}/letsencrypt/log
46 43
47INSTALLATION_DIRS+= share/examples/certbot-${PYVERSSUFFIX} 44INSTALLATION_DIRS+= share/examples/certbot-${PYVERSSUFFIX}
48 45
49post-install: 46post-install:
50 cd ${DESTDIR}${PREFIX}/bin && \ 47 cd ${DESTDIR}${PREFIX}/bin && \
51 ${MV} certbot certbot-${PYVERSSUFFIX} || ${TRUE} 48 ${MV} certbot certbot-${PYVERSSUFFIX} || ${TRUE}
52 ${INSTALL_DATA} ${WRKSRC}/examples/cli.ini \ 49 ${INSTALL_DATA} ${WRKSRC}/examples/cli.ini \
53 ${DESTDIR}${PREFIX}/share/examples/certbot-${PYVERSSUFFIX} 50 ${DESTDIR}${PREFIX}/share/examples/certbot-${PYVERSSUFFIX}
54 51