Skip to contentSkip to conversation

Add python3-cvxopt

PATCH Superseded Gregory Anders 2 participants 2 messages Nov 9, 2020 – Nov 12, 2020

v3 of 4 Superseded Latest is v4 →

lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 Add python3-cvxopt

---
* Remove superfluous PV definition (not needed when version is in the recipe name)
* Use actual git revision instead of tag name for SRCREV

 .../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 6a3061986..0120fb873 100644
@@ -425,6 +425,7 @@ RDEPENDS_packagegroup-meta-python3 = "\
     python3-pycurl \
     gyp \
     python3-jsonref \
+    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
#1 lore raw
Quoted 6 lines · Gregory Anders

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

---
* Remove superfluous PV definition (not needed when version is in the recipe name)
* Use actual git revision instead of tag name for SRCREV

This patch appears to be good, but there's no sign-off here. Can you re-submit with your sign-off added?

For example, mine would be "Signed-off-by: Trevor Gamblin <[email protected]>"

You should be able to generate it automatically with git using the -s option when you create or amend the commit.

Quoted 49 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 6a3061986..0120fb873 100644
@@ -425,6 +425,7 @@ RDEPENDS_packagegroup-meta-python3 = "\
      python3-pycurl \
      gyp \
      python3-jsonref \
+    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