Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Meta python merge #568

Merged
merged 9 commits into from
Apr 22, 2022
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ HOMEPAGE = "https://pypi.org/project/aenum/"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://aenum/LICENSE;md5=c6a85477543f8b8591b9c1f82abebbe9"

SRC_URI[sha256sum] = "8dbe15f446eb8264b788dfeca163fb0a043d408d212152397dc11377b851e4ae"
SRC_URI[sha256sum] = "aed2c273547ae72a0d5ee869719c02a643da16bf507c80958faadc7e038e3f73"

inherit pypi setuptools3

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "\
file://LICENSE.txt;md5=9ac49901b833e769c7d6f21e8dbd7b30 \
file://AWSIoTPythonSDK/core/protocol/paho/client.py;endline=14;md5=5a3c8a1a4bb71bd934f450ecff972ad9 \
"
SRCREV = "6ca6c73775c953114f83240a850a0d1ab49b68ac"
SRCREV = "0ea1a2d013529839fc1e7448d19dadff25d581b4"
SRC_URI = "git://github.com/aws/aws-iot-device-sdk-python;branch=master;protocol=https \
file://0001-setup.py-Use-setuptools-instead-of-distutils.patch \
"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/eerimoq/bitstruct"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=d9aa4ec07de78abae21c490c9ffe61bd"

SRC_URI[sha256sum] = "7b87d9e41ff552a8cae06ea2368c3772b6f3102bdab4b65e793be7590d69f03b"
SRC_URI[sha256sum] = "230c191c75f1526f6922cdb08eab6f52c055452e2239bf5638f02e9cfd382c91"

PYPI_PACKAGE = "bitstruct"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=209e288518b0668115f58c3929af9ff1"

DEPENDS += "${PYTHON_PN}-setuptools-scm-native"

SRC_URI[sha256sum] = "090909ab6c8ecee40813cec759e61dd6e70c8227a1a8e96082f5f2b0d394bc77"
SRC_URI[sha256sum] = "f3b0467daca18fca0dc7838de7726a72ab64127a018a377a86a6ed8ebfdbb25f"

inherit pypi setuptools3

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
From a6ba15048bbb660abfa094b581862b4936ac4005 Mon Sep 17 00:00:00 2001
From: Lei Maohui <[email protected]>
Date: Mon, 18 Apr 2022 12:19:35 +0900
Subject: [PATCH] Fix build error as following:

flit_core.config.ConfigError: description must be specified under [project] or listed as a dynamic field.

Upstream-Status: Pending
Signed-off-by: Lei Maohui <[email protected]>
---
pyproject.toml | 1 +
1 file changed, 1 insertion(+)

diff --git a/pyproject.toml b/pyproject.toml
index 2d2ac74..66fcee0 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -8,6 +8,7 @@

[project]
name = "cppy"
+description = "A small C++ header library"
readme = "README.rst"
requires-python = ">=3.7"
license = {file = "LICENSE"}
--
2.25.1

Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,15 @@ HOMEPAGE = "https://cppy.readthedocs.io/en/latest/"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=0bfb3e39b13587f0028f17baf0e42371"

SRC_URI[sha256sum] = "95e8862e4f826c3f2a6b7b658333b162f80cbe9f943aa0d0a7a6b2ef850aeffc"
SRC_URI[sha256sum] = "83b43bf17b1085ac15c5debdb42154f138b928234b21447358981f69d0d6fe1b"

RDEPENDS:${PN} += "python3-setuptools python3-distutils"

inherit pypi setuptools3
inherit pypi python_flit_core

SRC_URI += " file://0001-Fix-build-error-as-following.patch \
"

DEPENDS += "python3-setuptools-native"

BBCLASSEXTEND = "native nativesdk"
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ UPSTREAM_CHECK_REGEX = "/${PYPI_PACKAGE}/(?P<pver>(2\.2\.\d*)+)/"

inherit setuptools3

SRC_URI[sha256sum] = "1ee37046b0bf2b61e83b3a01d067323516ec3b6f2b17cd49b1326dd4ba9dc913"
SRC_URI[sha256sum] = "0200b657afbf1bc08003845ddda053c7641b9b24951e52acd51f6abda33a7413"

RDEPENDS:${PN} += "\
${PYTHON_PN}-sqlparse \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ write a wide range of image data, including animated images, video, \
volumetric data, and scientific formats."
SECTION = "devel/python"
LICENSE = "BSD-2-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=7b9bbbb543b6af3e6b53f9b7fb68f71d"
LIC_FILES_CHKSUM = "file://LICENSE;md5=24cb9a367a9e641b459a01c4d15256ba"

SRC_URI[sha256sum] = "7f123cb23a77ac5abe8ed4e7ad6a60831a82de2c5d123463dcf1d4278c4779d2"
SRC_URI[sha256sum] = "b21f009e52eb22b02b839f3bf2ae5374aaf0886317313c1358c6014e5383b539"

inherit pypi setuptools3

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,20 @@ LIC_FILES_CHKSUM = "\

SRC_URI = "git://github.com/marshmallow-code/marshmallow.git;protocol=https;branch=dev"

SRCREV = "41afdefd93afd1b95f48f45fd284ff8add3e91b7"
SRCREV = "f251dfb08d79c755c2e95371f2c5580bf5937e60"

S = "${WORKDIR}/git"

inherit setuptools3

PIP_INSTALL_PACKAGE = "marshmallow"

RDEPENDS:${PN} += "python3-core"
RDEPENDS:${PN} += " \
python3-core \
python3-datetime \
python3-netclient \
python3-numbers \
python3-json \
python3-pprint \
python3-packaging \
"
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
Upstream-Status: Backport [https://github.com/storaged-project/blivet-gui/commit/eb8ec968]

Signed-off-by: Kai Kang <[email protected]>

From eb8ec968d1ee8b4b710568b1eb8536296f90751e Mon Sep 17 00:00:00 2001
From: Adam Williamson <[email protected]>
Date: Thu, 17 Feb 2022 11:16:22 -0800
Subject: [PATCH] Use symbolic list-add and edit- icons (Adwaita dropped old
ones)

adwaita-icon-theme 42 no longer includes the non-symbolic icons
for these names. The choices are to switch to symbolic ones or
carry the non-symbolic ones downstream.

Signed-off-by: Adam Williamson <[email protected]>
---
blivetgui/list_actions.py | 8 ++++----
blivetgui/processing_window.py | 6 +++---
2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/blivetgui/list_actions.py b/blivetgui/list_actions.py
index b7c1f9c..5388feb 100644
--- a/blivetgui/list_actions.py
+++ b/blivetgui/list_actions.py
@@ -48,10 +48,10 @@ def __init__(self, blivet_gui):
self.blivet_gui = blivet_gui

icon_theme = Gtk.IconTheme.get_default() # pylint: disable=no-value-for-parameter
- icon_add = Gtk.IconTheme.load_icon(icon_theme, "list-add", 16, 0)
- icon_delete = Gtk.IconTheme.load_icon(icon_theme, "edit-delete", 16, 0)
- icon_edit = Gtk.IconTheme.load_icon(icon_theme, "edit-select-all", 16, 0)
- icon_misc = Gtk.IconTheme.load_icon(icon_theme, "edit-paste", 16, 0)
+ icon_add = Gtk.IconTheme.load_icon(icon_theme, "list-add-symbolic", 16, 0)
+ icon_delete = Gtk.IconTheme.load_icon(icon_theme, "edit-delete-symbolic", 16, 0)
+ icon_edit = Gtk.IconTheme.load_icon(icon_theme, "edit-select-all-symbolic", 16, 0)
+ icon_misc = Gtk.IconTheme.load_icon(icon_theme, "edit-paste-symbolic", 16, 0)

self.action_icons = {"add": icon_add, "delete": icon_delete, "edit": icon_edit,
"misc": icon_misc}
diff --git a/blivetgui/processing_window.py b/blivetgui/processing_window.py
index c400f90..a020ae8 100644
--- a/blivetgui/processing_window.py
+++ b/blivetgui/processing_window.py
@@ -93,9 +93,9 @@ def add_action_view(self):
"""

icon_theme = Gtk.IconTheme.get_default() # pylint: disable=no-value-for-parameter
- icon_add = Gtk.IconTheme.load_icon(icon_theme, "list-add", 16, 0)
- icon_delete = Gtk.IconTheme.load_icon(icon_theme, "edit-delete", 16, 0)
- icon_edit = Gtk.IconTheme.load_icon(icon_theme, "edit-select-all", 16, 0)
+ icon_add = Gtk.IconTheme.load_icon(icon_theme, "list-add-symbolic", 16, 0)
+ icon_delete = Gtk.IconTheme.load_icon(icon_theme, "edit-delete-symbolic", 16, 0)
+ icon_edit = Gtk.IconTheme.load_icon(icon_theme, "edit-select-all-symbolic", 16, 0)

actions_list = Gtk.ListStore(GdkPixbuf.Pixbuf, str, GdkPixbuf.Pixbuf)

Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ B = "${S}"
SRCREV = "42512ee48494cee71febf04078d9774f0146a085"
SRC_URI = "git://github.com/storaged-project/blivet-gui.git;branch=master;protocol=https \
file://0001-Use-setuptools-instead-of-distutils-in-setup.py.patch \
"
file://0002-Use-symbolic-list-add-and-edit-icons.patch \
"

inherit features_check
REQUIRED_DISTRO_FEATURES = "x11 systemd"
Expand Down