diff options
author | rodent <rodent> | 2014-02-09 15:17:42 +0000 |
---|---|---|
committer | rodent <rodent> | 2014-02-09 15:17:42 +0000 |
commit | 1b571f4ff178bd3476774da633871c63af928bc8 (patch) | |
tree | aee51b9d481b10b4724e14a65e2eb3c41e554a8c /devel/py-macholib | |
parent | 3eacd4f0e524e79870a4c14fa13c3c4f287a0c76 (diff) | |
download | pkgsrc-1b571f4ff178bd3476774da633871c63af928bc8.tar.gz |
Import py27-macholib-1.6 as devel/py-macholib.
macholib can be used to analyze and edit Mach-O headers, the executable format
used by Mac OS X.
It's typically used as a dependency analysis tool, and also to rewrite dylib
references in Mach-O headers to be @executable_path relative.
Though this tool targets a platform specific file format, it is pure python code
that is platform and endian independent.
Diffstat (limited to 'devel/py-macholib')
-rw-r--r-- | devel/py-macholib/DESCR | 8 | ||||
-rw-r--r-- | devel/py-macholib/Makefile | 22 | ||||
-rw-r--r-- | devel/py-macholib/PLIST | 62 | ||||
-rw-r--r-- | devel/py-macholib/distinfo | 5 |
4 files changed, 97 insertions, 0 deletions
diff --git a/devel/py-macholib/DESCR b/devel/py-macholib/DESCR new file mode 100644 index 00000000000..c62fe101f1e --- /dev/null +++ b/devel/py-macholib/DESCR @@ -0,0 +1,8 @@ +macholib can be used to analyze and edit Mach-O headers, the executable format +used by Mac OS X. + +It's typically used as a dependency analysis tool, and also to rewrite dylib +references in Mach-O headers to be @executable_path relative. + +Though this tool targets a platform specific file format, it is pure python code +that is platform and endian independent. diff --git a/devel/py-macholib/Makefile b/devel/py-macholib/Makefile new file mode 100644 index 00000000000..ccddb057804 --- /dev/null +++ b/devel/py-macholib/Makefile @@ -0,0 +1,22 @@ +# $NetBSD: Makefile,v 1.1 2014/02/09 15:17:42 rodent Exp $ + +DISTNAME= macholib-1.6 +PKGNAME= ${PYPKGPREFIX}-${DISTNAME} +CATEGORIES= devel python +MASTER_SITES= https://pypi.python.org/packages/source/m/macholib/ + +MAINTAINER= rodent@NetBSD.org +HOMEPAGE= http://bitbucket.org/ronaldoussoren/macholib +COMMENT= Mach-O header analysis and editing +LICENSE= mit + +DEPENDS+= ${PYPKGPREFIX}-altgraph>=0.11:../../graphics/py-altgraph + +USE_LANGUAGES= # none + +REPLACE_PYTHON+= macholib/macho_dump.py macholib/macho_find.py +REPLACE_PYTHON+= macholib/macho_standalone.py + +.include "../../lang/python/application.mk" +.include "../../lang/python/egg.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/devel/py-macholib/PLIST b/devel/py-macholib/PLIST new file mode 100644 index 00000000000..4d06c6e5aff --- /dev/null +++ b/devel/py-macholib/PLIST @@ -0,0 +1,62 @@ +@comment $NetBSD: PLIST,v 1.1 2014/02/09 15:17:42 rodent Exp $ +bin/macho_dump +bin/macho_find +bin/macho_standalone +${PYSITELIB}/${EGG_INFODIR}/PKG-INFO +${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt +${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt +${PYSITELIB}/${EGG_INFODIR}/entry_points.txt +${PYSITELIB}/${EGG_INFODIR}/requires.txt +${PYSITELIB}/${EGG_INFODIR}/top_level.txt +${PYSITELIB}/${EGG_INFODIR}/zip-safe +${PYSITELIB}/macholib/MachO.py +${PYSITELIB}/macholib/MachO.pyc +${PYSITELIB}/macholib/MachO.pyo +${PYSITELIB}/macholib/MachOGraph.py +${PYSITELIB}/macholib/MachOGraph.pyc +${PYSITELIB}/macholib/MachOGraph.pyo +${PYSITELIB}/macholib/MachOStandalone.py +${PYSITELIB}/macholib/MachOStandalone.pyc +${PYSITELIB}/macholib/MachOStandalone.pyo +${PYSITELIB}/macholib/SymbolTable.py +${PYSITELIB}/macholib/SymbolTable.pyc +${PYSITELIB}/macholib/SymbolTable.pyo +${PYSITELIB}/macholib/__init__.py +${PYSITELIB}/macholib/__init__.pyc +${PYSITELIB}/macholib/__init__.pyo +${PYSITELIB}/macholib/__main__.py +${PYSITELIB}/macholib/__main__.pyc +${PYSITELIB}/macholib/__main__.pyo +${PYSITELIB}/macholib/_cmdline.py +${PYSITELIB}/macholib/_cmdline.pyc +${PYSITELIB}/macholib/_cmdline.pyo +${PYSITELIB}/macholib/dyld.py +${PYSITELIB}/macholib/dyld.pyc +${PYSITELIB}/macholib/dyld.pyo +${PYSITELIB}/macholib/dylib.py +${PYSITELIB}/macholib/dylib.pyc +${PYSITELIB}/macholib/dylib.pyo +${PYSITELIB}/macholib/framework.py +${PYSITELIB}/macholib/framework.pyc +${PYSITELIB}/macholib/framework.pyo +${PYSITELIB}/macholib/itergraphreport.py +${PYSITELIB}/macholib/itergraphreport.pyc +${PYSITELIB}/macholib/itergraphreport.pyo +${PYSITELIB}/macholib/mach_o.py +${PYSITELIB}/macholib/mach_o.pyc +${PYSITELIB}/macholib/mach_o.pyo +${PYSITELIB}/macholib/macho_dump.py +${PYSITELIB}/macholib/macho_dump.pyc +${PYSITELIB}/macholib/macho_dump.pyo +${PYSITELIB}/macholib/macho_find.py +${PYSITELIB}/macholib/macho_find.pyc +${PYSITELIB}/macholib/macho_find.pyo +${PYSITELIB}/macholib/macho_standalone.py +${PYSITELIB}/macholib/macho_standalone.pyc +${PYSITELIB}/macholib/macho_standalone.pyo +${PYSITELIB}/macholib/ptypes.py +${PYSITELIB}/macholib/ptypes.pyc +${PYSITELIB}/macholib/ptypes.pyo +${PYSITELIB}/macholib/util.py +${PYSITELIB}/macholib/util.pyc +${PYSITELIB}/macholib/util.pyo diff --git a/devel/py-macholib/distinfo b/devel/py-macholib/distinfo new file mode 100644 index 00000000000..4dc8c015d88 --- /dev/null +++ b/devel/py-macholib/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1 2014/02/09 15:17:42 rodent Exp $ + +SHA1 (macholib-1.6.tar.gz) = 20822b549c71616187660ff940aaad764210b8e6 +RMD160 (macholib-1.6.tar.gz) = 6274b9ba177a9db6e2ea00dc091db517ba6d452b +Size (macholib-1.6.tar.gz) = 468973 bytes |