[arch-commits] Commit in (3 files)

Maxime Gauduin alucryd at archlinux.org
Sat Jun 17 21:58:19 UTC 2017


    Date: Saturday, June 17, 2017 @ 21:58:18
  Author: alucryd
Revision: 237997

Split python-pyacoustid

Added:
  python-pyacoustid/
  python-pyacoustid/trunk/
  python-pyacoustid/trunk/PKGBUILD

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

Added: python-pyacoustid/trunk/PKGBUILD
===================================================================
--- python-pyacoustid/trunk/PKGBUILD	                        (rev 0)
+++ python-pyacoustid/trunk/PKGBUILD	2017-06-17 21:58:18 UTC (rev 237997)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Fernando Jiménez Solano <fjim at sdfeu.org>
+# Contributor: Sven-Hendrik Haase <sh at lutzhaase.com>
+
+pkgbase=python-pyacoustid
+pkgname=('python-pyacoustid' 'python2-pyacoustid')
+pkgver=1.1.5
+pkgrel=1
+pkgdesc='Bindings for Chromaprint acoustic fingerprinting and the Acoustid API'
+arch=('any')
+url='https://github.com/beetbox/pyacoustid'
+license=('MIT')
+depends=('chromaprint')
+makedepends=('python-setuptools' 'python2-setuptools')
+source=("pyacoustid-${pkgver}.tar.gz::https://github.com/beetbox/pyacoustid/archive/v${pkgver}.tar.gz"
+        'https://raw.github.com/beetbox/beets/master/LICENSE')
+sha256sums=('614e350d62af87c7cbc62c0bcaed9fc8330879772d050d245b7bd86556fb1b3f'
+            '69b9fa8fe9700714fc1f002aa6bfef097e5422372979195ab48956cd48e20aaf')
+
+prepare() {
+  cp -r {,python-}pyacoustid-${pkgver}
+  mv {,python2-}pyacoustid-${pkgver}
+}
+
+build() {
+  for py in python{,2}; do
+    pushd ${py}-pyacoustid-${pkgver}
+    ${py} setup.py build
+    popd
+  done
+}
+
+package_python-pyacoustid() {
+  cd python-pyacoustid-${pkgver}
+
+  python setup.py install --root="${pkgdir}" --optimize='1' --skip-build
+  install -Dm 644 ../LICENSE -t "${pkgdir}"/usr/share/licenses/python-pyacoustid/
+}
+
+package_python2-pyacoustid() {
+  cd python2-pyacoustid-${pkgver}
+
+  python2 setup.py install --root="${pkgdir}" --optimize='1' --skip-build
+  install -Dm 644 ../LICENSE -t "${pkgdir}"/usr/share/licenses/python2-pyacoustid/
+}
+
+# vim: ts=2 sw=2 et:


Property changes on: python-pyacoustid/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property



More information about the arch-commits mailing list