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

Last change on this file was 150724, checked in by petr@…, 12 months ago

various py-* ports, nomaintainer: retire py26 subport for ports without dependents

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# $Id: Portfile 150724 2016-07-27 20:07:24Z ryandesign@macports.org $
2
3PortSystem          1.0
4PortGroup           python 1.0
5PortGroup           github 1.0
6
7github.setup        jaraco keyring 3.6
8name                py-${name}
9license             PSF
10maintainers         nomaintainer
11description         Python interface to access the system keyring service
12long_description \
13    The Python keyring lib provides a easy way to access the system keyring \
14    service from python. It can be used in any application that needs safe \
15    password storage. The OSXKeychain keyring service supports the Keychain \
16    service in Mac OS X.
17
18platforms           darwin
19
20homepage            https://bitbucket.org/kang/python-keyring-lib
21
22checksums           rmd160  6603d9bac6ff4b4947d2a87a6e9a2438eaf51641 \
23                    sha256  282132421bafc34b78a25ec07a78ce5539f3d358a290750fe79535fca2a693e0
24
25python.versions     27 34 35
26
27if {${name} ne ${subport}} {
28    depends_build   port:py${python.version}-setuptools
29    post-destroot {
30        xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport} \
31                          ${destroot}${prefix}/share/examples/${subport}
32        xinstall -m 644 -W ${worksrcpath} CONTRIBUTORS.txt CHANGES.rst README.rst \
33            ${destroot}${prefix}/share/doc/${subport}
34        file copy {*}[glob ${worksrcpath}/demo/*] \
35            ${destroot}${prefix}/share/examples/${subport}
36    }
37
38    livecheck.type      none
39}
Note: See TracBrowser for help on using the repository browser.