2016-04-30 08:37:30 +00:00
|
|
|
#
|
2017-02-13 21:03:14 +00:00
|
|
|
# Copyright (C) 2007-2017 OpenWrt.org
|
2016-04-30 08:37:30 +00:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=django-restframework
|
2020-01-31 07:29:20 +00:00
|
|
|
PKG_VERSION:=3.11.0
|
|
|
|
PKG_RELEASE:=1
|
2016-04-30 08:37:30 +00:00
|
|
|
|
2019-10-20 19:03:12 +00:00
|
|
|
PYPI_NAME:=djangorestframework
|
2020-01-31 07:29:20 +00:00
|
|
|
PKG_HASH:=e782087823c47a26826ee5b6fa0c542968219263fb3976ec3c31edab23a4001f
|
2019-06-25 07:17:10 +00:00
|
|
|
|
2019-03-14 08:52:49 +00:00
|
|
|
PKG_MAINTAINER:=Alexandru Ardelean <ardeleanalex@gmail.com>
|
2019-06-25 07:17:10 +00:00
|
|
|
PKG_LICENSE:=BSD-3-Clause
|
|
|
|
PKG_LICENSE_FILES:=LICENSE.md
|
|
|
|
|
2019-10-20 19:03:12 +00:00
|
|
|
include ../pypi.mk
|
2016-04-30 08:37:30 +00:00
|
|
|
include $(INCLUDE_DIR)/package.mk
|
2019-06-25 07:17:10 +00:00
|
|
|
include ../python3-package.mk
|
2016-04-30 08:37:30 +00:00
|
|
|
|
2020-01-31 07:29:20 +00:00
|
|
|
define Package/python3-django-restframework
|
2016-04-30 08:37:30 +00:00
|
|
|
SUBMENU:=Python
|
|
|
|
SECTION:=lang
|
|
|
|
CATEGORY:=Languages
|
|
|
|
TITLE:=Web APIs for Django, made easy.
|
2018-09-17 21:36:21 +00:00
|
|
|
URL:=https://www.django-rest-framework.org
|
2020-01-31 07:29:20 +00:00
|
|
|
DEPENDS:=+python3 python3-django
|
2019-06-25 07:17:10 +00:00
|
|
|
VARIANT:=python3
|
2019-07-09 12:12:06 +00:00
|
|
|
MDEPENDS:=python3-django
|
2016-04-30 08:37:30 +00:00
|
|
|
endef
|
|
|
|
|
2020-01-30 14:44:26 +00:00
|
|
|
define Package/python3-django-restframework/description
|
2020-01-31 07:29:20 +00:00
|
|
|
Web APIs for Django, made easy.
|
2019-06-25 07:17:10 +00:00
|
|
|
.
|
|
|
|
(Variant for Python3)
|
2016-04-30 08:37:30 +00:00
|
|
|
endef
|
|
|
|
|
2020-01-30 14:44:26 +00:00
|
|
|
$(eval $(call Py3Package,python3-django-restframework))
|
|
|
|
$(eval $(call BuildPackage,python3-django-restframework))
|
|
|
|
$(eval $(call BuildPackage,python3-django-restframework-src))
|