python-ply: bump to version 3.10 and drop the host-build
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
This commit is contained in:
parent
c188fcfb7c
commit
4bec8be130
1 changed files with 10 additions and 40 deletions
|
@ -7,34 +7,26 @@
|
||||||
|
|
||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=ply
|
PKG_NAME:=python-ply
|
||||||
PKG_VERSION:=3.9
|
PKG_VERSION:=3.10
|
||||||
PKG_RELEASE:=2
|
PKG_RELEASE:=1
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=ply-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=http://www.dabeaz.com/ply
|
PKG_SOURCE_URL:=http://www.dabeaz.com/ply
|
||||||
PKG_HASH:=0d7e2940b9c57151392fceaa62b0865c45e06ce1e36687fd8d03f011a907f43e
|
PKG_HASH:=96e94af7dd7031d8d6dd6e2a8e0de593b511c211a86e28a9c9621c275ac8bacb
|
||||||
|
|
||||||
PKG_BUILD_DIR:=$(BUILD_DIR)/$(BUILD_VARIANT)-$(PKG_NAME)-$(PKG_VERSION)
|
PKG_BUILD_DIR:=$(BUILD_DIR)/$(BUILD_VARIANT)-ply-$(PKG_VERSION)
|
||||||
PKG_UNPACK=$(HOST_TAR) -C $(PKG_BUILD_DIR) --strip-components=1 -xzf $(DL_DIR)/$(PKG_SOURCE)
|
|
||||||
|
|
||||||
HOST_BUILD_DEPENDS:=
|
|
||||||
ifdef CONFIG_PACKAGE_python-ply
|
|
||||||
HOST_BUILD_DEPENDS+=python/host
|
|
||||||
endif
|
|
||||||
ifdef CONFIG_PACKAGE_python3-ply
|
|
||||||
HOST_BUILD_DEPENDS+=python3/host
|
|
||||||
endif
|
|
||||||
|
|
||||||
PKG_LICENSE:=BSD-3-Clause
|
PKG_LICENSE:=BSD-3-Clause
|
||||||
PKG_LICENSE_FILES:=README.md
|
PKG_LICENSE_FILES:=README.md
|
||||||
PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com>
|
PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com>
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/host-build.mk
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
$(call include_mk, python-package.mk)
|
$(call include_mk, python-package.mk)
|
||||||
$(call include_mk, python3-package.mk)
|
$(call include_mk, python3-package.mk)
|
||||||
|
|
||||||
|
PKG_UNPACK:=$(HOST_TAR) -C $(PKG_BUILD_DIR) --strip-components=1 -xzf $(DL_DIR)/$(PKG_SOURCE)
|
||||||
|
|
||||||
define Package/python-ply/Default
|
define Package/python-ply/Default
|
||||||
SECTION:=lang
|
SECTION:=lang
|
||||||
CATEGORY:=Languages
|
CATEGORY:=Languages
|
||||||
|
@ -45,14 +37,14 @@ endef
|
||||||
define Package/python-ply
|
define Package/python-ply
|
||||||
$(call Package/python-ply/Default)
|
$(call Package/python-ply/Default)
|
||||||
TITLE:=python-ply
|
TITLE:=python-ply
|
||||||
DEPENDS:=+python-light
|
DEPENDS:=+PACKAGE_python-ply:python-light
|
||||||
VARIANT:=python
|
VARIANT:=python
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/python3-ply
|
define Package/python3-ply
|
||||||
$(call Package/python-ply/Default)
|
$(call Package/python-ply/Default)
|
||||||
TITLE:=python3-ply
|
TITLE:=python3-ply
|
||||||
DEPENDS:=+python3-light
|
DEPENDS:=+PACKAGE_python3-ply:python3-light
|
||||||
VARIANT:=python3
|
VARIANT:=python3
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
@ -67,28 +59,6 @@ $(call Package/python-ply/description)
|
||||||
(Variant for Python3)
|
(Variant for Python3)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
ifdef CONFIG_PACKAGE_python-ply
|
|
||||||
define Host/Compile/python-ply
|
|
||||||
$(call Build/Compile/HostPyMod,,install --prefix="" --root="$(STAGING_DIR_HOSTPKG)")
|
|
||||||
endef
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifdef CONFIG_PACKAGE_python3-ply
|
|
||||||
define Host/Compile/python3-ply
|
|
||||||
$(call Build/Compile/HostPy3Mod,,install --prefix="" --root="$(STAGING_DIR_HOSTPKG)")
|
|
||||||
endef
|
|
||||||
endif
|
|
||||||
|
|
||||||
define Host/Compile
|
|
||||||
$(call Host/Compile/python-ply)
|
|
||||||
$(call Host/Compile/python3-ply)
|
|
||||||
endef
|
|
||||||
|
|
||||||
define Host/Install
|
|
||||||
endef
|
|
||||||
|
|
||||||
$(eval $(call HostBuild))
|
|
||||||
|
|
||||||
$(eval $(call PyPackage,python-ply))
|
$(eval $(call PyPackage,python-ply))
|
||||||
$(eval $(call BuildPackage,python-ply))
|
$(eval $(call BuildPackage,python-ply))
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue