summaryrefslogtreecommitdiff
path: root/gnu/packages/python-xyz.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-01-17 23:08:32 +0000
committerRicardo Wurmus <rekado@elephly.net>2025-01-20 21:38:04 +0100
commite7b7ec2851a77b84d41281db3bb966dae9442496 (patch)
tree45ae368b74d8d1e1412fd96ce078d6b2838ad710 /gnu/packages/python-xyz.scm
parenta3a7cf95790ffb9df7fbe55acc5baf6f0fd0d80c (diff)
gnu: python-eventlet: Move to python-web.
* gnu/packages/python-xyz.scm (python-eventlet): Move from here ... * gnu/packages/python-web.scm: ... to here. Change-Id: I71beee927f17133267bf0236f075bccf15effe0e
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r--gnu/packages/python-xyz.scm54
1 files changed, 0 insertions, 54 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 174072d45ea..56346bd1a82 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -4743,60 +4743,6 @@ XLTX and XLTM file formats that are defined by the Office Open XML (OOXML)
4743standard.") 4743standard.")
4744 (license license:expat))) 4744 (license license:expat)))
4745 4745
4746(define-public python-eventlet
4747 (package
4748 (name "python-eventlet")
4749 (version "0.38.2")
4750 (source
4751 (origin
4752 (method url-fetch)
4753 (uri (pypi-uri "eventlet" version))
4754 (sha256
4755 (base32
4756 "1b7dhy3pyp3nfv0zzjrs7i3kam40cl1nh3acy2fd59ywy4x84ika"))))
4757 (build-system pyproject-build-system)
4758 (arguments
4759 (list
4760 #:test-flags
4761 '(list "-k"
4762 (string-append
4763 "not TestGetaddrinfo"
4764 " and not TestProxyResolver"
4765 " and not test_noraise_dns_tcp"
4766 " and not test_raise_dns_tcp"
4767 " and not test_hosts_no_network"
4768 " and not test_import_rdtypes_then_eventlet"
4769 " and not test_patcher_existing_locks"
4770 " and not test_dns_methods_are_green"))
4771 #:phases
4772 '(modify-phases %standard-phases
4773 (add-after 'unpack 'avoid-OSError
4774 (lambda _
4775 ;; If eventlet tries to load greendns, an OSError is thrown when
4776 ;; getprotobyname is called. Thankfully there is an environment
4777 ;; variable to disable the greendns import, so use it:
4778 (setenv "EVENTLET_NO_GREENDNS" "yes"))))))
4779 (native-inputs
4780 (list python-hatch-vcs
4781 python-hatchling
4782 python-pytest
4783 python-twine))
4784 (propagated-inputs
4785 (list python-dnspython
4786 python-greenlet
4787 python-monotonic))
4788 (home-page "https://eventlet.net")
4789 (synopsis "Concurrent networking library for Python")
4790 (description
4791 "Eventlet is a concurrent networking library for Python that
4792allows you to change how you run your code, not how you write it.
4793It uses @code{epoll} or @code{libevent} for highly scalable non-blocking I/O.
4794Coroutines ensure that the developer uses a blocking style of programming
4795that is similar to threading, but provide the benefits of non-blocking I/O.
4796The event dispatch is implicit, which means you can easily use @code{Eventlet}
4797from the Python interpreter, or as a small part of a larger application.")
4798 (license license:expat)))
4799
4800(define-public python-sinfo 4746(define-public python-sinfo
4801 (package 4747 (package
4802 (name "python-sinfo") 4748 (name "python-sinfo")