buildbot: bump to version 0.8.7p1 (latest stable)
* 0.8.7p1 doesn't contain *.info documentation; use manpage instead * Update meta.description to not contain the package name (redundant) * 0.8.7p1 only builds with python dateutil==1.5, so that has to be added as well Runtime tested with the buildbot slave that is added in the next commit.
This commit is contained in:
parent
9a08612286
commit
a36577367e
|
@ -1,12 +1,20 @@
|
|||
{ fetchurl, stdenv, buildPythonPackage, twisted, texinfo }:
|
||||
{ stdenv, buildPythonPackage, fetchurl, twisted, dateutil, jinja2
|
||||
, sqlalchemy , sqlalchemy_migrate
|
||||
, enableDebugClient ? false, pygobject ? null, pyGtkGlade ? null
|
||||
}:
|
||||
|
||||
# enableDebugClient enables "buildbot debugclient", a Gtk-based debug control
|
||||
# panel. Its mostly for developers.
|
||||
|
||||
assert enableDebugClient -> pygobject != null && pyGtkGlade != null;
|
||||
|
||||
buildPythonPackage (rec {
|
||||
name = "buildbot-0.7.11p3";
|
||||
name = "buildbot-0.8.7p1";
|
||||
namePrefix = "";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/buildbot/${name}.tar.gz";
|
||||
sha256 = "0h77ijf5iqvc8bnfxpsh3hvpr7wj23pkcywd3hcyphv1wwlhmhjv";
|
||||
url = "http://buildbot.googlecode.com/files/${name}.tar.gz";
|
||||
sha256 = "0xjpk8510fhryl1g4mczz319h62il8hw9rh1rzvsfmffgf43zvld";
|
||||
};
|
||||
|
||||
patchPhase =
|
||||
|
@ -19,17 +27,27 @@ buildPythonPackage (rec {
|
|||
done
|
||||
'';
|
||||
|
||||
buildInputs = [ texinfo ];
|
||||
propagatedBuildInputs = [ twisted ];
|
||||
buildInputs = [ ];
|
||||
|
||||
# FIXME: Some tests fail.
|
||||
propagatedBuildInputs =
|
||||
[ twisted dateutil jinja2 sqlalchemy sqlalchemy_migrate
|
||||
] ++ stdenv.lib.optional enableDebugClient [ pygobject pyGtkGlade ];
|
||||
|
||||
# What's up with this?! 'trial' should be 'test', no?
|
||||
#
|
||||
# running tests
|
||||
# usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
|
||||
# or: setup.py --help [cmd1 cmd2 ...]
|
||||
# or: setup.py --help-commands
|
||||
# or: setup.py cmd --help
|
||||
#
|
||||
# error: invalid command 'trial'
|
||||
doCheck = false;
|
||||
|
||||
postInstall =
|
||||
'' mkdir -p "$out/share/info"
|
||||
make -C docs buildbot.info
|
||||
cp -v "docs/buildbot.info"* "$out/share/info"
|
||||
'';
|
||||
postInstall = ''
|
||||
mkdir -p "$out/share/man/man1"
|
||||
cp docs/buildbot.1 "$out/share/man/man1"
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = http://buildbot.net/;
|
||||
|
@ -37,7 +55,7 @@ buildPythonPackage (rec {
|
|||
license = "GPLv2+";
|
||||
|
||||
# Of course, we don't really need that on NixOS. :-)
|
||||
description = "BuildBot, a system to automate the software compile/test cycle";
|
||||
description = "Continuous integration system that automates the build/test cycle";
|
||||
|
||||
longDescription =
|
||||
'' The BuildBot is a system to automate the compile/test cycle
|
||||
|
|
|
@ -3102,7 +3102,8 @@ let
|
|||
bison = callPackage ../development/tools/parsing/bison { };
|
||||
|
||||
buildbot = callPackage ../development/tools/build-managers/buildbot {
|
||||
inherit (pythonPackages) twisted;
|
||||
inherit (pythonPackages) twisted jinja2 sqlalchemy sqlalchemy_migrate;
|
||||
dateutil = pythonPackages.dateutil_1_5;
|
||||
};
|
||||
|
||||
byacc = callPackage ../development/tools/parsing/byacc { };
|
||||
|
|
|
@ -868,6 +868,24 @@ pythonPackages = python.modules // rec {
|
|||
};
|
||||
});
|
||||
|
||||
# Buildbot 0.8.7p1 needs dateutil==1.5
|
||||
dateutil_1_5 = buildPythonPackage (rec {
|
||||
name = "dateutil-1.5";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://pypi.python.org/packages/source/p/python-dateutil/python-${name}.tar.gz";
|
||||
sha256 = "02dhw57jf5kjcp7ng1if7vdrbnlpb9yjmz7wygwwvf3gni4766bg";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ pythonPackages.six ];
|
||||
|
||||
meta = {
|
||||
description = "Powerful extensions to the standard datetime module";
|
||||
homepage = http://pypi.python.org/pypi/python-dateutil;
|
||||
license = "BSD-style";
|
||||
};
|
||||
});
|
||||
|
||||
|
||||
decorator = buildPythonPackage rec {
|
||||
name = "decorator-3.3.1";
|
||||
|
|
Loading…
Reference in New Issue