source: trunk/dports/python/py30-hashlib/Portfile @ 29789

Last change on this file since 29789 was 29789, checked in by ryandesign@…, 13 years ago

Set svn:keywords of all portfiles to Id as per current requirements

  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# $Id: Portfile 29789 2007-10-10 07:16:12Z ryandesign@macports.org $
2
3PortSystem 1.0
4#PortGroup python30 1.0
5# begin group code (remove this when the python30 group code becomes available)
6set python.bin  ${prefix}/bin/python3.0
7categories              python
8depends_lib             port:python30
9use_configure   no
10build.cmd               ${python.bin} setup.py
11build.target    build
12destroot.cmd    ${python.bin} setup.py
13destroot.destdir        --prefix=${prefix} --root=${destroot}
14# end group code
15
16name                    py30-hashlib
17version                 3.0a1
18categories              python
19platforms               darwin
20maintainers             mww
21description             Python secure hash and message digest module
22long_description        Python secure hash and message digest module MD5, SHA1, \
23                                SHA224, SHA256, SHA384, SHA512
24
25homepage                http://www.python.org/doc/current/lib/module-hashlib.html
26master_sites    http://www.python.org/ftp/python/3.0/
27distname                Python-${version}
28dist_subdir             python30
29checksums               md5 89356ece9bd276e78a9e63cfe4a83a23
30extract.suffix          .tgz
31
32depends_lib-append      port:openssl
33
34worksrcdir              ${worksrcdir}/Modules
35
36extract.post_args       "| tar -xf - ${distname}/Modules/_hashopenssl.c"
37post-extract {
38        file copy ${filespath}/setup.py ${worksrcpath}
39}
40
41configure {
42        reinplace "s|__VERSION__|${version}|g" ${worksrcpath}/setup.py
43        reinplace "s|__PREFIX__|${prefix}|g" ${worksrcpath}/setup.py
44}
45
46livecheck.check regex
47livecheck.url   http://www.python.org/download/releases/3.0/
48livecheck.regex /3.0/Python-(\[0-9a-z.\]+)\\.tgz
49
Note: See TracBrowser for help on using the repository browser.