pythonPackages.beaker: 1.10.1 -> 1.11.0
This commit is contained in:
parent
2ec9a72b80
commit
4c42246cf9
@ -1,6 +1,8 @@
|
|||||||
{ lib
|
{ stdenv
|
||||||
|
, lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
|
, glibcLocales
|
||||||
, nose
|
, nose
|
||||||
, pylibmc
|
, pylibmc
|
||||||
, memcached
|
, memcached
|
||||||
@ -19,14 +21,14 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "Beaker";
|
pname = "Beaker";
|
||||||
version = "1.10.1";
|
version = "1.11.0";
|
||||||
|
|
||||||
# The pypy release do not contains the tests
|
# The pypy release do not contains the tests
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "bbangert";
|
owner = "bbangert";
|
||||||
repo = "beaker";
|
repo = "beaker";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "0xrvg503xmi28w0hllr4s7fkap0p09fgw2wax3p1s2r6b3xjvbz7";
|
sha256 = "059sc7iar90lc2y9mppdis5ddfcxyirz03gmsfb0307f5dsa1dhj";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
@ -39,16 +41,16 @@ buildPythonPackage rec {
|
|||||||
];
|
];
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
nose
|
glibcLocales
|
||||||
mock
|
|
||||||
webtest
|
|
||||||
pylibmc
|
|
||||||
memcached
|
memcached
|
||||||
redis
|
mock
|
||||||
|
nose
|
||||||
|
pylibmc
|
||||||
pymongo
|
pymongo
|
||||||
|
redis
|
||||||
|
webtest
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
||||||
# Can not run memcached tests because it immediately tries to connect
|
# Can not run memcached tests because it immediately tries to connect
|
||||||
postPatch = lib.optionalString isPy3k ''
|
postPatch = lib.optionalString isPy3k ''
|
||||||
substituteInPlace setup.py \
|
substituteInPlace setup.py \
|
||||||
@ -66,6 +68,7 @@ buildPythonPackage rec {
|
|||||||
nosetests \
|
nosetests \
|
||||||
-e ".*test_ext_.*" \
|
-e ".*test_ext_.*" \
|
||||||
-e "test_upgrade" \
|
-e "test_upgrade" \
|
||||||
|
${lib.optionalString (!stdenv.isLinux) ''-e "test_cookie_expires_different_locale"''} \
|
||||||
-vv tests
|
-vv tests
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user