[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/14: gnu: Add python-pylast.
From: |
Leo Famulari |
Subject: |
06/14: gnu: Add python-pylast. |
Date: |
Fri, 18 Mar 2016 18:28:17 +0000 |
lfam pushed a commit to branch master
in repository guix.
commit acd7351ff641fdd258c0d2af4a416386015940a4
Author: Leo Famulari <address@hidden>
Date: Thu Mar 3 20:03:23 2016 -0500
gnu: Add python-pylast.
* gnu/packages/music.scm (python-pylast, python2-pylast): New variables.
---
gnu/packages/music.scm | 35 +++++++++++++++++++++++++++++++++++
1 files changed, 35 insertions(+), 0 deletions(-)
diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index ab02d34..d60f9bf 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -1218,3 +1218,38 @@ detailed track info including timbre, pitch, rhythm and
loudness information.
(package (inherit (package-with-python2
(strip-python2-variant python-pyechonest)))
(native-inputs `(("python2-setuptools" ,python2-setuptools)))))
+
+(define-public python-pylast
+ (package
+ (name "python-pylast")
+ (version "1.5.1")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "pylast" version))
+ (sha256
+ (base32
+ "10znd9xr1vs2ix519jkz3ccm90zciaddcdr2w2wrrh2jyy3bc59a"))))
+ (build-system python-build-system)
+ (native-inputs
+ `(("python-coverage" ,python-coverage)
+ ("python-mock" ,python-mock)
+ ("python-pep8" ,python-pep8)
+ ("python-pytest" ,python-pytest)
+ ("python-pyflakes" ,python-pyflakes)
+ ("python-pyyaml" ,python-pyyaml)))
+ (propagated-inputs
+ `(("python-six" ,python-six)))
+ (home-page "https://github.com/pylast/pylast")
+ (synopsis "Python interface to Last.fm and Libre.fm")
+ (description "A Python interface to Last.fm and other API-compatible
+websites such as Libre.fm.")
+ (license license:asl2.0)
+ (properties `((python2-variant . ,(delay python2-pylast))))))
+
+(define-public python2-pylast
+ (let ((pylast (package-with-python2
+ (strip-python2-variant python-pylast))))
+ (package (inherit pylast)
+ (native-inputs
+ `(("python2-setuptools" ,python2-setuptools)
+ ,@(package-native-inputs pylast))))))
- branch master updated (0e0fd3e -> 3bf429a), Leo Famulari, 2016/03/18
- 10/14: gnu: Add python-mpd2., Leo Famulari, 2016/03/18
- 12/14: gnu: Add python2-unicodecsv., Leo Famulari, 2016/03/18
- 04/14: gnu: Add python-flask., Leo Famulari, 2016/03/18
- 06/14: gnu: Add python-pylast.,
Leo Famulari <=
- 07/14: gnu: Add python-cookies., Leo Famulari, 2016/03/18
- 11/14: gnu: Add python-jellyfish., Leo Famulari, 2016/03/18
- 09/14: gnu: Add python2-pathlib., Leo Famulari, 2016/03/18
- 02/14: gnu: Add python-munkres., Leo Famulari, 2016/03/18
- 03/14: gnu: Add python-musicbrainzngs., Leo Famulari, 2016/03/18
- 14/14: gnu: Add beets., Leo Famulari, 2016/03/18
- 01/14: gnu: Add python-mutagen., Leo Famulari, 2016/03/18
- 13/14: gnu: Add python-rarfile., Leo Famulari, 2016/03/18
- 08/14: gnu: Add python-responses., Leo Famulari, 2016/03/18
- 05/14: gnu: Add python-pyechonest., Leo Famulari, 2016/03/18