3
0
Fork 0
forked from mirrors/nixpkgs
Commit graph

11 commits

Author SHA1 Message Date
Peter Simons 93b18ceb30 pkgs/development/python-modules/generic: parameterize build/install command
The generic 'buildPythonPackage' function used to use the build/install command
"easy_install" unconditionally. That didn't work for python-numpy, for
instance, because the package wants "setup.py" run with additional parameters
to determine the fortran compiler of choice. The newly introduced function
argument 'installCommand' allows to implement this. By passing that parameter,
the default build command can be overridden.

svn path=/nixpkgs/trunk/; revision=22786
2010-07-28 13:05:04 +00:00
Eelco Dolstra e2a374799f * Reverted most of the recent Python refactorings, as discussed. It's
a worthy goal to move the Python packages that are currently in
  all-packages.nix into a single attribute set, but this doesn't
  require moving python-packages.nix or the other changes made to that
  file.  The Python packages in all-packages.nix should simply be
  moved to python-packages.nix, and ideally changed to use
  buildPythonPackage.

svn path=/nixpkgs/trunk/; revision=21196
2010-04-21 10:51:15 +00:00
Marc Weber 8c0b7e4ad2 - adding experimental python31 build
- cleanup python libraries:
 * moving all python libraries into a attr set into a directory
   so that expressions can be used for both: python 2.5 and 2.6 easily
 * disabling packages which don't build

svn path=/nixpkgs/trunk/; revision=21142
2010-04-17 18:28:25 +00:00
Ludovic Courtès 72d59e3920 buildPythonPackage: Adapt to the cross-build-aware `stdenv'.
svn path=/nixpkgs/trunk/; revision=20306
2010-03-01 13:12:56 +00:00
Ludovic Courtès 4a4f864c6f buildPythonPackage: Allow checkPhase' and postInstall' to be customized.
svn path=/nixpkgs/trunk/; revision=16675
2009-08-11 16:25:41 +00:00
Ludovic Courtès 42161470ae buildPythonPackage: Wrap binaries with an appropriate $PATH.
svn path=/nixpkgs/trunk/; revision=16081
2009-06-28 21:00:36 +00:00
Ludovic Courtès a84297a6e3 buildPythonPackage: Inherit extra attributes from its argument.
svn path=/nixpkgs/trunk/; revision=16080
2009-06-28 14:05:41 +00:00
Ludovic Courtès 705205340b buildPythonPackage: Allow callers to get rid of the `python-' name prefix.
svn path=/nixpkgs/trunk/; revision=16079
2009-06-28 13:44:21 +00:00
Ludovic Courtès 010edd3739 buildPythonPackage: Simplify attribute inheritance.
Suggested by Eelco Dolstra.

svn path=/nixpkgs/trunk/; revision=15731
2009-05-26 10:03:33 +00:00
Ludovic Courtès 4fc80e9497 buildPythonPackage: Handle patches.
svn path=/nixpkgs/trunk/; revision=15708
2009-05-24 21:14:32 +00:00
Ludovic Courtès 7c34f5744b Add a `buildPythonPackage' function.
svn path=/nixpkgs/trunk/; revision=15706
2009-05-24 21:02:59 +00:00