Bug 229947 - [New Port]: devel/py-macholib: analyze and edit Mach-O headers
Summary: [New Port]: devel/py-macholib: analyze and edit Mach-O headers
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Martin Wilke
URL:
Keywords:
Depends on:
Blocks: 229948
  Show dependency treegraph
 
Reported: 2018-07-22 06:34 UTC by Nathan
Modified: 2019-01-12 16:54 UTC (History)
2 users (show)

See Also:


Attachments
Patch to add dependency (2.57 KB, patch)
2018-07-22 06:34 UTC, Nathan
ndowens: maintainer-approval+
Details | Diff
Add new port (3.07 KB, patch)
2018-09-22 02:10 UTC, Nathan
ndowens: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Nathan 2018-07-22 06:34:34 UTC
Created attachment 195359 [details]
Patch to add dependency

This is a dependency for the port I am currently updating: py-pyinstaller

I've tested this against py-pyinstaller and it works as expected.
Comment 1 Nathan 2018-08-10 02:53:05 UTC
Comment on attachment 195359 [details]
Patch to add dependency

>Index: devel/py-macholib/Makefile
>===================================================================
>--- devel/py-macholib/Makefile	(nonexistent)
>+++ devel/py-macholib/Makefile	(working copy)
>@@ -0,0 +1,19 @@
>+# $FreeBSD
>+
>+PORTNAME=		macholib
>+PORTVERSION=		1.9
>+CATEGORIES=		devel python
>+
>+MASTER_SITES=		CHEESESHOP
>+PKGNAMEPREFIX=		${PYTHON_PKGNAMEPREFIX}
>+
>+MAINTAINER=		ndowens@yahoo.com
>+COMMENT=		Can be used to analyze and edit Mach-O headers
>+
>+LICENSE=		MIT
>+LICENSE_FILE=		${WRKSRC}/LICENSE		
>+
>+USES=			python
>+USE_PYTHON=		autoplist distutils
>+
>+.include <bsd.port.mk>
>
>Property changes on: devel/py-macholib/Makefile
>___________________________________________________________________
>Added: svn:eol-style
>## -0,0 +1 ##
>+native
>\ No newline at end of property
>Added: svn:keywords
>## -0,0 +1 ##
>+FreeBSD=%H
>\ No newline at end of property
>Added: svn:mime-type
>## -0,0 +1 ##
>+text/plain
>\ No newline at end of property
>Index: devel/py-macholib/distinfo
>===================================================================
>--- devel/py-macholib/distinfo	(nonexistent)
>+++ devel/py-macholib/distinfo	(working copy)
>@@ -0,0 +1,3 @@
>+TIMESTAMP = 1532240419
>+SHA256 (macholib-1.9.tar.gz) = 9aeec52d7da59912b15445d08b08d95cee48414f01dd035be06f04a825973c08
>+SIZE (macholib-1.9.tar.gz) = 578425
>
>Property changes on: devel/py-macholib/distinfo
>___________________________________________________________________
>Added: fbsd:nokeywords
>## -0,0 +1 ##
>+yes
>\ No newline at end of property
>Added: svn:eol-style
>## -0,0 +1 ##
>+native
>\ No newline at end of property
>Added: svn:mime-type
>## -0,0 +1 ##
>+text/plain
>\ No newline at end of property
>Index: devel/py-macholib/pkg-descr
>===================================================================
>--- devel/py-macholib/pkg-descr	(nonexistent)
>+++ devel/py-macholib/pkg-descr	(working copy)
>@@ -0,0 +1,11 @@
>+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.
>+
>+WWW:https://pypi.org/project/macholib/
>
>Property changes on: devel/py-macholib/pkg-descr
>___________________________________________________________________
>Added: fbsd:nokeywords
>## -0,0 +1 ##
>+yes
>\ No newline at end of property
>Added: svn:eol-style
>## -0,0 +1 ##
>+native
>\ No newline at end of property
>Added: svn:mime-type
>## -0,0 +1 ##
>+text/plain
>\ No newline at end of property
Comment 2 Nathan 2018-09-22 02:10:43 UTC
Created attachment 197326 [details]
Add new port

 devel/py-macholib: Analyze and edit mach-o headers
 
 PR:             229947
 Submitted by:   Nathan <ndowens@yahoo.com>
Comment 3 commit-hook freebsd_committer 2019-01-12 16:54:36 UTC
A commit references this bug:

Author: miwi
Date: Sat Jan 12 16:53:41 UTC 2019
New revision: 490064
URL: https://svnweb.freebsd.org/changeset/ports/490064

Log:
  Macholib can be used to analyze and edit Mach-O headers,
  the executable format used by Mac OS X.

  It is 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.

  WWW: https://pypi.org/project/macholib/

  PR:		229947
  Submitted by:	ndowens@yahoo.com
  Sponsored by:	iXsystems Inc.

Changes:
  head/devel/Makefile
  head/devel/py-macholib/
  head/devel/py-macholib/Makefile
  head/devel/py-macholib/distinfo
  head/devel/py-macholib/pkg-descr