~ruther/guix-local

ae2e089b5a23c1a721e43819e6feb9c3b664907b — Nicolas Graves 4 months ago a5c32a9
gnu: python-bibtexparser: Update to 2.0.0b8.

* gnu/packages/python-xyz.scm (python-bibtexparser): Update to 2.0.0b8.
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[native-inputs]: Remove python-future.  Add python-pylatexenc,
python-pytest and python-setuptools.
(python-bibtexparser-for-cobib): New variable.

* gnu/packages/textutils.scm (cobib)[propagated-inputs]: Remove
python-bibtexparser; add python-bibtexparser-for-cobib.

Change-Id: I924fba9ccf9487dea6409fb4d1e1d69ab026c130
Modified-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2 files changed, 30 insertions(+), 10 deletions(-)

M gnu/packages/python-xyz.scm
M gnu/packages/textutils.scm
M gnu/packages/python-xyz.scm => gnu/packages/python-xyz.scm +29 -9
@@ 28837,21 28837,41 @@ for manual interpretation.")
(define-public python-bibtexparser
  (package
    (name "python-bibtexparser")
    (version "1.4.0")
    (source (origin
              (method url-fetch)
              (uri (pypi-uri "bibtexparser" version))
              (sha256
               (base32
                "1rmc178qqb8814v3pcfv4qgl8rxmkd11d56limkqmi776jyf4z6a"))))
    (build-system python-build-system)
    (version "2.0.0b8")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/sciunto-org/python-bibtexparser")
             (commit (string-append "v" version))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "065b6267ygphacfc9aawckv0yz9x3pzd4ivdbsr8cla3zs3lqzg7"))))
    (build-system pyproject-build-system)
    (propagated-inputs (list python-pyparsing))
    (native-inputs (list python-future))
    (native-inputs
     (list python-pylatexenc python-pytest python-setuptools))
    (home-page "https://github.com/sciunto-org/python-bibtexparser")
    (synopsis "Python library to parse BibTeX files")
    (description "BibtexParser is a Python library to parse BibTeX files.")
    (license (list license:bsd-3 license:lgpl3))))

(define-public python-bibtexparser-for-cobib
  (hidden-package
   (package
     (inherit python-bibtexparser)
    (name "python-bibtexparser")
     (version "1.4.0")
     (source
      (origin
        (method git-fetch)
        (uri (git-reference
               (url "https://github.com/sciunto-org/python-bibtexparser")
               (commit (string-append "v" version))))
        (file-name (git-file-name name version))
        (sha256
         (base32 "0zrgfgmh37m9frq528vy66p2fhlxzrxyhj0inc6qwg0m717w9zbl")))))))

(define-public python-distro
  (package
    (name "python-distro")

M gnu/packages/textutils.scm => gnu/packages/textutils.scm +1 -1
@@ 1439,7 1439,7 @@ OpenDocument presentations (*.odp).")
           python-setuptools))
    (propagated-inputs
     (list python-beautifulsoup4
           python-bibtexparser
           python-bibtexparser-for-cobib
           python-lxml
           python-mdit-py-plugins ;XXX: for sanity-check
           python-natsort