diff options
| author | Jeffery To <jeffery.to@gmail.com> | 2020-04-17 22:23:39 +0800 |
|---|---|---|
| committer | Jeffery To <jeffery.to@gmail.com> | 2020-04-19 01:56:23 +0800 |
| commit | 1bc2f4f3c6216ece87f0821d68e4e25f821dc382 (patch) | |
| tree | a78727b5f600f03c61807f42e13328d2847625a7 /net | |
| parent | 9636f6f4477c228e0b3c23f4082b53ab7c61f3ce (diff) | |
treewide: Remove Python variants for non-Python packages
This removes Python-related build variants, and adds
PYTHON3_PKG_BUILD:=0 and minor build adjustments (where appropriate),
for non-Python packages. There should be no changes to build output.
This also updates some include paths for python3-package.mk and/or
python3-host.mk to be relative to the package Makefile.
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
Diffstat (limited to 'net')
| -rw-r--r-- | net/freeradius3/Makefile | 4 | ||||
| -rw-r--r-- | net/nmap/Makefile | 12 | ||||
| -rw-r--r-- | net/openvswitch/Makefile | 1 | ||||
| -rw-r--r-- | net/radicale/Makefile | 3 | ||||
| -rw-r--r-- | net/radicale2/Makefile | 3 | ||||
| -rw-r--r-- | net/samba4/Makefile | 7 | ||||
| -rw-r--r-- | net/sysrepo/Makefile | 1 | ||||
| -rw-r--r-- | net/uwsgi/Makefile | 1 |
8 files changed, 17 insertions, 15 deletions
diff --git a/net/freeradius3/Makefile b/net/freeradius3/Makefile index ef32b33cc..a7085a94c 100644 --- a/net/freeradius3/Makefile +++ b/net/freeradius3/Makefile @@ -22,6 +22,7 @@ PKG_CPE_ID:=cpe:/a:freeradius:freeradius PKG_BUILD_DIR:=$(BUILD_DIR)/freeradius-server-$(PKG_VERSION) PKG_FIXUP:=autoreconf +PYTHON3_PKG_BUILD:=0 PKG_CONFIG_DEPENDS := \ FREERADIUS3_OPENSSL \ @@ -30,7 +31,7 @@ PKG_CONFIG_DEPENDS := \ CFLAGS += $(FPIC) include $(INCLUDE_DIR)/package.mk -include $(TOPDIR)/feeds/packages/lang/python/python3-package.mk +include ../../lang/python/python3-package.mk define Package/freeradius3/config source "$(SOURCE)/Config.in" @@ -766,7 +767,6 @@ $(eval $(call BuildPlugin,freeradius3-mod-mschap,rlm_mschap,)) $(eval $(call BuildPlugin,freeradius3-mod-pap,rlm_pap,)) $(eval $(call BuildPlugin,freeradius3-mod-passwd,rlm_passwd,)) $(eval $(call BuildPlugin,freeradius3-mod-preprocess,rlm_preprocess,)) -$(eval $(call Py3Package,freeradius3-mod-python3)) $(eval $(call BuildPlugin,freeradius3-mod-python3,rlm_python3,)) $(eval $(call BuildPlugin,freeradius3-mod-radutmp,rlm_radutmp,)) $(eval $(call BuildPlugin,freeradius3-mod-realm,rlm_realm,)) diff --git a/net/nmap/Makefile b/net/nmap/Makefile index 46c047981..648ade267 100644 --- a/net/nmap/Makefile +++ b/net/nmap/Makefile @@ -14,7 +14,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=nmap PKG_VERSION:=7.80 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_MAINTAINER:=Nuno Goncalves <nunojpg@gmail.com> PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 @@ -26,6 +26,7 @@ PKG_CPE_ID:=cpe:/a:nmap:nmap PKG_BUILD_PARALLEL:=1 PKG_INSTALL:=1 +PYTHON3_PKG_BUILD:=0 include $(INCLUDE_DIR)/package.mk include ../../lang/python/python3-package.mk @@ -100,7 +101,6 @@ endef define Package/ndiff $(call Package/nmap/default) DEPENDS:=+python3-light +python3-xml - VARIANT:=python3 TITLE:=Utility to compare the results of Nmap scans endef @@ -148,10 +148,10 @@ CONFIGURE_VARS += \ PYTHON3_PKG_SETUP_DIR:=ndiff PYTHON3_PKG_SETUP_ARGS:= -ifeq ($(BUILD_VARIANT),python3) - Build/Configure:=: - Build/Install:=: -endif +define Build/Compile + $(call Build/Compile/Default,) + $(call Py3Build/Compile) +endef define Package/nmap/install $(INSTALL_DIR) $(1)/usr/bin diff --git a/net/openvswitch/Makefile b/net/openvswitch/Makefile index 09ff2b4a7..76ba560e2 100644 --- a/net/openvswitch/Makefile +++ b/net/openvswitch/Makefile @@ -32,6 +32,7 @@ PKG_USE_MIPS16:=0 PKG_BUILD_PARALLEL:=1 PKG_FIXUP:=autoreconf PKG_INSTALL:=1 +PYTHON3_PKG_BUILD:=0 PKG_MAINTAINER:=Yousong Zhou <yszhou4tech@gmail.com> diff --git a/net/radicale/Makefile b/net/radicale/Makefile index ac73d6762..5422fa7c6 100644 --- a/net/radicale/Makefile +++ b/net/radicale/Makefile @@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=radicale PKG_VERSION:=1.1.6 -PKG_RELEASE:=3 +PKG_RELEASE:=4 PYPI_NAME:=Radicale PKG_HASH:=c007198ea45ef797344672c681d4c13f8b4aa85c15c41a1156225767a405c92b @@ -37,7 +37,6 @@ define Package/radicale +python3-xml USERID:=radicale=5232:radicale=5232 PROVIDES:=radicale-py2 radicale-py3 - VARIANT:=python3 endef define Package/radicale/description diff --git a/net/radicale2/Makefile b/net/radicale2/Makefile index 02700a6b5..455053784 100644 --- a/net/radicale2/Makefile +++ b/net/radicale2/Makefile @@ -5,7 +5,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=radicale2 PKG_VERSION:=2.1.11 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_LICENSE:=GPL-3.0 PKG_LICENSE_FILES:=COPYING @@ -31,7 +31,6 @@ $(call Package/radicale2/Default) USERID:=radicale2=225:radicale2=225 DEPENDS:=+python3 +python3-dateutil +python3-vobject +python3-setuptools CONFLICTS:=radicale - VARIANT:=python3 endef define Package/radicale2-examples diff --git a/net/samba4/Makefile b/net/samba4/Makefile index 078c286af..5fcf17436 100644 --- a/net/samba4/Makefile +++ b/net/samba4/Makefile @@ -33,13 +33,14 @@ PKG_CONFIG_DEPENDS:= \ CONFIG_PACKAGE_kmod-fs-btrfs \ CONFIG_PACKAGE_kmod-fs-xfs +PYTHON3_PKG_BUILD:=0 + include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/host-build.mk include $(INCLUDE_DIR)/kernel.mk include $(INCLUDE_DIR)/version.mk -include $(TOPDIR)/feeds/packages/lang/python/python3-host.mk -#include $(TOPDIR)/feeds/packages/lang/python/python-package.mk -include $(TOPDIR)/feeds/packages/lang/python/python3-package.mk +include ../../lang/python/python3-host.mk +include ../../lang/python/python3-package.mk define Package/samba4/Default SECTION:=net diff --git a/net/sysrepo/Makefile b/net/sysrepo/Makefile index 72396aa5d..13fc9d79c 100644 --- a/net/sysrepo/Makefile +++ b/net/sysrepo/Makefile @@ -22,6 +22,7 @@ PKG_LICENSE_FILES:=LICENSE CMAKE_INSTALL:=1 PKG_BUILD_PARALLEL:=1 PKG_BUILD_DEPENDS:=swig/host +PYTHON3_PKG_BUILD:=0 include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/cmake.mk diff --git a/net/uwsgi/Makefile b/net/uwsgi/Makefile index d658c9c28..57e236204 100644 --- a/net/uwsgi/Makefile +++ b/net/uwsgi/Makefile @@ -9,6 +9,7 @@ PKG_SOURCE_URL=https://files.pythonhosted.org/packages/source/u/uwsgi/ PKG_HASH:=4972ac538800fb2d421027f49b4a1869b66048839507ccf0aa2fda792d99f583 PKG_BUILD_DIR:=$(BUILD_DIR)/uwsgi-$(PKG_VERSION) PKG_BUILD_DEPENDS:=python3/host +PYTHON3_PKG_BUILD:=0 PKG_LICENSE:=GPL-2.0-or-later PKG_LICENSE_FILES:=LICENSE |
