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

Felix Yan felixonmars at archlinux.org
Mon Nov 9 15:41:00 UTC 2020


    Date: Monday, November 9, 2020 @ 15:41:00
  Author: felixonmars
Revision: 747084

archrelease: copy trunk to community-staging-any

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

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

Copied: python-tblib/repos/community-staging-any/PKGBUILD (from rev 747082, python-tblib/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-09 15:41:00 UTC (rev 747084)
@@ -0,0 +1,34 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+
+pkgname=python-tblib
+_pyname=tblib
+pkgver=1.7.0
+pkgrel=2
+pkgdesc='Python traceback fiddling library'
+url='https://github.com/ionelmc/python-tblib'
+arch=('any')
+license=('BSD')
+depends=('python-six')
+makedepends=('python-setuptools' 'python-six')
+source=(https://github.com/ionelmc/python-tblib/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha512sums=('14745af9647262c4569ae578e2bd439b4fbc430735449bf3c4dbc99c6dd39706725ddbf5b6d6e078eee34f0ccb5d9a5f5143d133a2a0b171afa6975e21c30999')
+b2sums=('edbd9e475304b6486072ef86147a65c0a8f540dc821a0f7e8babd72386276246b64d3d04f4fbb89edb34164965746e999694fba5d5b65f71b8ce3e8cfddb0add')
+
+build() {
+  cd ${pkgbase}-${pkgver}
+  python setup.py build
+}
+
+check() {
+  cd ${pkgbase}-${pkgver}
+  python setup.py test
+}
+
+package() {
+  cd ${pkgbase}-${pkgver}
+  python setup.py install -O1 --root="${pkgdir}" --prefix=/usr --skip-build
+  install -Dm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
+  install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list