python-certifi: add new package
authorYegor Yefremov <yegorslists@googlemail.com>
Sat, 22 Nov 2014 22:06:42 +0000 (23:06 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 23 Nov 2014 21:13:26 +0000 (22:13 +0100)
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/Config.in
package/python-certifi/Config.in [new file with mode: 0644]
package/python-certifi/python-certifi.hash [new file with mode: 0644]
package/python-certifi/python-certifi.mk [new file with mode: 0644]

index 9188041e0452e94fef5529012ba5e99c0dc3137a..a8128ff8768faf8db2099c978a977e7afef67a9d 100644 (file)
@@ -483,6 +483,7 @@ endif
 if BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3
 menu "external python modules"
        source "package/python-bottle/Config.in"
+       source "package/python-certifi/Config.in"
        source "package/python-cffi/Config.in"
        source "package/python-configobj/Config.in"
        source "package/python-configshell-fb/Config.in"
diff --git a/package/python-certifi/Config.in b/package/python-certifi/Config.in
new file mode 100644 (file)
index 0000000..9390b4f
--- /dev/null
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_PYTHON_CERTIFI
+       bool "python-certifi"
+       help
+         Python package for providing Mozilla's CA Bundle.
+
+         https://pypi.python.org/pypi/certifi
diff --git a/package/python-certifi/python-certifi.hash b/package/python-certifi/python-certifi.hash
new file mode 100644 (file)
index 0000000..9277f51
--- /dev/null
@@ -0,0 +1,2 @@
+sha1   f53dc8f57aaf6d69c183ebadcec52ece0a55cc3f                         certifi-14.05.14.tar.gz
+sha256 1e1bcbacd6357c151ae37cf0290dcc809721d32ce21fd6b7339568f3ddef1b69 certifi-14.05.14.tar.gz
diff --git a/package/python-certifi/python-certifi.mk b/package/python-certifi/python-certifi.mk
new file mode 100644 (file)
index 0000000..f142041
--- /dev/null
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-certifi
+#
+################################################################################
+
+PYTHON_CERTIFI_VERSION = 14.05.14
+PYTHON_CERTIFI_SOURCE = certifi-$(PYTHON_CERTIFI_VERSION).tar.gz
+PYTHON_CERTIFI_SITE = https://pypi.python.org/packages/source/c/certifi
+PYTHON_CERTIFI_SETUP_TYPE = setuptools
+PYTHON_CERTIFI_LICENSE = ISC (Python code), MPL-2.0 (cacert.pem)
+PYTHON_CERTIFI_LICENSE_FILES = LICENSE
+
+$(eval $(python-package))