2 # Copyright (C) 2006-2011, 2015-2016 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE
:=Twisted-
$(PKG_VERSION
).
tar.bz2
15 PKG_SOURCE_URL
:=https
://pypi.python.org
/packages
/6b
/23/8dbe86fc83215015e221fbd861a545c6ec5c9e9cd7514af114d1f64084ab \
16 http
://twistedmatrix.com
/Releases
/Twisted
/16.4
17 PKG_MD5SUM
:=c6d09bdd681f538369659111f079c29d
19 PKG_BUILD_DIR
:=$(BUILD_DIR
)/Twisted-
$(PKG_VERSION
)
20 PKG_BUILD_DEPENDS
:=python python-setuptools USE_MUSL
:librpc
23 PKG_LICENSE_FILES
:=LICENSE
24 PKG_MAINTAINER
:=Jeffery To
<jeffery.to@gmail.com
>
26 include $(INCLUDE_DIR
)/package.mk
27 $(call include_mk
, python-package.mk
)
29 define Package
/twisted
33 TITLE
:=Python networking engine
34 URL
:=http
://twistedmatrix.com
/
35 DEPENDS
:=+python-light
+zope-interface
38 define Package
/twisted
/description
39 Twisted is a networking engine written in Python
, supporting numerous
40 protocols. It contains a web server
, numerous chat clients
, chat servers
,
41 mail servers
, and more.
44 define PyPackage
/twisted
/filespec
48 -|
$(PYTHON_PKG_DIR
)/twisted
/conch
/scripts
/tkconch.py
52 $(call Build
/Compile
/PyMod
,, \
53 install --prefix="/usr" --root
="$(PKG_INSTALL_DIR)" --no-compile
, \
57 $(eval
$(call PyPackage
,twisted
))
58 $(eval
$(call BuildPackage
,twisted
))