Ticket #13010: Portfile.2

File Portfile.2, 1021 bytes (added by skymoo (Adam Mercer), 17 years ago)

py25-gnupg/Portfile - replaces version from tarball

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
11
12description   GnuPGInterface is a Python module to interface with GnuPG
13long_description  GnuPGInterface is a Python module to interface with \
14      GnuPG. It concentrates on interacting with GnuPG via \
15      filehandles, providing access to control GnuPG via versatile and \
16      extensible means.
17
18homepage      http://py-gnupg.sourceforge.net/
19master_sites  sourceforge:py-gnupg
20distname      GnuPGInterface-${version}
21
22checksums     md5 d4627d83446f96bd8c22f8d15db3f7c2
23
24
25depends_lib-append  port:gnupg
26
27patchfiles    patch-setup.py.diff
28
29post-patch {
30  reinplace "s|VERSION|${version}|g" ${worksrcpath}/setup.py
31}
32
33test.run      yes
34test.cmd      ${python.bin} unittests.py
35test.target
36
37post-destroot {
38  xinstall -m 644 -W ${worksrcpath} COPYING ChangeLog NEWS README THANKS \
39    ${destroot}${prefix}/share/doc/${name}
40}