python-openid: remove, only keep python3-openid

see discussion on
https://github.com/NixOS/nixpkgs/commit/2e41891e6d595b9acf484d7d349b17a7b35b6923
This commit is contained in:
Robin Gloster
2018-06-29 21:37:45 +02:00
parent 9037f608ae
commit 95cb828b27
4 changed files with 6 additions and 25 deletions
@@ -1,5 +1,5 @@
{ stdenv, buildPythonPackage, fetchFromGitHub, requests, requests_oauthlib
, django, python-openid, mock, coverage }:
, django, python3-openid, mock, coverage }:
buildPythonPackage rec {
pname = "django-allauth";
@@ -13,7 +13,7 @@ buildPythonPackage rec {
sha256 = "1c863cmd521j6cwpyd50jxz5y62fdschrhm15jfqihicyr9imjan";
};
propagatedBuildInputs = [ requests requests_oauthlib django python-openid ];
propagatedBuildInputs = [ requests requests_oauthlib django python3-openid ];
checkInputs = [ coverage mock ];
@@ -1,19 +0,0 @@
{ stdenv, buildPythonPackage, fetchPypi }:
buildPythonPackage rec {
pname = "python-openid";
version = "2.2.5";
src = fetchPypi {
inherit pname version;
sha256 = "1vvhxlghjan01snfdc4k7ykd80vkyjgizwgg9bncnin8rqz1ricj";
};
doCheck = false;
meta = with stdenv.lib; {
description = "OpenID support for modern servers and consumers";
homepage = https://github.com/openid/python-openid;
license = licenses.asl20;
};
}
@@ -1,4 +1,4 @@
{ stdenv, buildPythonPackage, fetchPypi, defusedxml }:
{ stdenv, isPy3k, buildPythonPackage, fetchPypi, defusedxml }:
buildPythonPackage rec {
pname = "python3-openid";
@@ -13,6 +13,8 @@ buildPythonPackage rec {
doCheck = false;
disabled = !isPy3k;
meta = with stdenv.lib; {
description = "OpenID support for modern servers and consumers";
homepage = http://github.com/necaris/python3-openid;
+1 -3
View File
@@ -434,9 +434,7 @@ in {
python-hosts = callPackage ../development/python-modules/python-hosts { };
python-openid = callPackage (if isPy3k
then ../development/python-modules/python3-openid
else ../development/python-modules/python-openid) { };
python3-openid = callPackage ../development/python-modules/python3-openid { };
python-periphery = callPackage ../development/python-modules/python-periphery { };