pypy3Packages.greenlet: Set null for pypi

Greenlet is provided as a built-in package on pypy and uninstalling and
replacing it does not work.

Set it to null, to make it disappear as a dependency, instead of marking
it as disabled, which also disables reverse dependencies.

Co-Authored-By: Jean-Paul Calderone <exarkun@twistedmatrix.com>
This commit is contained in:
Martin Weinelt 2023-03-18 09:53:05 +01:00
parent 1ec2a95c67
commit 63a3c7c636
No known key found for this signature in database
GPG key ID: 87C1E9888F856759
2 changed files with 2 additions and 2 deletions

View file

@ -12,7 +12,6 @@ buildPythonPackage rec {
pname = "greenlet";
version = "2.0.2";
format = "setuptools";
disabled = isPyPy; # builtin for pypy
src = fetchPypi {
inherit pname version;

View file

@ -4180,7 +4180,8 @@ self: super: with self; {
greeneye-monitor = callPackage ../development/python-modules/greeneye-monitor { };
greenlet = callPackage ../development/python-modules/greenlet { };
# built-in for pypi
greenlet = if isPyPy then null else callPackage ../development/python-modules/greenlet { };
grequests = callPackage ../development/python-modules/grequests { };