diff --git a/lang/python/python-incremental/Makefile b/lang/python/python-incremental/Makefile index 0cfbe6b296..0ca917b524 100644 --- a/lang/python/python-incremental/Makefile +++ b/lang/python/python-incremental/Makefile @@ -8,11 +8,11 @@ include $(TOPDIR)/rules.mk PKG_NAME:=python-incremental -PKG_VERSION:=22.10.0 +PKG_VERSION:=24.7.2 PKG_RELEASE:=1 PYPI_NAME:=incremental -PKG_HASH:=912feeb5e0f7e0188e6f42241d2f450002e11bbc0937c65865045854c24c0bd0 +PKG_HASH:=fb4f1d47ee60efe87d4f6f0ebb5f70b9760db2b2574c59c8e8912be4ebd464c9 PKG_LICENSE:=MIT PKG_LICENSE_FILES:=LICENSE @@ -39,6 +39,11 @@ define Package/python3-incremental/description Incremental is a small library that versions your Python projects. endef +define Py3Package/python3-incremental/filespec ++|$(PYTHON3_PKG_DIR) +-|$(PYTHON3_PKG_DIR)/incremental/tests +endef + $(eval $(call Py3Package,python3-incremental)) $(eval $(call BuildPackage,python3-incremental)) $(eval $(call BuildPackage,python3-incremental-src)) diff --git a/lang/python/python-incremental/patches/001-omit-tests.patch b/lang/python/python-incremental/patches/001-omit-tests.patch deleted file mode 100644 index b71c6e35f7..0000000000 --- a/lang/python/python-incremental/patches/001-omit-tests.patch +++ /dev/null @@ -1,14 +0,0 @@ ---- a/setup.cfg -+++ b/setup.cfg -@@ -30,7 +30,10 @@ zip_safe = False - - [options.packages.find] - where = src --exclude = exampleproj -+exclude = -+ exampleproj -+ *.tests -+ *.tests.* - - [options.package_data] - incremental = py.typed