From 543f671f1327f78888260299897093183fd7cd05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= Date: Tue, 23 May 2023 23:58:52 -0300 Subject: [PATCH] New package: python3-jupyter_packaging-0.12.3 --- .../patches/178.patch | 23 +++++++++++++++++++ srcpkgs/python3-jupyter_packaging/template | 20 ++++++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 srcpkgs/python3-jupyter_packaging/patches/178.patch create mode 100644 srcpkgs/python3-jupyter_packaging/template diff --git a/srcpkgs/python3-jupyter_packaging/patches/178.patch b/srcpkgs/python3-jupyter_packaging/patches/178.patch new file mode 100644 index 00000000000..a158454dbb7 --- /dev/null +++ b/srcpkgs/python3-jupyter_packaging/patches/178.patch @@ -0,0 +1,23 @@ +From e963fb27aa3b58cd70c5ca61ebe68c222d803b7e Mon Sep 17 00:00:00 2001 +From: Steven Silvester +Date: Tue, 7 Mar 2023 10:47:22 -0600 +Subject: [PATCH] Ignore warning raised when importing + setuptools.command.develop + +--- + pyproject.toml | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +diff --git a/pyproject.toml b/pyproject.toml +index e4c1e27..b316257 100644 +--- a/pyproject.toml ++++ b/pyproject.toml +@@ -81,5 +81,7 @@ filterwarnings= [ + # Fail on warnings + "error", + # Ignore our own deprecation warnings. +- "ignore:.*:deprecation.DeprecatedWarning" ++ "ignore:.*:deprecation.DeprecatedWarning", ++ # Ignore warning raised when importing setuptools.command.develop. ++ "ignore:pkg_resources is deprecated as an API:DeprecationWarning" + ] diff --git a/srcpkgs/python3-jupyter_packaging/template b/srcpkgs/python3-jupyter_packaging/template new file mode 100644 index 00000000000..8c064fb464c --- /dev/null +++ b/srcpkgs/python3-jupyter_packaging/template @@ -0,0 +1,20 @@ +# Template file for 'python3-jupyter_packaging' +pkgname=python3-jupyter_packaging +version=0.12.3 +revision=1 +build_style=python3-pep517 +hostmakedepends="hatchling" +depends="python3-deprecation python3-packaging python3-setuptools + python3-tomlkit python3-wheel" +checkdepends="$depends python3-pytest-timeout python3-pytest-mock" +short_desc="Tools to help build and install Jupyter Python packages" +maintainer="Gonzalo TornarĂ­a " +license="BSD-3-Clause" +homepage="https://github.com/jupyter/jupyter-packaging" +changelog="https://raw.githubusercontent.com/jupyter/jupyter-packaging/main/CHANGELOG.md" +distfiles="https://github.com/jupyter/jupyter-packaging/archive/refs/tags/v${version}.tar.gz" +checksum=3a326f3b4e8b7fea8b7abf775741996095a4caf13767a9c017e9f17043e591e0 + +post_install() { + vlicense LICENSE +}