Automatically compute and substitute current values for all $(AUTORELEASE) instances as this feature is deprecated and shouldn't be used. The following temporary change was made to the core: diff --git a/rules.mk b/rules.mk index 57d7995d4fa8..f16367de87a8 100644 --- a/rules.mk +++ b/rules.mk @@ -429,7 +429,7 @@ endef abi_version_str = $(subst -,,$(subst _,,$(subst .,,$(1)))) COMMITCOUNT = $(if $(DUMP),0,$(call commitcount)) -AUTORELEASE = $(if $(DUMP),0,$(call commitcount,1)) +AUTORELEASE = $(if $(DUMP),0,$(shell sed -i "s/\$$(AUTORELEASE)/$(call commitcount,1)/" $(CURDIR)/Makefile)) all: FORCE: ; And this command used to fix affected packages: for i in $(cd feeds/packages; git grep -l PKG_RELEASE:=.*AUTORELEASE | \ sed 's^.*/\([^/]*\)/Makefile^\1^';); do make package/$i/download done Signed-off-by: Paul Fertser <fercerpav@gmail.com>
36 lines
909 B
Makefile
36 lines
909 B
Makefile
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=python-stem
|
|
PKG_VERSION:=1.8.1
|
|
PKG_RELEASE:=1
|
|
|
|
PYPI_NAME:=stem
|
|
PKG_HASH:=81d43a7c668ba9d7bc1103b2e7a911e9d148294b373d27a59ae8da79ef7a3e2f
|
|
|
|
PKG_MAINTAINER:=Javier Marcet <javier@marcet.info>
|
|
PKG_LICENSE:=LGPL-3.0-only
|
|
PKG_LICENSE_FILES:=LICENSE
|
|
|
|
PYTHON3_PKG_SETUP_ARGS:=
|
|
|
|
include ../pypi.mk
|
|
include $(INCLUDE_DIR)/package.mk
|
|
include ../python3-package.mk
|
|
|
|
define Package/python3-stem
|
|
SECTION:=lang
|
|
CATEGORY:=Languages
|
|
SUBMENU:=Python
|
|
TITLE:=A controller library for Tor
|
|
URL:=https://stem.torproject.org/
|
|
DEPENDS:=+python3
|
|
endef
|
|
|
|
define Package/python3-stem/description
|
|
Stem is a Python controller library for Tor. With it you can use Tor's control
|
|
protocol to script against the Tor process, or build things such as Nyx.
|
|
endef
|
|
|
|
$(eval $(call Py3Package,python3-stem))
|
|
$(eval $(call BuildPackage,python3-stem))
|
|
$(eval $(call BuildPackage,python3-stem-src))
|