From 450891679bae4f56b3af4dd4e424b5f959440966 Mon Sep 17 00:00:00 2001 From: Jeffery To Date: Mon, 11 Mar 2019 16:42:47 +0800 Subject: [PATCH] python-pyopenssl,python-service-identity: Update package data This updates the Python 2 and 3 versions of each package to share the same title field. This also updates the package title, url and source urls. Signed-off-by: Jeffery To --- lang/python/python-pyopenssl/Makefile | 14 ++++++-------- lang/python/python-service-identity/Makefile | 6 +++--- 2 files changed, 9 insertions(+), 11 deletions(-) diff --git a/lang/python/python-pyopenssl/Makefile b/lang/python/python-pyopenssl/Makefile index d68e19c66..fcd1f2f40 100644 --- a/lang/python/python-pyopenssl/Makefile +++ b/lang/python/python-pyopenssl/Makefile @@ -9,11 +9,10 @@ include $(TOPDIR)/rules.mk PKG_NAME:=python-pyopenssl PKG_VERSION:=19.0.0 -PKG_RELEASE:=1 +PKG_RELEASE:=2 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_LICENSE:=Apache-2.0 @@ -32,27 +31,26 @@ define Package/python-pyopenssl/Default SECTION:=lang CATEGORY:=Languages SUBMENU:=Python - URL:=https://github.com/pyca/pyopenssl + TITLE:=OpenSSL wrapper + URL:=https://pyopenssl.org/ endef define Package/python-pyopenssl $(call Package/python-pyopenssl/Default) - TITLE:=python-pyopenssl - VARIANT:=python DEPENDS:= \ +PACKAGE_python-pyopenssl:python-light \ +PACKAGE_python-pyopenssl:python-cryptography \ +PACKAGE_python-pyopenssl:python-six + VARIANT:=python endef define Package/python3-pyopenssl $(call Package/python-pyopenssl/Default) - TITLE:=python3-pyopenssl - VARIANT:=python3 DEPENDS:= \ +PACKAGE_python3-pyopenssl:python3-light \ +PACKAGE_python3-pyopenssl:python3-cryptography \ +PACKAGE_python3-pyopenssl:python3-six + VARIANT:=python3 endef define Package/python-pyopenssl/description diff --git a/lang/python/python-service-identity/Makefile b/lang/python/python-service-identity/Makefile index f81ff1ab6..4015827c1 100644 --- a/lang/python/python-service-identity/Makefile +++ b/lang/python/python-service-identity/Makefile @@ -14,6 +14,7 @@ PKG_RELEASE:=1 PKG_SOURCE:=service_identity-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://files.pythonhosted.org/packages/source/s/service_identity PKG_HASH:=0858a54aabc5b459d1aafa8a518ed2081a285087f349fe3e55197989232e2e2d + PKG_BUILD_DIR:=$(BUILD_DIR)/$(BUILD_VARIANT)-service-identity-$(PKG_VERSION) PKG_LICENSE:=MIT @@ -30,12 +31,12 @@ define Package/python-service-identity/Default SECTION:=lang CATEGORY:=Languages SUBMENU:=Python - URL:=https://github.com/pyca/service_identity + TITLE:=Service identity verification + URL:=https://service-identity.readthedocs.io/ endef define Package/python-service-identity $(call Package/python-service-identity/Default) - TITLE:=python-service-identity DEPENDS:= \ +PACKAGE_python-service-identity:python-light \ +PACKAGE_python-service-identity:python-attrs \ @@ -48,7 +49,6 @@ endef define Package/python3-service-identity $(call Package/python-service-identity/Default) - TITLE:=python3-service-identity DEPENDS:= \ +PACKAGE_python3-service-identity:python3-light \ +PACKAGE_python3-service-identity:python3-attrs \