buildbot: 2.4.1 -> 2.5.0

This commit is contained in:
Ben Wolsieffer 2019-10-26 21:27:30 -04:00 committed by Jon
parent ac8d850878
commit a1c3a7fa24
4 changed files with 55 additions and 26 deletions

View File

@ -1,9 +1,9 @@
{ stdenv, lib, buildPythonPackage, fetchPypi, makeWrapper, isPy3k, { stdenv, lib, buildPythonPackage, fetchPypi, fetchpatch, makeWrapper, isPy3k,
python, twisted, jinja2, zope_interface, future, sqlalchemy, python, twisted, jinja2, zope_interface, future, sqlalchemy,
sqlalchemy_migrate, dateutil, txaio, autobahn, pyjwt, pyyaml, treq, sqlalchemy_migrate, dateutil, txaio, autobahn, pyjwt, pyyaml, treq,
txrequests, pyjade, boto3, moto, mock, python-lz4, setuptoolsTrial, txrequests, pyjade, boto3, moto, mock, python-lz4, setuptoolsTrial,
isort, pylint, flake8, buildbot-worker, buildbot-pkg, parameterized, isort, pylint, flake8, buildbot-worker, buildbot-pkg, buildbot-plugins,
git, glibcLocales }: parameterized, git, openssh, glibcLocales }:
let let
withPlugins = plugins: buildPythonPackage { withPlugins = plugins: buildPythonPackage {
@ -29,7 +29,7 @@ let
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "e4e6b2861c4f29ed5d84ca497ca7053ae1cc9b9a5387389c457ff9f7e651bf19"; sha256 = "06dza7kggybz8nf3i1skkadwrq9s0nkpqjfahifysaag3j3b5rp4";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
@ -63,8 +63,10 @@ let
flake8 flake8
buildbot-worker buildbot-worker
buildbot-pkg buildbot-pkg
buildbot-plugins.www
parameterized parameterized
git git
openssh
glibcLocales glibcLocales
]; ];
@ -72,6 +74,13 @@ let
# This patch disables the test that tries to read /etc/os-release which # This patch disables the test that tries to read /etc/os-release which
# is not accessible in sandboxed builds. # is not accessible in sandboxed builds.
./skip_test_linux_distro.patch ./skip_test_linux_distro.patch
# Work around https://github.com/glyph/automat/issues/117
(fetchpatch {
url = "https://git.archlinux.org/svntogit/community.git/plain/trunk/buildbot-automat-117.diff?h=packages/buildbot&id=7904292340f98578adfe783a09e9eb4c5b1d4632";
name = "buildbot-automat-117.diff";
stripLen = 1;
sha256 = "0rng6f8nvghkihajz9m925rdp9q3c395bj4wc7r2s1minv613hba";
})
]; ];
postPatch = '' postPatch = ''
@ -93,7 +102,7 @@ let
}; };
meta = with lib; { meta = with lib; {
homepage = http://buildbot.net/; homepage = "https://buildbot.net/";
description = "Buildbot is an open-source continuous integration framework for automating software build, test, and release processes"; description = "Buildbot is an open-source continuous integration framework for automating software build, test, and release processes";
maintainers = with maintainers; [ nand0p ryansydnor lopsided98 ]; maintainers = with maintainers; [ nand0p ryansydnor lopsided98 ];
license = licenses.gpl2; license = licenses.gpl2;

View File

@ -1,4 +1,4 @@
{ lib, buildPythonPackage, fetchPypi }: { lib, buildPythonPackage, fetchPypi, isPy3k }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "buildbot-pkg"; pname = "buildbot-pkg";
@ -6,7 +6,7 @@ buildPythonPackage rec {
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "7c5b508c8c0d2fef5cdf4001c9f1e848f06fe8d6c30d8dff571a1a1fd251c9d7"; sha256 = "1my9a791y6hsazzqs3f3svl6zw28x3qwj0a0vxffybqdij650nvw";
}; };
postPatch = '' postPatch = ''
@ -15,8 +15,10 @@ buildPythonPackage rec {
substituteInPlace buildbot_pkg.py --replace "os.listdir = listdir" "" substituteInPlace buildbot_pkg.py --replace "os.listdir = listdir" ""
''; '';
disabled = !isPy3k;
meta = with lib; { meta = with lib; {
homepage = http://buildbot.net/; homepage = "https://buildbot.net/";
description = "Buildbot Packaging Helper"; description = "Buildbot Packaging Helper";
maintainers = with maintainers; [ nand0p ryansydnor lopsided98 ]; maintainers = with maintainers; [ nand0p ryansydnor lopsided98 ];
license = licenses.gpl2; license = licenses.gpl2;

View File

@ -1,4 +1,4 @@
{ lib, buildPythonPackage, fetchPypi, buildbot, buildbot-pkg, mock }: { lib, buildPythonPackage, fetchPypi, buildbot-pkg, mock }:
{ {
www = buildPythonPackage rec { www = buildPythonPackage rec {
@ -7,13 +7,23 @@
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "0l4kyxh62y86cw97101gjs42n1sdw1n18cgh6mm337gzjn42nv3x"; sha256 = "0awy96pb9s9g0nrmlrvqf5zi878z6mvj653inf9sm89x601a6lp1";
}; };
buildInputs = [ buildbot buildbot-pkg mock ]; # Remove unneccessary circular dependency on buildbot
postPatch = ''
sed -i setup.py \
-e "/import buildbot/d" \
-e "s/'buildbot',//"
'';
buildInputs = [ buildbot-pkg mock ];
# No tests
doCheck = false;
meta = with lib; { meta = with lib; {
homepage = http://buildbot.net/; homepage = "https://buildbot.net/";
description = "Buildbot UI"; description = "Buildbot UI";
maintainers = with maintainers; [ nand0p ryansydnor lopsided98 ]; maintainers = with maintainers; [ nand0p ryansydnor lopsided98 ];
license = licenses.gpl2; license = licenses.gpl2;
@ -26,14 +36,16 @@
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "1s0jl5b9zd7iwxqfb2g145nzf5nx6q44x4y1axkzilkd777162cz"; sha256 = "0bp7bbq6rq1kdg3pf8plcpc4amam0pks5dlmyqj6bn29skfa5h1j";
}; };
buildInputs = [ buildbot-pkg ]; buildInputs = [ buildbot-pkg ];
checkInputs = [ buildbot ];
# No tests
doCheck = false;
meta = with lib; { meta = with lib; {
homepage = http://buildbot.net/; homepage = "https://buildbot.net/";
description = "Buildbot Console View Plugin"; description = "Buildbot Console View Plugin";
maintainers = with maintainers; [ nand0p ryansydnor lopsided98 ]; maintainers = with maintainers; [ nand0p ryansydnor lopsided98 ];
license = licenses.gpl2; license = licenses.gpl2;
@ -46,14 +58,16 @@
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "0qld1424d4qvf08qz5ibl3pv0qzj0qxrvgra5dr3wagaq3jfh3kz"; sha256 = "1mxxkqzh4a6574n2lk2ndi77d9g93hjpkwsqizj911n6ibsn4qw3";
}; };
buildInputs = [ buildbot-pkg ]; buildInputs = [ buildbot-pkg ];
checkInputs = [ buildbot ];
# No tests
doCheck = false;
meta = with lib; { meta = with lib; {
homepage = http://buildbot.net/; homepage = "https://buildbot.net/";
description = "Buildbot Waterfall View Plugin"; description = "Buildbot Waterfall View Plugin";
maintainers = with maintainers; [ nand0p ryansydnor lopsided98 ]; maintainers = with maintainers; [ nand0p ryansydnor lopsided98 ];
license = licenses.gpl2; license = licenses.gpl2;
@ -66,14 +80,16 @@
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "1di8w9dzalg3d2k3wff682irbi8dcksysc9n176zncmkbi2pr2ia"; sha256 = "1fkrd5crbgqgp8mr8qgfy559f59ys6hrspddzk3fwg5hrsckkjwr";
}; };
buildInputs = [ buildbot-pkg ]; buildInputs = [ buildbot-pkg ];
checkInputs = [ buildbot ];
# No tests
doCheck = false;
meta = with lib; { meta = with lib; {
homepage = http://buildbot.net/; homepage = "https://buildbot.net/";
description = "Buildbot Grid View Plugin"; description = "Buildbot Grid View Plugin";
maintainers = with maintainers; [ nand0p lopsided98 ]; maintainers = with maintainers; [ nand0p lopsided98 ];
license = licenses.gpl2; license = licenses.gpl2;
@ -86,14 +102,16 @@
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "0gh6ddczlga75n6fh9pkbv39x8p3b6pqviaj287wab27wimd1hxa"; sha256 = "0cvbizcc92df08xcs8w6ah51yfilxz7sx9g8bbdrvw6m586ziczb";
}; };
buildInputs = [ buildbot-pkg ]; buildInputs = [ buildbot-pkg ];
checkInputs = [ buildbot ];
# No tests
doCheck = false;
meta = with lib; { meta = with lib; {
homepage = http://buildbot.net/; homepage = "https://buildbot.net/";
description = "Buildbot WSGI dashboards Plugin"; description = "Buildbot WSGI dashboards Plugin";
maintainers = with maintainers; [ lopsided98 ]; maintainers = with maintainers; [ lopsided98 ];
license = licenses.gpl2; license = licenses.gpl2;

View File

@ -7,7 +7,7 @@ buildPythonPackage (rec {
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "8330cf314064516648e78d2685b2eaae14fc9481351eb229f1392b38bdc18815"; sha256 = "05c8q6ykharry4lv47imh6agq55fxar8a9ldwx46clb480qwyc43";
}; };
propagatedBuildInputs = [ twisted future ]; propagatedBuildInputs = [ twisted future ];
@ -20,7 +20,7 @@ buildPythonPackage (rec {
''; '';
meta = with lib; { meta = with lib; {
homepage = http://buildbot.net/; homepage = "https://buildbot.net/";
description = "Buildbot Worker Daemon"; description = "Buildbot Worker Daemon";
maintainers = with maintainers; [ nand0p ryansydnor lopsided98 ]; maintainers = with maintainers; [ nand0p ryansydnor lopsided98 ];
license = licenses.gpl2; license = licenses.gpl2;