Ticket #43930: patch.py-pyshp.diff
File patch.py-pyshp.diff, 2.2 KB (added by petrrr, 10 years ago) |
---|
-
Portfile
old new 4 4 PortSystem 1.0 5 5 PortGroup python 1.0 6 6 7 name py-pyshp 8 set real_name pyshp 9 version 1.2.0 7 set _name pyshp 8 set _n [string index ${_name} 0] 9 10 name py-${_name} 11 12 version 1.2.1 10 13 categories-append gis 11 14 platforms darwin 12 15 supported_archs noarch … … 24 27 files with all types of geometry. Everything in the \ 25 28 public ESRI shapefile specification is implemented. 26 29 27 homepage http://code.google.com/ p/${real_name}/30 homepage http://code.google.com/${_n}/${_name}/ 28 31 29 distname ${ real_name}-${version}30 master_sites https://pypi.python.org/packages/source/ p/${real_name}32 distname ${_name}-${version} 33 master_sites https://pypi.python.org/packages/source/${_n}/${_name} 31 34 32 checksums md5 9075f34109f0bb4b45a90fd1fb5db94b\33 rmd160 1e507e974a1c2f5f599d7201921ceaf8aa916138\34 sha256 16e9a9b5caae5b69149c7be09415381b61af4f85f2087d08c0698c75e70000e735 checksums md5 156654b3c7878c4a31d27e4b9dc34377 \ 36 rmd160 567ecaba8235d4e7be5ad4a51ede921e3059e18a \ 37 sha256 eb4a1999f7c7bd573f3c8920344f50bd86221114980f07f521858d23654a33b0 35 38 36 39 python.versions 26 27 32 33 34 37 40 38 41 if {${name} ne ${subport}} { 39 42 depends_build-append port:py${python.version}-setuptools 43 44 # Adding documentation 45 post-destroot { 46 set dest_doc ${destroot}${prefix}/share/doc/${subport} 47 xinstall -d ${dest_doc} 48 xinstall -m 755 -W ${worksrcpath} \ 49 README.pdf \ 50 README.html \ 51 README.txt \ 52 changelog.txt \ 53 ${dest_doc} 54 } 55 40 56 livecheck.type none 41 57 } else { 42 58 livecheck.type regex 43 livecheck.url https://pypi.python.org/pypi/${real_name}44 livecheck.regex ${real_name}-(\[0-9.\]+)${extract.suffix}59 livecheck.url [lindex ${master_sites} 0] 60 livecheck.regex ">${_name}-(\\d+(\\.\\d+)+)\\${extract.suffix}<" 45 61 }