[meta-python] python3-pyfanotify: new package

Message ID 20220427094948.834984-1-brgl@bgdev.pl
State New
Headers show
Series [meta-python] python3-pyfanotify: new package | expand

Commit Message

Bartosz Golaszewski April 27, 2022, 9:49 a.m. UTC
This adds a recipe for pyfanotify - a python wrapper around linux'
fanotify interface.

Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
---
 .../packagegroups/packagegroup-meta-python.bb   |  1 +
 .../python/python3-pyfanotify_0.1.3.bb          | 17 +++++++++++++++++
 2 files changed, 18 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-pyfanotify_0.1.3.bb

Comments

Khem Raj April 28, 2022, midnight UTC | #1
fails on musl [1] due to missing FNM_EXTMATCH define. There are
patches to define it to 0 in oe-core in musl case. Perhaps that can
fix it
[1] https://errors.yoctoproject.org/Errors/Details/655765/

On Wed, Apr 27, 2022 at 2:49 AM Bartosz Golaszewski <brgl@bgdev.pl> wrote:
>
> This adds a recipe for pyfanotify - a python wrapper around linux'
> fanotify interface.
>
> Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
> ---
>  .../packagegroups/packagegroup-meta-python.bb   |  1 +
>  .../python/python3-pyfanotify_0.1.3.bb          | 17 +++++++++++++++++
>  2 files changed, 18 insertions(+)
>  create mode 100644 meta-python/recipes-devtools/python/python3-pyfanotify_0.1.3.bb
>
> diff --git a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
> index f7bf36519..d2d9dcd18 100644
> --- a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
> +++ b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
> @@ -300,6 +300,7 @@ RDEPENDS:packagegroup-meta-python3 = "\
>      python3-pydicti \
>      python3-pyephem \
>      python3-pyexpect \
> +    python3-pyfanotify \
>      python3-pyfirmata \
>      python3-pyflakes \
>      python3-pyhamcrest \
> diff --git a/meta-python/recipes-devtools/python/python3-pyfanotify_0.1.3.bb b/meta-python/recipes-devtools/python/python3-pyfanotify_0.1.3.bb
> new file mode 100644
> index 000000000..7458fec43
> --- /dev/null
> +++ b/meta-python/recipes-devtools/python/python3-pyfanotify_0.1.3.bb
> @@ -0,0 +1,17 @@
> +SUMMARY = "Python wrapper for Linux fanotify."
> +HOMEPAGE = "https://github.com/baskiton/pyfanotify"
> +AUTHOR = "Alexander Baskikh"
> +SECTION = "devel/python"
> +LICENSE = "MIT"
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=636a36c9df04efcfacf839b8866d9a37"
> +
> +SRC_URI[sha256sum] = "0efa73922fd705b4e8f8f0b51cb88198ceef66cc309e1de21674ef44c879029d"
> +
> +inherit pypi setuptools3
> +
> +RDEPENDS:${PN} += " \
> +    python3-crypt \
> +    python3-datetime \
> +    python3-logging \
> +    python3-multiprocessing \
> +"
> --
> 2.32.0
>

Patch

diff --git a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
index f7bf36519..d2d9dcd18 100644
--- a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
+++ b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
@@ -300,6 +300,7 @@  RDEPENDS:packagegroup-meta-python3 = "\
     python3-pydicti \
     python3-pyephem \
     python3-pyexpect \
+    python3-pyfanotify \
     python3-pyfirmata \
     python3-pyflakes \
     python3-pyhamcrest \
diff --git a/meta-python/recipes-devtools/python/python3-pyfanotify_0.1.3.bb b/meta-python/recipes-devtools/python/python3-pyfanotify_0.1.3.bb
new file mode 100644
index 000000000..7458fec43
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-pyfanotify_0.1.3.bb
@@ -0,0 +1,17 @@ 
+SUMMARY = "Python wrapper for Linux fanotify."
+HOMEPAGE = "https://github.com/baskiton/pyfanotify"
+AUTHOR = "Alexander Baskikh"
+SECTION = "devel/python"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=636a36c9df04efcfacf839b8866d9a37"
+
+SRC_URI[sha256sum] = "0efa73922fd705b4e8f8f0b51cb88198ceef66cc309e1de21674ef44c879029d"
+
+inherit pypi setuptools3
+
+RDEPENDS:${PN} += " \
+    python3-crypt \
+    python3-datetime \
+    python3-logging \
+    python3-multiprocessing \
+"