summaryrefslogtreecommitdiff
path: root/utils/apparmor
diff options
context:
space:
mode:
authorJeffery To <jeffery.to@gmail.com>2023-02-17 08:49:36 +0800
committerJeffery To <jeffery.to@gmail.com>2023-03-31 13:06:35 +0800
commit3ee4e7297cf07b644bac3dfafc508da5f31bf63d (patch)
treec8fd25aac930ecae3da893f0dc8bf4410de9dc8f /utils/apparmor
parentabf3f3d77c53f3c8fb564b38120366f286d5a5ed (diff)
python-setuptools-scm: Add new host-only package
The host build replaces the use of the host pip requirements file. This also updates the dependants of setuptools-scm to depend on the host build. This also removes the toml host pip requirements file as toml is not used by any other package. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
Diffstat (limited to 'utils/apparmor')
-rw-r--r--utils/apparmor/Makefile7
1 files changed, 2 insertions, 5 deletions
diff --git a/utils/apparmor/Makefile b/utils/apparmor/Makefile
index a77a17b80..f812d2a2e 100644
--- a/utils/apparmor/Makefile
+++ b/utils/apparmor/Makefile
@@ -4,7 +4,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=apparmor
PKG_VERSION:=3.0.3
-PKG_RELEASE:=$(AUTORELEASE)
+PKG_RELEASE:=5
PKG_SOURCE:=$(PKG_NAME)-v$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=https://gitlab.com/apparmor/apparmor/-/archive/v$(PKG_VERSION)
@@ -15,8 +15,7 @@ PKG_LICENSE:=GPL-2.0-only
PKG_LICENSE_FILES:=LICENSE
PKG_MAINTAINER:=Oskari Rauta <oskari.rauta@gmail.com>
-PKG_BUILD_DEPENDS:=swig/host
-HOST_PYTHON3_PACKAGE_BUILD_DEPENDS:=setuptools-scm
+PKG_BUILD_DEPENDS:=swig/host python-setuptools-scm/host
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/nls.mk
@@ -131,8 +130,6 @@ define Build/Compile
endef
define Build/Install
- # Make sure we have python's setup tools installed
- $(call Py3Build/InstallBuildDepends)
$(INSTALL_DIR) $(PKG_INSTALL_DIR)-libapparmor $(PKG_INSTALL_DIR)-utils $(PKG_INSTALL_DIR)-profiles
# Installing libapparmor
+$(MAKE_VARS) PYTHON=$(HOST_PYTHON) VERSION=$(PYTHON3_VERSION) \