[arch-commits] Commit in python-pykka/trunk (PKGBUILD)

Morten Linderud foxboron at archlinux.org
Sun Dec 22 22:05:48 UTC 2019


    Date: Sunday, December 22, 2019 @ 22:05:47
  Author: foxboron
Revision: 538939

upgpkg: python-pykka 2.0.2-1

Added:
  python-pykka/trunk/PKGBUILD

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

Added: PKGBUILD
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-12-22 22:05:47 UTC (rev 538939)
@@ -0,0 +1,27 @@
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
+# Contributor: Sven-Hendrik Haase <svenstaro at gmail.com>
+# Contributor: Antoine Pierlot-Garcin <antoine at bokbox dot com>
+
+pkgname=python-pykka
+pkgver=2.0.2
+pkgrel=1
+pkgdesc="Easy to use concurrency abstractions for Python using the actor model"
+arch=('any')
+url="http://pykka.readthedocs.org/"
+license=('Apache')
+depends=('python')
+makedepends=('python-setuptools')
+optdepends=('python-gevent: Use gevent based actors from pykka.gevent')
+source=("https://pypi.python.org/packages/source/P/Pykka/Pykka-$pkgver.tar.gz")
+sha512sums=('98b2e6122dc5158da489265cf7cf9e358bfa432d0a0eaab9f50a07c0050083afb19aad494e4cd27347c376947eafb7d9796909c18e3648ef1bf0685bd6384e5b')
+
+build() {
+  cd "Pykka-$pkgver"
+  python setup.py build
+}
+
+package() {
+  cd "Pykka-$pkgver"
+  python setup.py install --prefix=/usr --root="$pkgdir"/ --optimize=1 --skip-build
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}



More information about the arch-commits mailing list