[74918] trunk/dports/python

ryandesign at macports.org ryandesign at macports.org
Fri Jan 7 01:21:50 PST 2011


Revision: 74918
          http://trac.macports.org/changeset/74918
Author:   ryandesign at macports.org
Date:     2011-01-07 01:21:42 -0800 (Fri, 07 Jan 2011)
Log Message:
-----------
py26-mcrypt: new port, version 1.1; see #27883

Added Paths:
-----------
    trunk/dports/python/py26-mcrypt/
    trunk/dports/python/py26-mcrypt/Portfile
    trunk/dports/python/py26-mcrypt/files/
    trunk/dports/python/py26-mcrypt/files/patch-setup.py.diff

Added: trunk/dports/python/py26-mcrypt/Portfile
===================================================================
--- trunk/dports/python/py26-mcrypt/Portfile	                        (rev 0)
+++ trunk/dports/python/py26-mcrypt/Portfile	2011-01-07 09:21:42 UTC (rev 74918)
@@ -0,0 +1,40 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem          1.0
+PortGroup           python26 1.0
+
+name                py26-mcrypt
+version             1.1
+categories          python
+platforms           darwin
+maintainers         nomaintainer
+
+description         a comprehensive Python interface to the mcrypt library
+
+long_description    ${name} is ${description}, \
+                    which provides a uniform interface to several \
+                    symmetric encryption algorithms. It is intended to have \
+                    a simple interface to access encryption algorithms in \
+                    ofb, cbc, cfb, ecb and stream modes. The algorithms it \
+                    supports are DES, 3DES, RIJNDAEL, Twofish, IDEA, GOST, \
+                    CAST-256, ARCFOUR, SERPENT, SAFER+, and more.
+
+homepage            http://niemeyer.net/python-mcrypt
+master_sites        http://niemeyer.net/download/python-mcrypt/
+distname            python-mcrypt-${version}
+
+checksums           sha1    a6bed6ef183ed042a1261e8da1edb462deadc891 \
+                    rmd160  eb02c61e4ea11836716c442c24078da56cf4d1c1 \
+
+depends_lib-append  port:mcrypt
+
+patchfiles          patch-setup.py.diff
+
+post-patch {
+    reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/setup.py
+}
+
+livecheck.type      regex
+livecheck.url       ${homepage}
+livecheck.regex     "python-mcrypt-(\\d+(?:\\.\\d+)*)"


Property changes on: trunk/dports/python/py26-mcrypt/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native

Added: trunk/dports/python/py26-mcrypt/files/patch-setup.py.diff
===================================================================
--- trunk/dports/python/py26-mcrypt/files/patch-setup.py.diff	                        (rev 0)
+++ trunk/dports/python/py26-mcrypt/files/patch-setup.py.diff	2011-01-07 09:21:42 UTC (rev 74918)
@@ -0,0 +1,11 @@
+--- setup.py.orig	2004-07-16 07:54:56.000000000 -0700
++++ setup.py	2011-01-06 04:12:19.000000000 -0800
+@@ -15,6 +15,8 @@
+ """,
+       ext_modules = [Extension("mcrypt",
+       			       ["mcrypt.c"],
++			       include_dirs=['@@PREFIX@@/include'],
++			       library_dirs=['@@PREFIX@@/lib'],
+ 			       libraries=["mcrypt"],
+ 			       define_macros=[("VERSION", '"%s"'%VERSION)])],
+       )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110107/3449dd75/attachment.html>


More information about the macports-changes mailing list