[arch-commits] Commit in python-ipython-genutils (3 files)

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


    Date: Tuesday, May 17, 2022 @ 19:32:31
  Author: arojas
Revision: 1207707

archrelease: copy trunk to community-any

Added:
  python-ipython-genutils/repos/
  python-ipython-genutils/repos/community-any/
  python-ipython-genutils/repos/community-any/PKGBUILD
    (from rev 1207706, python-ipython-genutils/trunk/PKGBUILD)

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

Copied: python-ipython-genutils/repos/community-any/PKGBUILD (from rev 1207706, python-ipython-genutils/trunk/PKGBUILD)
===================================================================
--- repos/community-any/PKGBUILD	                        (rev 0)
+++ repos/community-any/PKGBUILD	2022-05-17 19:32:31 UTC (rev 1207707)
@@ -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