Commits

Renee Otten authored 0b258760f63
py-magic: remove py34 subport, add size
No tags

python/py-magic/Portfile

Modified
4 4 PortGroup python 1.0
5 5
6 6 name py-magic
7 7 version 0.4.15
8 8 revision 0
9 9 categories-append devel
10 10 platforms darwin
11 11 license MIT
12 12 supported_archs noarch
13 13
14 -python.versions 27 34 35 36 37
14 +python.versions 27 35 36 37
15 15
16 16 maintainers {stromnov @stromnov} openmaintainer
17 17
18 18 description File type identification using libmagic
19 19
20 20 long_description Determines the mime type of a file using magic \
21 21 numbers. Can also operate on arbitrary data streams. \
22 22 Much like the Unix file(1) program.
23 23
24 24 homepage https://github.com/ahupp/python-magic
25 25 master_sites pypi:p/python-magic
26 26
27 27 distname python-magic-${version}
28 28
29 29 checksums rmd160 ad4925d65a20c56ff8696070ac7afdd824989c29 \
30 - sha256 f3765c0f582d2dfc72c15f3b5a82aecfae9498bd29ca840d72f37d7bd38bfcd5
30 + sha256 f3765c0f582d2dfc72c15f3b5a82aecfae9498bd29ca840d72f37d7bd38bfcd5 \
31 + size 73194
31 32
32 33 if {${name} ne ${subport}} {
33 34 depends_build-append \
34 35 port:py${python.version}-setuptools
35 36 depends_lib-append port:file
36 37
37 38 patchfiles patch-prefix-lib.diff
38 39
39 40 post-patch {
40 41 reinplace -E "s:__PREFIX__:${prefix}:g" ${worksrcpath}/magic.py

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut