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

Felix Yan felixonmars at archlinux.org
Thu Aug 13 20:39:55 UTC 2020


    Date: Thursday, August 13, 2020 @ 20:39:55
  Author: felixonmars
Revision: 678056

archrelease: copy trunk to community-x86_64

Added:
  python-sysv_ipc/repos/community-x86_64/
  python-sysv_ipc/repos/community-x86_64/PKGBUILD
    (from rev 678055, python-sysv_ipc/trunk/PKGBUILD)

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

Copied: python-sysv_ipc/repos/community-x86_64/PKGBUILD (from rev 678055, python-sysv_ipc/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2020-08-13 20:39:55 UTC (rev 678056)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-sysv_ipc
+pkgver=1.0.1
+pkgrel=1
+pkgdesc="System V IPC primitives (semaphores, shared memory and message queues) for Python"
+url="http://semanchuk.com/philip/sysv_ipc/"
+license=('BSD')
+arch=('x86_64')
+depends=('python')
+makedepends=('python-setuptools')
+source=("http://semanchuk.com/philip/sysv_ipc/sysv_ipc-$pkgver.tar.gz")
+sha512sums=('c240828df5a96fe241b0d68f349c7c593ee45115c2867adc577b4da75ec1b3101608fd8da021fec88a7b717af9a4b0e9f9e5ad6a06874a38c3ad2ce467f00989')
+
+build() {
+  cd sysv_ipc-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd sysv_ipc-$pkgver
+  PYTHONPATH="$PWD/build/lib.linux-$CARCH-3.8" python -m unittest discover
+}
+
+package() {
+  cd sysv_ipc-$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