source: trunk/dports/python/py-snmp/Portfile

Last change on this file was 141722, checked in by khindenburg@…, 21 months ago

py-snmp: update to 4.2.5 #48292

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.1 KB
Line 
1# $Id: Portfile 141722 2015-10-27 00:04:53Z ryandesign@macports.org $
2
3PortSystem 1.0
4PortGroup python 1.0
5
6name                    py-snmp
7version                 4.2.5
8categories-append       net
9license                 BSD
10maintainers             gmail.com:valyukov openmaintainer
11platforms               darwin freebsd
12supported_archs noarch
13description             SNMP v.1 engine for python
14long_description        PySNMP is fully functional SNMP v.1 engine (BER \
15                                encoders/decoders for a subset of ASN.1 data types, sockets \
16                                based networking etc.) written entirely in python.
17
18homepage                http://pysnmp.sourceforge.net/
19master_sites    sourceforge:project/pysnmp/pysnmp/${version}
20               
21distname                pysnmp-${version}
22
23checksums       rmd160  e2d0dafa6edf9b2940244adec4719dfe393b7a9b \
24                sha256  c46e65d99a604f690b3d5800e2f6e26e1ed9a3c7f7e17e7b4b4d897150f7077f
25
26python.versions 27 34
27
28if {${name} ne ${subport}} {
29    depends_lib-append  port:py${python.version}-asn1 \
30                        port:py${python.version}-crypto
31    post-destroot       {
32        file delete -force ${destroot}${prefix}/share/doc/${subport}
33        file copy ${worksrcpath}/docs ${destroot}${prefix}/share/doc/${subport}
34        file copy ${worksrcpath}/examples ${destroot}${prefix}/share/doc/${subport}
35    }
36}
Note: See TracBrowser for help on using the repository browser.