Browse Source

Merge pull request #8376 from jefferyto/python-package-data-2

python-pyopenssl,python-service-identity: Update package data
lilik-openwrt-22.03
Hannu Nyman 6 years ago
committed by GitHub
parent
commit
6c001178c1
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 11 deletions
  1. +6
    -8
      lang/python/python-pyopenssl/Makefile
  2. +3
    -3
      lang/python/python-service-identity/Makefile

+ 6
- 8
lang/python/python-pyopenssl/Makefile View File

@ -9,11 +9,10 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=python-pyopenssl PKG_NAME:=python-pyopenssl
PKG_VERSION:=19.0.0 PKG_VERSION:=19.0.0
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE:=pyOpenSSL-$(PKG_VERSION).tar.gz PKG_SOURCE:=pyOpenSSL-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://pypi.io/packages/source/p/pyOpenSSL
PKG_SOURCE_URL:=https://files.pythonhosted.org/packages/source/p/pyOpenSSL
PKG_HASH:=aeca66338f6de19d1aa46ed634c3b9ae519a64b458f8468aec688e7e3c20f200 PKG_HASH:=aeca66338f6de19d1aa46ed634c3b9ae519a64b458f8468aec688e7e3c20f200
PKG_LICENSE:=Apache-2.0 PKG_LICENSE:=Apache-2.0
@ -32,27 +31,26 @@ define Package/python-pyopenssl/Default
SECTION:=lang SECTION:=lang
CATEGORY:=Languages CATEGORY:=Languages
SUBMENU:=Python SUBMENU:=Python
URL:=https://github.com/pyca/pyopenssl
TITLE:=OpenSSL wrapper
URL:=https://pyopenssl.org/
endef endef
define Package/python-pyopenssl define Package/python-pyopenssl
$(call Package/python-pyopenssl/Default) $(call Package/python-pyopenssl/Default)
TITLE:=python-pyopenssl
VARIANT:=python
DEPENDS:= \ DEPENDS:= \
+PACKAGE_python-pyopenssl:python-light \ +PACKAGE_python-pyopenssl:python-light \
+PACKAGE_python-pyopenssl:python-cryptography \ +PACKAGE_python-pyopenssl:python-cryptography \
+PACKAGE_python-pyopenssl:python-six +PACKAGE_python-pyopenssl:python-six
VARIANT:=python
endef endef
define Package/python3-pyopenssl define Package/python3-pyopenssl
$(call Package/python-pyopenssl/Default) $(call Package/python-pyopenssl/Default)
TITLE:=python3-pyopenssl
VARIANT:=python3
DEPENDS:= \ DEPENDS:= \
+PACKAGE_python3-pyopenssl:python3-light \ +PACKAGE_python3-pyopenssl:python3-light \
+PACKAGE_python3-pyopenssl:python3-cryptography \ +PACKAGE_python3-pyopenssl:python3-cryptography \
+PACKAGE_python3-pyopenssl:python3-six +PACKAGE_python3-pyopenssl:python3-six
VARIANT:=python3
endef endef
define Package/python-pyopenssl/description define Package/python-pyopenssl/description


+ 3
- 3
lang/python/python-service-identity/Makefile View File

@ -14,6 +14,7 @@ PKG_RELEASE:=1
PKG_SOURCE:=service_identity-$(PKG_VERSION).tar.gz PKG_SOURCE:=service_identity-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://files.pythonhosted.org/packages/source/s/service_identity PKG_SOURCE_URL:=https://files.pythonhosted.org/packages/source/s/service_identity
PKG_HASH:=0858a54aabc5b459d1aafa8a518ed2081a285087f349fe3e55197989232e2e2d PKG_HASH:=0858a54aabc5b459d1aafa8a518ed2081a285087f349fe3e55197989232e2e2d
PKG_BUILD_DIR:=$(BUILD_DIR)/$(BUILD_VARIANT)-service-identity-$(PKG_VERSION) PKG_BUILD_DIR:=$(BUILD_DIR)/$(BUILD_VARIANT)-service-identity-$(PKG_VERSION)
PKG_LICENSE:=MIT PKG_LICENSE:=MIT
@ -30,12 +31,12 @@ define Package/python-service-identity/Default
SECTION:=lang SECTION:=lang
CATEGORY:=Languages CATEGORY:=Languages
SUBMENU:=Python SUBMENU:=Python
URL:=https://github.com/pyca/service_identity
TITLE:=Service identity verification
URL:=https://service-identity.readthedocs.io/
endef endef
define Package/python-service-identity define Package/python-service-identity
$(call Package/python-service-identity/Default) $(call Package/python-service-identity/Default)
TITLE:=python-service-identity
DEPENDS:= \ DEPENDS:= \
+PACKAGE_python-service-identity:python-light \ +PACKAGE_python-service-identity:python-light \
+PACKAGE_python-service-identity:python-attrs \ +PACKAGE_python-service-identity:python-attrs \
@ -48,7 +49,6 @@ endef
define Package/python3-service-identity define Package/python3-service-identity
$(call Package/python-service-identity/Default) $(call Package/python-service-identity/Default)
TITLE:=python3-service-identity
DEPENDS:= \ DEPENDS:= \
+PACKAGE_python3-service-identity:python3-light \ +PACKAGE_python3-service-identity:python3-light \
+PACKAGE_python3-service-identity:python3-attrs \ +PACKAGE_python3-service-identity:python3-attrs \


Loading…
Cancel
Save