You've already forked macports-ports
mirror of
https://github.com/encounter/macports-ports.git
synced 2026-03-30 11:29:27 -07:00
49 lines
1.5 KiB
Tcl
49 lines
1.5 KiB
Tcl
# -*- 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
|
|
|
|
PortSystem 1.0
|
|
PortGroup python 1.0
|
|
|
|
name py-netaddr
|
|
version 0.8.0
|
|
categories-append devel
|
|
platforms darwin
|
|
license BSD MIT
|
|
supported_archs noarch
|
|
|
|
python.versions 27 35 36 37 38
|
|
|
|
maintainers {stromnov @stromnov} openmaintainer
|
|
|
|
description A network address manipulation library for Python
|
|
long_description ${description}
|
|
|
|
homepage https://github.com/drkjam/netaddr/
|
|
|
|
checksums rmd160 a4f5def6bba751895ac441f75b1c6699de8651f7 \
|
|
sha256 d6cc57c7a07b1d9d2e917aa8b36ae8ce61c35ba3fcd1b83ca31c5a0ee2b5a243 \
|
|
size 1891561
|
|
|
|
if {${name} ne ${subport}} {
|
|
|
|
if {${python.version} <= 35} {
|
|
version 0.7.20
|
|
revision 0
|
|
distname ${python.rootname}-${version}
|
|
checksums rmd160 bf73edac6c0da67c4099ae4ab1a5e1844445b514 \
|
|
sha256 d09252e5aec3913815d77eb8e8ea8fa6eb33521253e52f977f6abaa964776f3e \
|
|
size 1889698
|
|
}
|
|
|
|
depends_build-append \
|
|
port:py${python.version}-setuptools
|
|
|
|
depends_test-append \
|
|
port:py${python.version}-pytest
|
|
|
|
test.run yes
|
|
test.cmd py.test-${python.branch}
|
|
test.target
|
|
|
|
livecheck.type none
|
|
}
|