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

Felix Yan felixonmars at gemini.archlinux.org
Tue Nov 30 21:13:57 UTC 2021


    Date: Tuesday, November 30, 2021 @ 21:13:56
  Author: felixonmars
Revision: 1058894

archrelease: copy trunk to community-staging-any

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

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

Copied: python-execnet/repos/community-staging-any/PKGBUILD (from rev 1058891, python-execnet/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-11-30 21:13:56 UTC (rev 1058894)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-execnet
+pkgver=1.9.0
+pkgrel=3
+pkgdesc="Rapid multi-Python deployment"
+arch=('any')
+license=('MIT')
+url="https://codespeak.net/execnet"
+depends=('python')
+makedepends=('python-setuptools-scm')
+checkdepends=('python-pytest-timeout' 'procps-ng' 'openssh')
+source=("https://pypi.io/packages/source/e/execnet/execnet-$pkgver.tar.gz")
+sha512sums=('d425e7b6f3708efecb5dfa2c36a837cb55f2c32cf2ec0c1dc11cd1ca6ea614d119d04908b84dd5a3593c87db35e71fee202f843665c853ac3538479f60c83d60')
+
+build() {
+  cd "$srcdir"/execnet-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd "$srcdir"/execnet-$pkgver
+  PYTHONPATH="$PWD/build/lib:$PYTHONPATH" pytest testing
+}
+
+package() {
+  cd execnet-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+}



More information about the arch-commits mailing list