b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame^] | 1 | include $(TOPDIR)/rules.mk |
| 2 | |
| 3 | PKG_NAME:=python-stem |
| 4 | PKG_VERSION:=1.8.2 |
| 5 | PKG_RELEASE:=1 |
| 6 | |
| 7 | PYPI_NAME:=stem |
| 8 | PKG_HASH:=83fb19ffd4c9f82207c006051480389f80af221a7e4783000aedec4e384eb582 |
| 9 | |
| 10 | PKG_MAINTAINER:=Javier Marcet <javier@marcet.info> |
| 11 | PKG_LICENSE:=LGPL-3.0-only |
| 12 | PKG_LICENSE_FILES:=LICENSE |
| 13 | |
| 14 | include ../pypi.mk |
| 15 | include $(INCLUDE_DIR)/package.mk |
| 16 | include ../python3-package.mk |
| 17 | |
| 18 | define Package/python3-stem |
| 19 | SECTION:=lang |
| 20 | CATEGORY:=Languages |
| 21 | SUBMENU:=Python |
| 22 | TITLE:=A controller library for Tor |
| 23 | URL:=https://stem.torproject.org/ |
| 24 | DEPENDS:=+python3 |
| 25 | endef |
| 26 | |
| 27 | define Package/python3-stem/description |
| 28 | Stem is a Python controller library for Tor. With it you can use Tor's control |
| 29 | protocol to script against the Tor process, or build things such as Nyx. |
| 30 | endef |
| 31 | |
| 32 | $(eval $(call Py3Package,python3-stem)) |
| 33 | $(eval $(call BuildPackage,python3-stem)) |
| 34 | $(eval $(call BuildPackage,python3-stem-src)) |