Date: Saturday, April 8, 2023 @ 05:54:01
Author: felixonmars
Revision: 1441850
archrelease: copy trunk to community-staging-any
Added:
python-ipython-genutils/repos/community-staging-any/
python-ipython-genutils/repos/community-staging-any/PKGBUILD
(from rev 1441847, python-ipython-genutils/trunk/PKGBUILD)
----------+
PKGBUILD | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
Copied: python-ipython-genutils/repos/community-staging-any/PKGBUILD (from rev
1441847, python-ipython-genutils/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2023-04-08 05:54:01 UTC (rev 1441850)
@@ -0,0 +1,31 @@
+# Maintainer: Antonio Rojas <[email protected]>
+
+pkgname=python-ipython-genutils
+_name=ipython_genutils
+pkgver=0.2.0
+pkgrel=2
+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
+}