diff --git a/lang/python/python-blinker/Makefile b/lang/python/python-blinker/Makefile new file mode 100644 index 0000000000..29ea16cca4 --- /dev/null +++ b/lang/python/python-blinker/Makefile @@ -0,0 +1,40 @@ +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +include $(TOPDIR)/rules.mk + +PKG_NAME:=python-blinker +PKG_VERSION:=1.9.0 +PKG_RELEASE:=1 + +PYPI_NAME:=blinker +PKG_HASH:=b4ce2265a7abece45e7cc896e98dbebe6cead56bcf805a3d23136d145f5445bf + +PKG_MAINTAINER:=Alexandru Ardelean +PKG_LICENSE:=MIT +PKG_LICENSE_FILES:=LICENSE.txt + +PKG_BUILD_DEPENDS:=python-flit-core/host + +include ../pypi.mk +include $(INCLUDE_DIR)/package.mk +include ../python3-package.mk + +define Package/python3-blinker + SECTION:=lang + CATEGORY:=Languages + SUBMENU:=Python + TITLE:=Fast, simple object-to-object and broadcast signaling + URL:=https://blinker.readthedocs.io/ + DEPENDS:=+python3-light +endef + +define Package/python3-blinker/description +Blinker provides fast, simple object-to-object and broadcast signaling +for Python objects. It is used by Flask to implement its signal system. +endef + +$(eval $(call Py3Package,python3-blinker)) +$(eval $(call BuildPackage,python3-blinker)) +$(eval $(call BuildPackage,python3-blinker-src)) diff --git a/lang/python/python-blinker/test.sh b/lang/python/python-blinker/test.sh new file mode 100644 index 0000000000..18d2efbfb1 --- /dev/null +++ b/lang/python/python-blinker/test.sh @@ -0,0 +1,37 @@ +#!/bin/sh + +[ "$1" = python3-blinker ] || exit 0 + +python3 - <