From bcee2d47e520c60ec0135964950425f863d27a7d Mon Sep 17 00:00:00 2001 From: Bastian Stender Date: Mon, 18 Jul 2016 15:30:09 +0200 Subject: python3-aiohttp-json-rpc: new package Signed-off-by: Bastian Stender Signed-off-by: Michael Olbrich --- rules/python3-aiohttp-json-rpc.in | 7 +++++ rules/python3-aiohttp-json-rpc.make | 54 +++++++++++++++++++++++++++++++++++++ 2 files changed, 61 insertions(+) create mode 100644 rules/python3-aiohttp-json-rpc.in create mode 100644 rules/python3-aiohttp-json-rpc.make diff --git a/rules/python3-aiohttp-json-rpc.in b/rules/python3-aiohttp-json-rpc.in new file mode 100644 index 000000000..5a8d51cc2 --- /dev/null +++ b/rules/python3-aiohttp-json-rpc.in @@ -0,0 +1,7 @@ +## SECTION=python3 + +config PYTHON3_AIOHTTP_JSON_RPC + tristate + select PYTHON3 + select PYTHON3_AIOHTTP if RUNTIME + prompt "aiohttp-json-rpc" diff --git a/rules/python3-aiohttp-json-rpc.make b/rules/python3-aiohttp-json-rpc.make new file mode 100644 index 000000000..2ecf1e3ef --- /dev/null +++ b/rules/python3-aiohttp-json-rpc.make @@ -0,0 +1,54 @@ +# -*-makefile-*- +# +# Copyright (C) 2016 by Florian Scherf +# +# 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_AIOHTTP_JSON_RPC) += python3-aiohttp-json-rpc + +# +# Paths and names +# +PYTHON3_AIOHTTP_JSON_RPC_VERSION := 0.5.1 +PYTHON3_AIOHTTP_JSON_RPC_MD5 := 11ba906c51ff5bf8aab0b57004c3036d +PYTHON3_AIOHTTP_JSON_RPC := aiohttp-json-rpc-$(PYTHON3_AIOHTTP_JSON_RPC_VERSION) +PYTHON3_AIOHTTP_JSON_RPC_SUFFIX := tar.gz +PYTHON3_AIOHTTP_JSON_RPC_URL := https://pypi.python.org/packages/3b/a8/04a2b02bb68b8a7f9eff84ab2241fba8df14a2796613a830a70b8eeecaa6/$(PYTHON3_AIOHTTP_JSON_RPC).$(PYTHON3_AIOHTTP_JSON_RPC_SUFFIX)\#md5=$(PYTHON3_AIOHTTP_JSON_RPC_MD5) +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 ") + @$(call install_fixup, python3-aiohttp-json-rpc, DESCRIPTION, missing) + + @$(call install_glob, python3-aiohttp-json-rpc, 0, 0, -, \ + /usr/lib/python$(PYTHON3_MAJORMINOR)/site-packages/aiohttp_json_rpc,, *.py) + + @$(call install_finish, python3-aiohttp-json-rpc) + + @$(call touch) + +# vim: syntax=make -- cgit v1.2.3