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

Felix Yan felixonmars at archlinux.org
Tue Feb 18 08:54:36 UTC 2020


    Date: Tuesday, February 18, 2020 @ 08:54:35
  Author: felixonmars
Revision: 575704

archrelease: copy trunk to community-any

Added:
  python-func-timeout/repos/community-any/
  python-func-timeout/repos/community-any/PKGBUILD
    (from rev 575703, python-func-timeout/trunk/PKGBUILD)

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

Copied: python-func-timeout/repos/community-any/PKGBUILD (from rev 575703, python-func-timeout/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2020-02-18 08:54:35 UTC (rev 575704)
@@ -0,0 +1,28 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-func-timeout
+pkgver=4.3.5
+pkgrel=1
+pkgdesc="Python module which allows you to specify timeouts when calling any existing function. Also provides support for stoppable-threads"
+url="https://github.com/kata198/func_timeout"
+license=('LGPL')
+arch=('any')
+depends=('python')
+makedepends=('python-setuptools')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/kata198/func_timeout/archive/$pkgver.tar.gz")
+sha512sums=('0711b8bdd2b55e7473fb525e70b0e6596bb11ba074e6110c52e7fdc842d87ef2d57307f02af86eef1b1e7e4c84a9faf25ec450d25addce3ebb93e3d341b566ac')
+
+build() {
+  cd func_timeout-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd func_timeout-$pkgver
+  python testit.py
+}
+
+package() {
+  cd func_timeout-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+}



More information about the arch-commits mailing list