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

Kpcyrd kpcyrd at archlinux.org
Sat May 1 18:54:30 UTC 2021


    Date: Saturday, May 1, 2021 @ 18:54:30
  Author: kpcyrd
Revision: 926017

archrelease: copy trunk to community-any

Added:
  python-colored-traceback/repos/community-any/
  python-colored-traceback/repos/community-any/PKGBUILD
    (from rev 926016, python-colored-traceback/trunk/PKGBUILD)

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

Copied: python-colored-traceback/repos/community-any/PKGBUILD (from rev 926016, python-colored-traceback/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2021-05-01 18:54:30 UTC (rev 926017)
@@ -0,0 +1,28 @@
+# Maintainer: kpcyrd <kpcyrd[at]archlinux[dot]org>
+
+pkgname=python-colored-traceback
+_name=colored-traceback
+pkgver=0.3.0
+pkgrel=1
+pkgdesc='Automatically color Python’s uncaught exception tracebacks'
+url='https://github.com/staticshock/colored-traceback.py'
+arch=('any')
+license=('MIT')
+depends=('python' 'python-pygments')
+makedepends=('python-setuptools')
+source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz)
+sha512sums=('013d779df231295319c29a48fe81a5ddfd1b77b1734dedf630a914bdf0ea89e19a8ec028ae40c55125209e748f4027a74d04ec816f6c6d3c21aca52d2dd58e37')
+b2sums=('bf79942de0d0791b567dce21609be87319da11596b90e67018ee74069ea63b072b73778283112f9f52270fef046220eff355993d38f84ecd80d895da0401a010')
+
+build() {
+  cd "${_name}-${pkgver}"
+  export PYTHONHASHSEED=0
+  python setup.py build
+}
+
+package() {
+  cd "${_name}-${pkgver}"
+  python setup.py install -O1 --root="${pkgdir}" --skip-build
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list