Ticket #42653: patch-py_construct-2.51-Portfile.2.diff
File patch-py_construct-2.51-Portfile.2.diff, 1.9 KB (added by jul_bsd@…, 11 years ago) |
---|
-
Portfile-py-construct-2.
old new 4 4 PortGroup python 1.0 5 5 6 6 name py-construct 7 version 2. 007 version 2.5.1 8 8 platforms darwin 9 9 supported_archs noarch 10 maintainers macfreek.nl:softwaredckd.nl:macports openmaintainer10 maintainers dckd.nl:macports openmaintainer 11 11 description python module for parsing and building binary or textual data structures 12 12 long_description Construct is a python library for parsing and building of data structures \ 13 13 (binary or textual). It is based on the concept of defining data \ 14 14 structures in a declarative manner, rather than procedural code: more \ 15 15 complex constructs are composed of a hierarchy of simpler ones. 16 16 17 homepage http://construct.wikispaces.com/ 18 master_sites sourceforge:pyconstruct 19 distname construct-${version}-distro 20 checksums md5 ac374c2fdf6a9351468ad8c149584cf3 \ 21 sha1 ff1e2f7b90f994f037ac22e490a881bc96e47d30 17 homepage http://construct.readthedocs.org/en/latest/ 18 distname construct-${version} 19 master_sites https://pypi.python.org/packages/source/c/construct/ 22 20 23 python.versions 24 25 21 checksums rmd160 977d5b3e79631725de5b56566ca49882c5ce7253 \ 22 sha256 9d123b2590a5645385cf881f25960a2e2a262337e4697dfdbcac4b4496da44b3 23 24 python.versions 25 26 27 31 32 33 34 24 25 25 26 subport py24-construct { 26 27 # we download the 2.00-py24 "backport" version, since that is backward compatible in … … 31 32 32 33 if {${name} ne ${subport}} { 33 34 use_zip yes 34 35 worksrcdir construct 36 37 # nothing to build 38 build {} 39 40 destroot { 41 xinstall -d ${destroot}${python.pkgd} 42 file copy ${workpath}/construct ${destroot}${python.pkgd} 43 } 35 depends_lib-append port:py${python.version}-six 44 36 }