Skip to content
Permalink
Browse files

new port: MobileDevice, closes https://trac.macports.org/ticket/42596

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@117783 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
neverpanic committed Mar 12, 2014
1 parent af4b63b commit 4efd9fbe031c0fa847188e3c7530ecf8cf161021
@@ -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}/
}
@@ -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',

0 comments on commit 4efd9fb

Please sign in to comment.
You can’t perform that action at this time.