Browse Source

Merge pull request #8252 from jefferyto/python-txsocksx-python-twisted

python-txsocks: Fix twisted dependency
lilik-openwrt-22.03
Hannu Nyman 6 years ago
committed by GitHub
parent
commit
89df405736
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 9 deletions
  1. +5
    -9
      lang/python/python-txsocksx/Makefile

+ 5
- 9
lang/python/python-txsocksx/Makefile View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=python-txsocksx
PKG_VERSION:=1.15.0.2
PKG_RELEASE:=2
PKG_RELEASE:=3
PKG_SOURCE:=txsocksx-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://pypi.python.org/packages/source/t/txsocksx
@ -26,6 +26,9 @@ include ../python-package.mk
PKG_UNPACK:=$(HOST_TAR) -C $(PKG_BUILD_DIR) --strip-components=1 -xzf $(DL_DIR)/$(PKG_SOURCE)
PYTHON_PKG_SETUP_VARS:= \
PKG_VERSION="$(PKG_VERSION)"
define Package/python-txsocksx/Default
SECTION:=lang
CATEGORY:=Languages
@ -39,7 +42,7 @@ $(call Package/python-txsocksx/Default)
DEPENDS:= \
+PACKAGE_python-txsocksx:python-light \
+PACKAGE_python-txsocksx:python-parsley \
+PACKAGE_python-txsocksx:twisted
+PACKAGE_python-txsocksx:python-twisted
VARIANT:=python
endef
@ -48,13 +51,6 @@ txsocksx is SOCKS4/4a and SOCKS5 client endpoints for Twisted 10.1 or
greater.
endef
define PyBuild/Compile
$(call Build/Compile/PyMod,, \
install --prefix="/usr" --root="$(PKG_INSTALL_DIR)", \
PKG_VERSION="$(PKG_VERSION)" \
)
endef
$(eval $(call PyPackage,python-txsocksx))
$(eval $(call BuildPackage,python-txsocksx))
$(eval $(call BuildPackage,python-txsocksx-src))

Loading…
Cancel
Save