Commit Graph

148 Commits

Author SHA1 Message Date
Andreas Müller
e3392ec719 python-six: put python2/3 variant together
Upcoming 60.2.3 mozjs (meta-oe) requires python(2)-six-native for its
configuration. Currently python(2)-six lives in meta-python and it could be
moved to mozjs's home meta-oe but that would be just further clutter.

Once applied here patch to meta-python will be send.

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2019-05-29 02:26:16 -07:00
Niko Mauno
85dc931097 python-pygobject: Tune remove operation
Drop '-f, --force' operator from rm command as that will hide the fact
if the removed artifacts cease to exist in later version of this recipe.
Also drop a superfluous slash from artifact path.

Signed-off-by: Niko Mauno <niko.mauno@iki.fi>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-12-02 11:05:02 -08:00
Niko Mauno
6285fed830 python-pygobject: Fix style issue
Add missing space characters around the operator in SRCNAME declaration

Signed-off-by: Niko Mauno <niko.mauno@iki.fi>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-12-02 11:05:02 -08:00
Niko Mauno
203a973f57 python-pygobject: Remove duplication in inherit
Reflect following change in Pythonv3 variant of this recipe
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/meta?id=a195e0471d0df0ac26e00d6fcb3a2786e080a643
and drop redundant inherit for autotools and pkgconfig also here

Signed-off-by: Niko Mauno <niko.mauno@iki.fi>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-12-02 11:05:02 -08:00
Niko Mauno
999895d9a1 python-pygobject: Only check for even upstream versions
Reflect following change in Pythonv3 variant of this recipe
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/meta?id=fed093329b504cd46aa758983db6073b70c2af29
and add inherit for upstream-version-is-even.bbclass

Signed-off-by: Niko Mauno <niko.mauno@iki.fi>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-12-02 11:05:02 -08:00
Niko Mauno
7b47fbc02e python-pygobject: Drop redundant dependencies
Simplify recipe by reflecting following changes introduced to Pythonv3
variant of this recipe in commits
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/meta?id=b663374cf41465c6dc94001d6fa73a5523542fb6
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/meta?id=521ea98b2c622f5ae7e6d18849a0379fa7ed4e90
in which the gnome-common dependency was left out due to pygobject
moving to autoconf-archive, and remaining configure.ac patch file
was also deemed unnecessary.

Signed-off-by: Niko Mauno <niko.mauno@iki.fi>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-12-02 11:05:02 -08:00
Niko Mauno
1204dd2d0b python-pygobject: Drop redundant PYTHON* refs
Remove redundant PYTHON* declarations/references as this recipe builds
now correctly without them.

Signed-off-by: Niko Mauno <niko.mauno@iki.fi>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-12-02 11:05:02 -08:00
Niko Mauno
500434ccba python-pygobject: Fix invalid install path
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/meta?id=1dccb37d89f54d7284b6a81957ab228906f24e1c
has replaced PYTHON_PN references with hardcoded 'python' and 'python3'
strings in pythonnative.bbclass and python3native.bbclass, respectively.
Associated commit message states: "If both are inherited then both
native Pythons are available, but the last to be inherited will be the
one to set PYTHON."

Since after the above-mentioned commit this Pythonv2 recipe installs
wrongly into /usr/lib/python3.5/ directory, move inherit of
distutils-base.bbclass (which inherits pythonnative.bbclass) to right
hand side of gobject-introspection.bbclass (which inherits
python3native.bbclass) which changes the install path back to
/usr/lib/python2.7/ mitigating the issue.

Signed-off-by: Niko Mauno <niko.mauno@iki.fi>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-12-02 11:05:02 -08:00
Hongxu Jia
e9455606c9 clean up var-DISTUTILS_INSTALL_ARGS
Since the following commit applied in oe-core
...
21f0c5a distutils/setuptools, distutils3/setuptools3: improve reproducibility
...
It unified var-DISTUTILS_INSTALL_ARGS in distutils and setuptools,
so clean up the duplicated var-DISTUTILS_INSTALL_ARGS in each recipe.

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-07-27 07:19:17 -07:00
Changqing Li
ea32c08923 python-pygobject: 3.28.0 -> 3.28.3
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-07-20 16:07:12 -07:00
Trevor Woerner
c2404f15b8 python-cpuset: switch away from github archive
Since we know that github archives which are automatically generated have a
tendency to change their checksums[1], switch to using a git clone.

[1] http://lists.openembedded.org/pipermail/openembedded-devel/2017-September/114916.html

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-05-17 08:28:20 -07:00
Huang Qiyu
2aa496eb66 python-pygobject: 3.22.0 -> 3.28.0
1.Upgrad python-pygobject from 3.22.0 to 3.28.0.
2.Modify 0001-configure.ac-add-sysroot-path-to-GI_DATADIR-don-t-se.patch, since the data has been changed.

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
2018-03-29 16:51:20 -07:00
Tim Orling
4a36055c20 python-futures: upgrade v3.0.5 -> v3.2.0; inherit pypi
* For changes, see:
https://github.com/agronholm/pythonfutures/blob/master/CHANGES.rst

* Inheriting pypi class has the benefit of allowing
  auto-upgrade-helper to properly check for new versions
* HOMEPAGE is now on github
* Add nativesdk to BBCLASSEXTEND
* Use LICENSE file for license checksum
* License has changed from BSD to PSF

License-Update: use LICENSE file; license is now PSF

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-03-21 18:37:41 -07:00
Derek Straka
79080374c8 Remove deprecated ${PYTHON_PN}-importlib from the RDEPENDS
The ${PYTHON_PN}-importlib package was removed as part of the migration to the
json manifest file.  The functionality is now part of core

Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-01-26 17:28:11 -08:00
Khem Raj
5b365513c0 python-futures: Build native version
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-10-04 14:53:21 +00:00
Huang Qiyu
af0f9478fe python-pygobject: Add HOMEPAGE info into recipe file.
Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-09-13 11:13:24 +02:00
Jackie Huang
474eb0daa5 python-pygobject: remove the empty pkgconfig directory
The empty pkgconfif directory causes error when run
relocatable_native_pcfiles:

| sed: can't read /path/to/recipe-sysroot-native/usr/lib/pkgconfig/*.pc: No such file or directory

So remove the directory instead of removing the pc file
but left an empty pkgconfig diretory.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-05-04 09:18:33 +02:00
Derek Straka
32b0092f6f python-simplejson: relocate to meta-python and add a python3 version
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-04 12:38:56 +01:00
Derek Straka
67a0e5280a python-simplejson: update to version 3.10.0
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-02-22 13:16:54 +01:00
Jackie Huang
1bff71c623 python-pygobject: empty the RDEPENDS for native
The RDEPENDS for native package is not needed,
and it will fail since there is no provider for
python-importlib-native:

| ERROR: Nothing RPROVIDES 'python-importlib-native'

so empty the RDEPENDS for native package.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-01-10 13:12:55 +01:00
Huang Qiyu
d0a8298f52 python-pygobject: 3.20.1 -> 3.22.0
Upgrade python-pygobject from 3.20.1 to 3.22.0.

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-12-26 08:24:53 +01:00
Ross Burton
533826b765 meta-oe: add explicit dependencies on gnome-common
gnome-common is deprecated and gnomebase.bbclass will soon stop depending on it,
so add gnome-common to DEPENDS for the recipes that still use it.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-12-02 09:16:18 +01:00
Andreas Müller
b24dd42d48 python-distutils-extra: initial add 2.39
add version for python2 and python3

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-11-23 15:23:59 +01:00
Derek Straka
6752cba478 python-pygobject: update to version 3.20.1
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-08-15 12:32:01 +02:00
Armin Kuster
b813911696 cpuset: add new python package
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-07-29 10:59:41 +02:00
Hongxu Jia
016e7480a8 Revert "python-pygobject, python-cloudeebus, python-dbusmock: Blacklist because of python-pygobject is broken"
This reverts commit b0fae32dfc.

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-06-23 15:21:26 +02:00
Hongxu Jia
c06411f617 python-pygobject: fix do_configure failed
Fix build failure since it was moved to meta-oe

http://lists.openembedded.org/pipermail/openembedded-devel/2016-June/107798.html

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-06-23 15:21:25 +02:00
Martin Jansa
b0fae32dfc python-pygobject, python-cloudeebus, python-dbusmock: Blacklist because of python-pygobject is broken
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-06-13 19:06:46 +02:00
Alexander Kanavin
a18991d245 python-pygobject: add a recipe
oe-core provides only python3-pygobject now, and a few recipes in meta-oe
still need the version built against Python 2.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-06-08 14:55:26 +02:00
George McCollister
c2c895ec54 python-simplejson: change to setuptools
Change from distutils to setuptools.

simplejson's setup.py is written to import setup, Extension, Command
from setuptools and fallback to distutils if the import fails. Prior to
this change files were being installed to a host polluted path
/usr/lib/python2.7/site-packages/simplejson-3.8.2-py2.7-linux-x86_64.egg
(even on ARM targets). python was unable to import simplejson. Switching
to setuptools corrects the problem.

Signed-off-by: George McCollister <george.mccollister@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-06-08 14:55:24 +02:00
Derek Straka
345f9ee0ec python-futures: update to version 3.0.5
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-04-01 15:33:57 +02:00
Derek Straka
038931773a python-simplejson: update to 3.8.2
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-04-01 15:33:57 +02:00
Martin Jansa
2bd11da4b5 recipes: remove recipes using or depending on qt4 bbclasses or recipes
* anki is removed because it runtime depends on python-pyqt, other
  recipes are inheriting one of bbclasses removed from oe-core in:
  commit cb89d2b25b4edb1241bc5426a69a6bc44df9be2c
  Author: Alexander Kanavin <alexander.kanavin@linux.intel.com>
  Date:   Fri Nov 27 15:48:20 2015 +0200

      qt4: remove recipes and classes
* if you're still using one of these recipes add it to meta-qt4 layer

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-01-14 11:30:15 +01:00
Li xin
b0f8fdda98 python-simplejson: 2.2.1 -> 3.8.1
Upgrade python-simplejson from 2.2.1 to 3.8.1.

Modify LIC_FILES_CHKSUM,but the LICENSE has not been changed.
References: https://pypi.python.org/pypi/simplejson

Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-01-06 13:25:55 +01:00
Kai Kang
524f332a5d python-tornado: move old version recipe from meta-oe to meta-python
Move old version recipe of python-tornado from meta-oe to meta-python
that there is a higher version in meta-python already. And rename from
_git to exact version _2.2.1.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-01-04 14:53:59 +01:00
Philip Balister
51abcdcbdc python-pyqt: Fix build for aarch64.
Qt for aarch64 disable QtWebKit due to a build failure. We need to disable
QtWebKit here also until the problem is resolved in the Qt recipe.

Signed-off-by: Philip Balister <philip@balister.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-11-06 17:49:40 +01:00
Andreas Oberritter
c9e0633905 python-pyopenssl: move to meta-python
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-04-13 12:55:49 +02:00
Saul Wold
df6c7b1279 python-pyopenssl: Upgrade to 0.14
This upgrade will match with the openssl 1.0.2 changes
The newer verion of pyopenssl now uses setuptools instead of distutils

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-03-21 16:42:30 +01:00
Philip Balister
fca56b63f2 python-pyqt : Move RDEPENDS on python-sip to PyQT.
python-sip has the runtime support for PyQT. Also drop the need
for anki to RDEPEND on python-sip.

Signed-off-by: Philip Balister <philip@balister.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-03-21 16:42:21 +01:00
Martin Jansa
37a841321d recipes: add x11 to required DISTRO_FEATURES
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-02-12 19:33:24 +01:00
Philip Balister
b1ffc521bd python-pyqt: Update to 4.11.3.
The configure.py script now has support for cross compiling. This
simplified the recipe substantially.

The recipe was tested with gnuradio-companion on the zedboard and
ettus-e300. This is the first time we have been able to use grc with
pyqt built with OpenEmbedded.

Build tested on armv7, x86, x86_64 and mips.

Dropped patches from previous versions.

Signed-off-by: Philip Balister <philip@balister.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-12-19 20:13:12 +01:00
Philip Balister
afc100a940 sip: Update to 4.14.2.
The sip configure.py script now has some support for cross compiling. This
allowed simplication of the existing OpenEmbedded sip support. The sip
recipe now produces support for builds via sip-native and target runtime
via sip.

This has been build and runtime tested on the zedboard and ettus-e300.

Signed-off-by: Philip Balister <philip@balister.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-12-19 20:13:11 +01:00
Tim Orling
a6d7ba9264 meta-python: move recipes from meta-oe
* Move recipes from meta-openembedded/meta-oe that are not
       depended upon by recipes already in meta-oe (e.g. gateone,
       anki)

     * Recipes NOT moved:
     	 python-futures
	 python-pyopenssl
	 python-simplejson
	 python-tornado
	 python-pyqt
	 python-sip

Signed-off-by: Tim Orling <TicoTimo@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-07-22 00:01:49 +02:00
Robert Yang
05de0ca43d meta-oe: use BPN in SRC_URI
Fixed SRC_URI:
* ${PN} -> ${BPN}, use ${BP} if it was ${PN}-${PV}
* ${P} -> ${BP}

Otherwise we would meet do_fetch errors when we do the multilib, native
or nativesdk build.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-07-15 14:56:55 +02:00
Martin Jansa
4fcc5cc1cc python-cython: upgrade to 2.20.2 and fix packaging QA issue
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-06-21 19:22:29 +02:00
Chong.Lu@windriver.com
872621cf60 python-m2crypto: avoid swig problem
Swig is used to generate C source and it has trouble processing opensslconf.h
sometimes. So, we help it out when multilib variants exist.

For native builds, the variant header will never exist.

Specific multi-lib header files might be named *-32.h or *-n32.h, so we check
for both names. We also might check for *-n64.h although that will never exist.
It appears that *-o??.h will never exist, so we don't check for that.

Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-06-13 13:38:11 +02:00
Martin Jansa
3bee30550c python-cython: upgrade to 0.20.1
* 0.19+ version is required by newer python-efl-0.10.0

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-06-10 12:30:45 +02:00
Marc Ferland
1d0df0362d autobahn: fix 'Missing sha256 SRC_URI checksum'
Signed-off-by: Marc Ferland <ferlandm@sonatest.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-04-20 11:19:10 +02:00
Diego Rondini
2076891a3f python-autobahn: upgrade to version 0.8.6
Changes:
* upgraded python-autobahn to latest upstream
* updated license checksum because upstream increased copyright year from 2013 to 2014

Signed-off-by: Diego Rondini <diego.ml@zoho.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-03-29 22:44:13 +01:00
Diego Rondini
822870b0e4 python-twisted: upgrade to version 13.2.0
Changes:
* upgraded python-twisted to latest upstream
* dropped PR because of PV increase
* updated LICENSE checksum because new contributors have been added to the file
* dropped bin package because resulting package was empty:
  - file _c_urlarg has been removed with this commit:
    https://twistedmatrix.com/trac/changeset/31167/trunk/twisted/protocols
  - file cBanana was not packaged even in previous version, upstream removed it ages ago.
    https://twistedmatrix.com/trac/changeset/19014/trunk/twisted/spread
* the newly introduced zsh completion file has been added to the zsh package

Signed-off-by: Diego Rondini <diego.ml@zoho.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-03-29 22:44:13 +01:00