Revision: 117606 https://trac.macports.org/changeset/117606 Author: g5pw@macports.org Date: 2014-03-05 02:10:46 -0800 (Wed, 05 Mar 2014) Log Message: ----------- python/py-pync: update to 1.4 add license add descriptions fix patchfile closes #42714 Modified Paths: -------------- trunk/dports/python/py-pync/Portfile trunk/dports/python/py-pync/files/pync_TerminalNotifier.py.diff Modified: trunk/dports/python/py-pync/Portfile =================================================================== --- trunk/dports/python/py-pync/Portfile 2014-03-05 10:09:05 UTC (rev 117605) +++ trunk/dports/python/py-pync/Portfile 2014-03-05 10:10:46 UTC (rev 117606) @@ -4,13 +4,17 @@ PortGroup python 1.0 PortGroup github 1.0 -github.setup SeTeM pync 1.3 v +github.setup SeTeM pync 1.4 v name py-pync maintainers nomaintainer categories-append aqua -description Description -long_description LongDescription +description A simple Python wrapper around the terminal-notifier command-line tool. +long_description ${description} It allows you to send User Notifications to \ + the Notification Center on Mac OS X 10.8, or higher. platforms darwin +license MIT +# Except for ‘Terminal.icns’, which is a copy of Apple’s Terminal.app icon and as such is copyright of Apple. +# But we delete the vendor/ dir, so we should be just MIT licensed. python.versions 27 33 34 @@ -18,9 +22,10 @@ depends_build port:py${python.version}-setuptools depends_run port:terminal-notifier - checksums rmd160 f3e7338fa1e6e99067cff791ee116236face37e4 \ - sha256 d38184860259af0fbe0701cf7e397a360abd15028b21e379b7df7553c9ca9e4c + checksums rmd160 c579cbad6691798a7db0e57f89d9c006ed18e268 \ + sha256 1a5355bc1505f076b79286951ae0488053d5c7a74296f73fe37e17f5694e3a95 + livecheck.type none patchfiles pync_TerminalNotifier.py.diff setup.py.diff Modified: trunk/dports/python/py-pync/files/pync_TerminalNotifier.py.diff =================================================================== --- trunk/dports/python/py-pync/files/pync_TerminalNotifier.py.diff 2014-03-05 10:09:05 UTC (rev 117605) +++ trunk/dports/python/py-pync/files/pync_TerminalNotifier.py.diff 2014-03-05 10:10:46 UTC (rev 117606) @@ -1,11 +1,12 @@ --- pync/TerminalNotifier.py 2013-07-16 11:43:21.000000000 +0200 +++ pync/TerminalNotifier.py.new 2014-01-09 14:13:40.000000000 +0100 -@@ -19,7 +19,7 @@ +@@ -17,7 +17,7 @@ Raises if not supported on the current platform or if terminal-notifier.app does not find. """ - self.app_path = os.path.join(os.path.dirname(__file__), -- "vendor/terminal-notifier_%s/terminal-notifier.app" % self.TERMINAL_NOTIFIER_VERSION) -+ "__PREFIX__/libexec/terminal-notifier.app") + self.app_path = os.path.join( + os.path.dirname(__file__), +- "vendor/terminal-notifier-%s/terminal-notifier.app" % self.TERMINAL_NOTIFIER_VERSION ++ "__PREFIX__/libexec/terminal-notifier.app" + ) self.bin_path = os.path.join(self.app_path, "Contents/MacOS/terminal-notifier") - if not self.is_available: - raise Exception("pync is only supported on Mac OS X 10.8, or higher.") +