Procházet zdrojové kódy

new package python-setuptools, required for u-boot

Waldemar Brodkorb před 4 měsíci
rodič
revize
61804fcf95
2 změnil soubory, kde provedl 34 přidání a 1 odebrání
  1. 33 0
      package/python-setuptools/Makefile
  2. 1 1
      package/u-boot/Makefile

+ 33 - 0
package/python-setuptools/Makefile

@@ -0,0 +1,33 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(ADK_TOPDIR)/rules.mk
+
+PKG_NAME:=		python-setuptools
+PKG_VERSION:=		69.0.3
+PKG_RELEASE:=		1
+PKG_HASH:=		be1af57fc409f93647f2e8e4573a142ed38724b8cdd389706a867bb4efcf1e78
+PKG_DESCR:=		python setuptools
+PKG_SECTION:=		dev/tools
+PKG_BUILDDEP:=		python3-host
+PKG_SITES:=		https://files.pythonhosted.org/packages/fc/c9/b146ca195403e0182a374e0ea4dbc69136bad3cd55bc293df496d625d0f7/
+
+DISTFILES:=             setuptools-$(PKG_VERSION).tar.gz
+
+WRKDIST=		$(WRKDIR)/setuptools-$(PKG_VERSION)
+
+include ${ADK_TOPDIR}/mk/host.mk
+include $(ADK_TOPDIR)/mk/package.mk
+
+$(eval $(call HOST_template,PYTHON_SETUPTOOLS,python-setuptools,${PKG_VERSION}-${PKG_RELEASE}))
+
+include $(ADK_TOPDIR)/mk/python3.mk
+
+HOST_STYLE:=		manual
+
+python-setuptools-hostinstall:
+	(cd $(WRKBUILD); PATH='$(HOST_PATH)' python3 ./setup.py install \
+		--prefix=$(STAGING_HOST_DIR)/usr)
+
+include ${ADK_TOPDIR}/mk/host-bottom.mk
+include $(ADK_TOPDIR)/mk/pkg-bottom.mk

+ 1 - 1
package/u-boot/Makefile

@@ -10,7 +10,7 @@ PKG_HASH:=		e00e6c6f014e046101739d08d06f328811cebcf5ae101348f409cbbd55ce6900
 PKG_DESCR:=		portable bootloader
 PKG_SECTION:=		base/boot
 HOST_BUILDDEP:=		libressl-host dtc-host
-PKG_BUILDDEP:=		python3-host swig-host u-boot-host
+PKG_BUILDDEP:=		python3-host python-setuptools-host swig-host u-boot-host
 PKG_URL:=		http://www.denx.de/wiki/U-Boot	
 PKG_SITES:=		ftp://ftp.denx.de/pub/u-boot/