mirror of
https://github.com/openwrt/packages.git
synced 2026-04-15 19:02:09 +00:00
Changelog: https://github.com/pypa/trove-classifiers/blob/main/CHANGELOG.rst Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
21 lines
542 B
Bash
Executable File
21 lines
542 B
Bash
Executable File
#!/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
|