summary refs log tree commit diff
path: root/pkgs/tools/security/fail2ban
diff options
context:
space:
mode:
authorDomen Kožar <domen@dev.si>2014-01-06 22:24:05 +0000
committerDomen Kožar <domen@dev.si>2014-02-20 01:19:15 +0100
commitbf5d6fb9b1c12a919853f15571b5a012f87fd928 (patch)
tree475da9fd41bfeaedd15c88b2a49e6e80bfd502d1 /pkgs/tools/security/fail2ban
parente9923c649955dfdadeb016482049a8747e5fc454 (diff)
downloadnixlib-bf5d6fb9b1c12a919853f15571b5a012f87fd928.tar
nixlib-bf5d6fb9b1c12a919853f15571b5a012f87fd928.tar.gz
nixlib-bf5d6fb9b1c12a919853f15571b5a012f87fd928.tar.bz2
nixlib-bf5d6fb9b1c12a919853f15571b5a012f87fd928.tar.lz
nixlib-bf5d6fb9b1c12a919853f15571b5a012f87fd928.tar.xz
nixlib-bf5d6fb9b1c12a919853f15571b5a012f87fd928.tar.zst
nixlib-bf5d6fb9b1c12a919853f15571b5a012f87fd928.zip
Refactor buildPythonPackage to modularize building process.
Before we used `easy_install` command to handle installation
in one shot, now this is split into two phases:

 - buildPhase: python setup.py build
 - installPhase: python setup.py install

Each of those commands have the ability to pass extra
parameters through buildPythonPackage parameters as
`setupPyInstallFlags` and `setupPyBuildFlags`.

Phases now correctly execute post/pre hooks.

In configurePhase we inject setuptools dependency before distutils
is imported to apply monkeypatching by setuptools that is needed
for special features to apply.

We don't have to reorder default phases anymore, as test
phase comes after build and that works.

I rewrote offineDistutils into distutils-cfg with a bit cleaner
syntax and ability to specify extraCfg to the config file.

Plone packages are failing and garbas said he will adopt them to
the new functions. The rest of the packages I fixed and these commits
shouldn't break any package (according to my testings) and they introduce
16 new jobs and fix 38 that were broken before.
Diffstat (limited to 'pkgs/tools/security/fail2ban')
0 files changed, 0 insertions, 0 deletions