source: trunk/dports/python/py-rijndael/Portfile

Last change on this file was 130733, checked in by larryv@…, 3 years ago

py24-rijndael: Replace with py27

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1013 bytes
Line 
1# $Id: Portfile 130733 2015-01-02 09:09:56Z ryandesign@macports.org $
2
3PortSystem 1.0
4PortGroup python 1.0
5
6name                    py-rijndael
7version                 1.3
8categories-append       security
9license                 BSD
10maintainers             nomaintainer
11platforms               darwin freebsd
12supported_archs noarch
13description             Rijndael encryption algorithm for python
14long_description        A pure python implementation of the Rijndael \
15                                encryption algorithm. Useful for quick string encryption in \
16                                python programs but probably is not fast enough for anything \
17                                too big.
18
19homepage                http://jclement.ca/software/pyrijndael/
20master_sites    ${homepage}
21distname                pyrijndael-${version}-src
22checksums               md5 770b44d8b7e5505587079580c456a5bc
23
24worksrcdir              pyrijndael-${version}
25
26python.versions 27
27
28if {${name} ne ${subport}} {
29    post-extract        {
30        file copy ${filespath}/setup.py ${worksrcpath}
31        reinplace "s|VERSION|${version}|g" ${worksrcpath}/setup.py
32    }
33
34    post-destroot       {
35        xinstall -m 644 -W ${worksrcpath} LICENSE.BSD project.xml readme.html \
36            ${destroot}${prefix}/share/doc/${subport}
37    }
38}
Note: See TracBrowser for help on using the repository browser.