diff --git a/lang/python/python-trove-classifiers/Makefile b/lang/python/python-trove-classifiers/Makefile index d9d422cd2c..5de5fb9025 100644 --- a/lang/python/python-trove-classifiers/Makefile +++ b/lang/python/python-trove-classifiers/Makefile @@ -8,12 +8,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=python-trove-classifiers -PKG_VERSION:=2025.9.11.17 +PKG_VERSION:=2026.1.14.14 PKG_RELEASE:=1 PYPI_NAME:=trove-classifiers PYPI_SOURCE_NAME:=trove_classifiers -PKG_HASH:=931ca9841a5e9c9408bc2ae67b50d28acf85bef56219b56860876dd1f2d024dd +PKG_HASH:=00492545a1402b09d4858605ba190ea33243d361e2b01c9c296ce06b5c3325f3 PKG_LICENSE:=Apache-2.0 PKG_LICENSE_FILES:=LICENSE diff --git a/lang/python/python-trove-classifiers/test.sh b/lang/python/python-trove-classifiers/test.sh new file mode 100755 index 0000000000..ee628a9066 --- /dev/null +++ b/lang/python/python-trove-classifiers/test.sh @@ -0,0 +1,20 @@ +#!/bin/sh + +[ "$1" = python3-trove-classifiers ] || exit 0 + +python3 - << 'EOF' + +from trove_classifiers import classifiers, sorted_classifiers + +# Check that the classifiers set is non-empty +assert len(classifiers) > 0 + +# Check a few well-known classifiers exist +assert "Programming Language :: Python :: 3" in classifiers +assert "License :: OSI Approved :: MIT License" in classifiers +assert "Operating System :: OS Independent" in classifiers + +# sorted_classifiers should be a sorted list +assert sorted_classifiers == sorted(classifiers) + +EOF