From 3ee4e7297cf07b644bac3dfafc508da5f31bf63d Mon Sep 17 00:00:00 2001 From: Jeffery To Date: Fri, 17 Feb 2023 08:49:36 +0800 Subject: 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 --- lang/python/python-pytest/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lang/python/python-pytest') diff --git a/lang/python/python-pytest/Makefile b/lang/python/python-pytest/Makefile index 7a91b4f63..108cb7f0c 100644 --- a/lang/python/python-pytest/Makefile +++ b/lang/python/python-pytest/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=python-pytest PKG_VERSION:=6.2.3 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PYPI_NAME:=pytest PKG_HASH:=671238a46e4df0f3498d1c3270e5deb9b32d25134c99b7d75370a68cfbe9b634 @@ -18,7 +18,7 @@ PKG_MAINTAINER:=Jan Pavlinec PKG_LICENSE:=MIT PKG_LICENSE_FILES:=LICENSE -HOST_PYTHON3_PACKAGE_BUILD_DEPENDS:=setuptools-scm +PKG_BUILD_DEPENDS:=python-setuptools-scm/host include ../pypi.mk include $(INCLUDE_DIR)/package.mk -- cgit From b453daa336edba33d6f8a4faaf1f1bdb6856c539 Mon Sep 17 00:00:00 2001 From: Jeffery To Date: Sun, 19 Feb 2023 17:19:44 +0800 Subject: python-pluggy: Update to 1.0.0, add host build, add myself as maintainer This also marks python3-pytest as BROKEN (for now) as the in-tree version is not compatible with this version of pluggy. Signed-off-by: Jeffery To --- lang/python/python-pluggy/Makefile | 17 +++++++++++++---- lang/python/python-pytest/Makefile | 3 ++- 2 files changed, 15 insertions(+), 5 deletions(-) (limited to 'lang/python/python-pytest') diff --git a/lang/python/python-pluggy/Makefile b/lang/python/python-pluggy/Makefile index 31820e35e..d035c9abe 100644 --- a/lang/python/python-pluggy/Makefile +++ b/lang/python/python-pluggy/Makefile @@ -8,21 +8,29 @@ include $(TOPDIR)/rules.mk PKG_NAME:=python-pluggy -PKG_VERSION:=0.13.1 -PKG_RELEASE:=5 +PKG_VERSION:=1.0.0 +PKG_RELEASE:=1 PYPI_NAME:=pluggy -PKG_HASH:=15b2acde666561e1298d71b523007ed7364de07029219b604cf808bfa1c765b0 +PKG_HASH:=4224373bacce55f955a878bf9cfa763c1e360858e330072059e10bad68531159 -PKG_MAINTAINER:=Jan Pavlinec +PKG_MAINTAINER:=Jan Pavlinec , Jeffery To PKG_LICENSE:=MIT PKG_LICENSE_FILES:=LICENSE PKG_BUILD_DEPENDS:=python-setuptools-scm/host +HOST_BUILD_DEPENDS:= \ + python3/host \ + python-build/host \ + python-installer/host \ + python-wheel/host \ + python-setuptools-scm/host include ../pypi.mk include $(INCLUDE_DIR)/package.mk +include $(INCLUDE_DIR)/host-build.mk include ../python3-package.mk +include ../python3-host-build.mk define Package/python3-pluggy SUBMENU:=Python @@ -40,3 +48,4 @@ endef $(eval $(call Py3Package,python3-pluggy)) $(eval $(call BuildPackage,python3-pluggy)) $(eval $(call BuildPackage,python3-pluggy-src)) +$(eval $(call HostBuild)) diff --git a/lang/python/python-pytest/Makefile b/lang/python/python-pytest/Makefile index 108cb7f0c..bbd8f8819 100644 --- a/lang/python/python-pytest/Makefile +++ b/lang/python/python-pytest/Makefile @@ -38,7 +38,8 @@ define Package/python3-pytest +python3-pluggy \ +python3-packaging \ +python3-toml \ - +python3-iniconfig + +python3-iniconfig \ + @BROKEN endef define Package/python3-pytest/description -- cgit