python310Packages.pyramid_chameleon: fix compatibility with pyramid 2
This commit is contained in:
parent
8407184d50
commit
1980cec089
@ -1,29 +1,49 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, chameleon
|
||||
, fetchpatch
|
||||
, fetchPypi
|
||||
, pyramid
|
||||
, zope_interface
|
||||
, pytestCheckHook
|
||||
, setuptools
|
||||
, zope_interface
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyramid_chameleon";
|
||||
pname = "pyramid-chameleon";
|
||||
version = "0.3";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "d176792a50eb015d7865b44bd9b24a7bd0489fa9a5cebbd17b9e05048cef9017";
|
||||
pname = "pyramid_chameleon";
|
||||
inherit version;
|
||||
sha256 = "sha256-0XZ5KlDrAV14ZbRL2bJKe9BIn6mlzrvRe54FBIzvkBc=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# https://github.com/Pylons/pyramid_chameleon/pull/25
|
||||
./test-renderers-pyramid-import.patch
|
||||
# Compatibility with pyramid 2, https://github.com/Pylons/pyramid_chameleon/pull/34
|
||||
(fetchpatch {
|
||||
name = "support-later-limiter.patch";
|
||||
url = "https://github.com/Pylons/pyramid_chameleon/commit/36348bf4c01f52c3461e7ba4d20b1edfc54dba50.patch";
|
||||
sha256 = "sha256-cPS7JhcS8nkBS1T0OdZke25jvWHT0qkPFjyPUDKHBGU=";
|
||||
})
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [ chameleon pyramid zope_interface setuptools ];
|
||||
propagatedBuildInputs = [
|
||||
chameleon
|
||||
pyramid
|
||||
setuptools
|
||||
zope_interface
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "pyramid_chameleon" ];
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"pyramid_chameleon"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Chameleon template compiler for pyramid";
|
||||
|
Loading…
Reference in New Issue
Block a user