From: Eneas U de Queiroz Date: Wed, 31 Oct 2018 10:54:27 +0000 (-0300) Subject: pytz: add package/InstallDev X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=455cde8128c3c966ae9ef15f533cdc0e7ea406e0;p=feed%2Fpackages.git pytz: add package/InstallDev Building would not work for packages that depended on this when the build directory was deleted after compiled, so they failed when BUILDBOT=y. Signed-off-by: Eneas U de Queiroz --- diff --git a/lang/python/pytz/Makefile b/lang/python/pytz/Makefile index b5b52bc389..fc51478f00 100644 --- a/lang/python/pytz/Makefile +++ b/lang/python/pytz/Makefile @@ -37,6 +37,13 @@ define Build/Compile $(call Build/Compile/PyMod,,install --prefix=/usr --root=$(PKG_INSTALL_DIR)) endef +define Package/pytz/InstallDev + $(INSTALL_DIR) $(1)$(PYTHON_PKG_DIR) + $(CP) \ + $(PKG_INSTALL_DIR)$(PYTHON_PKG_DIR)/* \ + $(1)$(PYTHON_PKG_DIR) +endef + define Package/pytz/install $(INSTALL_DIR) $(1)$(PYTHON_PKG_DIR) $(CP) \