[arch-commits] Commit in python-osc/repos (community-any community-any/PKGBUILD)

David Runge dvzrv at archlinux.org
Sun Oct 13 19:45:44 UTC 2019


    Date: Sunday, October 13, 2019 @ 19:45:43
  Author: dvzrv
Revision: 515327

archrelease: copy trunk to community-any

Added:
  python-osc/repos/community-any/
  python-osc/repos/community-any/PKGBUILD
    (from rev 515326, python-osc/trunk/PKGBUILD)

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

Copied: python-osc/repos/community-any/PKGBUILD (from rev 515326, python-osc/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2019-10-13 19:45:43 UTC (rev 515327)
@@ -0,0 +1,33 @@
+# Maintainer: David Runge <dave at sleepmap.de>
+
+pkgname=python-osc
+pkgver=1.7.4
+pkgrel=1
+pkgdesc='Open Sound Control server and client implementations in pure Python'
+arch=('any')
+url="https://github.com/attwad/python-osc"
+license=('Unlicense')
+depends=('python')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest')
+source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/${pkgname}/${pkgname}-${pkgver}.tar.gz")
+sha512sums=('8fe699502efe97c57a4f42bff94a9361d955946307cee5670f0abb953f179abc46f02abb8298d3b30c21183957d019d5144914b49c693e92b54ee94b2fd018b4')
+
+build() {
+  cd "${pkgname}-${pkgver}"
+  python setup.py build
+}
+
+check() {
+  cd "${pkgname}-${pkgver}"
+  python setup.py test
+}
+
+package() {
+  cd "${pkgname}-${pkgver}"
+  python setup.py install --skip-build \
+    --optimize=1 \
+    --prefix=/usr \
+    --root="${pkgdir}/"
+  install -vDm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}/"
+}



More information about the arch-commits mailing list