diff options
author | obache <obache@pkgsrc.org> | 2010-05-29 06:20:06 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2010-05-29 06:20:06 +0000 |
commit | e5d3c498b9b74e3f60f09b937f821c1d7ed78000 (patch) | |
tree | 1d2aa1dfc2b61e3e4a8ab1c48d496d424310c2fc /security/py-xmlsec | |
parent | 596dfa8bfac0fb85f9e1917a8d4fcd016d92d098 (diff) | |
download | pkgsrc-e5d3c498b9b74e3f60f09b937f821c1d7ed78000.tar.gz |
Import py-xmlsec-0.3.0 as security/py-xmlsec.
Based on PR#42948 by Patrick McPhee.
PyXMLSec is a set of Python bindings for XML Security Library (XMLSec).
Diffstat (limited to 'security/py-xmlsec')
-rw-r--r-- | security/py-xmlsec/DESCR | 1 | ||||
-rw-r--r-- | security/py-xmlsec/Makefile | 26 | ||||
-rw-r--r-- | security/py-xmlsec/PLIST | 8 | ||||
-rw-r--r-- | security/py-xmlsec/distinfo | 6 | ||||
-rw-r--r-- | security/py-xmlsec/patches/patch-aa | 15 |
5 files changed, 56 insertions, 0 deletions
diff --git a/security/py-xmlsec/DESCR b/security/py-xmlsec/DESCR new file mode 100644 index 00000000000..074e3014228 --- /dev/null +++ b/security/py-xmlsec/DESCR @@ -0,0 +1 @@ +PyXMLSec is a set of Python bindings for XML Security Library (XMLSec). diff --git a/security/py-xmlsec/Makefile b/security/py-xmlsec/Makefile new file mode 100644 index 00000000000..cdad007a59a --- /dev/null +++ b/security/py-xmlsec/Makefile @@ -0,0 +1,26 @@ +# $NetBSD: Makefile,v 1.1.1.1 2010/05/29 06:20:06 obache Exp $ +# + +DISTNAME= pyxmlsec-0.3.0 +PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//} +MASTER_SITES= http://labs.libre-entreprise.org/frs/download.php/430/ +CATEGORIES= security python + +MAINTAINER= pmcphee@givex.com +HOMEPAGE= http://pyxmlsec.labs.libre-entreprise.org/ +COMMENT= Python bindings for XMLSec Library +LICENSE= gnu-gpl-v2 + +DEPENDS+= ${PYPKGPREFIX}-libxml2-[0-9]*:../../textproc/py-libxml2 + +PKG_DESTDIR_SUPPORT= user-destdir + +USE_TOOLS+= pkg-config + +PYDISTUTILSPKG= yes + +.include "../../security/openssl/buildlink3.mk" +.include "../../textproc/libxml2/buildlink3.mk" +.include "../../security/xmlsec1/buildlink3.mk" +.include "../../lang/python/extension.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/security/py-xmlsec/PLIST b/security/py-xmlsec/PLIST new file mode 100644 index 00000000000..203dcaf4c87 --- /dev/null +++ b/security/py-xmlsec/PLIST @@ -0,0 +1,8 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2010/05/29 06:20:06 obache Exp $ +${PYSITELIB}/xmlsec.py +${PYSITELIB}/xmlsec.pyc +${PYSITELIB}/xmlsec.pyo +${PYSITELIB}/xmlsec_strings.py +${PYSITELIB}/xmlsec_strings.pyc +${PYSITELIB}/xmlsec_strings.pyo +${PYSITELIB}/xmlsecmod.so diff --git a/security/py-xmlsec/distinfo b/security/py-xmlsec/distinfo new file mode 100644 index 00000000000..4dfda78ed42 --- /dev/null +++ b/security/py-xmlsec/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1 2010/05/29 06:20:06 obache Exp $ + +SHA1 (pyxmlsec-0.3.0.tar.gz) = 4752ced5316d676a800230eca0408dd204ffe2b4 +RMD160 (pyxmlsec-0.3.0.tar.gz) = aa945ca704ea92747e3ad46041c03b0d37380147 +Size (pyxmlsec-0.3.0.tar.gz) = 224312 bytes +SHA1 (patch-aa) = 7a3104efb9f3e587d848ae676b89057e113f93e5 diff --git a/security/py-xmlsec/patches/patch-aa b/security/py-xmlsec/patches/patch-aa new file mode 100644 index 00000000000..a819e33d15a --- /dev/null +++ b/security/py-xmlsec/patches/patch-aa @@ -0,0 +1,15 @@ +$NetBSD: patch-aa,v 1.1.1.1 2010/05/29 06:20:06 obache Exp $ + +avoid keyborad interaction. + +--- setup.py.orig 2006-01-01 17:43:37.000000000 +0000 ++++ setup.py +@@ -71,7 +71,7 @@ if len(sys.argv) == 1: + + # the crypto engine name : openssl, gnutls or nss + xmlsec1_crypto = "openssl" +-if 'build' in sys.argv: ++if False: + msg = '\nChoose a crypto engine :\n' \ + ' 1. OpenSSL\n' \ + ' 2. GnuTLS\n' \ |