Ticket #53780: Portfile

File Portfile, 1.2 KB (added by Schamschula (Marius Schamschula), 7 years ago)
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim: fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2
3PortSystem          1.0
4PortGroup           python 1.0
5
6name                py-jupyter_core
7version             4.3.0
8revision            1
9platforms           darwin
10license             BSD
11supported_archs     noarch
12
13python.versions     27 34 35 36
14
15maintainers         stromnov openmaintainer
16
17description         Jupyter core package.
18long_description    ${description}
19
20homepage            http://jupyter.org
21master_sites        pypi:[string index ${python.rootname} 0]/${python.rootname}
22
23distname            ${python.rootname}-${version}
24
25checksums           rmd160  bbecbc5f5cde82a084aa4b523212f3dc8777e956 \
26                    sha256  a96b129e1641425bf057c3d46f4f44adce747a7d60107e8ad771045c36514d40
27
28if {${name} ne ${subport}} {
29    depends_lib-append  port:py${python.version}-setuptools \
30                        port:py${python.version}-traitlets
31
32    livecheck.type      none
33   
34    patchfiles-append   patch-jupyter_core-paths.py.diff
35   
36    post-patch {
37        reinplace "s|%PREFIX%|${prefix}|" \
38        ${worksrcpath}/jupyter_core/paths.py
39    }
40}