python39Packages.pastedeploy: adopt into openstack team

This commit is contained in:
Sandro Jäckel 2021-10-07 16:51:22 +02:00
parent 5561c9b712
commit 1c7c0d64eb
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5
8 changed files with 24 additions and 28 deletions

View File

@ -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;
};
}

View File

@ -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;

View File

@ -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 ];
}

View File

@ -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

View File

@ -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";

View File

@ -10,7 +10,7 @@
, mock
, pyquery
, wsgiproxy2
, PasteDeploy
, pastedeploy
}:
buildPythonPackage rec {
@ -38,7 +38,7 @@ buildPythonPackage rec {
checkInputs = [
nose
mock
PasteDeploy
pastedeploy
wsgiproxy2
pyquery
];

View File

@ -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;

View File

@ -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 { };