emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#35893: closed (guix import json does not specify i


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#35893: closed (guix import json does not specify input package's output when provided in the json)
Date: Fri, 07 Jun 2019 21:18:01 +0000

Your message dated Fri, 07 Jun 2019 23:17:29 +0200
with message-id <address@hidden>
and subject line Re: bug#35893: guix import json does not specify input 
package's output when provided in the json
has caused the debbugs.gnu.org bug report #35893,
regarding guix import json does not specify input package's output when 
provided in the json
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden.)


-- 
35893: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=35893
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: guix import json does not specify input package's output when provided in the json Date: Fri, 24 May 2019 18:49:29 -0600
I'm trying to generate a package definition from the following json:

{
    "name" : "pysolfc",
    "version" : "2.6.4",
    "source" : "https://github.com/shlomif/PySolFC/archive/pysolfc-2.6.4.tar.gz";
    "build-system" : "python",
    "home-page" : "https://pysolfc.sourceforge.io/";,
    "synopsis" : "Solitaire Collection, Written in Python",
    "description" : "PySol Fan Club Edition (PySolFC) is a collection of more 
than 1000 solitaire card games. It is a fork of PySol Solitaire.",
    "license" : "GPL-3.0+",
    "inputs" : ["python2:tk"],
    "propagated-inputs" : ["python2-six"]
}


==========
When I run guix import json pysolfc.json >> pysolfc.scm and define the
output as a public package, I get the following:

(define-module (custom packages pysolfc)
  #:use-module (guix packages)
  #:use-module (guix download)
  #:use-module (guix build-system python)
  #:use-module (guix licenses))

(define-public pysolfc
(package
  (name "pysolfc")
  (version "2.6.4")
  (source
    (origin
      (method url-fetch)
      (uri (string-append
             "https://github.com/shlomif/PySolFC/archive/pysolfc-";
             version
             ".tar.gz"))
      (sha256
        (base32
          "17r9mbn4fj6kbxhllsab74gfjac0j2mjdwkkwaxp6cqpy4dss3z8"))))
  (build-system python-build-system)
  (inputs
    `(("python2" ,(@ (gnu packages python) python-2))))
  (propagated-inputs
    `(("python2-six"
       ,(@ (gnu packages python-xyz) python2-six))))
  (home-page "https://pysolfc.sourceforge.io/";)
  (synopsis
    "Solitaire Collection, Written in Python")
  (description
    "PySol Fan Club Edition (PySolFC) is a collection of more than 1000 
solitaire card games. It is a fork of PySol Solitaire.")
  (license gpl3+))
)

====================
When I try to build this I get the following error:

    import _tkinter # If this fails your Python may not be configured
for Tk ModuleNotFoundError: No module named '_tkinter'
====================

Conclusion: guix import json doesn't specify the output required by the
json.



--- End Message ---
--- Begin Message --- Subject: Re: bug#35893: guix import json does not specify input package's output when provided in the json Date: Fri, 07 Jun 2019 23:17:29 +0200 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux)
Hi Jesse,

Jesse Gibbons <address@hidden> skribis:

> I'm trying to generate a package definition from the following json:
>
> {
>     "name" : "pysolfc",
>     "version" : "2.6.4",
>     "source" : 
> "https://github.com/shlomif/PySolFC/archive/pysolfc-2.6.4.tar.gz";
>     "build-system" : "python",
>     "home-page" : "https://pysolfc.sourceforge.io/";,
>     "synopsis" : "Solitaire Collection, Written in Python",
>     "description" : "PySol Fan Club Edition (PySolFC) is a collection of more 
> than 1000 solitaire card games. It is a fork of PySol Solitaire.",
>     "license" : "GPL-3.0+",
>     "inputs" : ["python2:tk"],
>     "propagated-inputs" : ["python2-six"]
> }

[...]

> Conclusion: guix import json doesn't specify the output required by the
> json.

Fixed in c0a4db66976dc63decbd612aafb934f44629e321.

Thanks,
Ludo’.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]