From patchwork Fri Jun 28 00:41:05 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: "Jakob L. Kreuze" X-Patchwork-Id: 14411 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id AF7E01714F; Fri, 28 Jun 2019 01:43:12 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id E5EA616E88 for ; Fri, 28 Jun 2019 01:43:10 +0100 (BST) Received: from localhost ([::1]:55460 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hgeyr-00046Y-Uc for patchwork@mira.cbaines.net; Thu, 27 Jun 2019 20:43:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38492) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hgeym-00046S-Or for guix-patches@gnu.org; Thu, 27 Jun 2019 20:43:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hgeyl-0007e7-4E for guix-patches@gnu.org; Thu, 27 Jun 2019 20:43:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:54779) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hgeyj-0007dC-UJ for guix-patches@gnu.org; Thu, 27 Jun 2019 20:43:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hgeyj-0000S2-Pl for guix-patches@gnu.org; Thu, 27 Jun 2019 20:43:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#36409] [PATCH] gnu: Add beets-bandcamp. Resent-From: zerodaysfordays@sdf.lonestar.org (Jakob L. Kreuze) Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 28 Jun 2019 00:43:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 36409 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 36409@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.15616825721714 (code B ref -1); Fri, 28 Jun 2019 00:43:01 +0000 Received: (at submit) by debbugs.gnu.org; 28 Jun 2019 00:42:52 +0000 Received: from localhost ([127.0.0.1]:40090 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hgeya-0000Ra-08 for submit@debbugs.gnu.org; Thu, 27 Jun 2019 20:42:52 -0400 Received: from lists.gnu.org ([209.51.188.17]:50398) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hgeyY-0000RQ-1w for submit@debbugs.gnu.org; Thu, 27 Jun 2019 20:42:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38416) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hgeyV-0003uQ-2a for guix-patches@gnu.org; Thu, 27 Jun 2019 20:42:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hgeyT-0007MC-FN for guix-patches@gnu.org; Thu, 27 Jun 2019 20:42:47 -0400 Received: from mx.sdf.org ([205.166.94.20]:59052) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hgeyT-0007KD-2H for guix-patches@gnu.org; Thu, 27 Jun 2019 20:42:45 -0400 Received: from Epsilon (pool-173-76-53-40.bstnma.fios.verizon.net [173.76.53.40]) (authenticated (0 bits)) by mx.sdf.org (8.15.2/8.14.5) with ESMTPSA id x5S0geuw013856 (using TLSv1.2 with cipher AES256-GCM-SHA384 (256 bits) verified NO) for ; Fri, 28 Jun 2019 00:42:41 GMT From: zerodaysfordays@sdf.lonestar.org (Jakob L. Kreuze) Date: Thu, 27 Jun 2019 20:41:05 -0400 Message-ID: <877e968rtq.fsf@sdf.lonestar.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/music.scm (beets-bandcamp): New variable. --- gnu/packages/music.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm index ca9cbd3343..fd8898a706 100644 --- a/gnu/packages/music.scm +++ b/gnu/packages/music.scm @@ -21,6 +21,7 @@ ;;; Copyright © 2018 Björn Höfling ;;; Copyright © 2019 Gabriel Hondet ;;; Copyright © 2019 Timotej Lazar +;;; Copyright © 2019 Jakob L. Kreuze ;;; ;;; This file is part of GNU Guix. ;;; @@ -129,6 +130,7 @@ #:use-module (gnu packages tcl) #:use-module (gnu packages texinfo) #:use-module (gnu packages tex) + #:use-module (gnu packages time) #:use-module (gnu packages tls) #:use-module (gnu packages version-control) #:use-module (gnu packages video) @@ -2816,6 +2818,32 @@ metadata as it goes using the MusicBrainz database. Then it provides a variety of tools for manipulating and accessing your music.") (license license:expat))) +(define-public beets-bandcamp + (package + (name "beets-bandcamp") + (version "0.1.3") + (source (origin + (method url-fetch) + (uri (pypi-uri "beets-bandcamp" version)) + (sha256 + (base32 + "04awg0zdhhg5h510fc1p3qkvr2l1qm6nf85hlr9z8im8a7xlka0i")))) + (build-system python-build-system) + (arguments '(#:tests? #f)) ; there are no tests + (propagated-inputs + `(("beets" ,beets) + ("python-isodate" ,python-isodate))) + (inputs + `(("python-six" ,python-six) + ("python-requests" ,python-requests) + ("python-beautifulsoup4" ,python-beautifulsoup4))) + (home-page "https://github.com/unrblt/beets-bandcamp") + (synopsis "Bandcamp plugin for beets") + (description "Plugin for beets to automatically obtain tag data from +https://bandcamp.com/. The plugin is also capable of getting lyrics for songs +and album art using the beets FetchArt plugin.") + (license license:gpl2))) + (define-public milkytracker (package (name "milkytracker")