From 53068b39989bdef19f4175b80991b49b364114a0 Mon Sep 17 00:00:00 2001 From: Michael 'Mickey' Lauer Date: Mon, 12 Jan 2009 23:42:15 +0000 Subject: python-vorbis: 1.3 -> 1.4 --- .../python-vorbis-1.3/disable-oggcheck.patch | 16 --------------- .../python/python-vorbis/disable-oggcheck.patch | 16 +++++++++++++++ packages/python/python-vorbis_1.3.bb | 22 --------------------- packages/python/python-vorbis_1.4.bb | 23 ++++++++++++++++++++++ 4 files changed, 39 insertions(+), 38 deletions(-) delete mode 100644 packages/python/python-vorbis-1.3/disable-oggcheck.patch create mode 100644 packages/python/python-vorbis/disable-oggcheck.patch delete mode 100644 packages/python/python-vorbis_1.3.bb create mode 100644 packages/python/python-vorbis_1.4.bb (limited to 'packages/python') diff --git a/packages/python/python-vorbis-1.3/disable-oggcheck.patch b/packages/python/python-vorbis-1.3/disable-oggcheck.patch deleted file mode 100644 index 2555169759..0000000000 --- a/packages/python/python-vorbis-1.3/disable-oggcheck.patch +++ /dev/null @@ -1,16 +0,0 @@ - -# -# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher -# - ---- pyvorbis-1.3/setup.py~disable-oggcheck 2003-08-15 10:42:02.000000000 +0200 -+++ pyvorbis-1.3/setup.py 2004-01-21 16:32:56.000000000 +0100 -@@ -16,7 +16,7 @@ - print '''You must have the Ogg Python bindings - installed in order to build and install - these bindings. Import of ogg._ogg failed.''' -- sys.exit(1) -+ #sys.exit(1) - - def get_setup(): - data = {} diff --git a/packages/python/python-vorbis/disable-oggcheck.patch b/packages/python/python-vorbis/disable-oggcheck.patch new file mode 100644 index 0000000000..2555169759 --- /dev/null +++ b/packages/python/python-vorbis/disable-oggcheck.patch @@ -0,0 +1,16 @@ + +# +# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher +# + +--- pyvorbis-1.3/setup.py~disable-oggcheck 2003-08-15 10:42:02.000000000 +0200 ++++ pyvorbis-1.3/setup.py 2004-01-21 16:32:56.000000000 +0100 +@@ -16,7 +16,7 @@ + print '''You must have the Ogg Python bindings + installed in order to build and install + these bindings. Import of ogg._ogg failed.''' +- sys.exit(1) ++ #sys.exit(1) + + def get_setup(): + data = {} diff --git a/packages/python/python-vorbis_1.3.bb b/packages/python/python-vorbis_1.3.bb deleted file mode 100644 index dd4b115709..0000000000 --- a/packages/python/python-vorbis_1.3.bb +++ /dev/null @@ -1,22 +0,0 @@ -DESCRIPTION = "Python Vorbis Bindings" -SECTION = "devel/python" -PRIORITY = "optional" -LICENSE = "LGPL" -DEPENDS = "libvorbis python-ogg" -SRCNAME = "pyvorbis" - -SRC_URI = "http://www.andrewchatham.com/pyogg/download/${SRCNAME}-${PV}.tar.gz \ - file://disable-oggcheck.patch;patch=1" -S = "${WORKDIR}/${SRCNAME}-${PV}" - -inherit distutils - -do_configure_prepend() { - touch Setup - echo "ogg_libs = ogg" >>Setup - echo "ogg_lib_dir = ${STAGING_LIBDIR}" >>Setup - echo "ogg_include_dir = ${STAGING_INCDIR}" >>Setup - echo "vorbis_libs = vorbis vorbisfile vorbisenc" >>Setup - echo "vorbis_lib_dir = ${STAGING_LIBDIR}" >>Setup - echo "vorbis_include_dir = ${STAGING_INCDIR}" >>Setup -} diff --git a/packages/python/python-vorbis_1.4.bb b/packages/python/python-vorbis_1.4.bb new file mode 100644 index 0000000000..69a341f4f8 --- /dev/null +++ b/packages/python/python-vorbis_1.4.bb @@ -0,0 +1,23 @@ +DESCRIPTION = "Python Vorbis Bindings" +SECTION = "devel/python" +PRIORITY = "optional" +LICENSE = "LGPL" +DEPENDS = "libvorbis python-ogg" +SRCNAME = "pyvorbis" +PR = "ml0" + +SRC_URI = "http://www.andrewchatham.com/pyogg/download/${SRCNAME}-${PV}.tar.gz \ + file://disable-oggcheck.patch;patch=1" +S = "${WORKDIR}/${SRCNAME}-${PV}" + +inherit distutils + +do_configure_prepend() { + touch Setup + echo "ogg_libs = ogg" >>Setup + echo "ogg_lib_dir = ${STAGING_LIBDIR}" >>Setup + echo "ogg_include_dir = ${STAGING_INCDIR}" >>Setup + echo "vorbis_libs = vorbis vorbisfile vorbisenc" >>Setup + echo "vorbis_lib_dir = ${STAGING_LIBDIR}" >>Setup + echo "vorbis_include_dir = ${STAGING_INCDIR}" >>Setup +} -- cgit v1.2.3