[arch-commits] Commit in python-pudb/repos (2 files)

Felix Yan felixonmars at gemini.archlinux.org
Fri Dec 3 00:27:29 UTC 2021


    Date: Friday, December 3, 2021 @ 00:27:29
  Author: felixonmars
Revision: 1063776

archrelease: copy trunk to community-staging-any

Added:
  python-pudb/repos/community-staging-any/
  python-pudb/repos/community-staging-any/PKGBUILD
    (from rev 1063774, python-pudb/trunk/PKGBUILD)

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

Copied: python-pudb/repos/community-staging-any/PKGBUILD (from rev 1063774, python-pudb/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-12-03 00:27:29 UTC (rev 1063776)
@@ -0,0 +1,34 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Kwpolska <kwpolska at kwpolska.tk>
+
+pkgname=python-pudb
+pkgver=2021.2
+pkgrel=2
+pkgdesc="A full-screen, console-based Python debugger"
+url="https://pypi.python.org/pypi/pudb"
+arch=('any')
+license=('MIT')
+depends=('python-urwid' 'python-pygments')
+checkdepends=('python-pytest')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/inducer/pudb/archive/v$pkgver.tar.gz")
+sha512sums=('719427f77c295e0dba07fd6916c4b5a91acccf5b801484cbe6603443e17055018a8558f798ac6018a060f1513974a4360173ea2b38f73499db18b30f0f27b924')
+
+build() {
+  cd "$srcdir"/pudb-$pkgver
+  python setup.py build
+}
+
+check() {
+  # TODO: make it work...
+
+  cd "$srcdir"/pudb-$pkgver
+  # python -m pytest --tb=native -rxs test/
+}
+
+package() {
+  cd pudb-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+# vim: set ft=sh ts=2 sw=2 et:



More information about the arch-commits mailing list