* [meta-python][PATCH v2] Add python3-cvxopt
@ 2020-11-09 18:31 Gregory Anders
2020-11-09 18:47 ` [oe] " Martin Jansa
2020-11-09 18:53 ` Khem Raj
0 siblings, 2 replies; 3+ messages in thread
From: Gregory Anders @ 2020-11-09 18:31 UTC (permalink / raw)
To: openembedded-devel; +Cc: 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
diff --git a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
index 6a3061986..0120fb873 100644
--- a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
+++ b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
@@ -425,6 +425,7 @@ RDEPENDS_packagegroup-meta-python3 = "\
python3-pycurl \
gyp \
python3-jsonref \
+ python3-cvxopt \
"
RDEPENDS_packagegroup-meta-python3-extended = "\
diff --git a/meta-python/recipes-devtools/python/python3-cvxopt_1.2.5.bb b/meta-python/recipes-devtools/python/python3-cvxopt_1.2.5.bb
new file mode 100644
index 000000000..7d01b22a1
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-cvxopt_1.2.5.bb
@@ -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
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [oe] [meta-python][PATCH v2] Add python3-cvxopt
2020-11-09 18:31 [meta-python][PATCH v2] Add python3-cvxopt Gregory Anders
@ 2020-11-09 18:47 ` Martin Jansa
2020-11-09 18:53 ` Khem Raj
1 sibling, 0 replies; 3+ messages in thread
From: Martin Jansa @ 2020-11-09 18:47 UTC (permalink / raw)
To: Gregory Anders; +Cc: openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 1976 bytes --]
> SRCREV = "1.2.5"
Use the actual git SHA not the tag name.
On Mon, Nov 9, 2020 at 7:32 PM Gregory Anders <greg@gpanders.com> wrote:
> ---
> 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
>
> diff --git a/meta-python/recipes-core/packagegroups/
> packagegroup-meta-python.bb b/meta-python/recipes-core/packagegroups/
> packagegroup-meta-python.bb
> index 6a3061986..0120fb873 100644
> --- a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
> +++ b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
> @@ -425,6 +425,7 @@ RDEPENDS_packagegroup-meta-python3 = "\
> python3-pycurl \
> gyp \
> python3-jsonref \
> + python3-cvxopt \
> "
>
> RDEPENDS_packagegroup-meta-python3-extended = "\
> diff --git a/meta-python/recipes-devtools/python/python3-cvxopt_1.2.5.bb
> b/meta-python/recipes-devtools/python/python3-cvxopt_1.2.5.bb
> new file mode 100644
> index 000000000..7d01b22a1
> --- /dev/null
> +++ b/meta-python/recipes-devtools/python/python3-cvxopt_1.2.5.bb
> @@ -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
>
>
>
>
>
[-- Attachment #2: Type: text/html, Size: 3505 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [oe] [meta-python][PATCH v2] Add python3-cvxopt
2020-11-09 18:31 [meta-python][PATCH v2] Add python3-cvxopt Gregory Anders
2020-11-09 18:47 ` [oe] " Martin Jansa
@ 2020-11-09 18:53 ` Khem Raj
1 sibling, 0 replies; 3+ messages in thread
From: Khem Raj @ 2020-11-09 18:53 UTC (permalink / raw)
To: Gregory Anders; +Cc: openembeded-devel
On Mon, Nov 9, 2020 at 10:32 AM Gregory Anders <greg@gpanders.com> wrote:
>
> ---
> 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
>
> diff --git a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
> index 6a3061986..0120fb873 100644
> --- a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
> +++ b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
> @@ -425,6 +425,7 @@ RDEPENDS_packagegroup-meta-python3 = "\
> python3-pycurl \
> gyp \
> python3-jsonref \
> + python3-cvxopt \
> "
>
> RDEPENDS_packagegroup-meta-python3-extended = "\
> diff --git a/meta-python/recipes-devtools/python/python3-cvxopt_1.2.5.bb b/meta-python/recipes-devtools/python/python3-cvxopt_1.2.5.bb
> new file mode 100644
> index 000000000..7d01b22a1
> --- /dev/null
> +++ b/meta-python/recipes-devtools/python/python3-cvxopt_1.2.5.bb
> @@ -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.
> +
> +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
>
>
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-11-09 18:53 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-11-09 18:31 [meta-python][PATCH v2] Add python3-cvxopt Gregory Anders
2020-11-09 18:47 ` [oe] " Martin Jansa
2020-11-09 18:53 ` Khem Raj
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.