Browse Source

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>
lilik-openwrt-22.03
Jeffery To 6 years ago
parent
commit
4b16ae6a11
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      lang/python/python-twisted/Makefile

+ 2
- 2
lang/python/python-twisted/Makefile View File

@ -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


Loading…
Cancel
Save