[arch-commits] Commit in python2-pyacoustid/trunk (PKGBUILD)

2017-06-17 Thread Maxime Gauduin
Date: Saturday, June 17, 2017 @ 21:49:54
  Author: alucryd
Revision: 237994

FS#54318: python-pyacoustid 1.1.5-1

Modified:
  python2-pyacoustid/trunk/PKGBUILD

--+
 PKGBUILD |   43 ---
 1 file changed, 28 insertions(+), 15 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-06-17 21:49:52 UTC (rev 237993)
+++ PKGBUILD2017-06-17 21:49:54 UTC (rev 237994)
@@ -3,33 +3,46 @@
 # Contributor: Fernando Jiménez Solano 
 # Contributor: Sven-Hendrik Haase 
 
-pkgname=python2-pyacoustid
-pkgver=1.1.4
+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/sampsyo/pyacoustid'
+url='https://github.com/beetbox/pyacoustid'
 license=('MIT')
 depends=('chromaprint')
-makedepends=('python2-setuptools')
-source=("pyacoustid-${pkgver}.tar.gz::https://github.com/sampsyo/pyacoustid/archive/v${pkgver}.tar.gz";
-'https://raw.github.com/sampsyo/beets/master/LICENSE')
-sha256sums=('69e7e70d05a185e3602c7f752b2c9009c3caa17bbe7ddaed494d67fb63913b47'
+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() {
-  cd pyacoustid-${pkgver}
+  for py in python{,2}; do
+pushd ${py}-pyacoustid-${pkgver}
+${py} setup.py build
+popd
+  done
+}
 
-  python2 setup.py build
+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() {
-  cd pyacoustid-${pkgver}
+package_python2-pyacoustid() {
+  cd python2-pyacoustid-${pkgver}
 
-  python2 setup.py install --root="${pkgdir}" --optimize='1'
-
-  install -dm 755 "${pkgdir}"/usr/share/licenses/python2-pyacoustid
-  install -m 644 ../LICENSE "${pkgdir}"/usr/share/licenses/python2-pyacoustid/
+  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:


[arch-commits] Commit in python2-pyacoustid/trunk (PKGBUILD)

2016-12-21 Thread Maxime Gauduin
Date: Wednesday, December 21, 2016 @ 10:41:31
  Author: alucryd
Revision: 200759

upgpkg: python2-pyacoustid 1.1.4-1

Modified:
  python2-pyacoustid/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-12-21 10:28:42 UTC (rev 200758)
+++ PKGBUILD2016-12-21 10:41:31 UTC (rev 200759)
@@ -4,7 +4,7 @@
 # Contributor: Sven-Hendrik Haase 
 
 pkgname=python2-pyacoustid
-pkgver=1.1.0
+pkgver=1.1.4
 pkgrel=1
 pkgdesc='Bindings for Chromaprint acoustic fingerprinting and the Acoustid API'
 arch=('any')
@@ -14,8 +14,8 @@
 makedepends=('python2-setuptools')
 
source=("pyacoustid-${pkgver}.tar.gz::https://github.com/sampsyo/pyacoustid/archive/v${pkgver}.tar.gz";
 'https://raw.github.com/sampsyo/beets/master/LICENSE')
-sha256sums=('55137af9293b62b588986bd45a88f4cc571f4b0aaac665811edd7ba0659cf136'
-'818fc3b5adc33cf7d463cf8731eca11f0374cece3a89c83e8379c5517c096e4e')
+sha256sums=('69e7e70d05a185e3602c7f752b2c9009c3caa17bbe7ddaed494d67fb63913b47'
+'69b9fa8fe9700714fc1f002aa6bfef097e5422372979195ab48956cd48e20aaf')
 
 build() {
   cd pyacoustid-${pkgver}


[arch-commits] Commit in python2-pyacoustid/trunk (PKGBUILD)

2014-11-10 Thread Maxime Gauduin
Date: Monday, November 10, 2014 @ 11:13:19
  Author: alucryd
Revision: 122289

upgpkg: python2-pyacoustid 1.1.0-1

Modified:
  python2-pyacoustid/trunk/PKGBUILD

--+
 PKGBUILD |   25 -
 1 file changed, 12 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-11-10 09:20:17 UTC (rev 122288)
+++ PKGBUILD2014-11-10 10:13:19 UTC (rev 122289)
@@ -1,36 +1,35 @@
 # $Id$
-# Maintainer: Maxime Gauduin 
+# Maintainer: Maxime Gauduin 
 # Contributor: Fernando Jiménez Solano 
 # Contributor: Sven-Hendrik Haase 
 
 pkgname=python2-pyacoustid
-pkgver=1.0.0
-pkgrel=3
-pkgdesc="Bindings for Chromaprint acoustic fingerprinting and the Acoustid API"
+pkgver=1.1.0
+pkgrel=1
+pkgdesc='Bindings for Chromaprint acoustic fingerprinting and the Acoustid API'
 arch=('any')
 url='https://github.com/sampsyo/pyacoustid'
 license=('MIT')
 depends=('chromaprint')
 makedepends=('python2-setuptools')
-source=("http://pypi.python.org/packages/source/p/${pkgname#*-}/${pkgname#*-}-${pkgver}.tar.gz";
+source=("pyacoustid-${pkgver}.tar.gz::https://github.com/sampsyo/pyacoustid/archive/v${pkgver}.tar.gz";
 'https://raw.github.com/sampsyo/beets/master/LICENSE')
-sha256sums=('31900428e7b344dca0c2da594b387e88620c319298e3a6400a968078194407d4'
-'ea007e11dca00f67ef7f290d4eaa608b4f2d5b2668a47787d69b6cff348f2fcd')
+sha256sums=('55137af9293b62b588986bd45a88f4cc571f4b0aaac665811edd7ba0659cf136'
+'818fc3b5adc33cf7d463cf8731eca11f0374cece3a89c83e8379c5517c096e4e')
 
 build() {
-  cd ${pkgname#*-}-${pkgver}
+  cd pyacoustid-${pkgver}
 
   python2 setup.py build
 }
 
 package() {
-  cd ${pkgname#*-}-${pkgver}
+  cd pyacoustid-${pkgver}
 
-  python2 setup.py install --root="${pkgdir}" --optimize=1
+  python2 setup.py install --root="${pkgdir}" --optimize='1'
 
-# License
-  install -dm 755 "${pkgdir}"/usr/share/licenses/${pkgname}
-  install -m 644 {../,"${pkgdir}"/usr/share/licenses/${pkgname}/}LICENSE
+  install -dm 755 "${pkgdir}"/usr/share/licenses/python2-pyacoustid
+  install -m 644 ../LICENSE "${pkgdir}"/usr/share/licenses/python2-pyacoustid/
 }
 
 # vim: ts=2 sw=2 et:


[arch-commits] Commit in python2-pyacoustid/trunk (PKGBUILD)

2013-08-18 Thread Maxime Gauduin
Date: Monday, August 19, 2013 @ 02:30:59
  Author: alucryd
Revision: 95935

setuptools todo: python2-pyacoustid 1.0.0-3

Modified:
  python2-pyacoustid/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-08-19 00:29:27 UTC (rev 95934)
+++ PKGBUILD2013-08-19 00:30:59 UTC (rev 95935)
@@ -5,13 +5,13 @@
 
 pkgname=python2-pyacoustid
 pkgver=1.0.0
-pkgrel=2
+pkgrel=3
 pkgdesc="Bindings for Chromaprint acoustic fingerprinting and the Acoustid API"
 arch=('any')
 url='https://github.com/sampsyo/pyacoustid'
 license=('MIT')
 depends=('chromaprint')
-makedepends=('python2-distribute')
+makedepends=('python2-setuptools')
 
source=("http://pypi.python.org/packages/source/p/${pkgname#*-}/${pkgname#*-}-${pkgver}.tar.gz";
 'https://raw.github.com/sampsyo/beets/master/LICENSE')
 sha256sums=('31900428e7b344dca0c2da594b387e88620c319298e3a6400a968078194407d4'