root/trunk/ports/python/py-hesiod/Portfile

Revision 213, 1.1 kB (checked in by quentin, 5 years ago)

Upgrade to Python 3-compatible PyHesiod

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
3 PortSystem          1.0
4 PortGroup           github 1.0
5 PortGroup           python 1.0
6
7 github.setup        mit-scripts python-hesiod 583fc21cee08baaf5117ed8045bf18a9252eba84
8 name                py-hesiod
9 version             0.2.11
10
11 categories-append   devel
12 platforms           darwin
13 license             MIT
14 maintainers         mit.edu:sipb-macathena
15 description         Python bindings for the Hesiod name resolution library
16
17 checksums           rmd160  17fdc201871dcfda2c324e1d8704657604d8dd58 \
18                     sha256  ed98670e76f92e351ef5afc33320f2e8a09fe7332a639a3cc3782f8a35710713 \
19                     size    3439
20
21 python.versions     27 36 37 38
22
23 if {${name} ne ${subport}} {
24     depends_lib-append      port:libhesiod \
25                             port:py${python.version}-cython \
26                             port:py${python.version}-setuptools
27 }
28 patchfiles              patch-setup.py
29 post-patch {
30     reinplace "s|__PREFIX__|${prefix}|g" ${worksrcpath}/setup.py
31 }
Note: See TracBrowser for help on using the browser.