b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame^] | 1 | # |
| 2 | # Copyright (C) 2023 Jeffery To |
| 3 | # |
| 4 | # This is free software, licensed under the GNU General Public License v2. |
| 5 | # See /LICENSE for more information. |
| 6 | # |
| 7 | |
| 8 | include $(TOPDIR)/rules.mk |
| 9 | |
| 10 | PKG_NAME:=python-trove-classifiers |
| 11 | PKG_VERSION:=2023.11.29 |
| 12 | PKG_RELEASE:=1 |
| 13 | |
| 14 | PYPI_NAME:=trove-classifiers |
| 15 | PKG_HASH:=ff8f7fd82c7932113b46e7ef6742c70091cc63640c8c65db00d91f2e940b9514 |
| 16 | |
| 17 | PKG_LICENSE:=Apache-2.0 |
| 18 | PKG_LICENSE_FILES:=LICENSE |
| 19 | PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com> |
| 20 | |
| 21 | PKG_HOST_ONLY:=1 |
| 22 | PKG_BUILD_DEPENDS:=python-calver/host |
| 23 | HOST_BUILD_DEPENDS:= \ |
| 24 | python3/host \ |
| 25 | python-build/host \ |
| 26 | python-installer/host \ |
| 27 | python-wheel/host \ |
| 28 | python-calver/host |
| 29 | |
| 30 | include ../pypi.mk |
| 31 | include $(INCLUDE_DIR)/package.mk |
| 32 | include $(INCLUDE_DIR)/host-build.mk |
| 33 | include ../python3-package.mk |
| 34 | include ../python3-host-build.mk |
| 35 | |
| 36 | define Package/python3-trove-classifiers |
| 37 | SECTION:=lang |
| 38 | CATEGORY:=Languages |
| 39 | SUBMENU:=Python |
| 40 | TITLE:=Canonical source for classifiers on PyPI (pypi.org). |
| 41 | URL:=https://github.com/pypa/trove-classifiers |
| 42 | DEPENDS:=+python3-light |
| 43 | BUILDONLY:=1 |
| 44 | endef |
| 45 | |
| 46 | define Package/python3-trove-classifiers/description |
| 47 | Canonical source for classifiers on PyPI. |
| 48 | |
| 49 | Classifiers categorize projects per PEP 301. Use this package to |
| 50 | validate classifiers in packages for PyPI upload or download. |
| 51 | endef |
| 52 | |
| 53 | $(eval $(call Py3Package,python3-trove-classifiers)) |
| 54 | $(eval $(call BuildPackage,python3-trove-classifiers)) |
| 55 | $(eval $(call BuildPackage,python3-trove-classifiers-src)) |
| 56 | $(eval $(call HostBuild)) |