summaryrefslogtreecommitdiffstats
path: root/rules/python3-ptyprocess.make
diff options
context:
space:
mode:
authorFlorian Scherf <f.scherf@pengutronix.de>2016-02-09 15:02:56 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2016-02-09 15:48:40 +0100
commit3821bc44215509f86522f1f9a20b0bb33120bc6a (patch)
tree9d0b8afc2577cf428161e1f163667bac05364459 /rules/python3-ptyprocess.make
parent2885f0fe1f97e67e5e7e36ab89dbefa0dbd29db0 (diff)
downloadptxdist-3821bc44215509f86522f1f9a20b0bb33120bc6a.tar.gz
ptxdist-3821bc44215509f86522f1f9a20b0bb33120bc6a.tar.xz
python3-ptyprocess: add 0.5.1
Signed-off-by: Florian Scherf <f.scherf@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/python3-ptyprocess.make')
-rw-r--r--rules/python3-ptyprocess.make57
1 files changed, 57 insertions, 0 deletions
diff --git a/rules/python3-ptyprocess.make b/rules/python3-ptyprocess.make
new file mode 100644
index 000000000..3b01a48f9
--- /dev/null
+++ b/rules/python3-ptyprocess.make
@@ -0,0 +1,57 @@
+# -*-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_PTYPROCESS) += python3-ptyprocess
+
+#
+# Paths and names
+#
+PYTHON3_PTYPROCESS_VERSION := 0.5.1
+PYTHON3_PTYPROCESS_MD5 := 94e537122914cc9ec9c1eadcd36e73a1
+PYTHON3_PTYPROCESS := ptyprocess-$(PYTHON3_PTYPROCESS_VERSION)
+PYTHON3_PTYPROCESS_SUFFIX := tar.gz
+PYTHON3_PTYPROCESS_URL := https://pypi.python.org/packages/source/p/ptyprocess/$(PYTHON3_PTYPROCESS).$(PYTHON3_PTYPROCESS_SUFFIX)\#md5=$(PYTHON3_PTYPROCESS_MD5)
+PYTHON3_PTYPROCESS_SOURCE := $(SRCDIR)/$(PYTHON3_PTYPROCESS).$(PYTHON3_PTYPROCESS_SUFFIX)
+PYTHON3_PTYPROCESS_DIR := $(BUILDDIR)/$(PYTHON3_PTYPROCESS)
+PYTHON3_PTYPROCESS_LICENSE := ISC
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+PYTHON3_PTYPROCESS_CONF_TOOL := python3
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/python3-ptyprocess.targetinstall:
+ @$(call targetinfo)
+
+ @$(call install_init, python3-ptyprocess)
+ @$(call install_fixup, python3-ptyprocess, PRIORITY, optional)
+ @$(call install_fixup, python3-ptyprocess, SECTION, base)
+ @$(call install_fixup, python3-ptyprocess, AUTHOR, "Florian Scherf <f.scherf@pengutronix.de>")
+ @$(call install_fixup, python3-ptyprocess, DESCRIPTION, missing)
+
+ @for file in `find $(PYTHON3_PTYPROCESS_PKGDIR)/usr/lib/python$(PYTHON3_MAJORMINOR)/site-packages/ptyprocess \
+ ! -type d ! -name "*.py" -printf "%P\n"`; do \
+ $(call install_copy, python3-ptyprocess, 0, 0, 0644, -, \
+ /usr/lib/python$(PYTHON3_MAJORMINOR)/site-packages/ptyprocess/$$file); \
+ done
+
+ @$(call install_finish, python3-ptyprocess)
+
+ @$(call touch)
+
+# vim: syntax=make