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

Felix Yan felixonmars at archlinux.org
Mon Nov 4 04:14:24 UTC 2019


    Date: Monday, November 4, 2019 @ 04:14:23
  Author: felixonmars
Revision: 523116

archrelease: copy trunk to community-staging-any

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

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

Copied: python-osc/repos/community-staging-any/PKGBUILD (from rev 523115, python-osc/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-11-04 04:14:23 UTC (rev 523116)
@@ -0,0 +1,33 @@
+# Maintainer: David Runge <dave at sleepmap.de>
+
+pkgname=python-osc
+pkgver=1.7.4
+pkgrel=2
+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