python39Packages.pastedeploy: adopt into openstack team
This commit is contained in:
parent
5561c9b712
commit
1c7c0d64eb
@ -1,31 +1,26 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchFromGitHub
|
||||||
, pytest-runner
|
, pytestCheckHook
|
||||||
, pytest
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
|
pname = "pastedeploy";
|
||||||
version = "2.1.1";
|
version = "2.1.1";
|
||||||
pname = "PasteDeploy";
|
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchFromGitHub {
|
||||||
inherit pname version;
|
owner = "Pylons";
|
||||||
sha256 = "6dead6ab9823a85d585ef27f878bc647f787edb9ca8da0716aa9f1261b464817";
|
repo = pname;
|
||||||
|
rev = version;
|
||||||
|
sha256 = "sha256-9/8aM/G/EdapCZJlx0ZPzNbmw2uYjA1zGbNWJAWoeCU=";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ pytest-runner ];
|
checkInputs = [ pytestCheckHook ];
|
||||||
|
|
||||||
checkInputs = [ pytest ];
|
|
||||||
|
|
||||||
# no tests in PyPI tarball
|
|
||||||
# should be included with versions > 2.0.1
|
|
||||||
doCheck = false;
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Load, configure, and compose WSGI applications and servers";
|
description = "Load, configure, and compose WSGI applications and servers";
|
||||||
homepage = "http://pythonpaste.org/deploy/";
|
homepage = "https://github.com/Pylons/pastedeploy";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
|
maintainers = teams.openstack.members;
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
, nose
|
, nose
|
||||||
, six
|
, six
|
||||||
, paste
|
, paste
|
||||||
, PasteDeploy
|
, pastedeploy
|
||||||
, cheetah
|
, cheetah
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -18,7 +18,7 @@ buildPythonPackage rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ nose ];
|
buildInputs = [ nose ];
|
||||||
propagatedBuildInputs = [ six paste PasteDeploy cheetah ];
|
propagatedBuildInputs = [ six paste pastedeploy cheetah ];
|
||||||
|
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{ buildPythonPackage, fetchPypi, fetchpatch
|
{ buildPythonPackage, fetchPypi, fetchpatch
|
||||||
, plaster, PasteDeploy
|
, plaster, pastedeploy
|
||||||
, pytest, pytest-cov
|
, pytest, pytest-cov
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -13,7 +13,7 @@ buildPythonPackage rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
# Fix tests compatibility with PasteDeploy 2+
|
# Fix tests compatibility with pastedeploy 2+
|
||||||
# https://github.com/Pylons/plaster_pastedeploy/pull/17
|
# https://github.com/Pylons/plaster_pastedeploy/pull/17
|
||||||
(fetchpatch {
|
(fetchpatch {
|
||||||
url = "https://github.com/Pylons/plaster_pastedeploy/commit/d77d81a57e917c67a20332beca8f418651172905.patch";
|
url = "https://github.com/Pylons/plaster_pastedeploy/commit/d77d81a57e917c67a20332beca8f418651172905.patch";
|
||||||
@ -25,6 +25,6 @@ buildPythonPackage rec {
|
|||||||
py.test
|
py.test
|
||||||
'';
|
'';
|
||||||
|
|
||||||
propagatedBuildInputs = [ plaster PasteDeploy ];
|
propagatedBuildInputs = [ plaster pastedeploy ];
|
||||||
checkInputs = [ pytest pytest-cov ];
|
checkInputs = [ pytest pytest-cov ];
|
||||||
}
|
}
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
, webtest
|
, webtest
|
||||||
, zope_component
|
, zope_component
|
||||||
, hupper
|
, hupper
|
||||||
, PasteDeploy
|
, pastedeploy
|
||||||
, plaster
|
, plaster
|
||||||
, plaster-pastedeploy
|
, plaster-pastedeploy
|
||||||
, repoze_lru
|
, repoze_lru
|
||||||
@ -27,7 +27,7 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
checkInputs = [ webtest zope_component ];
|
checkInputs = [ webtest zope_component ];
|
||||||
|
|
||||||
propagatedBuildInputs = [ hupper PasteDeploy plaster plaster-pastedeploy repoze_lru translationstring venusian webob zope_deprecation zope_interface ];
|
propagatedBuildInputs = [ hupper pastedeploy plaster plaster-pastedeploy repoze_lru translationstring venusian webob zope_deprecation zope_interface ];
|
||||||
|
|
||||||
# Failing tests
|
# Failing tests
|
||||||
# https://github.com/Pylons/pyramid/issues/1899
|
# https://github.com/Pylons/pyramid/issues/1899
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
, fetchPypi
|
, fetchPypi
|
||||||
, pytest
|
, pytest
|
||||||
, FormEncode
|
, FormEncode
|
||||||
, PasteDeploy
|
, pastedeploy
|
||||||
, paste
|
, paste
|
||||||
, pydispatcher
|
, pydispatcher
|
||||||
}:
|
}:
|
||||||
@ -18,7 +18,7 @@ buildPythonPackage rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
checkInputs = [ pytest ];
|
checkInputs = [ pytest ];
|
||||||
propagatedBuildInputs = [ FormEncode PasteDeploy paste pydispatcher ];
|
propagatedBuildInputs = [ FormEncode pastedeploy paste pydispatcher ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Object Relational Manager for providing an object interface to your database";
|
description = "Object Relational Manager for providing an object interface to your database";
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
, mock
|
, mock
|
||||||
, pyquery
|
, pyquery
|
||||||
, wsgiproxy2
|
, wsgiproxy2
|
||||||
, PasteDeploy
|
, pastedeploy
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
@ -38,7 +38,7 @@ buildPythonPackage rec {
|
|||||||
checkInputs = [
|
checkInputs = [
|
||||||
nose
|
nose
|
||||||
mock
|
mock
|
||||||
PasteDeploy
|
pastedeploy
|
||||||
wsgiproxy2
|
wsgiproxy2
|
||||||
pyquery
|
pyquery
|
||||||
];
|
];
|
||||||
|
@ -55,6 +55,7 @@ mapAliases ({
|
|||||||
lammps-cython = throw "no longer builds and is unmaintained";
|
lammps-cython = throw "no longer builds and is unmaintained";
|
||||||
MechanicalSoup = mechanicalsoup; # added 2021-06-01
|
MechanicalSoup = mechanicalsoup; # added 2021-06-01
|
||||||
pam = python-pam; # added 2020-09-07.
|
pam = python-pam; # added 2020-09-07.
|
||||||
|
PasteDeploy = pastedeploy;
|
||||||
privacyidea = throw "renamed to pkgs.privacyidea"; # added 2021-06-20
|
privacyidea = throw "renamed to pkgs.privacyidea"; # added 2021-06-20
|
||||||
prometheus_client = prometheus-client; # added 2021-06-10
|
prometheus_client = prometheus-client; # added 2021-06-10
|
||||||
prompt_toolkit = prompt-toolkit;
|
prompt_toolkit = prompt-toolkit;
|
||||||
|
@ -5369,7 +5369,7 @@ in {
|
|||||||
|
|
||||||
paste = callPackage ../development/python-modules/paste { };
|
paste = callPackage ../development/python-modules/paste { };
|
||||||
|
|
||||||
PasteDeploy = callPackage ../development/python-modules/pastedeploy { };
|
pastedeploy = callPackage ../development/python-modules/pastedeploy { };
|
||||||
|
|
||||||
pastel = callPackage ../development/python-modules/pastel { };
|
pastel = callPackage ../development/python-modules/pastel { };
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user