From da2c59c7b51f8fa642aa599f6198661e6046bfd8 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Mon, 23 Oct 2023 16:20:11 +0800 Subject: libbytesize: upgrade 2.9 -> 2.10 Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj (cherry picked from commit 4aed145b63571c9659fe8465926d70eacf716aa5) Signed-off-by: Armin Kuster --- .../libbytesize/libbytesize_2.10.bb | 30 ++++++++++++++++++++++ .../recipes-support/libbytesize/libbytesize_2.9.bb | 30 ---------------------- 2 files changed, 30 insertions(+), 30 deletions(-) create mode 100644 meta-oe/recipes-support/libbytesize/libbytesize_2.10.bb delete mode 100644 meta-oe/recipes-support/libbytesize/libbytesize_2.9.bb diff --git a/meta-oe/recipes-support/libbytesize/libbytesize_2.10.bb b/meta-oe/recipes-support/libbytesize/libbytesize_2.10.bb new file mode 100644 index 0000000000..926a603b81 --- /dev/null +++ b/meta-oe/recipes-support/libbytesize/libbytesize_2.10.bb @@ -0,0 +1,30 @@ +DESCRIPTION = "The goal of this project is to provide a tiny library that would \ +facilitate the common operations with sizes in bytes." +HOMEPAGE = "https://github.com/rhinstaller/libbytesize" +LICENSE = "LGPL-2.0-or-later" +SECTION = "devel/lib" + +LIC_FILES_CHKSUM = "file://LICENSE;md5=c07cb499d259452f324bb90c3067d85c" + +S = "${WORKDIR}/git" +B = "${S}" + +SRCREV = "6e83cc6f6dff4f126fc79284e0c3c1c50123380d" +SRC_URI = "git://github.com/rhinstaller/libbytesize;branch=main;protocol=https" + +inherit gettext autotools pkgconfig python3native + +DEPENDS += " \ + libpcre2 \ + gmp \ + mpfr \ + gettext-native \ +" + +FILES:${PN} += "${PYTHON_SITEPACKAGES_DIR}/bytesize" + +PACKAGECONFIG ??= "python3" +PACKAGECONFIG[python3] = "--with-python3, --without-python3,,python3-core" + +EXTRA_OECONF = "--without-gtk-doc" +EXTRA_OEMAKE = "py3libdir=${PYTHON_SITEPACKAGES_DIR}" diff --git a/meta-oe/recipes-support/libbytesize/libbytesize_2.9.bb b/meta-oe/recipes-support/libbytesize/libbytesize_2.9.bb deleted file mode 100644 index dfc7b42dca..0000000000 --- a/meta-oe/recipes-support/libbytesize/libbytesize_2.9.bb +++ /dev/null @@ -1,30 +0,0 @@ -DESCRIPTION = "The goal of this project is to provide a tiny library that would \ -facilitate the common operations with sizes in bytes." -HOMEPAGE = "https://github.com/rhinstaller/libbytesize" -LICENSE = "LGPL-2.0-or-later" -SECTION = "devel/lib" - -LIC_FILES_CHKSUM = "file://LICENSE;md5=c07cb499d259452f324bb90c3067d85c" - -S = "${WORKDIR}/git" -B = "${S}" - -SRCREV = "2fa27aa3acccc70b9f6c3bf2e569e3d33a381e83" -SRC_URI = "git://github.com/rhinstaller/libbytesize;branch=master;protocol=https" - -inherit gettext autotools pkgconfig python3native - -DEPENDS += " \ - libpcre2 \ - gmp \ - mpfr \ - gettext-native \ -" - -FILES:${PN} += "${PYTHON_SITEPACKAGES_DIR}/bytesize" - -PACKAGECONFIG ??= "python3" -PACKAGECONFIG[python3] = "--with-python3, --without-python3,,python3-core" - -EXTRA_OECONF = "--without-gtk-doc" -EXTRA_OEMAKE = "py3libdir=${PYTHON_SITEPACKAGES_DIR}" -- cgit v1.2.3-54-g00ecf