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

Last change on this file was 147901, checked in by ryandesign@…, 15 months ago

py-xdg: use https in livecheck.url

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1# -*- Mode: Tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:et:sw=4:ts=4:sts=4
2# $Id: Portfile 147901 2016-04-20 04:16:37Z ryandesign@macports.org $
3
4PortSystem 1.0
5PortGroup python 1.0
6
7name            py-xdg
8set gname       pyxdg
9version         0.25
10license         LGPL-2
11categories-append       textproc
12platforms       darwin
13maintainers     aronnax openmaintainer
14
15supported_archs noarch
16
17description     Python module implementing various freedesktop.org standards
18long_description    \
19    PyXDG is a python library to access freedesktop.org standards. Currently \
20    supported standards are: \
21    \
22    *   Base Directory Specification Version 0.6 \
23    *   Menu Specification Version 1.0 \
24    *   Desktop Entry Specification Version 1.0 \
25    *   Icon Theme Specification Version 0.8 \
26    *   Recent File Spec 0.2 \
27    *   Shared-MIME-Database Specification 0.13
28
29homepage        https://www.freedesktop.org/wiki/Software/${gname}/
30master_sites    https://people.freedesktop.org/~takluyver/
31distname        ${gname}-${version}
32
33checksums       md5     bedcdb3a0ed85986d40044c87f23477c \
34                sha1    1272ee62b8c3909ac4844a34a95f8b1fb3398af2
35
36python.versions 26 27 33 34
37
38
39if {${name} ne ${subport}} {
40    livecheck.type     none
41} else {
42    livecheck.type     regex
43    livecheck.url      [lindex ${master_sites} 0]
44    livecheck.regex    "${gname}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
45}
Note: See TracBrowser for help on using the repository browser.