[117783] trunk/dports/multimedia
cal at macports.org
cal at macports.org
Wed Mar 12 13:40:25 PDT 2014
Revision: 117783
https://trac.macports.org/changeset/117783
Author: cal at macports.org
Date: 2014-03-12 13:40:25 -0700 (Wed, 12 Mar 2014)
Log Message:
-----------
new port: MobileDevice, closes #42596
Added Paths:
-----------
trunk/dports/multimedia/MobileDevice/
trunk/dports/multimedia/MobileDevice/Portfile
trunk/dports/multimedia/MobileDevice/files/
trunk/dports/multimedia/MobileDevice/files/patch-setup.py-fix-name-and-version.diff
Added: trunk/dports/multimedia/MobileDevice/Portfile
===================================================================
--- trunk/dports/multimedia/MobileDevice/Portfile (rev 0)
+++ trunk/dports/multimedia/MobileDevice/Portfile 2014-03-12 20:40:25 UTC (rev 117783)
@@ -0,0 +1,44 @@
+# -*- 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
+# $Id$
+
+PortSystem 1.0
+PortGroup python 1.0
+PortGroup github 1.0
+
+github.setup mountainstorm MobileDevice 9ff885494197aeb790ba5b156212418b83218d47
+
+version 1.0.99
+categories multimedia python
+platforms darwin
+license MIT
+supported_archs noarch
+maintainers m4x.org:db_macports openmaintainer
+worksrcdir MobileDevice
+
+description Tool providing access to iOS devices
+long_description \
+ A python package, and command line tool, which wraps Apple's \
+ MobileDevice API - providing access to iOS devices.
+
+checksums sha256 cc46bf108fe6eb884a124b67c63fcf60b48f89dece70f4931d5ade40066931a5 \
+ rdm160 605e46f19fe89da2336d43360f3664531c095b69
+
+python.default_version 27
+python.link_binaries_suffix
+
+post-extract {
+ # MobileDevice needs to be built in a directory named "MobileDevice"
+ if {![file exists ${worksrcpath}]} {
+ move [glob ${workpath}/${name}-*] ${worksrcpath}
+ }
+}
+
+patchfiles patch-setup.py-fix-name-and-version.diff
+post-patch {
+ reinplace "s#@VERSION@#${version}#" ${worksrcpath}/setup.py
+}
+
+post-destroot {
+ xinstall -m 0755 -d ${destroot}${prefix}/share/doc/${name}
+ xinstall -m 0644 ${worksrcpath}/LICENSE ${destroot}${prefix}/share/doc/${name}/
+}
Property changes on: trunk/dports/multimedia/MobileDevice/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
Added: trunk/dports/multimedia/MobileDevice/files/patch-setup.py-fix-name-and-version.diff
===================================================================
--- trunk/dports/multimedia/MobileDevice/files/patch-setup.py-fix-name-and-version.diff (rev 0)
+++ trunk/dports/multimedia/MobileDevice/files/patch-setup.py-fix-name-and-version.diff 2014-03-12 20:40:25 UTC (rev 117783)
@@ -0,0 +1,13 @@
+--- setup.py.orig 2014-03-12 21:36:59.000000000 +0100
++++ setup.py 2014-03-12 21:37:17.000000000 +0100
+@@ -45,8 +45,8 @@
+
+
+ setup(
+- name=u'Distutils',
+- version=u'1.0' + getcommit(),
++ name=u'MobileDevice',
++ version=u'@VERSION@',
+ description=u'A python package, and command line tool, which wraps Apple\'s MobileDevice API - providing access to iOS devices',
+ long_description = readfile(u'README.md'),
+ author=u'Cooper',
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140312/c39d468c/attachment.html>
More information about the macports-changes
mailing list