Opened 14 years ago

Closed 13 years ago

#26298 closed defect (wontfix)

New python26 dependency in git-core 1.7.2.2-1 adds many deps

Reported by: dtmainz@… Owned by: maccheck@…
Priority: Normal Milestone:
Component: ports Version: 1.9.1
Keywords: Cc: raimue (Rainer Müller), mirimiri66@…, bunnyhero@…
Port: git-core

Description

The git-core @1.7.2.2_1 Portfile revision (Changeset 70965) added a dependency on python26. This in turn adds many other unexpected dependencies that I did not already have on my OS X 10.6.4 MacBook.

% port rdeps git-core <...other packages...>

python26

tk

tcl Xft2

xrender

xorg-libX11

xorg-util-macros xorg-xtrans xorg-bigreqsproto xorg-xcmiscproto xorg-xextproto xorg-xf86bigfontproto xorg-inputproto xorg-libXdmcp

xorg-xproto

xorg-libXau xorg-kbproto

xorg-renderproto

freetype fontconfig

xorg-libXScrnSaver

xorg-libXext xorg-scrnsaverproto

sqlite3

readline

db46 gdbm bzip2

A few of these are very common dependencies on other ports such as db46, bzip2, and sqlite3, but the Xft2 and xorg trees seem excessive. Is the Apple builtin Python2.6 (at least on Snow Leopard) not sufficient to avoid requiring all these extra graphics packages to be installed, just for git-core?

Change History (8)

comment:1 Changed 14 years ago by raimue (Rainer Müller)

Cc: raimue@… added
Owner: changed from macports-tickets@… to maccheck@…
Port: git-core added

git-core uses python during its build process and provides a python module in ${prefix}/lib/python2.6/site-packages/git_remote_helpers. It was erroneously using /usr/bin/python instead before my change. I did not investigate if this is necessary at all or could be made optional with a variant.

MacPorts does not rely on the system libraries, but installs its own libraries. At least you can get rid of the xorg-* dependencies when using the +no_tkinter variant for python26.

comment:2 Changed 14 years ago by mirimiri66@…

Cc: mirimiri66@… added

Cc Me!

comment:3 Changed 14 years ago by cueball@…

Hmm. I'm already using the +no_tkinter option, but I don't want python26 at all - I'm using python27 only.

Is there a way to make the dependency either python26 or python27?

comment:4 Changed 13 years ago by maccheck@…

I think there is a dependency between this bug and #23717. I'm not deep enough in the MacPorts build system to bring in such a variant in the build dependency.

comment:5 Changed 13 years ago by myschizobuddy@…

homebrew's git formula doesn't make use of python. you sure python is required. https://github.com/mxcl/homebrew/blob/master/Library/Formula/git.rb

comment:6 Changed 13 years ago by raimue (Rainer Müller)

Homebrew has a different concept and uses tools provided by Mac OS X itself, MacPorts does not. You should not refer to Homebrew, they have a bad track record of specifying dependencies correct.

comment:7 Changed 13 years ago by bunnyhero@…

Cc: bunnyhero@… added

Cc Me!

comment:8 Changed 13 years ago by jmroot (Joshua Root)

Resolution: wontfix
Status: newclosed

This is working as intended, git-core now depends on python27, and py27-tkinter is now a separate port.

Note: See TracTickets for help on using tickets.