summaryrefslogtreecommitdiffstats
path: root/rules/python3-aiohttp-json-rpc.make
blob: 3c1dd7c63a43dd9a941bdf309ae2f5ac002a4e30 (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_AIOHTTP_JSON_RPC) += python3-aiohttp-json-rpc

#
# Paths and names
#
PYTHON3_AIOHTTP_JSON_RPC_VERSION	:= 0.11.2
PYTHON3_AIOHTTP_JSON_RPC_MD5		:= b1c50cd12a19183c568fea8dbb45fefe
PYTHON3_AIOHTTP_JSON_RPC		:= aiohttp-json-rpc-$(PYTHON3_AIOHTTP_JSON_RPC_VERSION)
PYTHON3_AIOHTTP_JSON_RPC_SUFFIX		:= tar.gz
PYTHON3_AIOHTTP_JSON_RPC_URL		:= $(call ptx/mirror-pypi, aiohttp-json-rpc, $(PYTHON3_AIOHTTP_JSON_RPC).$(PYTHON3_AIOHTTP_JSON_RPC_SUFFIX))
PYTHON3_AIOHTTP_JSON_RPC_SOURCE		:= $(SRCDIR)/$(PYTHON3_AIOHTTP_JSON_RPC).$(PYTHON3_AIOHTTP_JSON_RPC_SUFFIX)
PYTHON3_AIOHTTP_JSON_RPC_DIR		:= $(BUILDDIR)/$(PYTHON3_AIOHTTP_JSON_RPC)
PYTHON3_AIOHTTP_JSON_RPC_LICENSE	:= Apache-2.0

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

PYTHON3_AIOHTTP_JSON_RPC_CONF_TOOL	:= python3

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

$(STATEDIR)/python3-aiohttp-json-rpc.targetinstall:
	@$(call targetinfo)

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

	@$(call install_glob, python3-aiohttp-json-rpc, 0, 0, -, \
		$(PYTHON3_SITEPACKAGES)/aiohttp_json_rpc,, *.py)

	@$(call install_finish, python3-aiohttp-json-rpc)

	@$(call touch)

# vim: syntax=make