Browse Source

uwsgi: Use pypi.mk to download source tarball

This also removes PKG_BUILD_DIR, which does not need to be explicitly
set.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
lilik-openwrt-22.03
Jeffery To 5 years ago
parent
commit
f304e57b35
1 changed files with 2 additions and 3 deletions
  1. +2
    -3
      net/uwsgi/Makefile

+ 2
- 3
net/uwsgi/Makefile View File

@ -4,10 +4,8 @@ PKG_NAME:=uwsgi
PKG_VERSION:=2.0.18
PKG_RELEASE:=2
PKG_SOURCE:=uwsgi-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL=https://files.pythonhosted.org/packages/source/u/uwsgi/
PYPI_NAME:=$(PKG_NAME)
PKG_HASH:=4972ac538800fb2d421027f49b4a1869b66048839507ccf0aa2fda792d99f583
PKG_BUILD_DIR:=$(BUILD_DIR)/uwsgi-$(PKG_VERSION)
PKG_BUILD_DEPENDS:=python3/host
PYTHON3_PKG_BUILD:=0
@ -15,6 +13,7 @@ PKG_LICENSE:=GPL-2.0-or-later
PKG_LICENSE_FILES:=LICENSE
PKG_MAINTAINER:=Ansuel Smith <ansuelsmth@gmail.com>
include ../../lang/python/pypi.mk
include $(INCLUDE_DIR)/package.mk
include ../../lang/python/python3-package.mk
#for LINUX_UNAME_VERSION:


Loading…
Cancel
Save