Skip to contentSkip to conversation

Add python3-cvxopt

PATCH In review Gregory Anders 2 participants 2 messages Nov 12, 2020

lore
Share & tools
lore
#0 lore raw

PATCH v4 1/1 Add python3-cvxopt

---
 .../packagegroups/packagegroup-meta-python.bb |  1 +
 .../python/python3-cvxopt_1.2.5.bb            | 19 +++++++++++++++++++
 2 files changed, 20 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-cvxopt_1.2.5.bb
meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb +1 -0
index b8265fcc5..142687f30 100644
@@ -428,6 +428,7 @@ RDEPENDS_packagegroup-meta-python3 = "\
     python3-transitions \
     python3-dill \
     python3-cerberus \
+    python3-cvxopt \
 "
 
 RDEPENDS_packagegroup-meta-python3-extended = "\
meta-python/recipes-devtools/python/python3-cvxopt_1.2.5.bb new file +19 -0
new file mode 100644
index 000000000..b440d62bd
@@ -0,0 +1,19 @@
+SUMMARY = "Convex optimization package"
+HOMEPAGE = "http://cvxopt.org"
+LICENSE = "GPL-3.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=4905701d14049b3f8e4774c290aeee21"
+
+SRC_URI = "git://github.com/cvxopt/cvxopt;protocol=https"
+
+SRCREV = "5b59d87007bf6fdea464e14875543b35255b84b2"
+
+S = "${WORKDIR}/git"
+
+RDEPENDS_${PN} += "lapack suitesparse"
+DEPENDS += "lapack suitesparse"
+
+inherit setuptools3
+
+export CVXOPT_BLAS_LIB_DIR = "${STAGING_LIBDIR}"
+export CVXOPT_SUITESPARSE_LIB_DIR = "${STAGING_LIBDIR}"
+export CVXOPT_SUITESPARSE_INC_DIR = "${STAGING_INCDIR}"
Signature · 1 line
2.29.2
Acked-by on v4 1/1
#1 lore raw
Quoted 3 lines · Gregory Anders

[Please note this e-mail is from an EXTERNAL e-mail address]

Quoted 46 lines
---
  .../packagegroups/packagegroup-meta-python.bb |  1 +
  .../python/python3-cvxopt_1.2.5.bb            | 19 +++++++++++++++++++
  2 files changed, 20 insertions(+)

create mode 100644 meta-python/recipes-devtools/python/python3-cvxopt_1.2.5.bb

meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb +1 -0
index b8265fcc5..142687f30 100644
@@ -428,6 +428,7 @@ RDEPENDS_packagegroup-meta-python3 = "\
      python3-transitions \
      python3-dill \
      python3-cerberus \
+    python3-cvxopt \
  "
 
  RDEPENDS_packagegroup-meta-python3-extended = "\
meta-python/recipes-devtools/python/python3-cvxopt_1.2.5.bb new file +19 -1
new file mode 100644
index 000000000..b440d62bd
@@ -0,0 +1,19 @@
+SUMMARY = "Convex optimization package"
+HOMEPAGE = "http://cvxopt.org"
+LICENSE = "GPL-3.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=4905701d14049b3f8e4774c290aeee21"
+
+SRC_URI = "git://github.com/cvxopt/cvxopt;protocol=https"
+
+SRCREV = "5b59d87007bf6fdea464e14875543b35255b84b2"
+
+S = "${WORKDIR}/git"
+
+RDEPENDS_${PN} += "lapack suitesparse"
+DEPENDS += "lapack suitesparse"
+
+inherit setuptools3
+
+export CVXOPT_BLAS_LIB_DIR = "${STAGING_LIBDIR}"
+export CVXOPT_SUITESPARSE_LIB_DIR = "${STAGING_LIBDIR}"
+export CVXOPT_SUITESPARSE_INC_DIR = "${STAGING_INCDIR}"
--

2.29.2