b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame^] | 1 | # This is free software, licensed under the GNU General Public License v2. |
| 2 | # See /LICENSE for more information. |
| 3 | |
| 4 | include $(TOPDIR)/rules.mk |
| 5 | |
| 6 | PKG_NAME:=python-pycrate |
| 7 | PKG_VERSION:=0.6.0 |
| 8 | PKG_RELEASE:=1 |
| 9 | |
| 10 | PYPI_NAME:=pycrate |
| 11 | PKG_HASH:=b49738c02a3f93ba9f76c0dac82b689a5341882814b36c714e9600e9f560daf7 |
| 12 | |
| 13 | PKG_LICENSE:=LGPL-2.1-or-later |
| 14 | PKG_LICENSE_FILES:=license.txt |
| 15 | PKG_MAINTAINER:=David Bauer <mail@david-bauer.net> |
| 16 | |
| 17 | include ../pypi.mk |
| 18 | include $(INCLUDE_DIR)/package.mk |
| 19 | include ../python3-package.mk |
| 20 | |
| 21 | define Package/python3-pycrate |
| 22 | SECTION:=lang |
| 23 | CATEGORY:=Languages |
| 24 | SUBMENU:=Python |
| 25 | TITLE:=A software suite to handle various data formats |
| 26 | URL:=https://github.com/P1sec/pycrate |
| 27 | DEPENDS:=+python3-light |
| 28 | endef |
| 29 | |
| 30 | define Package/python3-pycrate/description |
| 31 | Provides a runtime for encoding and decoding data structures, including CSN.1 |
| 32 | and ASN.1. Additionally, it features a 3G and LTE mobile core network. |
| 33 | endef |
| 34 | |
| 35 | $(eval $(call Py3Package,python3-pycrate)) |
| 36 | $(eval $(call BuildPackage,python3-pycrate)) |
| 37 | $(eval $(call BuildPackage,python3-pycrate-src)) |