unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#58387] [PATCH 0/2] Add cobib.
@ 2022-10-09  3:01 M
  2022-10-09  3:02 ` [bug#58387] [PATCH 1/2] gnu: Add python-pylatexenc. * gnu/packages/python-xyz.scm (python-pylatexenc): New variable M
                   ` (4 more replies)
  0 siblings, 5 replies; 17+ messages in thread
From: M @ 2022-10-09  3:01 UTC (permalink / raw)
  To: 58387; +Cc: M

`cobib` is a CLI- and TUI-based bibliography management, which I think could be very useful to multiple Guix users, especially as we don't have many bibliography tools packaged for Guix right now.

From the source repository:

"coBib is a simple, command-line based bibliography management tool. It is the result of the need for an easy-to-use alternative to full-blown reference managers like Mendeley or Zotero. As such it follows some basic design goals:

    plain-text database: which means you get full access and control over the database.
    git-integration: as a benefit of the above, you can keep track of your database through version control.
    centralized database, location-independent library: this means, that coBib only manages the database file in a centralized fashion but allows you to spread the actual contents of your library across the entire file system (this is the major different to papis).
    command-line and TUI support: all features are available through the command-line as well as a curses-based TUI."

M (2):
  gnu: Add python-pylatexenc. * gnu/packages/python-xyz.scm
    (python-pylatexenc): New variable.
  gnu: Add cobib. * gnu/packages/python-xyz.scm (python-cobib): New variable.

 gnu/packages/python-xyz.scm | 49 +++++++++++++++++++++++++++++++++++++
 1 file changed, 49 insertions(+)

-- 
2.37.2





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

* [bug#58387] [PATCH 1/2] gnu: Add python-pylatexenc. * gnu/packages/python-xyz.scm (python-pylatexenc): New variable.
  2022-10-09  3:01 [bug#58387] [PATCH 0/2] Add cobib M
@ 2022-10-09  3:02 ` M
  2022-10-09  3:02   ` [bug#58387] [PATCH 2/2] gnu: Add cobib. * gnu/packages/python-xyz.scm (python-cobib): " M
  2022-10-09  8:34   ` [bug#58387] [PATCH 1/2] gnu: Add python-pylatexenc. * gnu/packages/python-xyz.scm (python-pylatexenc): " ( via Guix-patches via
  2022-10-09 11:04 ` [bug#58387] [PATCH v2 " M
                   ` (3 subsequent siblings)
  4 siblings, 2 replies; 17+ messages in thread
From: M @ 2022-10-09  3:02 UTC (permalink / raw)
  To: 58387; +Cc: M

---
 gnu/packages/python-xyz.scm | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 054bd3ed29..bb571c525c 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -1617,6 +1617,24 @@ (define-public python-hnswlib
 approximate nearest neighbor search with Python bindings.")
     (license license:asl2.0)))
 
+(define-public python-pylatexenc
+  (package
+    (name "python-pylatexenc")
+    (version "2.10")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "pylatexenc" version))
+              (sha256
+               (base32
+                "1ls09z47b5md71gkxcj7fd87ynpvv2walgp2w6z31p26xf2gvn1x"))))
+    (build-system python-build-system)
+    (home-page "https://github.com/phfaist/pylatexenc")
+    (synopsis
+     "Simple LaTeX parser providing latex-to-unicode and unicode-to-latex conversion")
+    (description
+     "Simple LaTeX parser providing latex-to-unicode and unicode-to-latex conversion")
+    (license license:expat)))
+
 (define-public python-pyls-black
   (package
     (name "python-pyls-black")
-- 
2.37.2





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

* [bug#58387] [PATCH 2/2] gnu: Add cobib. * gnu/packages/python-xyz.scm (python-cobib): New variable.
  2022-10-09  3:02 ` [bug#58387] [PATCH 1/2] gnu: Add python-pylatexenc. * gnu/packages/python-xyz.scm (python-pylatexenc): New variable M
@ 2022-10-09  3:02   ` M
  2022-10-09  8:37     ` ( via Guix-patches via
  2022-10-09  8:34   ` [bug#58387] [PATCH 1/2] gnu: Add python-pylatexenc. * gnu/packages/python-xyz.scm (python-pylatexenc): " ( via Guix-patches via
  1 sibling, 1 reply; 17+ messages in thread
From: M @ 2022-10-09  3:02 UTC (permalink / raw)
  To: 58387; +Cc: M

---
 gnu/packages/python-xyz.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index bb571c525c..feb187c515 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -552,6 +552,37 @@ (define-public python-cachetools
 @code{lru_cache} function decorator.")
     (license license:expat)))
 
+(define-public python-cobib
+  (package
+    (name "python-cobib")
+    (version "3.5.2")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "cobib" version))
+              (sha256
+               (base32
+                "16nbrbvascbf6cb7yvn9q793dy8zx703pqrmk3mswib9a19mnx3n"))))
+    (build-system python-build-system)
+    (propagated-inputs (list python-beautifulsoup4
+                             python-bibtexparser
+                             python-pylatexenc
+                             python-requests
+                             python-requests-oauthlib
+                             python-ruamel.yaml))
+    (native-inputs
+     (list python-future
+           python-pyte
+           python-pytest))
+    (home-page "https://gitlab.com/mrossinek/cobib")
+    (synopsis "Console bibliography")
+    (description
+     "@command{cobib} is a simple, command-line based bibliography management
+tool.  It is the result of the need for an easy-to-use alternative to full-blown
+reference managers like Mendeley or Zotero.  It uses a plain-text database,
+location-independent library, and features git integration, command-line
+support, as well as a curses-based TUI.")
+    (license license:expat)))
+
 (define-public python-colorful
   (package
     (name "python-colorful")
-- 
2.37.2





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

* [bug#58387] [PATCH 1/2] gnu: Add python-pylatexenc. * gnu/packages/python-xyz.scm (python-pylatexenc): New variable.
  2022-10-09  3:02 ` [bug#58387] [PATCH 1/2] gnu: Add python-pylatexenc. * gnu/packages/python-xyz.scm (python-pylatexenc): New variable M
  2022-10-09  3:02   ` [bug#58387] [PATCH 2/2] gnu: Add cobib. * gnu/packages/python-xyz.scm (python-cobib): " M
@ 2022-10-09  8:34   ` ( via Guix-patches via
  1 sibling, 0 replies; 17+ messages in thread
From: ( via Guix-patches via @ 2022-10-09  8:34 UTC (permalink / raw)
  To: M, 58387

Hey,

On Sun Oct 9, 2022 at 4:02 AM BST, M wrote:
> +    (name "python-pylatexenc")
> +    (version "2.10")
> +    (source (origin
> +              (method url-fetch)
> +              (uri (pypi-uri "pylatexenc" version))

Could you add a ``file-name'' field? Something like:

  (file-name (string-append name "-" version ".tar.gz"))

> +    (synopsis
> +     "Simple LaTeX parser providing latex-to-unicode and unicode-to-latex conversion")
> +    (description
> +     "Simple LaTeX parser providing latex-to-unicode and unicode-to-latex conversion")

You'll want to shorten the synopsis and make the description a full sentence.

    -- (




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

* [bug#58387] [PATCH 2/2] gnu: Add cobib. * gnu/packages/python-xyz.scm (python-cobib): New variable.
  2022-10-09  3:02   ` [bug#58387] [PATCH 2/2] gnu: Add cobib. * gnu/packages/python-xyz.scm (python-cobib): " M
@ 2022-10-09  8:37     ` ( via Guix-patches via
  0 siblings, 0 replies; 17+ messages in thread
From: ( via Guix-patches via @ 2022-10-09  8:37 UTC (permalink / raw)
  To: M, 58387

On Sun Oct 9, 2022 at 4:02 AM BST, M wrote:
> +    (source (origin
> +              (method url-fetch)
> +              (uri (pypi-uri "cobib" version))

Add a file-name field here too, please.

> +    (propagated-inputs (list python-beautifulsoup4
> +                             python-bibtexparser
> +                             python-pylatexenc
> +                             python-requests
> +                             python-requests-oauthlib
> +                             python-ruamel.yaml))

Put the start of the list on a new line.

> +    (home-page "https://gitlab.com/mrossinek/cobib")
> +    (synopsis "Console bibliography")

Would "TUI bibliography management tool" be more precise?

> +     "@command{cobib} is a simple, command-line based bibliography management

Remove the ``simple'' adjective; we try to avoid marketing in descriptions to the
best of our ability.

> +tool.  It is the result of the need for an easy-to-use alternative to full-blown
> +reference managers like Mendeley or Zotero.  It uses a plain-text database,

For the same reason, could you remove the "It is the result ... or Zotero" line?

> +location-independent library, and features git integration, command-line

Maybe add "a" before "location-independent"?

> +support, as well as a curses-based TUI.")

s/as well as/and/ maybe?

    -- (




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

* [bug#58387] [PATCH v2 1/2] gnu: Add python-pylatexenc. * gnu/packages/python-xyz.scm (python-pylatexenc): New variable.
  2022-10-09  3:01 [bug#58387] [PATCH 0/2] Add cobib M
  2022-10-09  3:02 ` [bug#58387] [PATCH 1/2] gnu: Add python-pylatexenc. * gnu/packages/python-xyz.scm (python-pylatexenc): New variable M
@ 2022-10-09 11:04 ` M
  2022-10-09 11:04   ` [bug#58387] [PATCH v2 2/2] gnu: Add cobib. * gnu/packages/python-xyz.scm (python-cobib): " M
  2022-10-09 11:11   ` [bug#58387] [PATCH v2 1/2] gnu: Add python-pylatexenc. * gnu/packages/python-xyz.scm (python-pylatexenc): " ( via Guix-patches via
  2022-10-09 11:14 ` [bug#58387] [PATCH v3 " M
                   ` (2 subsequent siblings)
  4 siblings, 2 replies; 17+ messages in thread
From: M @ 2022-10-09 11:04 UTC (permalink / raw)
  To: 58387; +Cc: M

---
 gnu/packages/python-xyz.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 054bd3ed29..15540ffae3 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -1617,6 +1617,26 @@ (define-public python-hnswlib
 approximate nearest neighbor search with Python bindings.")
     (license license:asl2.0)))
 
+(define-public python-pylatexenc
+  (package
+    (name "python-pylatexenc")
+    (version "2.10")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "pylatexenc" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1ls09z47b5md71gkxcj7fd87ynpvv2walgp2w6z31p26xf2gvn1x"))))
+    (build-system python-build-system)
+    (home-page "https://github.com/phfaist/pylatexenc")
+    (synopsis
+     "LaTeX parser for unicode/latex conversion")
+    (description
+     "python-pylatexenc is a LaTeX parser providing latex-to-unicode and
+unicode-to-latex conversion.")
+    (license license:expat)))
+
 (define-public python-pyls-black
   (package
     (name "python-pyls-black")
-- 
2.37.2





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

* [bug#58387] [PATCH v2 2/2] gnu: Add cobib. * gnu/packages/python-xyz.scm (python-cobib): New variable.
  2022-10-09 11:04 ` [bug#58387] [PATCH v2 " M
@ 2022-10-09 11:04   ` M
  2022-10-09 11:11     ` ( via Guix-patches via
  2022-10-09 11:11   ` [bug#58387] [PATCH v2 1/2] gnu: Add python-pylatexenc. * gnu/packages/python-xyz.scm (python-pylatexenc): " ( via Guix-patches via
  1 sibling, 1 reply; 17+ messages in thread
From: M @ 2022-10-09 11:04 UTC (permalink / raw)
  To: 58387; +Cc: M

---
 gnu/packages/python-xyz.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 15540ffae3..970aa38d66 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -552,6 +552,37 @@ (define-public python-cachetools
 @code{lru_cache} function decorator.")
     (license license:expat)))
 
+(define-public python-cobib
+  (package
+    (name "python-cobib")
+    (version "3.5.2")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "cobib" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "16nbrbvascbf6cb7yvn9q793dy8zx703pqrmk3mswib9a19mnx3n"))))
+    (build-system python-build-system)
+    (propagated-inputs 
+     (list python-beautifulsoup4
+           python-bibtexparser
+           python-pylatexenc
+           python-requests
+           python-requests-oauthlib
+           python-ruamel.yaml))
+    (native-inputs
+     (list python-future
+           python-pyte
+           python-pytest))
+    (home-page "https://gitlab.com/mrossinek/cobib")
+    (synopsis "Terminal-based bibliography management tool")
+    (description
+     "@command{cobib} is a command-line based bibliography management tool.  It
+uses a plain-text database, a location-independent library, and features git
+integration, command-line support, and a curses-based TUI.")
+    (license license:expat)))
+
 (define-public python-colorful
   (package
     (name "python-colorful")
-- 
2.37.2





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

* [bug#58387] [PATCH v2 1/2] gnu: Add python-pylatexenc. * gnu/packages/python-xyz.scm (python-pylatexenc): New variable.
  2022-10-09 11:04 ` [bug#58387] [PATCH v2 " M
  2022-10-09 11:04   ` [bug#58387] [PATCH v2 2/2] gnu: Add cobib. * gnu/packages/python-xyz.scm (python-cobib): " M
@ 2022-10-09 11:11   ` ( via Guix-patches via
  1 sibling, 0 replies; 17+ messages in thread
From: ( via Guix-patches via @ 2022-10-09 11:11 UTC (permalink / raw)
  To: M, 58387

On Sun Oct 9, 2022 at 12:04 PM BST, M wrote:
> +    (synopsis
> +     "LaTeX parser for unicode/latex conversion")

Synopsis strings generally go on the same line as the field ID.

> +    (description
> +     "python-pylatexenc is a LaTeX parser providing latex-to-unicode and
> +unicode-to-latex conversion.")

s/python-pylatexenc/@code{pylatexenc}/

    -- (




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

* [bug#58387] [PATCH v2 2/2] gnu: Add cobib. * gnu/packages/python-xyz.scm (python-cobib): New variable.
  2022-10-09 11:04   ` [bug#58387] [PATCH v2 2/2] gnu: Add cobib. * gnu/packages/python-xyz.scm (python-cobib): " M
@ 2022-10-09 11:11     ` ( via Guix-patches via
  0 siblings, 0 replies; 17+ messages in thread
From: ( via Guix-patches via @ 2022-10-09 11:11 UTC (permalink / raw)
  To: M, 58387

On Sun Oct 9, 2022 at 12:04 PM BST, M wrote:
> +(define-public python-cobib
> +  (package
> +    (name "python-cobib")
> +    (version "3.5.2")
> +    (source (origin
> +              (method url-fetch)
> +              (uri (pypi-uri "cobib" version))
> +              (file-name (string-append name "-" version ".tar.gz"))
> +              (sha256
> +               (base32
> +                "16nbrbvascbf6cb7yvn9q793dy8zx703pqrmk3mswib9a19mnx3n"))))
> +    (build-system python-build-system)
> +    (propagated-inputs 
> +     (list python-beautifulsoup4
> +           python-bibtexparser
> +           python-pylatexenc
> +           python-requests
> +           python-requests-oauthlib
> +           python-ruamel.yaml))
> +    (native-inputs
> +     (list python-future
> +           python-pyte
> +           python-pytest))
> +    (home-page "https://gitlab.com/mrossinek/cobib")
> +    (synopsis "Terminal-based bibliography management tool")
> +    (description
> +     "@command{cobib} is a command-line based bibliography management tool.  It
> +uses a plain-text database, a location-independent library, and features git
> +integration, command-line support, and a curses-based TUI.")
> +    (license license:expat)))

LGTM

    -- (




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

* [bug#58387] [PATCH v3 1/2] gnu: Add python-pylatexenc. * gnu/packages/python-xyz.scm (python-pylatexenc): New variable.
  2022-10-09  3:01 [bug#58387] [PATCH 0/2] Add cobib M
  2022-10-09  3:02 ` [bug#58387] [PATCH 1/2] gnu: Add python-pylatexenc. * gnu/packages/python-xyz.scm (python-pylatexenc): New variable M
  2022-10-09 11:04 ` [bug#58387] [PATCH v2 " M
@ 2022-10-09 11:14 ` M
  2022-10-09 11:14   ` [bug#58387] [PATCH v3 2/2] gnu: Add cobib. * gnu/packages/python-xyz.scm (python-cobib): " M
  2022-10-09 11:18 ` [bug#58387] [PATCH v4 1/2] gnu: Add python-pylatexenc. * gnu/packages/python-xyz.scm (python-pylatexenc): " M
  2022-10-09 11:20 ` [bug#58387] [PATCH v5 1/2] gnu: Add python-pylatexenc. * gnu/packages/python-xyz.scm (python-pylatexenc): " M
  4 siblings, 1 reply; 17+ messages in thread
From: M @ 2022-10-09 11:14 UTC (permalink / raw)
  To: 58387; +Cc: M

---
 gnu/packages/python-xyz.scm | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 054bd3ed29..e121cd80d4 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -1617,6 +1617,25 @@ (define-public python-hnswlib
 approximate nearest neighbor search with Python bindings.")
     (license license:asl2.0)))
 
+(define-public python-pylatexenc
+  (package
+    (name "python-pylatexenc")
+    (version "2.10")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "pylatexenc" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1ls09z47b5md71gkxcj7fd87ynpvv2walgp2w6z31p26xf2gvn1x"))))
+    (build-system python-build-system)
+    (home-page "https://github.com/phfaist/pylatexenc")
+    (synopsis "LaTeX parser for unicode/latex conversion")
+    (description
+     "python-pylatexenc is a LaTeX parser providing latex-to-unicode and
+unicode-to-latex conversion.")
+    (license license:expat)))
+
 (define-public python-pyls-black
   (package
     (name "python-pyls-black")
-- 
2.37.2





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

* [bug#58387] [PATCH v3 2/2] gnu: Add cobib. * gnu/packages/python-xyz.scm (python-cobib): New variable.
  2022-10-09 11:14 ` [bug#58387] [PATCH v3 " M
@ 2022-10-09 11:14   ` M
  0 siblings, 0 replies; 17+ messages in thread
From: M @ 2022-10-09 11:14 UTC (permalink / raw)
  To: 58387; +Cc: M

---
 gnu/packages/python-xyz.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index e121cd80d4..6e4fcf4780 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -552,6 +552,37 @@ (define-public python-cachetools
 @code{lru_cache} function decorator.")
     (license license:expat)))
 
+(define-public python-cobib
+  (package
+    (name "python-cobib")
+    (version "3.5.2")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "cobib" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "16nbrbvascbf6cb7yvn9q793dy8zx703pqrmk3mswib9a19mnx3n"))))
+    (build-system python-build-system)
+    (propagated-inputs 
+     (list python-beautifulsoup4
+           python-bibtexparser
+           python-pylatexenc
+           python-requests
+           python-requests-oauthlib
+           python-ruamel.yaml))
+    (native-inputs
+     (list python-future
+           python-pyte
+           python-pytest))
+    (home-page "https://gitlab.com/mrossinek/cobib")
+    (synopsis "Terminal-based bibliography management tool")
+    (description
+     "@command{cobib} is a command-line based bibliography management tool.  It
+uses a plain-text database, a location-independent library, and features git
+integration, command-line support, and a curses-based TUI.")
+    (license license:expat)))
+
 (define-public python-colorful
   (package
     (name "python-colorful")
-- 
2.37.2





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

* [bug#58387] [PATCH v4 1/2] gnu: Add python-pylatexenc. * gnu/packages/python-xyz.scm (python-pylatexenc): New variable.
  2022-10-09  3:01 [bug#58387] [PATCH 0/2] Add cobib M
                   ` (2 preceding siblings ...)
  2022-10-09 11:14 ` [bug#58387] [PATCH v3 " M
@ 2022-10-09 11:18 ` M
  2022-10-09 11:18   ` [bug#58387] [PATCH v4 2/2] gnu: Add cobib. * gnu/packages/python-xyz.scm (python-cobib): " M
  2022-10-09 11:20 ` [bug#58387] [PATCH v5 1/2] gnu: Add python-pylatexenc. * gnu/packages/python-xyz.scm (python-pylatexenc): " M
  4 siblings, 1 reply; 17+ messages in thread
From: M @ 2022-10-09 11:18 UTC (permalink / raw)
  To: 58387; +Cc: M

---
 gnu/packages/python-xyz.scm | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 054bd3ed29..a9b355e09e 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -1617,6 +1617,25 @@ (define-public python-hnswlib
 approximate nearest neighbor search with Python bindings.")
     (license license:asl2.0)))
 
+(define-public python-pylatexenc
+  (package
+    (name "python-pylatexenc")
+    (version "2.10")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "pylatexenc" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1ls09z47b5md71gkxcj7fd87ynpvv2walgp2w6z31p26xf2gvn1x"))))
+    (build-system python-build-system)
+    (home-page "https://github.com/phfaist/pylatexenc")
+    (synopsis "LaTeX parser for unicode/latex conversion")
+    (description
+     "@code{python-pylatexenc} is a LaTeX parser providing latex-to-unicode and
+unicode-to-latex conversion.")
+    (license license:expat)))
+
 (define-public python-pyls-black
   (package
     (name "python-pyls-black")
-- 
2.37.2





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

* [bug#58387] [PATCH v4 2/2] gnu: Add cobib. * gnu/packages/python-xyz.scm (python-cobib): New variable.
  2022-10-09 11:18 ` [bug#58387] [PATCH v4 1/2] gnu: Add python-pylatexenc. * gnu/packages/python-xyz.scm (python-pylatexenc): " M
@ 2022-10-09 11:18   ` M
  0 siblings, 0 replies; 17+ messages in thread
From: M @ 2022-10-09 11:18 UTC (permalink / raw)
  To: 58387; +Cc: M

---
 gnu/packages/python-xyz.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index a9b355e09e..a9097242a6 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -552,6 +552,37 @@ (define-public python-cachetools
 @code{lru_cache} function decorator.")
     (license license:expat)))
 
+(define-public python-cobib
+  (package
+    (name "python-cobib")
+    (version "3.5.2")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "cobib" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "16nbrbvascbf6cb7yvn9q793dy8zx703pqrmk3mswib9a19mnx3n"))))
+    (build-system python-build-system)
+    (propagated-inputs 
+     (list python-beautifulsoup4
+           python-bibtexparser
+           python-pylatexenc
+           python-requests
+           python-requests-oauthlib
+           python-ruamel.yaml))
+    (native-inputs
+     (list python-future
+           python-pyte
+           python-pytest))
+    (home-page "https://gitlab.com/mrossinek/cobib")
+    (synopsis "Terminal-based bibliography management tool")
+    (description
+     "@command{cobib} is a command-line based bibliography management tool.  It
+uses a plain-text database, a location-independent library, and features git
+integration, command-line support, and a curses-based TUI.")
+    (license license:expat)))
+
 (define-public python-colorful
   (package
     (name "python-colorful")
-- 
2.37.2





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

* [bug#58387] [PATCH v5 1/2] gnu: Add python-pylatexenc. * gnu/packages/python-xyz.scm (python-pylatexenc): New variable.
  2022-10-09  3:01 [bug#58387] [PATCH 0/2] Add cobib M
                   ` (3 preceding siblings ...)
  2022-10-09 11:18 ` [bug#58387] [PATCH v4 1/2] gnu: Add python-pylatexenc. * gnu/packages/python-xyz.scm (python-pylatexenc): " M
@ 2022-10-09 11:20 ` M
  2022-10-09 11:20   ` [bug#58387] [PATCH v5 2/2] gnu: Add cobib. * gnu/packages/python-xyz.scm (python-cobib): " M
  4 siblings, 1 reply; 17+ messages in thread
From: M @ 2022-10-09 11:20 UTC (permalink / raw)
  To: 58387; +Cc: M

---
 gnu/packages/python-xyz.scm | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 054bd3ed29..a3ba0b8a19 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -1617,6 +1617,25 @@ (define-public python-hnswlib
 approximate nearest neighbor search with Python bindings.")
     (license license:asl2.0)))
 
+(define-public python-pylatexenc
+  (package
+    (name "python-pylatexenc")
+    (version "2.10")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "pylatexenc" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1ls09z47b5md71gkxcj7fd87ynpvv2walgp2w6z31p26xf2gvn1x"))))
+    (build-system python-build-system)
+    (home-page "https://github.com/phfaist/pylatexenc")
+    (synopsis "LaTeX parser for Unicode/LaTeX conversion")
+    (description
+     "@code{python-pylatexenc} is a LaTeX parser providing LaTeX-to-Unicode and
+Unicode-to-LaTeX conversion.")
+    (license license:expat)))
+
 (define-public python-pyls-black
   (package
     (name "python-pyls-black")
-- 
2.37.2





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

* [bug#58387] [PATCH v5 2/2] gnu: Add cobib. * gnu/packages/python-xyz.scm (python-cobib): New variable.
  2022-10-09 11:20 ` [bug#58387] [PATCH v5 1/2] gnu: Add python-pylatexenc. * gnu/packages/python-xyz.scm (python-pylatexenc): " M
@ 2022-10-09 11:20   ` M
  2022-10-09 11:44     ` ( via Guix-patches via
  0 siblings, 1 reply; 17+ messages in thread
From: M @ 2022-10-09 11:20 UTC (permalink / raw)
  To: 58387; +Cc: M

---
 gnu/packages/python-xyz.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index a3ba0b8a19..5f97855485 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -552,6 +552,37 @@ (define-public python-cachetools
 @code{lru_cache} function decorator.")
     (license license:expat)))
 
+(define-public python-cobib
+  (package
+    (name "python-cobib")
+    (version "3.5.2")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "cobib" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "16nbrbvascbf6cb7yvn9q793dy8zx703pqrmk3mswib9a19mnx3n"))))
+    (build-system python-build-system)
+    (propagated-inputs 
+     (list python-beautifulsoup4
+           python-bibtexparser
+           python-pylatexenc
+           python-requests
+           python-requests-oauthlib
+           python-ruamel.yaml))
+    (native-inputs
+     (list python-future
+           python-pyte
+           python-pytest))
+    (home-page "https://gitlab.com/mrossinek/cobib")
+    (synopsis "Terminal-based bibliography management tool")
+    (description
+     "@command{cobib} is a command-line based bibliography management tool.  It
+uses a plain-text database, a location-independent library, and features git
+integration, command-line support, and a curses-based TUI.")
+    (license license:expat)))
+
 (define-public python-colorful
   (package
     (name "python-colorful")
-- 
2.37.2





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

* [bug#58387] [PATCH v5 2/2] gnu: Add cobib. * gnu/packages/python-xyz.scm (python-cobib): New variable.
  2022-10-09 11:20   ` [bug#58387] [PATCH v5 2/2] gnu: Add cobib. * gnu/packages/python-xyz.scm (python-cobib): " M
@ 2022-10-09 11:44     ` ( via Guix-patches via
  2022-10-11 11:09       ` bug#58387: " Christopher Baines
  0 siblings, 1 reply; 17+ messages in thread
From: ( via Guix-patches via @ 2022-10-09 11:44 UTC (permalink / raw)
  To: M, 58387

v5 all LGTM :)

    -- (




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

* bug#58387: [PATCH v5 2/2] gnu: Add cobib. * gnu/packages/python-xyz.scm (python-cobib): New variable.
  2022-10-09 11:44     ` ( via Guix-patches via
@ 2022-10-11 11:09       ` Christopher Baines
  0 siblings, 0 replies; 17+ messages in thread
From: Christopher Baines @ 2022-10-11 11:09 UTC (permalink / raw)
  To: M, (; +Cc: 58387-done

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


"( via Guix-patches" via <guix-patches@gnu.org> writes:

> v5 all LGTM :)
>
>     -- (

Thanks for the patches and for the review, I've pushed these to master
as 59911ae29442aba18bcb53233e793d8f3d264504.

Thanks again,

Chris

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

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

end of thread, other threads:[~2022-10-11 12:57 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-09  3:01 [bug#58387] [PATCH 0/2] Add cobib M
2022-10-09  3:02 ` [bug#58387] [PATCH 1/2] gnu: Add python-pylatexenc. * gnu/packages/python-xyz.scm (python-pylatexenc): New variable M
2022-10-09  3:02   ` [bug#58387] [PATCH 2/2] gnu: Add cobib. * gnu/packages/python-xyz.scm (python-cobib): " M
2022-10-09  8:37     ` ( via Guix-patches via
2022-10-09  8:34   ` [bug#58387] [PATCH 1/2] gnu: Add python-pylatexenc. * gnu/packages/python-xyz.scm (python-pylatexenc): " ( via Guix-patches via
2022-10-09 11:04 ` [bug#58387] [PATCH v2 " M
2022-10-09 11:04   ` [bug#58387] [PATCH v2 2/2] gnu: Add cobib. * gnu/packages/python-xyz.scm (python-cobib): " M
2022-10-09 11:11     ` ( via Guix-patches via
2022-10-09 11:11   ` [bug#58387] [PATCH v2 1/2] gnu: Add python-pylatexenc. * gnu/packages/python-xyz.scm (python-pylatexenc): " ( via Guix-patches via
2022-10-09 11:14 ` [bug#58387] [PATCH v3 " M
2022-10-09 11:14   ` [bug#58387] [PATCH v3 2/2] gnu: Add cobib. * gnu/packages/python-xyz.scm (python-cobib): " M
2022-10-09 11:18 ` [bug#58387] [PATCH v4 1/2] gnu: Add python-pylatexenc. * gnu/packages/python-xyz.scm (python-pylatexenc): " M
2022-10-09 11:18   ` [bug#58387] [PATCH v4 2/2] gnu: Add cobib. * gnu/packages/python-xyz.scm (python-cobib): " M
2022-10-09 11:20 ` [bug#58387] [PATCH v5 1/2] gnu: Add python-pylatexenc. * gnu/packages/python-xyz.scm (python-pylatexenc): " M
2022-10-09 11:20   ` [bug#58387] [PATCH v5 2/2] gnu: Add cobib. * gnu/packages/python-xyz.scm (python-cobib): " M
2022-10-09 11:44     ` ( via Guix-patches via
2022-10-11 11:09       ` bug#58387: " Christopher Baines

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).