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

Felix Yan felixonmars at archlinux.org
Thu Nov 12 17:37:20 UTC 2020


    Date: Thursday, November 12, 2020 @ 17:37:19
  Author: felixonmars
Revision: 752721

archrelease: copy trunk to community-staging-any

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

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

Copied: python-osc/repos/community-staging-any/PKGBUILD (from rev 752719, python-osc/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-12 17:37:19 UTC (rev 752721)
@@ -0,0 +1,33 @@
+# Maintainer: David Runge <dave at sleepmap.de>
+
+pkgname=python-osc
+pkgver=1.7.4
+pkgrel=3
+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