mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
security/py-xmlsec: support staging and minor fixes
This commit is contained in:
parent
d825a00735
commit
ba8e427ecb
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=338089
@ -10,26 +10,24 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
DISTNAME= py${PORTNAME}-${PORTVERSION}
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= A set of Python bindings for XML Security Library
|
||||
COMMENT= Python bindings for XML Security Library
|
||||
|
||||
LIB_DEPENDS= xmlsec1.3:${PORTSDIR}/security/xmlsec1
|
||||
LIB_DEPENDS= libxmlsec1.so:${PORTSDIR}/security/xmlsec1
|
||||
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/libxml2.py:${PORTSDIR}/textproc/py-libxml2
|
||||
|
||||
USE_PYTHON= 2.2+
|
||||
USE_PYTHON= 2
|
||||
USE_PYDISTUTILS=yes
|
||||
PYDISTUTILS_PKGNAME= pyxmlsec
|
||||
PYDISTUTILS_AUTOPLIST= yes
|
||||
|
||||
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
|
||||
EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}
|
||||
PORTDOCS= *
|
||||
PORTEXAMPLES= *
|
||||
|
||||
NO_STAGE= yes
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
${CP} -R ${WRKSRC}/docs/html/* ${DOCSDIR}
|
||||
|
||||
@${MKDIR} ${EXAMPLESDIR}
|
||||
${CP} -R ${WRKSRC}/examples/* ${EXAMPLESDIR}
|
||||
.endif
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
(cd ${WRKSRC}/docs/html/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/)
|
||||
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
||||
(cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}/)
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,90 +0,0 @@
|
||||
%%PYTHON_SITELIBDIR%%/xmlsec.py
|
||||
%%PYTHON_SITELIBDIR%%/xmlsec_strings.py
|
||||
%%PYTHON_SITELIBDIR%%/xmlsecmod.so
|
||||
%%PYTHON_SITELIBDIR%%/xmlsec.pyc
|
||||
%%PYTHON_SITELIBDIR%%/xmlsec_strings.pyc
|
||||
%%PYTHON_SITELIBDIR%%/xmlsec.pyo
|
||||
%%PYTHON_SITELIBDIR%%/xmlsec_strings.pyo
|
||||
%%PORTDOCS%%%%DOCSDIR%%/epydoc.css
|
||||
%%PORTDOCS%%%%DOCSDIR%%/xmlsec.TransformId-class.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/xmlsec.TransformCtx-class.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/xmlsec.Transform-class.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/xmlsec.TmplTransform-class.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/xmlsec.TmplSignature-class.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/xmlsec.TmplRetrievalMethod-class.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/xmlsec.TmplReference-class.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/xmlsec.TmplObject-class.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/xmlsec.TmplManifest-class.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/xmlsec.TmplKeyInfo-class.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/xmlsec.TmplEncData-class.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/trees.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/xmlsec.TmplCipherReference-class.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/xmlsec.PtrListId-class.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/xmlsec.PtrList-class.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/xmlsec.NodeSet-class.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/xmlsec.KeysMngr-class.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/xmlsec.KeyStoreId-class.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/xmlsec.KeyStore-class.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/xmlsec.KeyReq-class.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/xmlsec.KeyInfoCtx-class.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/xmlsec.KeyDataId-class.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/xmlsec.KeyData-class.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/xmlsec.Key-class.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/xmlsec.Error-class.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/xmlsec-module.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/xmlsec.EncCtx-class.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/xmlsec.DSigReferenceCtx-class.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/xmlsec.DSigCtx-class.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/xmlsec.Buffer-class.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/xmlsec.Base64Ctx-class.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/toc.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/toc-xmlsec_strings-module.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/toc-xmlsec-module.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/toc-everything.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/libxml2.xmlNode-class.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/libxml2.xmlCore-class.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/indices.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/index.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/help.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/frames.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/exceptions.Exception-class.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/xmlsec_strings-module.html
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/decrypt1.py
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/verify4-tmpl.xml
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/verify4-res.xml
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/verify4-bad-tmpl.xml
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/verify4-bad-res.xml
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/verify3.py
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/verify2.py
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/verify1.py
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/sign3.py
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/sign3-res.xml
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/sign3-doc.xml
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/sign2.py
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/sign2-res.xml
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/sign2-doc.xml
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/sign1.py
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/sign1-tmpl.xml
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/sign1-res.xml
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/rsapub.pem
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/rsakey.pem
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/rsacert.pem
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/rootcert.pem
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/pyxmlsec-demo.py
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/encrypt3.py
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/encrypt3-res.xml
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/encrypt3-doc.xml
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/encrypt2.py
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/encrypt2-res.xml
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/encrypt2-doc.xml
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/encrypt1.py
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/encrypt1-tmpl.xml
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/encrypt1-res.xml
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/deskey.bin
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/decrypt3.py
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/decrypt2.py
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/decrypt2-res2.xml
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/decrypt2-res1.xml
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/verify4.py
|
||||
%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
Loading…
Reference in New Issue
Block a user