Ticket #43050: patch.py-future.diff
File patch.py-future.diff, 1.5 KB (added by petrrr, 11 years ago) |
---|
-
Portfile
old new 8 8 set _n [string index ${_name} 0] 9 9 10 10 name py-${_name} 11 version 0.11. 311 version 0.11.4 12 12 categories-append devel 13 13 platforms darwin 14 14 supported_archs noarch … … 30 30 distname ${_name}-${version} 31 31 master_sites https://pypi.python.org/packages/source/${_n}/${_name}/ 32 32 33 checksums md5 a5e11b2574ea99a6eb0cf19233a46c60\34 rmd160 ad80f1734d45ecf2b2b5f0b5ee5d1adfb9d92e18\35 sha256 8f4cc0ad30918e01a9ed054d062d1be28419a0c0eb03afd502775fdf07e3200033 checksums md5 883e971706d7c4553ac2053c14e9a46f \ 34 rmd160 0948b15fb366eb9e99283a3f8daf8e5ef6862345 \ 35 sha256 e9ba55f1ebfb0d99fdf8545df77a60ffe6a04f699f3525d2a5911462b6e2a531 36 36 37 37 python.versions 26 27 33 34 38 38 39 39 if {${name} ne ${subport}} { 40 40 depends_build-append port:py${python.version}-setuptools 41 41 42 # Add libs/features included in the standard lib with 2.7+ 43 if { ${python.version} == 26 } { 44 depends_lib-append port:py${python.version}-argparse \ 45 port:py${python.version}-importlib \ 46 port:py${python.version}-unittest2 47 } 48 42 49 # Adding documentation 43 50 post-destroot { 44 51 set dest_doc ${destroot}${prefix}/share/doc/${subport}