Sfoglia il codice sorgente

python-pysendfile: new package

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Yegor Yefremov 10 anni fa
parent
commit
a5d88d8cca

+ 1 - 0
package/Config.in

@@ -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"

+ 6 - 0
package/python-pysendfile/Config.in

@@ -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

+ 2 - 0
package/python-pysendfile/python-pysendfile.hash

@@ -0,0 +1,2 @@
+# Locally computed:
+sha256  f4ca8a7f0be67e3d710c0633dd9aadab6881203c31cb9eb9be4f10361ad3f937  python-pysendfile-2.0.1.tar.gz

+ 13 - 0
package/python-pysendfile/python-pysendfile.mk

@@ -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))