diff options
author | Lars Pedersen <lapeddk@gmail.com> | 2019-12-05 11:44:30 +0100 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2019-12-05 14:38:50 +0100 |
commit | 1cd684a74e7ad68e03abefee26620f22fa5855b1 (patch) | |
tree | 77d9925fb1c8450d40a58c4044b389c925c89b2f /rules/python3-iniherit.make | |
parent | 8b167e6a799c9747d760e1bda5dd586b9b3f0b18 (diff) | |
download | ptxdist-1cd684a74e7ad68e03abefee26620f22fa5855b1.tar.gz ptxdist-1cd684a74e7ad68e03abefee26620f22fa5855b1.tar.xz |
python3-iniherit: new package
Signed-off-by: Lars Pedersen <lapeddk@gmail.com>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/python3-iniherit.make')
-rw-r--r-- | rules/python3-iniherit.make | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/rules/python3-iniherit.make b/rules/python3-iniherit.make new file mode 100644 index 000000000..c60c17b8d --- /dev/null +++ b/rules/python3-iniherit.make @@ -0,0 +1,54 @@ +# -*-makefile-*- +# +# Copyright (C) 2019 by Lars Pedersen <lapeddk@gmail.com> +# +# For further information about the PTXdist project and license conditions +# see the README file. +# + +# +# We provide this package +# +PACKAGES-$(PTXCONF_PYTHON3_INIHERIT) += python3-iniherit + +# +# Paths and names +# +PYTHON3_INIHERIT_VERSION := 0.3.9 +PYTHON3_INIHERIT_MD5 := 0e501d38a1ad7c9bde7bff9387d4a582 +PYTHON3_INIHERIT := iniherit-$(PYTHON3_INIHERIT_VERSION) +PYTHON3_INIHERIT_SUFFIX := tar.gz +PYTHON3_INIHERIT_URL := https://files.pythonhosted.org/packages/source/i/iniherit/$(PYTHON3_INIHERIT).$(PYTHON3_INIHERIT_SUFFIX) +PYTHON3_INIHERIT_SOURCE := $(SRCDIR)/$(PYTHON3_INIHERIT).$(PYTHON3_INIHERIT_SUFFIX) +PYTHON3_INIHERIT_DIR := $(BUILDDIR)/$(PYTHON3_INIHERIT) +PYTHON3_INIHERIT_LICENSE := MIT +PYTHON3_INIHERIT_LICENSE_FILES := \ + file://LICENSE.txt;md5=ccfdd023b4e59440af77d101a05dc5ed + +# ---------------------------------------------------------------------------- +# Prepare +# ---------------------------------------------------------------------------- + +PYTHON3_INIHERIT_CONF_TOOL := python3 + +# ---------------------------------------------------------------------------- +# Target-Install +# ---------------------------------------------------------------------------- + +$(STATEDIR)/python3-iniherit.targetinstall: + @$(call targetinfo) + + @$(call install_init, python3-iniherit) + @$(call install_fixup, python3-iniherit,PRIORITY,optional) + @$(call install_fixup, python3-iniherit,SECTION,base) + @$(call install_fixup, python3-iniherit,AUTHOR,"Lars Pedersen <lapeddk@gmail.com>") + @$(call install_fixup, python3-iniherit,DESCRIPTION,missing) + + @$(call install_glob,python3-iniherit, 0, 0, -, \ + /usr/lib/python$(PYTHON3_MAJORMINOR)/site-packages,*.pyc,) + + @$(call install_finish, python3-iniherit) + + @$(call touch) + +# vim: syntax=make |