Ticket #13010: Portfile

File Portfile, 958 bytes (added by skymoo (Adam Mercer), 17 years ago)

updated Portfile, following per request

Line 
1# $Id$
2
3PortSystem 1.0
4PortGroup python25 1.0
5
6name                    py25-gnupg
7version                 0.3.2
8categories              python
9platforms               darwin
10maintainers             gmail.com:ramercer openmaintainer
11description             GnuPGInterface is a Python module to interface with GnuPG
12long_description        GnuPGInterface is a Python module to interface with \
13                                GnuPG. It concentrates on interacting with GnuPG via \
14                                filehandles, providing access to control GnuPG via \
15                                versatile and extensible means.
16
17homepage                http://py-gnupg.sourceforge.net/
18master_sites    sourceforge:py-gnupg
19distname                GnuPGInterface-${version}
20checksums               md5 d4627d83446f96bd8c22f8d15db3f7c2
21patchfiles              patch-setup.py.diff
22
23depends_lib-append      port:gnupg
24
25post-patch      {
26        reinplace "s|VERSION|${version}|g" ${worksrcpath}/setup.py
27}
28
29test.run                yes
30test.cmd                ${python.bin} unittests.py
31test.target
32
33post-destroot   {
34        xinstall -m 644 -W ${worksrcpath} COPYING ChangeLog NEWS README THANKS \
35                ${destroot}${prefix}/share/doc/${name}
36}