summaryrefslogtreecommitdiffstats
path: root/rules/python3-decorator.make
blob: 316ff9ed50147b3e14452d33747eb8a9b3bdd56e (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
52
# -*-makefile-*-
#
# Copyright (C) 2016 by Florian Scherf <f.scherf@pengutronix.de>
#
# For further information about the PTXdist project and license conditions
# see the README file.
#

#
# We provide this package
#
PACKAGES-$(PTXCONF_PYTHON3_DECORATOR) += python3-decorator

#
# Paths and names
#
PYTHON3_DECORATOR_VERSION	:= 4.0.6
PYTHON3_DECORATOR_MD5		:= b17bfa17c294d33022a89de0f61d38fe
PYTHON3_DECORATOR		:= decorator-$(PYTHON3_DECORATOR_VERSION)
PYTHON3_DECORATOR_SUFFIX	:= tar.gz
PYTHON3_DECORATOR_URL		:= $(call ptx/mirror-pypi, decorator, $(PYTHON3_DECORATOR).$(PYTHON3_DECORATOR_SUFFIX))
PYTHON3_DECORATOR_SOURCE	:= $(SRCDIR)/$(PYTHON3_DECORATOR).$(PYTHON3_DECORATOR_SUFFIX)
PYTHON3_DECORATOR_DIR		:= $(BUILDDIR)/$(PYTHON3_DECORATOR)
PYTHON3_DECORATOR_LICENSE	:= BSD-2-Clause

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

PYTHON3_DECORATOR_CONF_TOOL	:= python3

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

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

	@$(call install_init, python3-decorator)
	@$(call install_fixup, python3-decorator, PRIORITY, optional)
	@$(call install_fixup, python3-decorator, SECTION, base)
	@$(call install_fixup, python3-decorator, AUTHOR, "Florian Scherf <f.scherf@pengutronix.de>")
	@$(call install_fixup, python3-decorator, DESCRIPTION, missing)

	@$(call install_copy, python3-decorator, 0, 0, 0644, -, \
		$(PYTHON3_SITEPACKAGES)/decorator.pyc)

	@$(call install_finish, python3-decorator)

	@$(call touch)

# vim: syntax=make