Date: Sunday, October 13, 2019 @ 19:35:00 Author: dvzrv Revision: 515326
Adding python-osc. Added: python-osc/ python-osc/repos/ python-osc/trunk/ python-osc/trunk/PKGBUILD ----------+ PKGBUILD | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) Added: python-osc/trunk/PKGBUILD =================================================================== --- python-osc/trunk/PKGBUILD (rev 0) +++ python-osc/trunk/PKGBUILD 2019-10-13 19:35:00 UTC (rev 515326) @@ -0,0 +1,33 @@ +# Maintainer: David Runge <[email protected]> + +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}/" +}
