xolox/python-deb-pkg-tools — pull request #2 by dsoprea (2014-07-17 04:18:45+00:00)
Title: Compatibility-related flexibilities.

A number of choices broken Debian package building on a Mac. Your package is useful for unit-tests, regardless of the platform, so I made a couple of general changes, and allowed several other things to be overridden via environment.

- Added user-name and user-group overrides (DPT_ROOT_USER, DPT_ROOT_GROUP), for systems that don't have a 'root' group or when root isn't a desirable consideration when building packages.
- Can now disable hard-links (DPT_HARD_LINKS). The cp's "-l" parameter is not supported on Mavericks 10.9.2 .
- Replaced the "-sB" parameter with the "-sk" parameter in the "du" call. It's not supported on Mavericks 10.9.2 .
- Can now disable sudo (DPT_SUDO), since it's sometimes not desirable, and not required just to build the package (not in our Mac environment, at least).
- Added compatibility changes to doc.