[92389] trunk/dports/python/py-gnupg
snc at macports.org
snc at macports.org
Fri Apr 27 10:47:24 PDT 2012
Revision: 92389
https://trac.macports.org/changeset/92389
Author: snc at macports.org
Date: 2012-04-27 10:47:23 -0700 (Fri, 27 Apr 2012)
Log Message:
-----------
py-gnupg: switch from GnuPGInterface to python-gnupg
Modified Paths:
--------------
trunk/dports/python/py-gnupg/Portfile
Removed Paths:
-------------
trunk/dports/python/py-gnupg/files/
Modified: trunk/dports/python/py-gnupg/Portfile
===================================================================
--- trunk/dports/python/py-gnupg/Portfile 2012-04-27 15:45:58 UTC (rev 92388)
+++ trunk/dports/python/py-gnupg/Portfile 2012-04-27 17:47:23 UTC (rev 92389)
@@ -5,57 +5,28 @@
PortGroup python 1.0
name py-gnupg
-version 0.3.2
-python.versions 25 26 27
+# never remove/decrement an epoch
+epoch 1
+version 0.2.9
+python.versions 25 26 27 31 32
python.default_version 27
categories python
platforms darwin
maintainers snc openmaintainer
-license LGPL-2.1
+license BSD
-description GnuPGInterface is a Python module to interface with GnuPG
-long_description GnuPGInterface is a Python module to interface with \
- GnuPG. It concentrates on interacting with GnuPG via filehandles, \
- providing access to control GnuPG via versatile and extensible means.
+description a Python wrapper for GPG
+long_description gnupg.py is a Python API which wraps the GNU Privacy Guard.
-homepage http://py-gnupg.sourceforge.net/
-master_sites sourceforge:py-gnupg
-distname GnuPGInterface-${version}
+homepage http://code.google.com/p/python-gnupg/
+master_sites googlecode:python-gnupg
+distname python-gnupg-${version}
-checksums rmd160 7bc5ae75bf17203442cfda8bbdb430b2f02fdd75 \
- sha256 0ea672251e2e3f71b62fef0c01539519d500f6b338f803af6b57e67a73cca8e6
+checksums rmd160 d98e35a6cb32167e276bf325abd8b6284f199cd7 \
+ sha256 5f062753d4719474fdeb1c0a9fbe6b6bd1f6989c42eb7680d53785707a8f55df
-universal_variant no
-
if {$subport != $name} {
- patchfiles patch-setup.py.diff
-
- depends_lib-append port:gnupg
-
- post-extract {
- fs-traverse dir ${workpath} {
- if {[file isdirectory ${dir}]} {
- file attributes ${dir} -permissions 0755
- } elseif {[file isfile ${dir}]} {
- file attributes ${dir} -permissions 0644
- }
- }
- }
-
- post-patch {
- reinplace "s|VERSION|${version}|g" ${worksrcpath}/setup.py
- }
-
- test.run yes
- test.cmd ${python.bin} unittests.py
- test.target
-
- post-destroot {
- xinstall -m 644 -W ${worksrcpath} COPYING ChangeLog NEWS README \
- THANKS ${destroot}${prefix}/share/doc/${subport}
- }
-
livecheck.type none
} else {
- livecheck.distname GnuPGInterface
+ livecheck.regex python-gnupg-(\\d+(\\.\\d+)+)
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120427/66d3a62a/attachment.html>
More information about the macports-changes
mailing list