unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#36409] [PATCH] gnu: Add beets-bandcamp.
@ 2019-06-28  0:41 Jakob L. Kreuze
  2019-06-28  5:00 ` swedebugia
  2019-06-28 12:25 ` bug#36409: " Tobias Geerinckx-Rice
  0 siblings, 2 replies; 4+ messages in thread
From: Jakob L. Kreuze @ 2019-06-28  0:41 UTC (permalink / raw)
  To: 36409

[-- Attachment #1: Type: text/plain, Size: 2272 bytes --]

* 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 <bjoern.hoefling@bjoernhoefling.de>
 ;;; Copyright © 2019 Gabriel Hondet <gabrielhondet@gmail.com>
 ;;; Copyright © 2019 Timotej Lazar <timotej.lazar@araneo.si>
+;;; Copyright © 2019 Jakob L. Kreuze <zerodaysfordays@sdf.lonestar.org>
 ;;;
 ;;; 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")
-- 
2.22.0

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [bug#36409] [PATCH] gnu: Add beets-bandcamp.
  2019-06-28  0:41 [bug#36409] [PATCH] gnu: Add beets-bandcamp Jakob L. Kreuze
@ 2019-06-28  5:00 ` swedebugia
  2019-06-28 12:25 ` bug#36409: " Tobias Geerinckx-Rice
  1 sibling, 0 replies; 4+ messages in thread
From: swedebugia @ 2019-06-28  5:00 UTC (permalink / raw)
  To: 36409

On 2019-06-28 02:41, Jakob L. Kreuze wrote:
> * 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 <bjoern.hoefling@bjoernhoefling.de>
>   ;;; Copyright © 2019 Gabriel Hondet <gabrielhondet@gmail.com>
>   ;;; Copyright © 2019 Timotej Lazar <timotej.lazar@araneo.si>
> +;;; Copyright © 2019 Jakob L. Kreuze <zerodaysfordays@sdf.lonestar.org>
>   ;;;
>   ;;; 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")
> 

LGTM. It is reproducible.

-- 
Cheers Swedebugia

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#36409: [PATCH] gnu: Add beets-bandcamp.
  2019-06-28  0:41 [bug#36409] [PATCH] gnu: Add beets-bandcamp Jakob L. Kreuze
  2019-06-28  5:00 ` swedebugia
@ 2019-06-28 12:25 ` Tobias Geerinckx-Rice
  2019-06-28 13:42   ` [bug#36409] " Jakob L. Kreuze
  1 sibling, 1 reply; 4+ messages in thread
From: Tobias Geerinckx-Rice @ 2019-06-28 12:25 UTC (permalink / raw)
  To: 36409-done

[-- Attachment #1: Type: text/plain, Size: 555 bytes --]

Jakob,

Pushed with minor cosmetic adjustments as 
4ee2cce327ce839f471fb28a095fe7299ed822af.

Jakob L. Kreuze wrote:
> +    (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.")

Thank you for (presumably) taking the time to write a better 
description than upstream's.

I've tweaked it only slightly (mainly starting with a full 
sentence & adding @uref for the URL), promise.

Kind regards,

T G-R

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [bug#36409] [PATCH] gnu: Add beets-bandcamp.
  2019-06-28 12:25 ` bug#36409: " Tobias Geerinckx-Rice
@ 2019-06-28 13:42   ` Jakob L. Kreuze
  0 siblings, 0 replies; 4+ messages in thread
From: Jakob L. Kreuze @ 2019-06-28 13:42 UTC (permalink / raw)
  To: 36409

[-- Attachment #1: Type: text/plain, Size: 428 bytes --]

Hi Tobias,

Tobias Geerinckx-Rice <me@tobias.gr> writes:

> Thank you for (presumably) taking the time to write a better
> description than upstream's.

Yeah, I didn't think upstream's description fit the guidelines in the
manual's "Synopses and Descriptions" section.

> I've tweaked it only slightly (mainly starting with a full sentence &
> adding @uref for the URL), promise.

Much appreciated, thank you :]

Regards,
Jakob

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-06-28 13:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-28  0:41 [bug#36409] [PATCH] gnu: Add beets-bandcamp Jakob L. Kreuze
2019-06-28  5:00 ` swedebugia
2019-06-28 12:25 ` bug#36409: " Tobias Geerinckx-Rice
2019-06-28 13:42   ` [bug#36409] " Jakob L. Kreuze

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).