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