summaryrefslogtreecommitdiffstats
path: root/rules/python3-simplegeneric.make
diff options
context:
space:
mode:
authorFlorian Scherf <f.scherf@pengutronix.de>2016-02-09 15:02:57 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2016-02-09 15:48:40 +0100
commitec810da5604aa50c56b8b5407b23a98b160786f4 (patch)
tree9acb524323773197d7086f8dd53da2ad15e73b35 /rules/python3-simplegeneric.make
parent3821bc44215509f86522f1f9a20b0bb33120bc6a (diff)
downloadptxdist-ec810da5604aa50c56b8b5407b23a98b160786f4.tar.gz
ptxdist-ec810da5604aa50c56b8b5407b23a98b160786f4.tar.xz
python3-simplegeneric: 0.8.1
Signed-off-by: Florian Scherf <f.scherf@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/python3-simplegeneric.make')
-rw-r--r--rules/python3-simplegeneric.make55
1 files changed, 55 insertions, 0 deletions
diff --git a/rules/python3-simplegeneric.make b/rules/python3-simplegeneric.make
new file mode 100644
index 000000000..c56f941a7
--- /dev/null
+++ b/rules/python3-simplegeneric.make
@@ -0,0 +1,55 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2016 by Florian Scherf <f.scherf@pengutronix.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_SIMPLEGENERIC) += python3-simplegeneric
+
+#
+# Paths and names
+#
+PYTHON3_SIMPLEGENERIC_VERSION := 0.8.1
+PYTHON3_SIMPLEGENERIC_MD5 := f9c1fab00fd981be588fc32759f474e3
+PYTHON3_SIMPLEGENERIC := simplegeneric-$(PYTHON3_SIMPLEGENERIC_VERSION)
+PYTHON3_SIMPLEGENERIC_SUFFIX := zip
+PYTHON3_SIMPLEGENERIC_URL := https://pypi.python.org/packages/source/s/simplegeneric/$(PYTHON3_SIMPLEGENERIC).$(PYTHON3_SIMPLEGENERIC_SUFFIX)\#md5=$(PYTHON3_SIMPLEGENERIC_MD5)
+PYTHON3_SIMPLEGENERIC_SOURCE := $(SRCDIR)/$(PYTHON3_SIMPLEGENERIC).$(PYTHON3_SIMPLEGENERIC_SUFFIX)
+PYTHON3_SIMPLEGENERIC_DIR := $(BUILDDIR)/$(PYTHON3_SIMPLEGENERIC)
+PYTHON3_SIMPLEGENERIC_LICENSE := ZPL-2.1
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+PYTHON3_SIMPLEGENERIC_CONF_TOOL := python3
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/python3-simplegeneric.targetinstall:
+ @$(call targetinfo)
+
+ @$(call install_init, python3-simplegeneric)
+ @$(call install_fixup, python3-simplegeneric, PRIORITY, optional)
+ @$(call install_fixup, python3-simplegeneric, SECTION, base)
+ @$(call install_fixup, python3-simplegeneric, AUTHOR, "Florian Scherf <f.scherf@pengutronix.de>")
+ @$(call install_fixup, python3-simplegeneric, DESCRIPTION, missing)
+
+ @$(call install_copy, python3-simplegeneric, 0, 0, 0644, \
+ $(PYTHON3_SIMPLEGENERIC_PKGDIR)/usr/lib/python$(PYTHON3_MAJORMINOR)/site-packages/simplegeneric.pyc, \
+ /usr/lib/python$(PYTHON3_MAJORMINOR)/site-packages/simplegeneric.pyc)
+
+ @$(call install_finish, python3-simplegeneric)
+
+ @$(call touch)
+
+# vim: syntax=make