2015-11-27 19:07:25 +00:00
|
|
|
#
|
2018-01-10 15:10:26 +00:00
|
|
|
# Copyright (C) 2015-2018 OpenWrt.org
|
2015-11-27 19:07:25 +00:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
2017-08-01 11:24:15 +00:00
|
|
|
PKG_NAME:=python-pyasn1-modules
|
2019-10-15 18:12:51 +00:00
|
|
|
PKG_VERSION:=0.2.7
|
2019-05-13 12:44:20 +00:00
|
|
|
PKG_RELEASE:=1
|
2015-11-27 19:07:25 +00:00
|
|
|
|
2019-10-20 19:03:12 +00:00
|
|
|
PYPI_NAME:=pyasn1-modules
|
2019-10-15 18:12:51 +00:00
|
|
|
PKG_HASH:=0c35a52e00b672f832e5846826f1fb7507907f7d52fba6faa9e3c4cbe874fe4b
|
2015-11-27 19:07:25 +00:00
|
|
|
|
|
|
|
PKG_LICENSE:=BSD-2-Clause
|
|
|
|
PKG_LICENSE_FILES:=LICENSE.txt
|
2017-08-01 11:24:15 +00:00
|
|
|
PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com>, Alexandru Ardelean <ardeleanalex@gmail.com>
|
|
|
|
|
2019-10-20 19:03:12 +00:00
|
|
|
include ../pypi.mk
|
2015-11-27 19:07:25 +00:00
|
|
|
include $(INCLUDE_DIR)/package.mk
|
2018-01-10 07:56:52 +00:00
|
|
|
include ../python-package.mk
|
|
|
|
include ../python3-package.mk
|
2017-08-01 11:24:15 +00:00
|
|
|
|
|
|
|
define Package/python-pyasn1-modules/Default
|
|
|
|
SECTION:=lang
|
|
|
|
CATEGORY:=Languages
|
|
|
|
SUBMENU:=Python
|
2019-02-20 07:19:26 +00:00
|
|
|
TITLE:=Collection of ASN.1 modules
|
|
|
|
URL:=https://github.com/etingof/pyasn1-modules
|
2017-08-01 11:24:15 +00:00
|
|
|
endef
|
2015-11-27 19:07:25 +00:00
|
|
|
|
|
|
|
define Package/python-pyasn1-modules
|
2017-08-01 11:24:15 +00:00
|
|
|
$(call Package/python-pyasn1-modules/Default)
|
|
|
|
DEPENDS:= \
|
|
|
|
+PACKAGE_python-pyasn1-modules:python-light \
|
|
|
|
+PACKAGE_python-pyasn1-modules:python-pyasn1
|
2019-02-20 07:19:26 +00:00
|
|
|
VARIANT:=python
|
2017-08-01 11:24:15 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/python3-pyasn1-modules
|
|
|
|
$(call Package/python-pyasn1-modules/Default)
|
|
|
|
DEPENDS:= \
|
|
|
|
+PACKAGE_python3-pyasn1-modules:python3-light \
|
|
|
|
+PACKAGE_python3-pyasn1-modules:python3-pyasn1
|
2019-02-20 07:19:26 +00:00
|
|
|
VARIANT:=python3
|
2015-11-27 19:07:25 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/python-pyasn1-modules/description
|
|
|
|
This is a small but growing collection of ASN.1 data structures
|
|
|
|
expressed in Python terms using pyasn1 data model.
|
|
|
|
endef
|
|
|
|
|
2017-08-01 11:24:15 +00:00
|
|
|
define Package/python3-pyasn1-modules/description
|
|
|
|
$(call Package/python-pyasn1-modules/description)
|
|
|
|
.
|
|
|
|
(Variant for Python3).
|
2015-11-27 19:07:25 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call PyPackage,python-pyasn1-modules))
|
|
|
|
$(eval $(call BuildPackage,python-pyasn1-modules))
|
2018-01-14 14:38:54 +00:00
|
|
|
$(eval $(call BuildPackage,python-pyasn1-modules-src))
|
|
|
|
|
2017-08-01 11:24:15 +00:00
|
|
|
$(eval $(call Py3Package,python3-pyasn1-modules))
|
|
|
|
$(eval $(call BuildPackage,python3-pyasn1-modules))
|
2018-01-14 14:38:54 +00:00
|
|
|
$(eval $(call BuildPackage,python3-pyasn1-modules-src))
|