Skip to contentSkip to conversation

python-pysendfile: new package

PATCH New Yegor Yefremov 2 participants 2 messages Jan 20, 2015 – Jan 23, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python-pysendfile: new package

---
 package/Config.in                                |  1 +
 package/python-pysendfile/Config.in              |  6 ++++++
 package/python-pysendfile/python-pysendfile.hash |  3 +++
 package/python-pysendfile/python-pysendfile.mk   | 13 +++++++++++++
 4 files changed, 23 insertions(+)
 create mode 100644 package/python-pysendfile/Config.in
 create mode 100644 package/python-pysendfile/python-pysendfile.hash
 create mode 100644 package/python-pysendfile/python-pysendfile.mk
package/Config.in +1 -0
index 266de13..32d6755 100644
@@ -540,6 +540,7 @@ menu "external python modules"
 	source "package/python-pyparsing/Config.in"
 	source "package/python-pypcap/Config.in"
 	source "package/python-pyro/Config.in"
+	source "package/python-pysendfile/Config.in"
 	source "package/python-pysnmp/Config.in"
 	source "package/python-pysnmp-apps/Config.in"
 	source "package/python-pysnmp-mibs/Config.in"
package/python-pysendfile/Config.in new file +6 -0
new file mode 100644
index 0000000..5a919dd
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_PYTHON_PYSENDFILE
+	bool "python-pysendfile"
+	help
+	  A Python interface to sendfile(2) syscall
+
+	  https://github.com/giampaolo/pysendfile
package/python-pysendfile/python-pysendfile.hash new file +3 -0
new file mode 100644
index 0000000..3cedb3f
@@ -0,0 +1,3 @@
+# Locally computed:
+sha256  f4ca8a7f0be67e3d710c0633dd9aadab6881203c31cb9eb9be4f10361ad3f937  python-pysendfile-2.0.1.tar.gz
+
package/python-pysendfile/python-pysendfile.mk new file +13 -0
new file mode 100644
index 0000000..bb8f057
@@ -0,0 +1,13 @@
+################################################################################
+#
+# python-pysendfile
+#
+################################################################################
+
+PYTHON_PYSENDFILE_VERSION = 2.0.1
+PYTHON_PYSENDFILE_SITE = $(call github,giampaolo,pysendfile,release-$(PYTHON_PYSENDFILE_VERSION))
+PYTHON_PYSENDFILE_SETUP_TYPE = setuptools
+PYTHON_PYSENDFILE_LICENSE = MIT
+PYTHON_PYSENDFILE_LICENSE_FILES = LICENSE
+
+$(eval $(python-package))
Signature · 1 line
2.1.0
#1 lore raw

PATCH 1/1 python-pysendfile: new package

Quoted 43 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Yegor" == Yegor Yefremov <[email protected]> writes:

---
 package/Config.in                                |  1 +
 package/python-pysendfile/Config.in              |  6 ++++++
 package/python-pysendfile/python-pysendfile.hash |  3 +++
 package/python-pysendfile/python-pysendfile.mk   | 13 +++++++++++++
 4 files changed, 23 insertions(+)
 create mode 100644 package/python-pysendfile/Config.in
 create mode 100644 package/python-pysendfile/python-pysendfile.hash
 create mode 100644 package/python-pysendfile/python-pysendfile.mk
package/Config.in +1 -0
index 266de13..32d6755 100644
@@ -540,6 +540,7 @@ menu "external python modules"
 	source "package/python-pyparsing/Config.in"
 	source "package/python-pypcap/Config.in"
 	source "package/python-pyro/Config.in"
+	source "package/python-pysendfile/Config.in"
 	source "package/python-pysnmp/Config.in"
 	source "package/python-pysnmp-apps/Config.in"
 	source "package/python-pysnmp-mibs/Config.in"
package/python-pysendfile/Config.in new file +6 -0
new file mode 100644
index 0000000..5a919dd
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_PYTHON_PYSENDFILE
+	bool "python-pysendfile"
+	help
+	  A Python interface to sendfile(2) syscall
+
+	  https://github.com/giampaolo/pysendfile
package/python-pysendfile/python-pysendfile.hash new file +0 -0
new file mode 100644
index 0000000..3cedb3f

package/python-pysendfile/python-pysendfile.hash line 3

Quoted 3 lines
package/python-pysendfile/python-pysendfile.hash new file +3 -0
@@ -0,0 +1,3 @@
+# Locally computed:
+sha256  f4ca8a7f0be67e3d710c0633dd9aadab6881203c31cb9eb9be4f10361ad3f937  python-pysendfile-2.0.1.tar.gz
+

Extra newline here, otherwise it looks good.

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard