Ticket #42653: patch-py_construct-Portfile

File patch-py_construct-Portfile, 2.0 KB (added by jul_bsd@…, 11 years ago)
Line 
1--- _orig/python/py-construct/Portfile  2013-12-05 04:00:24.000000000 -0500
2+++ python/py-construct/Portfile        2014-02-28 14:41:34.000000000 -0500
3@@ -4,23 +4,24 @@
4 PortGroup python 1.0
5 
6 name                           py-construct
7-version                                2.00
8+version                                2.5.1
9 platforms                      darwin
10 supported_archs                noarch
11 maintainers                    macfreek.nl:software dckd.nl:macports openmaintainer
12 description                    python module for parsing and building binary or textual data structures
13 long_description       Construct is a python library for parsing and building of data structures \
14-                                       (binary or textual). It is based on the concept of defining data \
15-                                       structures in a declarative manner, rather than procedural code: more \
16-                                       complex constructs are composed of a hierarchy of simpler ones.
17-
18-homepage                       http://construct.wikispaces.com/
19-master_sites           sourceforge:pyconstruct
20-distname                       construct-${version}-distro
21-checksums                      md5 ac374c2fdf6a9351468ad8c149584cf3 \
22-                    sha1 ff1e2f7b90f994f037ac22e490a881bc96e47d30
23+                       (binary or textual). It is based on the concept of defining data \
24+                       structures in a declarative manner, rather than procedural code: more \
25+                       complex constructs are composed of a hierarchy of simpler ones.
26+
27+homepage                       http://construct.readthedocs.org/en/latest/
28+distname            construct-${version}
29+master_sites           https://pypi.python.org/packages/source/c/construct/
30 
31-python.versions                24 25
32+checksums           rmd160  977d5b3e79631725de5b56566ca49882c5ce7253 \
33+                    sha256  9d123b2590a5645385cf881f25960a2e2a262337e4697dfdbcac4b4496da44b3
34+
35+python.versions                24 25 26 27
36 
37 subport py24-construct {
38     # we download the 2.00-py24 "backport" version, since that is backward compatible in
39@@ -31,14 +32,5 @@
40 
41 if {${name} ne ${subport}} {
42     use_zip                            yes
43-
44-    worksrcdir                 construct
45-
46-    # nothing to build
47-    build                              {}
48-
49-    destroot {
50-        xinstall -d ${destroot}${python.pkgd}
51-        file copy ${workpath}/construct ${destroot}${python.pkgd}
52-    }
53 }
54+