Ticket #42653: patch-py_construct-2.51-Portfile.3.diff
File patch-py_construct-2.51-Portfile.3.diff, 2.0 KB (added by macfreek (Freek Dijkstra), 11 years ago) |
---|
-
dports/python/py-construct/Portfile
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 24 23 25 subport py24-construct { 26 # we download the 2.00-py24 "backport" version, since that is backward compatible in 27 # Python 2.4 (and it works fine with Python 2.5 too) 28 distname construct-${version}-distro-py24b 29 checksums md5 783c5584a8ea2b7fb7eeada564687aaa 30 } 24 python.versions 25 26 27 31 32 33 34 31 25 32 26 if {${name} ne ${subport}} { 33 27 use_zip yes