[arch-commits] Commit in python-pyliblo/repos (2 files)
David Runge
dvzrv at archlinux.org
Fri Jan 26 23:21:41 UTC 2018
Date: Friday, January 26, 2018 @ 23:21:41
Author: dvzrv
Revision: 287296
archrelease: copy trunk to community-testing-x86_64
Added:
python-pyliblo/repos/community-testing-x86_64/
python-pyliblo/repos/community-testing-x86_64/PKGBUILD
(from rev 287295, python-pyliblo/trunk/PKGBUILD)
----------+
PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
Copied: python-pyliblo/repos/community-testing-x86_64/PKGBUILD (from rev 287295, python-pyliblo/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2018-01-26 23:21:41 UTC (rev 287296)
@@ -0,0 +1,37 @@
+# Maintainer: David Runge <dave at sleepmap.de>
+# Contributor: Llewelyn Trahaearn <WoefulDerelict at GMail dot com>
+# Contributor: SpepS <dreamspepser at yahoo dot it>
+
+_name=pyliblo
+pkgname=python-pyliblo
+pkgver=0.10.0
+pkgrel=2
+pkgdesc='Python wrapper for the liblo OSC library'
+arch=('x86_64')
+url="http://das.nasophon.de/pyliblo/"
+license=('LGPL2.1')
+depends=('liblo' 'python')
+makedepends=('cython')
+source=("http://das.nasophon.de/download/${_name}-${pkgver}.tar.gz")
+sha512sums=('d2a3d47f6c52d310104256d33fbd5d652ae6bc8cde32c2d3b2f3f407b8a4aba99028e57cd466804d266f63468a6c792760f28a43dbabcfa3330e0a852ee4d4e3')
+
+check() {
+ cd "${_name}-${pkgver}"
+ python setup.py test
+}
+
+build() {
+ cd "${_name}-${pkgver}"
+ python setup.py build
+}
+
+package() {
+ cd "${_name}-${pkgver}"
+ python setup.py install --skip-build \
+ --optimize=1 \
+ --prefix=/usr \
+ --root="${pkgdir}/"
+ install -t "${pkgdir}/usr/share/doc/${pkgname}/" \
+ -Dm644 {NEWS,README}
+}
+
More information about the arch-commits
mailing list