mirror of
https://github.com/openwrt/packages.git
synced 2025-12-22 10:24:31 +04:00
python-twisted: Fix python3 install
The install routine was written before the fix in #8241, and wasn't sufficiently tested with that fix. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
This commit is contained in:
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=python-twisted
|
PKG_NAME:=python-twisted
|
||||||
PKG_VERSION:=18.9.0
|
PKG_VERSION:=18.9.0
|
||||||
PKG_RELEASE:=2
|
PKG_RELEASE:=3
|
||||||
|
|
||||||
PKG_SOURCE:=Twisted-$(PKG_VERSION).tar.bz2
|
PKG_SOURCE:=Twisted-$(PKG_VERSION).tar.bz2
|
||||||
PKG_SOURCE_URL:=https://files.pythonhosted.org/packages/source/T/Twisted
|
PKG_SOURCE_URL:=https://files.pythonhosted.org/packages/source/T/Twisted
|
||||||
@@ -91,7 +91,7 @@ define Py3Package/python3-twisted/install
|
|||||||
$(INSTALL_DIR) $(1)/usr/bin
|
$(INSTALL_DIR) $(1)/usr/bin
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/bin/* $(1)/usr/bin/
|
$(CP) $(PKG_INSTALL_DIR)/usr/bin/* $(1)/usr/bin/
|
||||||
for bin in $(1)/usr/bin/*; do \
|
for bin in $(1)/usr/bin/*; do \
|
||||||
mv $$$$$$$$bin $$$$$$$${bin}3 ; \
|
mv $$$$bin $$$${bin}3 ; \
|
||||||
done
|
done
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user