b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame^] | 1 | # |
| 2 | # Copyright (C) 2015, 2018-2020, 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-pyasn1 |
| 11 | PKG_VERSION:=0.5.1 |
| 12 | PKG_RELEASE:=1 |
| 13 | |
| 14 | PYPI_NAME:=pyasn1 |
| 15 | PKG_HASH:=6d391a96e59b23130a5cfa74d6fd7f388dbbe26cc8f1edf39fdddf08d9d6676c |
| 16 | |
| 17 | PKG_LICENSE:=BSD-2-Clause |
| 18 | PKG_LICENSE_FILES:=LICENSE.rst |
| 19 | PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com> |
| 20 | |
| 21 | include ../pypi.mk |
| 22 | include $(INCLUDE_DIR)/package.mk |
| 23 | include ../python3-package.mk |
| 24 | |
| 25 | define Package/python3-pyasn1 |
| 26 | SECTION:=lang |
| 27 | CATEGORY:=Languages |
| 28 | SUBMENU:=Python |
| 29 | TITLE:=ASN.1 types and DER/BER/CER codecs (X.208) |
| 30 | URL:=https://github.com/pyasn1/pyasn1 |
| 31 | DEPENDS:=+python3-light +python3-logging |
| 32 | endef |
| 33 | |
| 34 | define Package/python3-pyasn1/description |
| 35 | This is an implementation of ASN.1 types and codecs in Python programming |
| 36 | language. It has been first written to support particular protocol (SNMP) |
| 37 | but then generalized to be suitable for a wide range of protocols |
| 38 | based on ASN.1 specification. |
| 39 | endef |
| 40 | |
| 41 | $(eval $(call Py3Package,python3-pyasn1)) |
| 42 | $(eval $(call BuildPackage,python3-pyasn1)) |
| 43 | $(eval $(call BuildPackage,python3-pyasn1-src)) |