All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-python][PATCH 1/5] pypi.bbclass: new class to ease writing pypi recipes
@ 2015-03-26 18:43 Andreas Oberritter
  2015-03-26 18:43 ` [meta-python][PATCH 2/5] python-six: Python 2 and 3 compatibility library, version 1.9.0 Andreas Oberritter
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Andreas Oberritter @ 2015-03-26 18:43 UTC (permalink / raw)
  To: openembedded-devel

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
---
 meta-python/classes/pypi.bbclass | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 meta-python/classes/pypi.bbclass

diff --git a/meta-python/classes/pypi.bbclass b/meta-python/classes/pypi.bbclass
new file mode 100644
index 0000000..41a70e2
--- /dev/null
+++ b/meta-python/classes/pypi.bbclass
@@ -0,0 +1,21 @@
+def pypi_package(d):
+    bpn = d.getVar('BPN', True)
+    if bpn.startswith('python-'):
+        return bpn[7:]
+    return bpn
+
+PYPI_PACKAGE ?= "${@pypi_package(d)}"
+
+def pypi_src_uri(d):
+    package = d.getVar('PYPI_PACKAGE', True)
+    pv = d.getVar('PV', True)
+    return 'https://pypi.python.org/packages/source/%s/%s/%s-%s.tar.gz' % (package[0], package, package, pv)
+
+PYPI_SRC_URI ?= "${@pypi_src_uri(d)}"
+
+HOMEPAGE ?= "https://pypi.python.org/pypi/${PYPI_PACKAGE}/"
+SECTION = "devel/python"
+SRC_URI += "${PYPI_SRC_URI}"
+S = "${WORKDIR}/${PYPI_PACKAGE}-${PV}"
+
+inherit setuptools
-- 
1.9.1



^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [meta-python][PATCH 2/5] python-six: Python 2 and 3 compatibility library, version 1.9.0
  2015-03-26 18:43 [meta-python][PATCH 1/5] pypi.bbclass: new class to ease writing pypi recipes Andreas Oberritter
@ 2015-03-26 18:43 ` Andreas Oberritter
  2015-03-26 18:43 ` [meta-python][PATCH 3/5] python-enum34: backport of Python 3.4's enum package, version 1.0.4 Andreas Oberritter
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Andreas Oberritter @ 2015-03-26 18:43 UTC (permalink / raw)
  To: openembedded-devel

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
---
 meta-python/recipes-devtools/python/python-six_1.9.0.bb | 8 ++++++++
 1 file changed, 8 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python-six_1.9.0.bb

diff --git a/meta-python/recipes-devtools/python/python-six_1.9.0.bb b/meta-python/recipes-devtools/python/python-six_1.9.0.bb
new file mode 100644
index 0000000..aa96dc9
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-six_1.9.0.bb
@@ -0,0 +1,8 @@
+SUMMARY = "Python 2 and 3 compatibility library"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=6f00d4a50713fa859858dd9abaa35b21"
+
+SRC_URI[md5sum] = "476881ef4012262dfc8adc645ee786c4"
+SRC_URI[sha256sum] = "e24052411fc4fbd1f672635537c3fc2330d9481b18c0317695b46259512c91d5"
+
+inherit pypi
-- 
1.9.1



^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [meta-python][PATCH 3/5] python-enum34: backport of Python 3.4's enum package, version 1.0.4
  2015-03-26 18:43 [meta-python][PATCH 1/5] pypi.bbclass: new class to ease writing pypi recipes Andreas Oberritter
  2015-03-26 18:43 ` [meta-python][PATCH 2/5] python-six: Python 2 and 3 compatibility library, version 1.9.0 Andreas Oberritter
@ 2015-03-26 18:43 ` Andreas Oberritter
  2015-03-26 18:43 ` [meta-python][PATCH 4/5] python-pycparser: Parser of the C language, written in pure Python, version 2.10 Andreas Oberritter
  2015-03-26 18:43 ` [meta-python][PATCH 5/5] python-cffi: Foreign Function Interface for Python calling C code, version 0.9.2 Andreas Oberritter
  3 siblings, 0 replies; 5+ messages in thread
From: Andreas Oberritter @ 2015-03-26 18:43 UTC (permalink / raw)
  To: openembedded-devel

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
---
 meta-python/recipes-devtools/python/python-enum34_1.0.4.bb | 8 ++++++++
 1 file changed, 8 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python-enum34_1.0.4.bb

diff --git a/meta-python/recipes-devtools/python/python-enum34_1.0.4.bb b/meta-python/recipes-devtools/python/python-enum34_1.0.4.bb
new file mode 100644
index 0000000..2ef5df1
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-enum34_1.0.4.bb
@@ -0,0 +1,8 @@
+SUMMARY = "backport of Python 3.4's enum package"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://enum/LICENSE;md5=0a97a53a514564c20efd7b2e8976c87e"
+
+SRC_URI[md5sum] = "ac80f432ac9373e7d162834b264034b6"
+SRC_URI[sha256sum] = "d3c19f26a6a34629c18c775f59dfc5dd595764c722b57a2da56ebfb69b94e447"
+
+inherit pypi
-- 
1.9.1



^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [meta-python][PATCH 4/5] python-pycparser: Parser of the C language, written in pure Python, version 2.10
  2015-03-26 18:43 [meta-python][PATCH 1/5] pypi.bbclass: new class to ease writing pypi recipes Andreas Oberritter
  2015-03-26 18:43 ` [meta-python][PATCH 2/5] python-six: Python 2 and 3 compatibility library, version 1.9.0 Andreas Oberritter
  2015-03-26 18:43 ` [meta-python][PATCH 3/5] python-enum34: backport of Python 3.4's enum package, version 1.0.4 Andreas Oberritter
@ 2015-03-26 18:43 ` Andreas Oberritter
  2015-03-26 18:43 ` [meta-python][PATCH 5/5] python-cffi: Foreign Function Interface for Python calling C code, version 0.9.2 Andreas Oberritter
  3 siblings, 0 replies; 5+ messages in thread
From: Andreas Oberritter @ 2015-03-26 18:43 UTC (permalink / raw)
  To: openembedded-devel

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
---
 meta-python/recipes-devtools/python/python-pycparser_2.10.bb | 8 ++++++++
 1 file changed, 8 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python-pycparser_2.10.bb

diff --git a/meta-python/recipes-devtools/python/python-pycparser_2.10.bb b/meta-python/recipes-devtools/python/python-pycparser_2.10.bb
new file mode 100644
index 0000000..bee4052
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-pycparser_2.10.bb
@@ -0,0 +1,8 @@
+SUMMARY = "Parser of the C language, written in pure Python"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=d29d3ce07825100c58ca57eea171ab65"
+
+SRC_URI[md5sum] = "d87aed98c8a9f386aa56d365fe4d515f"
+SRC_URI[sha256sum] = "957d98b661c0b64b580ab6f94b125e09b6714154ee51de40bca16d3f0076b86c"
+
+inherit pypi
-- 
1.9.1



^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [meta-python][PATCH 5/5] python-cffi: Foreign Function Interface for Python calling C code, version 0.9.2
  2015-03-26 18:43 [meta-python][PATCH 1/5] pypi.bbclass: new class to ease writing pypi recipes Andreas Oberritter
                   ` (2 preceding siblings ...)
  2015-03-26 18:43 ` [meta-python][PATCH 4/5] python-pycparser: Parser of the C language, written in pure Python, version 2.10 Andreas Oberritter
@ 2015-03-26 18:43 ` Andreas Oberritter
  3 siblings, 0 replies; 5+ messages in thread
From: Andreas Oberritter @ 2015-03-26 18:43 UTC (permalink / raw)
  To: openembedded-devel

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
---
 meta-python/recipes-devtools/python/python-cffi_0.9.2.bb | 9 +++++++++
 1 file changed, 9 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python-cffi_0.9.2.bb

diff --git a/meta-python/recipes-devtools/python/python-cffi_0.9.2.bb b/meta-python/recipes-devtools/python/python-cffi_0.9.2.bb
new file mode 100644
index 0000000..6c34b67
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-cffi_0.9.2.bb
@@ -0,0 +1,9 @@
+SUMMARY = "Foreign Function Interface for Python calling C code"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=5677e2fdbf7cdda61d6dd2b57df547bf"
+DEPENDS = "libffi python-pycparser"
+
+SRC_URI[md5sum] = "b1bf4625ae07a8a932f2f1a2eb200c54"
+SRC_URI[sha256sum] = "1988ce7ff9c64ecd5077776175e90fd8f0a8c827cb241a23647175ce08126bb2"
+
+inherit pypi
-- 
1.9.1



^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-03-26 18:43 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-26 18:43 [meta-python][PATCH 1/5] pypi.bbclass: new class to ease writing pypi recipes Andreas Oberritter
2015-03-26 18:43 ` [meta-python][PATCH 2/5] python-six: Python 2 and 3 compatibility library, version 1.9.0 Andreas Oberritter
2015-03-26 18:43 ` [meta-python][PATCH 3/5] python-enum34: backport of Python 3.4's enum package, version 1.0.4 Andreas Oberritter
2015-03-26 18:43 ` [meta-python][PATCH 4/5] python-pycparser: Parser of the C language, written in pure Python, version 2.10 Andreas Oberritter
2015-03-26 18:43 ` [meta-python][PATCH 5/5] python-cffi: Foreign Function Interface for Python calling C code, version 0.9.2 Andreas Oberritter

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.