[arch-commits] Commit in python-ipykernel/repos/community-any (PKGBUILD PKGBUILD)
Antonio Rojas
arojas at gemini.archlinux.org
Sat Apr 2 08:44:55 UTC 2022
Date: Saturday, April 2, 2022 @ 08:44:54
Author: arojas
Revision: 1180770
archrelease: copy trunk to community-any
Added:
python-ipykernel/repos/community-any/PKGBUILD
(from rev 1180769, python-ipykernel/trunk/PKGBUILD)
Deleted:
python-ipykernel/repos/community-any/PKGBUILD
----------+
PKGBUILD | 66 +++++++++++++++++++++++++++++++------------------------------
1 file changed, 34 insertions(+), 32 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-04-02 08:44:43 UTC (rev 1180769)
+++ PKGBUILD 2022-04-02 08:44:54 UTC (rev 1180770)
@@ -1,32 +0,0 @@
-# Maintainer: Kyle Keen <keenerd at gmail.com>
-
-pkgname=python-ipykernel
-pkgver=6.11.0
-pkgrel=1
-pkgdesc="The ipython kernel for Jupyter"
-arch=('any')
-url="https://pypi.org/project/ipykernel/"
-license=('BSD')
-depends=('python-traitlets' 'python-tornado' 'ipython' 'python-jupyter_client' 'python-debugpy' 'python-psutil')
-makedepends=('python-build' 'python-installer' 'python-wheel')
-checkdepends=('python-pytest-timeout' 'python-mock' 'python-flaky' 'python-ipyparallel')
-source=("ipykernel-$pkgver.tgz::https://github.com/ipython/ipykernel/archive/v$pkgver.tar.gz")
-md5sums=('91f8c927725de3a0673a0e4f6b88566e')
-
-# dep cycle with python-jupyter_client
-
-build() {
- cd ipykernel-$pkgver
- python -m build --wheel --no-isolation
-}
-
-check() {
- cd ipykernel-$pkgver
- pytest -v
-}
-
-package() {
- cd ipykernel-$pkgver
- python -m installer --destdir="$pkgdir" dist/*.whl
- install -Dm644 COPYING.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
Copied: python-ipykernel/repos/community-any/PKGBUILD (from rev 1180769, python-ipykernel/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-04-02 08:44:54 UTC (rev 1180770)
@@ -0,0 +1,34 @@
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+
+pkgname=python-ipykernel
+pkgver=6.11.0
+pkgrel=2
+pkgdesc="The ipython kernel for Jupyter"
+arch=('any')
+url="https://pypi.org/project/ipykernel/"
+license=('BSD')
+depends=('python-traitlets' 'python-tornado' 'ipython' 'python-jupyter_client' 'python-debugpy' 'python-psutil')
+makedepends=('python-build' 'python-installer' 'python-wheel')
+checkdepends=('python-pytest-timeout' 'python-mock' 'python-flaky' 'python-ipyparallel')
+source=("ipykernel-$pkgver.tgz::https://github.com/ipython/ipykernel/archive/v$pkgver.tar.gz")
+md5sums=('91f8c927725de3a0673a0e4f6b88566e')
+
+# dep cycle with python-jupyter_client
+
+build() {
+ cd ipykernel-$pkgver
+ python -m build --wheel --no-isolation
+}
+
+check() {
+ cd ipykernel-$pkgver
+ pytest -v
+}
+
+package() {
+ cd ipykernel-$pkgver
+ python -m installer --destdir="$pkgdir" dist/*.whl
+ install -Dm644 COPYING.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+
+ find "$pkgdir" -name METADATA | xargs sed -e '/setuptools/d' -i # Remove versioned setuptools dependency
+}
More information about the arch-commits
mailing list