跳转到主要内容

Buildout配方,用于安装Lasso(SSO库)

项目描述

collective.recipe.lasso

这是一个在buildout环境中安装lasso(一个单点登录C库,带有Python绑定)的buildout配方。Lasso支持SAML 2.0,以及其他单点登录方法。

以下是如何使用此配方的示例。示例包括构建libxml2、libxslt和xmlsec依赖项的配方

[buildout]
parts =
    libxml2
    libxslt
    xmlsec
    lasso

[libxml2]
recipe = zc.recipe.cmmi
url = ftp://xmlsoft.org/XSLT/libxml2-2.7.6.tar.gz
md5sum = 7740a8ec23878a2f50120e1faa2730f2
extra_options = --without-python

[libxslt]
recipe = zc.recipe.cmmi
url = ftp://xmlsoft.org/XSLT/libxslt-1.1.26.tar.gz
md5sum = e61d0364a30146aaa3001296f853b2b9
extra_options = --with-libxml-prefix=${libxml2:location}
                --without-python

[xmlsec]
recipe = zc.recipe.cmmi
url = http://www.aleksey.com/xmlsec/download/xmlsec1-1.2.13.tar.gz
md5sum = f8eb1ac14917f47bc35c265c9d76aaab
# --disable-crypto-dl causes xmlsec to use standard library
# resolution mechanisms rather than its own fragile method.
extra_options = --with-libxml=${libxml2:location}
                --with-libxslt=${libxslt:location}
                --disable-crypto-dl

[lasso]
recipe = collective.recipe.lasso
# see http://labs.libre-entreprise.org/frs/?group_id=31
url = http://labs.libre-entreprise.org/frs/download.php/673/lasso-2.2.1.tar.gz
md5sum = 6548bdb9e334ec075014e68d954948dd
extra_options =
    --with-python=${buildout:executable}
    --with-pkg-config=${libxml2:location}/lib/pkgconfig:${libxslt:location}/lib/pkgconfig:${xmlsec:location}/lib/pkgconfig
    --disable-java
    --disable-php4
    --disable-php5
    --disable-perl
    --disable-gtk-doc

此配方是从zc.recipe.cmmi派生的。除了zc.recipe.cmmi所做的工作之外,此配方还将Lasso Python绑定安装为虚假egg。

变更记录

0.1 (2009-10-31)

  • 初始版本。

项目详细信息


下载文件

下载适合您平台的应用程序。如果您不确定选择哪个,请了解更多关于安装包的信息。

源代码分发

collective.recipe.lasso-0.1.tar.gz (3.3 kB 查看哈希

上传时间: 源代码

支持者