python-requests: fix circular dependency
authorEneas U de Queiroz <redacted>
Wed, 13 Mar 2019 16:59:45 +0000 (13:59 -0300)
committerEneas U de Queiroz <redacted>
Wed, 13 Mar 2019 17:34:49 +0000 (14:34 -0300)
Removing python3 conditional DEPENDS to avoid a circular dependency.
Fixes a typo in Makefile.

Signed-off-by: Eneas U de Queiroz <redacted>
lang/python/python-requests/Makefile

index 6884a0f3ab2fc504a978ffdf2baf949d36b4883a..36b7302d60c6638ac38db27158fdd36f3b61643c 100644 (file)
@@ -25,11 +25,11 @@ include ../python3-package.mk
 
 PKG_UNPACK:=$(HOST_TAR) -C $(PKG_BUILD_DIR) --strip-components=1 -xzf $(DL_DIR)/$(PKG_SOURCE)
 
-define Package/python-requests/Defaults
+define Package/python-requests/Default
   SUBMENU:=Python
   SECTION:=lang
   CATEGORY:=Languages
-  PKG_MAINTAINER:=Josef Schlehofer <josef.schlehofer@nic.cz>, Alexandru Ardelean <ardeleanalex@gmail.com>
+  MAINTAINER:=Josef Schlehofer <josef.schlehofer@nic.cz>, Alexandru Ardelean <ardeleanalex@gmail.com>
   URL:=http://python-requests.org/
 endef
 
@@ -49,11 +49,11 @@ define Package/python3-requests
 $(call Package/python-requests/Default)
   TITLE:=HTTP library for Python3
   DEPENDS:= \
-         +PACKAGE_python3-requests:python3-light  \
-         +PACKAGE_python3-requests:python3-chardet  \
-         +PACKAGE_python3-requests:python3-idna  \
-         +PACKAGE_python3-requests:python3-urllib3  \
-         +PACKAGE_python3-requests:python3-certifi
+         +python3-light  \
+         +python3-chardet  \
+         +python3-idna  \
+         +python3-urllib3  \
+         +python3-certifi
   VARIANT:=python3
 endef
 
git clone https://git.99rst.org/PROJECT