mirror of
https://github.com/openwrt/packages.git
synced 2026-06-13 17:11:32 +08:00
python-trove-classifiers: bump to 2026.1.14.14
Changelog: https://github.com/pypa/trove-classifiers/blob/main/CHANGELOG.rst Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
This commit is contained in:
committed by
Alexandru Ardelean
parent
22a7482758
commit
7bcdfa4bd5
Executable
+20
@@ -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
|
||||
Reference in New Issue
Block a user