mirror of
https://github.com/openwrt/packages.git
synced 2026-04-16 11:22:16 +00:00
As we're seeing in various test.sh scrip runs, importing 'email' fails
with not finding 'urllib' and vice-versa.
Then via a7e96ec91 ("python3-email: add python3-urllib as dependency")
I created a circular dependency.
So, might as well merge the two packages into one (named python3-urllib)
and updates all dependencies to pull python3-urllib.
Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
55 lines
1.3 KiB
Makefile
55 lines
1.3 KiB
Makefile
#
|
|
# Copyright (C) 2021 CZ.NIC, z. s. p. o. (https://www.nic.cz/)
|
|
#
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
# See /LICENSE for more information.
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=python-eventlet
|
|
PKG_VERSION:=0.40.4
|
|
PKG_RELEASE:=2
|
|
|
|
PYPI_NAME:=eventlet
|
|
PKG_HASH:=69bef712b1be18b4930df6f0c495d2a882bf7b63aa111e7b6eeff461cfcaf26f
|
|
|
|
PKG_MAINTAINER:=Alexandru Ardelean <ardeleanalex@gmail.com>
|
|
PKG_LICENSE:=MIT
|
|
PKG_LICENSE_FILES:=LICENSE
|
|
PKG_CPE_ID:=cpe:/a:eventlet:eventlet
|
|
|
|
PKG_BUILD_DEPENDS:= \
|
|
python3/host \
|
|
python-setuptools/host \
|
|
python-hatch-vcs/host \
|
|
python-hatchling/host
|
|
|
|
include ../pypi.mk
|
|
include $(INCLUDE_DIR)/package.mk
|
|
include ../python3-package.mk
|
|
|
|
define Package/python3-eventlet
|
|
SUBMENU:=Python
|
|
SECTION:=lang
|
|
CATEGORY:=Languages
|
|
TITLE:=Python concurrent networking library
|
|
URL:=https://eventlet.net/
|
|
DEPENDS:= \
|
|
+python3-light \
|
|
+python3-dns \
|
|
+python3-greenlet \
|
|
+python3-urllib \
|
|
+python3-logging \
|
|
+python3-openssl
|
|
endef
|
|
|
|
define Package/python3-eventlet/description
|
|
Eventlet is a concurrent networking library for Python that
|
|
allows you to change how you run your code, not how you write it.
|
|
endef
|
|
|
|
$(eval $(call Py3Package,python3-eventlet))
|
|
$(eval $(call BuildPackage,python3-eventlet))
|
|
$(eval $(call BuildPackage,python3-eventlet-src))
|