summaryrefslogtreecommitdiffstats
path: root/rules/python3-tornado.make
blob: 37195f5efb8212fe233cb2055417a352565a965a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# -*-makefile-*-
#
# Copyright (C) 2016 by Artur Wiebe <artur@4wiebe.de>
#
# See CREDITS for details about who has contributed to this project.
#
# For further information about the PTXdist project and license conditions
# see the README file.
#

#
# We provide this package
#
PACKAGES-$(PTXCONF_PYTHON3_TORNADO) += python3-tornado

PYTHON3_TORNADO_VERSION	:= 5.1.1
PYTHON3_TORNADO_MD5	:= a1ce4f392d30ff0ebcb255150d89b826
PYTHON3_TORNADO		:= tornado-$(PYTHON3_TORNADO_VERSION)
PYTHON3_TORNADO_SUFFIX	:= tar.gz
PYTHON3_TORNADO_URL	:= https://pypi.io/packages/source/t/tornado/$(PYTHON3_TORNADO).$(PYTHON3_TORNADO_SUFFIX)
PYTHON3_TORNADO_SOURCE	:= $(SRCDIR)/$(PYTHON3_TORNADO).$(PYTHON3_TORNADO_SUFFIX)
PYTHON3_TORNADO_DIR	:= $(BUILDDIR)/$(PYTHON3_TORNADO)
PYTHON3_TORNADO_LICENSE	:= Apache-2.0

# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------

PYTHON3_TORNADO_CONF_TOOL    := python3

# ----------------------------------------------------------------------------
# Target-Install
# ----------------------------------------------------------------------------

$(STATEDIR)/python3-tornado.targetinstall:
	@$(call targetinfo)

	@$(call install_init, python3-tornado)
	@$(call install_fixup,python3-tornado,PRIORITY,optional)
	@$(call install_fixup,python3-tornado,SECTION,base)
	@$(call install_fixup,python3-tornado,AUTHOR,"Artur Wiebe <artur@4wiebe.de>")
	@$(call install_fixup,python3-tornado,DESCRIPTION,missing)

	@$(call install_glob, python3-tornado, 0, 0, -, \
		/usr/lib/python$(PYTHON3_MAJORMINOR)/site-packages/tornado,, *.py)

	@$(call install_finish,python3-tornado)

	@$(call touch)

# vim: syntax=make