Ticket #42593: Portfile_py-keyring.diff
File Portfile_py-keyring.diff, 1.9 KB (added by mail@…, 11 years ago) |
---|
-
Portfile
old new 1 # $Id: Portfile 114431 2013-12-08 09:48:42Z and.damore@macports.org $ 1 2 2 3 3 PortSystem 1.0 4 4 PortGroup python 1.0 5 5 name py-keyring 6 version 0.6.26 version 3.5 7 7 license PSF 8 maintainers nomaintainer8 maintainers ojkastl 9 9 description Python interface to access the system keyring service 10 10 long_description \ 11 11 The Python keyring lib provides a easy way to access the system keyring \ … … 18 18 homepage http://pypi.python.org/pypi/keyring 19 19 master_sites http://pypi.python.org/packages/source/k/keyring 20 20 distname keyring-${version} 21 use_zip yes 21 22 22 checksums md5 b21b5783c375fc09abdc060b4edc062f\23 sha1 a8a964c73ce96a19f30d9aa9a47d2feab948022c\24 rmd160 c49fb3c0baa190c798d25e78f392b273cd77154023 checksums md5 2ac2ba4bc5ce71c02e815b52ad411561 \ 24 sha1 2a0df93368357974d0afa988b5a66645bdefe261 \ 25 rmd160 5fd4795c7b2efbdd27364b16882b1269ce328a41 25 26 26 #broken with python 3.1 and 3.227 27 python.versions 24 25 26 27 28 28 python.default_version 27 29 29 30 if {${name} ne ${subport}} {31 post-destroot {32 xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport} \33 ${destroot}${prefix}/share/examples/${subport}34 xinstall -m 644 -W ${worksrcpath} CONTRIBUTORS.txt CHANGES.txt README \35 ${destroot}${prefix}/share/doc/${subport}36 eval file copy [glob ${worksrcpath}/demo/*] \37 ${destroot}${prefix}/share/examples/${subport}38 }39 }40 41 30 livecheck.url [lindex ${master_sites} 0] 42 31 livecheck.regex "keyring-(\\d+(?:\\.\\d+)*)${extract.suffix}" 43 32