This removes: * Python 3 variants (VARIANT:=python3) * "for Python3" from package titles * Package selection condition from package dependencies, e.g. +PACKAGE_python3-six:python3-light replaced with +python3-light * "Default" package information sections, e.g. Package/python-six/Default removed and package details merged into Package/python3-six * "(Variant for Python3)" from package descriptions Signed-off-by: Jeffery To <jeffery.to@gmail.com>
45 lines
1.2 KiB
Makefile
45 lines
1.2 KiB
Makefile
#
|
|
# Copyright (C) 2007-2017 OpenWrt.org
|
|
#
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
# See /LICENSE for more information.
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=django-postoffice
|
|
PKG_VERSION:=3.2.1
|
|
PKG_RELEASE:=2
|
|
|
|
PYPI_NAME:=django-post-office
|
|
PYPI_SOURCE_NAME:=django-post_office
|
|
PKG_HASH:=e32427822f647719575094f790ca949ef9f9827ec0e8378cb021f01f3834b2a4
|
|
|
|
PKG_MAINTAINER:=Alexandru Ardelean <ardeleanalex@gmail.com>
|
|
PKG_LICENSE:=MIT
|
|
PKG_LICENSE_FILES:=LICENSE.txt
|
|
|
|
include ../pypi.mk
|
|
include $(INCLUDE_DIR)/package.mk
|
|
include ../python3-package.mk
|
|
|
|
define Package/python3-django-postoffice
|
|
SUBMENU:=Python
|
|
SECTION:=lang
|
|
CATEGORY:=Languages
|
|
TITLE:=A Django app to monitor and send mail asynchronously
|
|
URL:=https://github.com/ui/django-post_office
|
|
DEPENDS:= \
|
|
+python3 \
|
|
+python3-django1 \
|
|
+python3-django-jsonfield
|
|
endef
|
|
|
|
define Package/python3-django-postoffice/description
|
|
A Django app to monitor and send mail asynchronously, complete with template
|
|
support
|
|
endef
|
|
|
|
$(eval $(call Py3Package,python3-django-postoffice))
|
|
$(eval $(call BuildPackage,python3-django-postoffice))
|
|
$(eval $(call BuildPackage,python3-django-postoffice-src))
|