Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=04e948a90650f65396d5ab25830ec20e525ff212

commit 04e948a90650f65396d5ab25830ec20e525ff212
Author: Slown <[email protected]>
Date:   Sat May 28 15:05:45 2016 +0100

pylast-1.6.0-2-x86_64

* add python3 support
* pkg++

diff --git a/source/lib-extra/pylast/FrugalBuild 
b/source/lib-extra/pylast/FrugalBuild
index 95c162a..3682154 100644
--- a/source/lib-extra/pylast/FrugalBuild
+++ b/source/lib-extra/pylast/FrugalBuild
@@ -1,14 +1,34 @@
-# Compiling Time: 0 SBU
+# Compiling Time: 0.01 SBU
# Maintainer: Slown <[email protected]>

pkgname=pylast
pkgver=1.6.0
-pkgrel=1
+pkgrel=2
pkgdesc="A Python interface to Last.fm and Libre.fm"
groups=('lib-extra')
archs=('i686' 'x86_64')
-depends=('python-six')
+depends=('python-six>=1.10.0-3')
makedepends=('python-distribute')
_F_github_tag="y"
Finclude github
sha1sums=('32fd1b547b9b3a8d27b1df741ab6adf247c19c16')
+
+subpkgs=("${subpkgs[@]}" "python3-pylast")
+subdescs=("${subdecs[@]}" "A Python 3 interface to Last.fm and Libre.fm")
+subdepends=("${subdepends[@]}" "python3-six>=1.10.0-3")
+subgroups=("${subgroups[@]}" 'lib-extra')
+subarchs=("${subarchs[@]}" 'i686 x86_64')
+
+build() {
+       Fcd
+
+       #python3
+       python3 setup.py build || Fdie
+       python3 setup.py install --root=$Fdestdir --optimize=1 || Fdie
+       Fsplit python3-pylast usr
+
+       #python2
+       python setup.py build || Fdie
+       python setup.py install --root=$Fdestdir --optimize=1 || Fdie
+       Frm usr/share/doc
+}
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to