mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
Merge pull request #9067 from jefferyto/python3-chardet-rename-script
python-chardet: Rename Python 3 script
This commit is contained in:
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=python-chardet
|
PKG_NAME:=python-chardet
|
||||||
PKG_VERSION:=3.0.4
|
PKG_VERSION:=3.0.4
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=2
|
||||||
PKG_LICENSE:=LGPL-2.1
|
PKG_LICENSE:=LGPL-2.1
|
||||||
|
|
||||||
PKG_SOURCE:=chardet-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=chardet-$(PKG_VERSION).tar.gz
|
||||||
@@ -55,6 +55,14 @@ $(call Package/python-chardet/description)
|
|||||||
(Variant for Python3)
|
(Variant for Python3)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
define Py3Package/python3-chardet/install
|
||||||
|
$(INSTALL_DIR) $(1)/usr/bin
|
||||||
|
$(CP) $(PKG_INSTALL_DIR)/usr/bin/* $(1)/usr/bin/
|
||||||
|
for bin in $(1)/usr/bin/*; do \
|
||||||
|
mv $$$$bin $$$${bin}3 ; \
|
||||||
|
done
|
||||||
|
endef
|
||||||
|
|
||||||
$(eval $(call PyPackage,python-chardet))
|
$(eval $(call PyPackage,python-chardet))
|
||||||
$(eval $(call BuildPackage,python-chardet))
|
$(eval $(call BuildPackage,python-chardet))
|
||||||
$(eval $(call BuildPackage,python-chardet-src))
|
$(eval $(call BuildPackage,python-chardet-src))
|
||||||
|
|||||||
Reference in New Issue
Block a user