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

Last change on this file was 148976, checked in by raimue@…, 14 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: 1.4 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 148976 2016-05-24 07:48:05Z ryandesign@macports.org $
3
4PortSystem         1.0
5PortGroup          python 1.0
6
7name               py-pyxmpp
8version            1.1.2
9categories-append  crypto devel
10license            LGPL-2.1
11maintainers        ram openmaintainer
12platforms          darwin
13
14description        Python Jabber/XMPP implementation
15long_description   PyXMPP provides most core features of the XMPP protocol \
16  and several JSF-defined extensions. PyXMPP provides building blocks for \
17  creating Jabber clients and components. Developer uses them to setup \
18  XMPP streams, handle incoming events and create outgoing stanzas.
19
20homepage           http://pyxmpp.jajcus.net/pyxmpp.html
21master_sites       pypi:p/pyxmpp/
22distname           pyxmpp-${version}
23
24python.versions    26 27
25
26checksums          rmd160 e94194d8dcf0d2e78e30de5cc92b3315c8a1ce92 \
27                   sha256 f45365bae922a9e44226622cf086e3ffd3c681012f6c6b609d3306e4d0dfb33c
28
29if {${name} ne ${subport}} {
30    depends_lib-append port:py${python.version}-libxml2 \
31                       port:py${python.version}-dnspython
32}
33
34if {${name} eq ${subport}} {
35    livecheck.type     regex
36    livecheck.url      https://pypi.python.org/pypi/pyxmpp
37    livecheck.regex    {pyxmpp-(\d+(?:\.\d+)*).tar.gz}
38} else {
39    livecheck.type     none
40}
Note: See TracBrowser for help on using the repository browser.