Merge pull request #22297 from nand0p/buildbot-0.9.3

buildbot: 0.9.0.post1 -> 0.9.3
This commit is contained in:
Daniel Peebles
2017-02-09 11:15:03 -05:00
committed by GitHub
10 changed files with 250 additions and 61 deletions

View File

@@ -0,0 +1,19 @@
{ stdenv, buildPythonPackage, fetchurl }:
buildPythonPackage rec {
name = "${pname}-${version}";
pname = "incremental";
version = "16.10.1";
src = fetchurl {
url = "mirror://pypi/i/${pname}/${name}.tar.gz";
sha256 = "0hh382gsj5lfl3fsabblk2djngl4n5yy90xakinasyn41rr6pb8l";
};
meta = with stdenv.lib; {
homepage = http://github.com/twisted/treq;
description = "Incremental is a small library that versions your Python projects";
license = licenses.mit;
maintainers = with maintainers; [ nand0p ];
};
}

View File

@@ -0,0 +1,51 @@
{ stdenv, fetchurl, buildPythonPackage, service-identity, requests2,
six, mock, twisted, incremental, coreutils, gnumake, pep8, sphinx,
openssl, pyopenssl }:
buildPythonPackage rec {
name = "${pname}-${version}";
pname = "treq";
version = "16.12.0";
src = fetchurl {
url = "mirror://pypi/t/${pname}/${name}.tar.gz";
sha256 = "1aci3f3rmb5mdf4s6s4k4kghmnyy784cxgi3pz99m5jp274fs25h";
};
buildInputs = [
pep8
mock
];
propagatedBuildInputs = [
service-identity
requests2
twisted
incremental
sphinx
six
openssl
pyopenssl
];
checkPhase = ''
${pep8}/bin/pep8 --ignore=E902 treq
trial treq
'';
doCheck = false;
# Failure: twisted.web._newclient.RequestTransmissionFailed: [<twisted.python.failure.Failure OpenSSL.SSL.Error: [('SSL routines', 'ssl3_get_server_certificate', 'certificate verify failed')]>]
postBuild = ''
${coreutils}/bin/mkdir -pv treq
${coreutils}/bin/echo "${version}" | ${coreutils}/bin/tee treq/_version
cd docs && ${gnumake}/bin/make html && cd ..
'';
meta = with stdenv.lib; {
homepage = http://github.com/twisted/treq;
description = "A requests-like API built on top of twisted.web's Agent";
license = licenses.mit;
maintainers = with maintainers; [ nand0p ];
};
}