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

Last change on this file was 148976, checked in by raimue@…, 18 months ago

Mass update of python ports for master_sites pypi

The pypi hosting site changed the naming scheme for new uploads. While old URLs
continue to work, this possibly breaks updates as master_sites would need to be
changed. This patch updates all previously hardcoded references to
pypi.python.org to the pypi: mirror sites, which was already updated to check
at both the old and new location. See #51391.

Overriding maintainers as this is a mass update of ports.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 931 bytes
Line 
1# $Id: Portfile 148976 2016-05-24 07:48:05Z ryandesign@macports.org $
2
3PortSystem 1.0
4PortGroup python 1.0
5
6name                    py-pygpgme
7version                 0.3
8python.versions         27
9python.default_version 27
10platforms               darwin
11license                 LGPL
12maintainers             afb openmaintainer
13description             Python module for working with OpenPGP messages
14long_description        \
15PyGPGME is a Python module that lets you sign, verify, encrypt and decrypt \
16files using the OpenPGP format.  It is built on top of GNU Privacy Guard and \
17the GPGME library.
18
19homepage                http://pypi.python.org/pypi/pygpgme/${version}/
20master_sites            pypi:p/pygpgme/
21distname                pygpgme-${version}
22checksums               md5 d38355af73f0352cde3d410b25f34fd0 \
23                        sha1 f8df35bd2705ac2e1642209fba732e6a42d03fd4 \
24                        rmd160 7d15991622ee7adf643d9d658c5da718c6b1bfd0
25
26if {${name} ne ${subport}} {
27depends_lib-append      port:gpgme
28
29build.env               CPPFLAGS="-I${prefix}/include"
30}
31
32livecheck.type          regex
33livecheck.url           ${master_sites}
34livecheck.regex         pygpgme-(\\d+(\\.\\d+)+)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.