unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Vinicius Monego <monego@posteo.net>
To: 51208@debbugs.gnu.org
Cc: Vinicius Monego <monego@posteo.net>
Subject: [bug#51208] [PATCH 1/2] gnu: Add python-pycdio.
Date: Thu, 14 Oct 2021 16:00:35 +0000	[thread overview]
Message-ID: <20211014160036.114159-1-monego@posteo.net> (raw)
In-Reply-To: <20211014155819.113955-1-monego@posteo.net>

* gnu/packages/cdrom.scm (python-pycdio): New variable.
---
 gnu/packages/cdrom.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/cdrom.scm b/gnu/packages/cdrom.scm
index 443d7455a7..47de11eec9 100644
--- a/gnu/packages/cdrom.scm
+++ b/gnu/packages/cdrom.scm
@@ -14,6 +14,7 @@
 ;;; Copyright © 2018, 2019 Ricardo Wurmus <rekado@elephly.net>
 ;;; Copyright © 2019 Eric Bavier <bavier@member.fsf.org>
 ;;; Copyright © 2020 Timotej Lazar <timotej.lazar@araneo.si>
+;;; Copyright © 2021 Vinicius Monego <monego@posteo.net>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -38,6 +39,7 @@
   #:use-module (guix build-system cmake)
   #:use-module (guix build-system gnu)
   #:use-module (guix build-system glib-or-gtk)
+  #:use-module (guix build-system python)
   #:use-module (guix gexp)
   #:use-module (guix utils)
   #:use-module (gnu packages)
@@ -45,6 +47,7 @@
   #:use-module (gnu packages audio)
   #:use-module (gnu packages autotools)
   #:use-module (gnu packages bison)
+  #:use-module (gnu packages check)
   #:use-module (gnu packages compression)
   #:use-module (gnu packages flex)
   #:use-module (gnu packages fontutils)
@@ -69,6 +72,7 @@
   #:use-module (gnu packages python)
   #:use-module (gnu packages image)
   #:use-module (gnu packages photo)
+  #:use-module (gnu packages swig)
   #:use-module (gnu packages tcl)
   #:use-module (gnu packages video)
   #:use-module (gnu packages wget)
@@ -610,6 +614,29 @@ the data.")
 from an audio CD.")
     (license gpl2+)))
 
+(define-public python-pycdio
+  (package
+    (name "python-pycdio")
+    (version "2.1.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "pycdio" version))
+       (sha256
+        (base32 "1y590j804f2chpw0dyvwlmrmk7rzbp0y58idrfib3dslqnw4swv1"))))
+    (build-system python-build-system)
+    (native-inputs
+     `(("pkg-config" ,pkg-config)
+       ("python-nose" ,python-nose)
+       ("swig" ,swig)))
+    (inputs
+     `(("libcdio" ,libcdio)))
+    (home-page "https://www.gnu.org/software/libcdio/")
+    (synopsis "Python OO interface to libcdio")
+    (description "@code{pycdio} is a Python OO interface to @code{libcdio}
+(CD Input and Control library).")
+    (license gpl3+)))
+
 (define-public abcde
   (package
     (name "abcde")
-- 
2.30.2





  reply	other threads:[~2021-10-14 16:08 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-14 15:58 [bug#51208] [PATCH 0/2] gnu: Add whipper Vinicius Monego
2021-10-14 16:00 ` Vinicius Monego [this message]
2021-10-14 16:00   ` [bug#51208] [PATCH 2/2] " Vinicius Monego
2021-11-01 18:03 ` [bug#51208] [PATCH v2 1/2] gnu: Add python-pycdio Vinicius Monego
2021-11-01 18:03   ` [bug#51208] [PATCH v2 2/2] gnu: Add whipper Vinicius Monego

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211014160036.114159-1-monego@posteo.net \
    --to=monego@posteo.net \
    --cc=51208@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).