From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: [PATCH 05/13] gnu: Add python-pyechonest. Date: Thu, 3 Mar 2016 20:26:31 -0500 Message-ID: References: Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38140) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1abeVy-0008PK-L1 for guix-devel@gnu.org; Thu, 03 Mar 2016 20:26:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1abeVw-0002WI-Ah for guix-devel@gnu.org; Thu, 03 Mar 2016 20:26:46 -0500 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:33203) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1abeVw-0002WE-6r for guix-devel@gnu.org; Thu, 03 Mar 2016 20:26:44 -0500 Received: from jasmine.lan (c-69-249-5-231.hsd1.pa.comcast.net [69.249.5.231]) by mail.messagingengine.com (Postfix) with ESMTPA id 5A75DC0001F for ; Thu, 3 Mar 2016 20:26:43 -0500 (EST) In-Reply-To: In-Reply-To: References: List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org * gnu/packages/music.scm (python-pyechonest, python2-pyechonest): New variables. --- gnu/packages/music.scm | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm index 1ad328e..cd5fcb1 100644 --- a/gnu/packages/music.scm +++ b/gnu/packages/music.scm @@ -1182,3 +1182,39 @@ MusicBrainz database.") (define-public python2-musicbrainzngs (package-with-python2 python-musicbrainzngs)) + +(define-public python-pyechonest + (package + (name "python-pyechonest") + (version "9.0.0") + (source (origin + (method url-fetch) + (uri (pypi-uri "pyechonest" version)) + (sha256 + (base32 + "1584nira3rkiman9dm81kdshihmkj21s8navndz2l8spnjwb790x")))) + (build-system python-build-system) + (home-page "https://github.com/echonest/pyechonest") + (synopsis "Python interface to The Echo Nest APIs.") + (description "Pyechonest is an open source Python library for the Echo Nest +API. With Pyechonest you have Python access to the entire set of API methods +including: + +@enumerate +@item artist - search for artists by name, description, or attribute, and get +back detailed information about any artist including audio, similar artists, +blogs, familiarity, hotttnesss, news, reviews, urls and video. +@item song - search songs by artist, title, description, or attribute (tempo, +duration, etc) and get detailed information back about each song, such as +hotttnesss, audio_summary, or tracks. +@item track - upload a track to the Echo Nest and receive summary information +about the track including key, duration, mode, tempo, time signature along with +detailed track info including timbre, pitch, rhythm and loudness information. +@end enumerate\n") + (license license:bsd-3) + (properties `((python2-variant . ,(delay python2-pyechonest)))))) + +(define-public python2-pyechonest + (package (inherit (package-with-python2 + (strip-python2-variant python-pyechonest))) + (native-inputs `(("python2-setuptools" ,python2-setuptools))))) -- 2.6.3