[arch-commits] Commit in (3 files)

Antonio Rojas arojas at gemini.archlinux.org
Tue May 17 19:32:22 UTC 2022


    Date: Tuesday, May 17, 2022 @ 19:32:21
  Author: arojas
Revision: 1207706

Add standalone ipython-genutils for ipywidgets

Added:
  python-ipython-genutils/
  python-ipython-genutils/trunk/
  python-ipython-genutils/trunk/PKGBUILD

----------+
 PKGBUILD |   31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

Added: python-ipython-genutils/trunk/PKGBUILD
===================================================================
--- python-ipython-genutils/trunk/PKGBUILD	                        (rev 0)
+++ python-ipython-genutils/trunk/PKGBUILD	2022-05-17 19:32:21 UTC (rev 1207706)
@@ -0,0 +1,31 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=python-ipython-genutils
+_name=ipython_genutils
+pkgver=0.2.0
+pkgrel=1
+pkgdesc='Vestigial utilities from IPython'
+arch=(any)
+url='http://ipython.org/'
+license=(BSD)
+depends=(python)
+makedepends=(python-build python-installer python-setuptools python-wheel)
+checkdepends=(python-nose)
+source=("https://files.pythonhosted.org/packages/source/i/$_name/$_name-$pkgver.tar.gz")
+sha256sums=('eb2e116e75ecef9d4d228fdc66af54269afa26ab4463042e33785b887c628ba8')
+
+build() {
+  cd $_name-$pkgver
+  python -m build --wheel --no-isolation
+}
+
+check() {
+  cd $_name-$pkgver
+  nosetests
+}
+
+package() {
+  cd $_name-$pkgver
+  python -m installer --destdir="$pkgdir" dist/*.whl
+  install -Dm644 COPYING.md "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}



More information about the arch-commits mailing list