Ticket #42593: Portfile_py-keyring5.diff
File Portfile_py-keyring5.diff, 2.0 KB (added by mail@…, 11 years ago) |
---|
-
Portfile
old new 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 8 maintainers nomaintainer 9 9 description Python interface to access the system keyring service … … 16 16 platforms darwin 17 17 18 18 homepage http://pypi.python.org/pypi/keyring 19 master_sites http ://pypi.python.org/packages/source/k/keyring19 master_sites https://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.2 27 python.versions 24 25 26 27 27 python.versions 24 25 26 27 31 32 33 34 28 28 python.default_version 27 29 29 30 30 if {${name} ne ${subport}} { 31 31 post-destroot { 32 32 xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport} \ 33 33 ${destroot}${prefix}/share/examples/${subport} 34 xinstall -m 644 -W ${worksrcpath} CONTRIBUTORS.txt CHANGES.txt README\34 xinstall -m 644 -W ${worksrcpath}/ CONTRIBUTORS.txt CHANGES.rst README.rst \ 35 35 ${destroot}${prefix}/share/doc/${subport} 36 eval file copy[glob ${worksrcpath}/demo/*] \36 eval xinstall [glob ${worksrcpath}/demo/*] \ 37 37 ${destroot}${prefix}/share/examples/${subport} 38 38 } 39 39 } 40 40 41 41 livecheck.url [lindex ${master_sites} 0] 42 livecheck.regex "keyring-(\\d+(?:\\.\\d+)*)${extract.suffix}" 43 42 livecheck.regex "keyring-(\\d+\.\\d+(\\.\\d+)*)${extract.suffix}"