aboutsummaryrefslogtreecommitdiff
path: root/package/python-m2crypto/python-m2crypto.mk
diff options
context:
space:
mode:
authorGravatar Gustavo Heinz <gustavo@gsthnz.com>2020-09-18 12:18:51 -0300
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2020-09-22 22:22:35 +0200
commit8b9c3100ef4897523c72b513956a14c01224f1ad (patch)
treefee809a61b4e50806a35cf1ab5fab8c64b733b79 /package/python-m2crypto/python-m2crypto.mk
parent894116a6e07541c654810ed042fc03ad3d04959e (diff)
downloadbuildroot-8b9c3100ef4897523c72b513956a14c01224f1ad.tar.gz
buildroot-8b9c3100ef4897523c72b513956a14c01224f1ad.tar.bz2
package/python-m2crypto: new package
Signed-off-by: Gustavo Heinz <gustavo@gsthnz.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'package/python-m2crypto/python-m2crypto.mk')
-rw-r--r--package/python-m2crypto/python-m2crypto.mk16
1 files changed, 16 insertions, 0 deletions
diff --git a/package/python-m2crypto/python-m2crypto.mk b/package/python-m2crypto/python-m2crypto.mk
new file mode 100644
index 0000000000..ccc63058ce
--- /dev/null
+++ b/package/python-m2crypto/python-m2crypto.mk
@@ -0,0 +1,16 @@
+################################################################################
+#
+# python-m2crypto
+#
+################################################################################
+
+PYTHON_M2CRYPTO_VERSION = 0.36.0
+PYTHON_M2CRYPTO_SOURCE = M2Crypto-$(PYTHON_M2CRYPTO_VERSION).tar.gz
+PYTHON_M2CRYPTO_SITE = https://files.pythonhosted.org/packages/ff/df/84609ed874b5e6fcd3061a517bf4b6e4d0301f553baf9fa37bef2b509797
+PYTHON_M2CRYPTO_SETUP_TYPE = setuptools
+PYTHON_M2CRYPTO_LICENSE = MIT
+PYTHON_M2CRYPTO_LICENSE_FILES = LICENCE
+PYTHON_M2CRYPTO_DEPENDENCIES = openssl host-swig
+PYTHON_M2CRYPTO_BUILD_OPTS = --openssl=$(STAGING_DIR)/usr
+
+$(eval $(python-package))