summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools/python
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2011-12-19 08:39:29 -0800
committerSaul Wold <sgw@linux.intel.com>2011-12-21 23:50:21 -0800
commit7197efde264bee4d8deb37b9fd08cc9cc83d1ac4 (patch)
treed2463789b409be3d44b551217bd0d8a6fdec90fb /meta/recipes-devtools/python
parent83c2a7660c0ae9c5e37ecdda73be5a5c32535ec9 (diff)
downloadopenembedded-core-7197efde264bee4d8deb37b9fd08cc9cc83d1ac4.tar.gz
openembedded-core-7197efde264bee4d8deb37b9fd08cc9cc83d1ac4.tar.bz2
openembedded-core-7197efde264bee4d8deb37b9fd08cc9cc83d1ac4.zip
python-pycairo: Upgrade to 1.10.0
tweak the pycairo.pc correctly. Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-devtools/python')
-rw-r--r--meta/recipes-devtools/python/python-pycairo_1.10.0.bb39
-rw-r--r--meta/recipes-devtools/python/python-pycairo_1.8.10.bb31
2 files changed, 39 insertions, 31 deletions
diff --git a/meta/recipes-devtools/python/python-pycairo_1.10.0.bb b/meta/recipes-devtools/python/python-pycairo_1.10.0.bb
new file mode 100644
index 0000000000..812acfb3fd
--- /dev/null
+++ b/meta/recipes-devtools/python/python-pycairo_1.10.0.bb
@@ -0,0 +1,39 @@
+DESCRIPTION = "Python Bindings for the Cairo canvas library"
+HOMEPAGE = "http://cairographics.org/pycairo"
+BUGTRACKER = "http://bugs.freedesktop.org"
+SECTION = "python-devel"
+LICENSE = "LGPLv1.1 & MPL-1"
+LIC_FILES_CHKSUM = "file://COPYING;md5=f2e071ab72978431b294a0d696327421 \
+ file://COPYING-LGPL-2.1;md5=fad9b3332be894bab9bc501572864b29 \
+ file://COPYING-MPL-1.1;md5=bfe1f75d606912a4111c90743d6c7325"
+
+# cairo >= 1.8.8
+DEPENDS = "cairo"
+PR = "r0"
+
+SRC_URI = "http://cairographics.org/releases/py2cairo-${PV}.tar.bz2"
+
+SRC_URI[md5sum] = "20337132c4ab06c1146ad384d55372c5"
+SRC_URI[sha256sum] = "d30439f06c2ec1a39e27464c6c828b6eface3b22ee17b2de05dc409e429a7431"
+
+S = "${WORKDIR}/py2cairo-${PV}"
+
+inherit distutils pkgconfig
+
+do_configure() {
+ BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} ./waf configure --prefix=${D}${prefix}
+}
+
+do_compile() {
+ ./waf build
+}
+
+do_install() {
+ ./waf install
+ sed \
+ -e 's:@prefix@:${prefix}:' \
+ -e 's:@VERSION@:${PV}:' \
+ -e 's:@includedir@:${includedir}:' \
+ pycairo.pc.in > pycairo.pc
+ install -m 0644 pycairo.pc ${D}${libdir}/pkgconfig/
+}
diff --git a/meta/recipes-devtools/python/python-pycairo_1.8.10.bb b/meta/recipes-devtools/python/python-pycairo_1.8.10.bb
deleted file mode 100644
index 02ec353f0a..0000000000
--- a/meta/recipes-devtools/python/python-pycairo_1.8.10.bb
+++ /dev/null
@@ -1,31 +0,0 @@
-DESCRIPTION = "Python Bindings for the Cairo canvas library"
-HOMEPAGE = "http://cairographics.org/pycairo"
-BUGTRACKER = "http://bugs.freedesktop.org"
-SECTION = "python-devel"
-LICENSE = "LGPLv2.1 & MPL-1"
-LIC_FILES_CHKSUM = "file://COPYING;md5=f2e071ab72978431b294a0d696327421"
-# cairo >= 1.8.8
-DEPENDS = "cairo"
-PR = "r2"
-
-SRC_URI = "http://cairographics.org/releases/py2cairo-${PV}.tar.gz"
-
-SRC_URI[md5sum] = "87421a6a70304120555ba7ba238f3dc3"
-SRC_URI[sha256sum] = "b15f71019e42e06d86f7e8fe5587f07c3de5a59a6c3a071b25fe100796dbcd56"
-S = "${WORKDIR}/pycairo-${PV}"
-
-inherit distutils pkgconfig
-
-do_compile_prepend() {
-#fix the installation path of __init__.py
-#It was going in the sysroot instead of target install location
- sed -i -e "s#dsy.get_python_lib()#'${D}${PYTHON_SITEPACKAGES_DIR}'#" ${S}/setup.py
-}
-
-do_install_append () {
- install -d ${D}${includedir}
- install -d ${D}${libdir}
- mv ${D}${datadir}/include/* ${D}${includedir}
- mv ${D}${datadir}/lib/* ${D}${libdir}
- sed -i -e 's#prefix=.*#prefix=${prefix}#' ${D}${libdir}/pkgconfig/pycairo.pc
-}
setDPI.sh script 2006-11-11xserver-common: add 1.11Koen Kooi1 * should fix #1567 2006-10-10Remove MAINTAINER fields from recipes, add MAINTAINER file to replace them.Koen Kooi4 see email thread at http://lists.openembedded.org/pipermail/openembedded-devel/2006-October/000523.html for details 2006-09-02xserver-common: use Xw100 if availablePhilipp Zabel2 2006-09-02xserver-common: move patches back into their own dir, xserver-common is not ↵Philipp Zabel4 part of xorg 2006-09-02xserver-common: move recipes back into their own dir, xserver-common is not ↵Philipp Zabel5 part of xorg 2006-08-09x*: delete some empty foldersPhilipp Zabel1 2006-07-24xorg-*: Massive rename to conform to X11R7.x_a.b.c versioning and xorg-* ↵Raymond Danks8 directory structure. This is the first step for the update to X11R7.1. This will not build and will be followed by more patches and updates. 2006-07-04xserver-common: Drop old releases, add 1.10.Florian Boor3 2006-05-18xserver-common: Poodle: Add xmodmap for kernel 2.6, untested in .devMatthias Hentges2 2006-04-28xserver-common: update to 1.9Koen Kooi1 2006-04-13xserver-common: Add 200DPI fix and zaurusd/calibrate fix from .oz354xMatthias Hentges4 2006-04-08xserver-common: Apply 200DPI bugfix from .oz354xMatthias Hentges3 2006-02-16xerver-common: Add 1.8, drop old patch.Florian Boor3 2006-02-09xserver-common: Remove invalid DEPENDS and set PACKAGE_ARCH = allRichard Purdie3 2006-02-03xserver-common: add 1.7, remove 1.1 and 1.2Florian Boor2 2006-01-16xserver-common: Add new release 1.5.Florian Boor1 2005-12-21xserver-common: add 1.3Koen Kooi1 2005-10-10xserver-common: add 1.2Koen Kooi1 2005-09-12xserver-common: fix portrait startup rotation for Cxx00Justin Patrin3 2005-09-01Remove unused patchJustin Patrin2 2005-09-01Remove useless patch breaking several other applications.Florian Boor1 I really explained why it is there. 2005-08-31xserver-common, x11-common: Remove x11-common in favor of xserver-common, ↵Justin Patrin3 remove unneeded run-calibrate.sh from xserver-common 2005-08-29xserver-common: New package providing common X support files and scripts.Florian Boor2