b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame^] | 1 | # |
| 2 | # Copyright (C) 2019-2021 CZ.NIC, z. s. p. o. (https://www.nic.cz/) |
| 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-py |
| 11 | PKG_VERSION:=1.11.0 |
| 12 | PKG_RELEASE:=1 |
| 13 | |
| 14 | PYPI_NAME:=py |
| 15 | PKG_HASH:=51c75c4126074b472f746a24399ad32f6053d1b34b68d2fa41e558e6f4a98719 |
| 16 | |
| 17 | PKG_MAINTAINER:=Jan Pavlinec <jan.pavlinec1@gmail.com> |
| 18 | PKG_LICENSE:=MIT |
| 19 | PKG_LICENSE_FILES:=LICENSE |
| 20 | PKG_CPE_ID:=cpe:/a:pytest:py |
| 21 | |
| 22 | PKG_BUILD_DEPENDS:=python-setuptools-scm/host |
| 23 | |
| 24 | include ../pypi.mk |
| 25 | include $(INCLUDE_DIR)/package.mk |
| 26 | include ../python3-package.mk |
| 27 | |
| 28 | define Package/python3-py |
| 29 | SUBMENU:=Python |
| 30 | SECTION:=lang |
| 31 | CATEGORY:=Languages |
| 32 | TITLE:=Python development support library |
| 33 | URL:=https://github.com/pytest-dev/py |
| 34 | DEPENDS:=+python3-light +python3-xml +python3-urllib +python3-uuid |
| 35 | endef |
| 36 | |
| 37 | define Package/python3-py/description |
| 38 | Library with cross-python path, ini-parsing, io, code, log facilities |
| 39 | endef |
| 40 | |
| 41 | $(eval $(call Py3Package,python3-py)) |
| 42 | $(eval $(call BuildPackage,python3-py)) |
| 43 | $(eval $(call BuildPackage,python3-py-src)) |