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

Last change on this file was 150887, checked in by petr@…, 14 months ago

py=* ports, unmaintained: retire py33 subports without dependents

  • 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::et:sw=4:ts=4:sts=4
2# $Id: Portfile 150887 2016-08-01 12:58:21Z ryandesign@macports.org $
3PortSystem          1.0
4PortGroup           python 1.0
5PortGroup           github 1.0
6
7github.setup        SeTeM pync 1.4 v
8
9name                py-pync
10categories-append   aqua
11platforms           darwin
12
13license             MIT
14# Except for 'Terminal.icns', which is a copy of Apple's Terminal.app icon and as such is copyright of Apple.
15# But we delete the vendor/ dir, so we should be just MIT licensed.
16
17maintainers         nomaintainer
18
19description         A simple Python wrapper around the terminal-notifier command-line tool.
20long_description    ${description} It allows you to send User Notifications to \
21                    the Notification Center on Mac OS X 10.8, or higher.
22
23checksums           rmd160  c579cbad6691798a7db0e57f89d9c006ed18e268 \
24                    sha256  1a5355bc1505f076b79286951ae0488053d5c7a74296f73fe37e17f5694e3a95
25
26python.versions     27 34
27
28if {$subport ne $name} {
29    depends_build       port:py${python.version}-setuptools
30    depends_run         port:terminal-notifier
31
32    patchfiles          pync_TerminalNotifier.py.diff setup.py.diff
33
34    post-extract {
35        delete ${worksrcpath}/pync/vendor
36    }
37
38    post-patch {
39        reinplace "s|__PREFIX__|${prefix}|" pync/TerminalNotifier.py
40    }
41
42    livecheck.type      none
43}
Note: See TracBrowser for help on using the repository browser.