Skip to contentSkip to conversation

Add python3-cvxopt

PATCH Superseded Gregory Anders 3 participants 3 messages Nov 9, 2020

v2 of 4 Superseded Latest is v4 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 Add python3-cvxopt

---
Added python3-cvxopt to meta-python packagegroup

 .../packagegroups/packagegroup-meta-python.bb |  1 +
 .../python/python3-cvxopt_1.2.5.bb            | 20 +++++++++++++++++++
 2 files changed, 21 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 +20 -0
new file mode 100644
index 000000000..7d01b22a1
@@ -0,0 +1,20 @@
+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 = "1.2.5"
+PV = "${SRCREV}"
+
+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 1 line

SRCREV = "1.2.5"

Use the actual git SHA not the tag name.

Quoted 57 lines · Gregory Anders

---
Added python3-cvxopt to meta-python packagegroup

 .../packagegroups/packagegroup-meta-python.bb |  1 +
 .../python/python3-cvxopt_1.2.5.bb            | 20 +++++++++++++++++++
 2 files changed, 21 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/

python3-cvxopt_1.2.5.bb

(quoted diff) +0 -0

packagegroup-meta-python.bb b/meta-python/recipes-core/packagegroups/ packagegroup-meta-python.bb
index 6a3061986..0120fb873 100644

meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb +1 -0
@@ -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 +20 -1
new file mode 100644
index 000000000..7d01b22a1
@@ -0,0 +1,20 @@
+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 = "1.2.5"
+PV = "${SRCREV}"
+
+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

#2 lore raw
In reply to Gregory Anders
Quoted 27 lines · Gregory Anders

---
Added python3-cvxopt to meta-python packagegroup

 .../packagegroups/packagegroup-meta-python.bb |  1 +
 .../python/python3-cvxopt_1.2.5.bb            | 20 +++++++++++++++++++
 2 files changed, 21 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 +0 -0
new file mode 100644
index 000000000..7d01b22a1

meta-python/recipes-devtools/python/python3-cvxopt_1.2.5.bb line 9

Quoted 9 lines
meta-python/recipes-devtools/python/python3-cvxopt_1.2.5.bb new file +9 -0
@@ -0,0 +1,20 @@
+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 = "1.2.5"
+PV = "${SRCREV}"

since you have it in recipe name. setting PV here is not needed.

Quoted 17 lines
meta-python/recipes-devtools/python/python3-cvxopt_1.2.5.bb new file +11 -1
+
+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