Browse Source

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 <jeffery.to@gmail.com>
lilik-openwrt-22.03
Jeffery To 6 years ago
parent
commit
450891679b
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_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


+ 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_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 \


Loading…
Cancel
Save