[PATCH 0/6] *** Add Python Abjad v3.3 ***

  • Done
  • quality assurance status badge
Details
2 participants
  • Efraim Flashner
  • BonfaceKilz
Owner
unassigned
Submitted by
BonfaceKilz
Severity
normal
B
B
BonfaceKilz wrote on 4 Apr 2021 14:16
(address . guix-patches@gnu.org)
20210404121623.32799-1-me@bonfacemunyoki.com
Hi all! This patch set adds Python Abjad and it's deps to guix. Reviews are
welcome!

BonfaceKilz (6):
gnu: python-xyz: Add python-roman.
gnu: python-check: Add python-pytest-helpers-namespace.
gnu: python-xyz: Add python-uqbar.
gnu: python-xyz: Add python-setuptools-declarative-requirements.
gnu: python-xyz: Add python-quicktions.
gnu: python-xyz: Add python-abjad.

gnu/packages/check.scm | 25 ++++++
gnu/packages/python-xyz.scm | 171 +++++++++++++++++++++++++++++++++++-
2 files changed, 195 insertions(+), 1 deletion(-)

--
2.31.0
B
B
BonfaceKilz wrote on 4 Apr 2021 14:19
(address . 47593@debbugs.gnu.org)
20210404122005.33127-1-me@bonfacemunyoki.com
Hi all! This patch set adds Python Abjad and it's deps to guix. Reviews are
welcome!

BonfaceKilz (6):
gnu: python-xyz: Add python-roman.
gnu: python-check: Add python-pytest-helpers-namespace.
gnu: python-xyz: Add python-uqbar.
gnu: python-xyz: Add python-setuptools-declarative-requirements.
gnu: python-xyz: Add python-quicktions.
gnu: python-xyz: Add python-abjad.

gnu/packages/check.scm | 25 ++++++
gnu/packages/python-xyz.scm | 171 +++++++++++++++++++++++++++++++++++-
2 files changed, 195 insertions(+), 1 deletion(-)

--
2.31.0
B
B
BonfaceKilz wrote on 4 Apr 2021 14:20
[PATCH 1/6] gnu: python-xyz: Add python-roman.
(address . 47593@debbugs.gnu.org)
20210404122005.33127-2-me@bonfacemunyoki.com
* gnu/packages/python-xyz.scm (python-roman): New variable.

Co-authored-by: jgart <jgart@dismail.de>
---
gnu/packages/python-xyz.scm | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)

Toggle diff (29 lines)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 74aee4a3c2..b69ea2e32a 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -24239,3 +24239,22 @@ number of words, syllables, and sentences.")
"This package provides a Python library that can parse OPML, FOAF, and
iGoogle subscription lists.")
(license license:expat)))
+
+(define-public python-roman
+ (package
+ (name "python-roman")
+ (version "3.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "roman" version))
+ (sha256
+ (base32
+ "0gyp2bmw47jgpm8j64gydzqq838bgxz5gh6cm57lxlr7p26sqiic"))))
+ (build-system python-build-system)
+ (home-page
+ "https://github.com/zopefoundation/roman")
+ (synopsis "Integer to Roman numerals converter")
+ (description
+ "Small helper library to convert arabic to roman numerals.")
+ (license license:psfl)))
--
2.31.0
B
B
BonfaceKilz wrote on 4 Apr 2021 14:20
[PATCH 2/6] gnu: python-check: Add python-pytest-helpers-namespace.
(address . 47593@debbugs.gnu.org)
20210404122005.33127-3-me@bonfacemunyoki.com
* gnu/packages/check.scm (python-pytest-helpers-namespace): New variable.

Co-authored-by: jgart <jgart@dismail.de>
---
gnu/packages/check.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)

Toggle diff (42 lines)
diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index 7c95ea6950..13a57c5201 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -36,6 +36,7 @@
;;; Copyright © 2020 Vinicius Monego <monego@posteo.net>
;;; Copyright © 2020 Tanguy Le Carrour <tanguy@bioneland.org>
;;; Copyright © 2020 Maxim Cournoyer <maxim.cournoyer@gmail.com>
+;;; Copyright © 2021 Bonface Munyoki Kilyungi <me@bonfacemunyoki.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -2878,3 +2879,27 @@ system. The code under test requires no modification to work with pyfakefs.")
(description "Aiounittest is a library that helps write tests using
asynchronous code in Python (asyncio).")
(license license:expat)))
+
+(define-public python-pytest-helpers-namespace
+ (package
+ (name "python-pytest-helpers-namespace")
+ (version "2021.3.24")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "pytest-helpers-namespace" version))
+ (sha256
+ (base32
+ "0pyj2d45zagmzlajzqdnkw5yz8k49pkihbydsqkzm413qnkzb38q"))))
+ (build-system python-build-system)
+ (propagated-inputs
+ `(("python-pytest" ,python-pytest)
+ ("python-setuptools-declarative-requirements"
+ ,python-setuptools-declarative-requirements)))
+ (home-page
+ "https://github.com/saltstack/pytest-helpers-namespace")
+ (synopsis "Pytest Helpers Namespace Plugin")
+ (description "Pytest Helpers Namespace Plugin provides a helpers pytest
+namespace which can be used to register helper functions without requiring
+someone to import them in their actual tests to use them.")
+ (license license:asl2.0)))
--
2.31.0
B
B
BonfaceKilz wrote on 4 Apr 2021 14:20
[PATCH 4/6] gnu: python-xyz: Add python-setuptools-declarative-requirements.
(address . 47593@debbugs.gnu.org)
20210404122005.33127-5-me@bonfacemunyoki.com
* gnu/packages/python-xyz.scm (python-setuptools-declarative-requirements):
New variable.
---
gnu/packages/python-xyz.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)

Toggle diff (38 lines)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 63eecb591f..8ecf5dadc2 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -24308,3 +24308,31 @@ iGoogle subscription lists.")
(description
"Tools for building documentation with Sphinx, Graphviz and LaTeX")
(license license:expat)))
+
+(define-public python-setuptools-declarative-requirements
+ (package
+ (name "python-setuptools-declarative-requirements")
+ (version "1.2.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri
+ "setuptools-declarative-requirements"
+ version))
+ (sha256
+ (base32
+ "1l8zmcnp9h8sp8hsw7b81djaa1a9yig0y7i4phh5pihqz1gdn7yi"))))
+ (build-system python-build-system)
+ (propagated-inputs
+ `(("python-pytest" ,python-pytest)
+ ("python-setuptools" ,python-setuptools)
+ ("python-setuptools-scm" ,python-setuptools-scm)
+ ("python-toml" ,python-toml)
+ ("python-wheel" ,python-wheel)))
+ (home-page
+ "https://github.com/s0undt3ch/setuptools-declarative-requirements")
+ (synopsis
+ "File support for setuptools declarative setup.cfg")
+ (description
+ "File support for setuptools declarative setup.cfg")
+ (license license:asl2.0)))
--
2.31.0
B
B
BonfaceKilz wrote on 4 Apr 2021 14:20
[PATCH 3/6] gnu: python-xyz: Add python-uqbar.
(address . 47593@debbugs.gnu.org)
20210404122005.33127-4-me@bonfacemunyoki.com
* gnu/packages/python-xyz.scm (python-uqbar): New variable.

Co-authored-by: jgart <jgart@dismail.de>
---
gnu/packages/python-xyz.scm | 52 ++++++++++++++++++++++++++++++++++++-
1 file changed, 51 insertions(+), 1 deletion(-)

Toggle diff (69 lines)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index b69ea2e32a..63eecb591f 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -88,7 +88,7 @@
;;; Copyright © 2020 Malte Frank Gerdes <malte.f.gerdes@gmail.com>
;;; Copyright © 2020 Joseph LaFreniere <joseph@lafreniere.xyz>
;;; Copyright © 2020 Tim Gesthuizen <tim.gesthuizen@yahoo.de>
-;;; Copyright © 2020 Bonface Munyoki Kilyungi <bonfacemunyoki@gmail.com>
+;;; Copyright © 2020, 2021 Bonface Munyoki Kilyungi <me@bonfacemunyoki.com>
;;; Copyright © 2020 Ekaitz Zarraga <ekaitz@elenq.tech>
;;; Copyright © 2020 Diego N. Barbato <dnbarbato@posteo.de>
;;; Copyright © 2020 Leo Prikler <leo.prikler@student.tugraz.at>
@@ -24258,3 +24258,53 @@ iGoogle subscription lists.")
(description
"Small helper library to convert arabic to roman numerals.")
(license license:psfl)))
+
+(define-public python-uqbar
+ (package
+ (name "python-uqbar")
+ (version "0.5.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri
+ (string-append
+ "https://github.com/josiah-wolf-oberholtzer/"
+ "uqbar/archive/refs/tags/v" version ".tar.gz"))
+ (sha256
+ (base32
+ "02kfvwh94ca0y3hsfrc071ga3g3vqflhyv4w4hif34dyj2skvpa8"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'patch
+ (lambda _
+ (substitute* "setup.py"
+ ;; Latest versions of sphink-rtd-theme require npm to build.
+ (("sphinx-rtd-theme >= 0.4.0") "sphinx-rtd-theme >= 0.2.4")
+ (("black == 19.10b0") "black >= 19.10b0"))
+ #t))
+ (replace 'check
+ (lambda _
+ (invoke "python" "-m" "pytest" "tests")
+ #t)))))
+ (propagated-inputs
+ `(("graphviz" ,graphviz)
+ ("python-black" ,python-black)
+ ("python-sphinx" ,python-sphinx)
+ ("python-sphinx-rtd-theme"
+ ,python-sphinx-rtd-theme)
+ ("python-unidecode" ,python-unidecode)))
+ (native-inputs
+ `(("python-flake8" ,python-flake8)
+ ("python-isort" ,python-isort)
+ ("python-mypy" ,python-mypy)
+ ("python-pytest" ,python-pytest)
+ ("python-pytest-cov" ,python-pytest-cov)))
+ (home-page
+ "https://github.com/josiah-wolf-oberholtzer/uqbar")
+ (synopsis
+ "Tools for building documentation with Sphinx, Graphviz and LaTeX")
+ (description
+ "Tools for building documentation with Sphinx, Graphviz and LaTeX")
+ (license license:expat)))
--
2.31.0
B
B
BonfaceKilz wrote on 4 Apr 2021 14:20
[PATCH 5/6] gnu: python-xyz: Add python-quicktions.
(address . 47593@debbugs.gnu.org)
20210404122005.33127-6-me@bonfacemunyoki.com
* gnu/packages/python-xyz.scm (python-quicktions): New variable.

Co-authored-by: jgart <jgart@dismail.de>
---
gnu/packages/python-xyz.scm | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)

Toggle diff (30 lines)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 8ecf5dadc2..e87ba6b6b6 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -24336,3 +24336,23 @@ iGoogle subscription lists.")
(description
"File support for setuptools declarative setup.cfg")
(license license:asl2.0)))
+
+(define-public python-quicktions
+ (package
+ (name "python-quicktions")
+ (version "1.11")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "quicktions" version))
+ (sha256
+ (base32
+ "1px21a6x527i1bsr2p6bbf3jziqpvd1vjkvvzh13gsy4iip0yvzn"))))
+ (build-system python-build-system)
+ (home-page
+ "https://github.com/scoder/quicktions")
+ (synopsis
+ "Fast fractions data type for rational numbers. Cythonized version of 'fractions.Fraction'.")
+ (description
+ "Fast fractions data type for rational numbers. Cythonized version of 'fractions.Fraction'.")
+ (license license:psfl)))
--
2.31.0
B
B
BonfaceKilz wrote on 4 Apr 2021 14:20
[PATCH 6/6] gnu: python-xyz: Add python-abjad.
(address . 47593@debbugs.gnu.org)
20210404122005.33127-7-me@bonfacemunyoki.com
* gnu/packages/python-xyz.scm (python-abjad): New variable.

Co-authored-by: jgart <jgart@dismail.de>
---
gnu/packages/python-xyz.scm | 52 +++++++++++++++++++++++++++++++++++++
1 file changed, 52 insertions(+)

Toggle diff (69 lines)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index e87ba6b6b6..baa8534d7a 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -162,6 +162,7 @@
#:use-module (gnu packages maths)
#:use-module (gnu packages monitoring)
#:use-module (gnu packages multiprecision)
+ #:use-module (gnu packages music)
#:use-module (gnu packages networking)
#:use-module (gnu packages ncurses)
#:use-module (gnu packages openstack)
@@ -24356,3 +24357,54 @@ iGoogle subscription lists.")
(description
"Fast fractions data type for rational numbers. Cythonized version of 'fractions.Fraction'.")
(license license:psfl)))
+
+(define-public python-abjad
+ (package
+ (name "python-abjad")
+ (version "3.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri
+ (string-append
+ "https://github.com/Abjad/abjad/archive/refs/tags/v"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "0dvj40g8kq1jdp09gb2chxxb7959vxv5h4m8ywg4qigsw3f11xnx"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'patch-source
+ (lambda _
+ (substitute* "setup.py"
+ (("uqbar>=0.4.4, <0.5.0") "uqbar>=0.4.4, <=0.5.1")
+ (("pytest>=5.4.3") "pytest>=5.3"))
+ #t))
+ (replace 'check
+ (lambda _
+ ;; See: https://stackoverflow.com/a/34140498
+ (invoke "python" "-m" "pytest" "tests")
+ #t)))))
+ (propagated-inputs
+ `(("lilypond" ,lilypond) ;; Required for tests to pass!
+ ("python-black" ,python-black)
+ ("python-flake8" ,python-flake8)
+ ("python-isort" ,python-isort)
+ ("python-mypy" ,python-mypy)
+ ("python-ply" ,python-ply)
+ ("python-pytest" ,python-pytest)
+ ("python-pytest-cov" ,python-pytest-cov)
+ ("python-quicktions" ,python-quicktions)
+ ("python-roman" ,python-roman)
+ ("python-six" ,python-six)
+ ("python-sphinx-autodoc-typehints"
+ ,python-sphinx-autodoc-typehints)
+ ("python-uqbar" ,python-uqbar)))
+ (home-page "https://abjad.github.io")
+ (synopsis
+ "Abjad is a Python API for building LilyPond files.")
+ (description
+ "Abjad is a Python API for building LilyPond files.")
+ (license license:expat)))
--
2.31.0
E
E
Efraim Flashner wrote on 13 Apr 2021 15:14
Re: [bug#47593] [PATCH 1/6] gnu: python-xyz: Add python-roman.
(name . BonfaceKilz)(address . me@bonfacemunyoki.com)
YHWZHF4YaXR/BXLK@3900XT
As noted elsewhere, it would be better if this weren't added to the
bottom of the module. It increases the chances of merge conflicts.

On Sun, Apr 04, 2021 at 03:20:00PM +0300, BonfaceKilz wrote:
Toggle quote (34 lines)
> * gnu/packages/python-xyz.scm (python-roman): New variable.
>
> Co-authored-by: jgart <jgart@dismail.de>
> ---
> 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 74aee4a3c2..b69ea2e32a 100644
> --- a/gnu/packages/python-xyz.scm
> +++ b/gnu/packages/python-xyz.scm
> @@ -24239,3 +24239,22 @@ number of words, syllables, and sentences.")
> "This package provides a Python library that can parse OPML, FOAF, and
> iGoogle subscription lists.")
> (license license:expat)))
> +
> +(define-public python-roman
> + (package
> + (name "python-roman")
> + (version "3.3")
> + (source
> + (origin
> + (method url-fetch)
> + (uri (pypi-uri "roman" version))
> + (sha256
> + (base32
> + "0gyp2bmw47jgpm8j64gydzqq838bgxz5gh6cm57lxlr7p26sqiic"))))
> + (build-system python-build-system)
> + (home-page
> + "https://github.com/zopefoundation/roman")
> + (synopsis "Integer to Roman numerals converter")
> + (description
> + "Small helper library to convert arabic to roman numerals.")

This package provides a small helper library to convert Arabic Numbers
to Roman Numerals.

Toggle quote (8 lines)
> + (license license:psfl)))
> --
> 2.31.0
>
>
>
>

--
Efraim Flashner <efraim@flashner.co.il> ????? ?????
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmB1mRkACgkQQarn3Mo9
g1EITBAAidwPrsrse7X6aQNHeTk2EEIj5OW84aPYpaQEMBsd9bBxG/b9gUu7uTfD
G34Lni4hQnl8N+V69GJe58P0UcOfRZqLfJHq++1VrDcpidD1zXGeJuuTdwT9t6y1
HgHuHMr3/jvjlZdKi8fHH39eft8+XEqDFYTJOeYEdTN+OB2uLcxeDAfYX7EsfDlf
FMJ6sl3HOc8dZ0L7sTkLecx4TVaffoXgu66u1e/cUlJq2JOKo7oPIyaoPxEmJ8BT
kjcyxfyztKRUicTbqm4KubgguTnpl1J6OWHPgxMmv7DNBmlBwjfx5+HRjT5h5cEv
R328zQJMUHUSQNibwod4DIhZr5pwl/qsjeD2+zs0ECiaJaxl51tm5BLS5lxYCq+x
xRKXEhP04oSlqW3NSFBKK5AH1UI0PuZ3kRNLo8pTAx9z2KfoWZ6xayIFuQh4Y5qC
ErF3KE7FN1QxSqFK+YTjOf5iLqHqNqMu40EhgQwFx76JylMynymmSyKlszQnd+TX
NX9rVx3Ojrf9Yli228ZxDXHK2mO9zDCHysQgNDsbJtrFqxTDXLAIND+tBGu1FUQP
Tk63ienFzrRY93HkRkimy6v4M/6NFJYQjs3aXlNDidCOHpwe/EcovB/1QxxeJacS
ob6Fo0i0g7F8Wy9YmksfeeUxKF8dQTQXNiUTQOjtNnpQvmb3UKU=
=8AP9
-----END PGP SIGNATURE-----


E
E
Efraim Flashner wrote on 13 Apr 2021 15:14
Re: [bug#47593] [PATCH 3/6] gnu: python-xyz: Add python-uqbar.
(name . BonfaceKilz)(address . me@bonfacemunyoki.com)
YHWZNENNZY3ih7P7@3900XT
I haven't tried building this package yet. The sphinx packages are in
sphinx.scm and the graphviz packages are in graphviz.scm. I think I
would put it in graphviz.

On Sun, Apr 04, 2021 at 03:20:02PM +0300, BonfaceKilz wrote:
Toggle quote (37 lines)
> * gnu/packages/python-xyz.scm (python-uqbar): New variable.
>
> Co-authored-by: jgart <jgart@dismail.de>
> ---
> gnu/packages/python-xyz.scm | 52 ++++++++++++++++++++++++++++++++++++-
> 1 file changed, 51 insertions(+), 1 deletion(-)
>
> diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
> index b69ea2e32a..63eecb591f 100644
> --- a/gnu/packages/python-xyz.scm
> +++ b/gnu/packages/python-xyz.scm
> @@ -88,7 +88,7 @@
> ;;; Copyright © 2020 Malte Frank Gerdes <malte.f.gerdes@gmail.com>
> ;;; Copyright © 2020 Joseph LaFreniere <joseph@lafreniere.xyz>
> ;;; Copyright © 2020 Tim Gesthuizen <tim.gesthuizen@yahoo.de>
> -;;; Copyright © 2020 Bonface Munyoki Kilyungi <bonfacemunyoki@gmail.com>
> +;;; Copyright © 2020, 2021 Bonface Munyoki Kilyungi <me@bonfacemunyoki.com>
> ;;; Copyright © 2020 Ekaitz Zarraga <ekaitz@elenq.tech>
> ;;; Copyright © 2020 Diego N. Barbato <dnbarbato@posteo.de>
> ;;; Copyright © 2020 Leo Prikler <leo.prikler@student.tugraz.at>
> @@ -24258,3 +24258,53 @@ iGoogle subscription lists.")
> (description
> "Small helper library to convert arabic to roman numerals.")
> (license license:psfl)))
> +
> +(define-public python-uqbar
> + (package
> + (name "python-uqbar")
> + (version "0.5.1")
> + (source
> + (origin
> + (method url-fetch)
> + (uri
> + (string-append
> + "https://github.com/josiah-wolf-oberholtzer/"
> + "uqbar/archive/refs/tags/v" version ".tar.gz"))

guix lint should've caught this. If the pypi version from 'guix import
ppyi uqbar' doesn't work for building then you should use git-fetch to
download the source. The github archive URLs tend to get regenerated
from time to time.

Toggle quote (18 lines)
> + (sha256
> + (base32
> + "02kfvwh94ca0y3hsfrc071ga3g3vqflhyv4w4hif34dyj2skvpa8"))))
> + (build-system python-build-system)
> + (arguments
> + `(#:phases
> + (modify-phases %standard-phases
> + (add-after 'unpack 'patch
> + (lambda _
> + (substitute* "setup.py"
> + ;; Latest versions of sphink-rtd-theme require npm to build.
> + (("sphinx-rtd-theme >= 0.4.0") "sphinx-rtd-theme >= 0.2.4")
> + (("black == 19.10b0") "black >= 19.10b0"))
> + #t))
> + (replace 'check
> + (lambda _
> + (invoke "python" "-m" "pytest" "tests")

We want the ability to skip the tests, so this should be
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
(invoke ...

Toggle quote (4 lines)
> + #t)))))
> + (propagated-inputs
> + `(("graphviz" ,graphviz)

Is it possible to substitute the actual calls to the graphviz binaries
in the package? We don't want to have to propagate non-python packages.

Toggle quote (18 lines)
> + ("python-black" ,python-black)
> + ("python-sphinx" ,python-sphinx)
> + ("python-sphinx-rtd-theme"
> + ,python-sphinx-rtd-theme)
> + ("python-unidecode" ,python-unidecode)))
> + (native-inputs
> + `(("python-flake8" ,python-flake8)
> + ("python-isort" ,python-isort)
> + ("python-mypy" ,python-mypy)
> + ("python-pytest" ,python-pytest)
> + ("python-pytest-cov" ,python-pytest-cov)))
> + (home-page
> + "https://github.com/josiah-wolf-oberholtzer/uqbar")
> + (synopsis
> + "Tools for building documentation with Sphinx, Graphviz and LaTeX")
> + (description
> + "Tools for building documentation with Sphinx, Graphviz and LaTeX")

This should be a full sentence.

Toggle quote (8 lines)
> + (license license:expat)))
> --
> 2.31.0
>
>
>
>

--
Efraim Flashner <efraim@flashner.co.il> ????? ?????
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmB1mTQACgkQQarn3Mo9
g1GIeg//WE1Y5NR3g7suowJKvA5XLQRi9/PWabZ7pxkAPSUw2+vxCP3M17a0JE7S
6Cbj+Da5bTXweERqjLuux8MX81qkGmrgMyIDHVnKQhlaSpfm7K1DOpdIRjsZWetm
FKp8NRm5cCwC2SA1PYVClmgJbww3buhO8COAYNZF7lhHBB5+8+sWH+RKJAjWv6Lb
4PLHaynGil+EuS+hDPiIWvPaaik9yq8h16R9GDTokpG1mVHEYlbR2kTi6vNZ7S0c
duEeNkrzpm91MHY6szX4Z+FmLdoI1DC5lrqv+Dyjgdnn086YSnesWNh1HqldyRKA
xPK8zM7hBk9BKOU6cNJ5Mc1mP+S/xaROgEcQTXkY+ElLCHJJLNzUU3p04Z26Gi7l
iDyFhj/ew8aWrJvdDhiaqv58omPLZl4yQwfD5EFQohQIpqcWxPLcFL79VC3M58Q6
As5uWRrwiOBou2K9H4MU2/bxs33+szMXOOJSVCROoG3CwwDtVSeioJAT+wq45R31
y19pMv8FCkBLdtjfGSNvVDXvo1+4H4cHmP6QKI+F60v7BiHJOiNPA7VN2Pxxvs6L
RZGiDNoTZmunyiBTzuV1V3kROTk1bMSqXzGZP9BOBDorNpK+PmdoCdQH5fjZ1pje
mnQm5isbQxLUeiTM7uXvW7pOca5tgt40VHqyz3S20ftqgolsdD4=
=zeik
-----END PGP SIGNATURE-----


E
E
Efraim Flashner wrote on 13 Apr 2021 15:14
Re: [bug#47593] [PATCH 4/6] gnu: python-xyz: Add python-setuptools-declarative-requirements.
(name . BonfaceKilz)(address . me@bonfacemunyoki.com)
YHWZO+QiIsFKUcnP@3900XT
It would be best to put this package definition near the other
python-setuptools-* package definitions.

On Sun, Apr 04, 2021 at 03:20:03PM +0300, BonfaceKilz wrote:
Toggle quote (42 lines)
> * gnu/packages/python-xyz.scm (python-setuptools-declarative-requirements):
> New variable.
> ---
> gnu/packages/python-xyz.scm | 28 ++++++++++++++++++++++++++++
> 1 file changed, 28 insertions(+)
>
> diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
> index 63eecb591f..8ecf5dadc2 100644
> --- a/gnu/packages/python-xyz.scm
> +++ b/gnu/packages/python-xyz.scm
> @@ -24308,3 +24308,31 @@ iGoogle subscription lists.")
> (description
> "Tools for building documentation with Sphinx, Graphviz and LaTeX")
> (license license:expat)))
> +
> +(define-public python-setuptools-declarative-requirements
> + (package
> + (name "python-setuptools-declarative-requirements")
> + (version "1.2.0")
> + (source
> + (origin
> + (method url-fetch)
> + (uri (pypi-uri
> + "setuptools-declarative-requirements"
> + version))
> + (sha256
> + (base32
> + "1l8zmcnp9h8sp8hsw7b81djaa1a9yig0y7i4phh5pihqz1gdn7yi"))))
> + (build-system python-build-system)
> + (propagated-inputs
> + `(("python-pytest" ,python-pytest)
> + ("python-setuptools" ,python-setuptools)
> + ("python-setuptools-scm" ,python-setuptools-scm)
> + ("python-toml" ,python-toml)
> + ("python-wheel" ,python-wheel)))
> + (home-page
> + "https://github.com/s0undt3ch/setuptools-declarative-requirements")
> + (synopsis
> + "File support for setuptools declarative setup.cfg")
> + (description
> + "File support for setuptools declarative setup.cfg")

This should be a full sentence.

Toggle quote (8 lines)
> + (license license:asl2.0)))
> --
> 2.31.0
>
>
>
>

--
Efraim Flashner <efraim@flashner.co.il> ????? ?????
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmB1mTsACgkQQarn3Mo9
g1EAoQ/+OHyRl1B4iFijyN9k0IzGD2v0yPzRAYKua0B7A6gG3nY+AJVnEtWpzTGW
NFzKm2JC5IgofggXPqwXZK20M/kHDOgysx2dT+CFDJyMHhHNggRRbSIns/vPV/wU
MCPurCX6ATENjLe7uYAtK284VqzezHzK5vkXYlWIwopSdfwAuYd4JnMIbMvXSBJB
/5NJXUIrX+5vLmVKyaXAZY4+1Z0612z/B15NxFn2ROEOdvt7ITaKA28MeR1od4Mu
87mo0enX9XYgF2jaCVkMKp1SMyuK9eaSKu8T0FmDeEkOWMhUlCY23c5aDzu19EKu
zIZZmkIqo+LReQ5pj9JVob6fAHgEPadcxV13rl14BVQcCtRx+1HQkibw8nOhtkHi
xp6G900ghznSxWl+jZJ+hxQPFiaHzxdS7IoGk/hmF1URCclqQBrIn9y2qfX1SzLj
zFRenF7sYgTwEtbLEVHFJ2+RgR8iWdclK5De1S93WxZ20BlZ2A0hBiUnbs5djQkH
D5gy3rXji3xYYZI4NcBNVD6kpu1pxBQRsxSsAtIjmKuhS1yjNMRDw7O+wtVs56Xz
ld1wit7yz/P9LVFrmLWcPACevhEDpeVqoZabEvlImR/QRP6bI4MPm2gHRH9E6J1h
5F8WgERieYqwar3kDtA+wZ/QvWIh1dxMqS6dHmFTiYl09nkD3GU=
=Aqb3
-----END PGP SIGNATURE-----


E
E
Efraim Flashner wrote on 13 Apr 2021 15:14
Re: [bug#47593] [PATCH 6/6] gnu: python-xyz: Add python-abjad.
(name . BonfaceKilz)(address . me@bonfacemunyoki.com)
YHWZSBWjs8Xq/8/U@3900XT
I would put this in music.scm near lilypond.

On Sun, Apr 04, 2021 at 03:20:05PM +0300, BonfaceKilz wrote:
Toggle quote (25 lines)
> * gnu/packages/python-xyz.scm (python-abjad): New variable.
>
> Co-authored-by: jgart <jgart@dismail.de>
> ---
> gnu/packages/python-xyz.scm | 52 +++++++++++++++++++++++++++++++++++++
> 1 file changed, 52 insertions(+)
>
> diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
> index e87ba6b6b6..baa8534d7a 100644
> --- a/gnu/packages/python-xyz.scm
> +++ b/gnu/packages/python-xyz.scm
> @@ -162,6 +162,7 @@
> #:use-module (gnu packages maths)
> #:use-module (gnu packages monitoring)
> #:use-module (gnu packages multiprecision)
> + #:use-module (gnu packages music)
> #:use-module (gnu packages networking)
> #:use-module (gnu packages ncurses)
> #:use-module (gnu packages openstack)
> @@ -24356,3 +24357,54 @@ iGoogle subscription lists.")
> (description
> "Fast fractions data type for rational numbers. Cythonized version of 'fractions.Fraction'.")
> (license license:psfl)))
> +

If this is a package that would be installed then you can change the
name to abjad, no need to keep the python prefix.

Toggle quote (12 lines)
> +(define-public python-abjad
> + (package
> + (name "python-abjad")
> + (version "3.3")
> + (source
> + (origin
> + (method url-fetch)
> + (uri
> + (string-append
> + "https://github.com/Abjad/abjad/archive/refs/tags/v"
> + version ".tar.gz"))

This should be a pypi URI or be downloaded using git-fetch

Toggle quote (12 lines)
> + (sha256
> + (base32
> + "0dvj40g8kq1jdp09gb2chxxb7959vxv5h4m8ywg4qigsw3f11xnx"))))
> + (build-system python-build-system)
> + (arguments
> + `(#:phases
> + (modify-phases %standard-phases
> + (add-after 'unpack 'patch-source
> + (lambda _
> + (substitute* "setup.py"
> + (("uqbar>=0.4.4, <0.5.0") "uqbar>=0.4.4, <=0.5.1")

I would just take off the <0.5.0 and not try to make it just high enough
to include the version packaged.

Toggle quote (2 lines)
> + (("pytest>=5.4.3") "pytest>=5.3"))

We also have pytest-6. Of course this is also fine.

Toggle quote (4 lines)
> + #t))
> + (replace 'check
> + (lambda _

(lambda* (#:key tests? #:allow-other-keys)
(when tests?

Toggle quote (4 lines)
> + (invoke "python" "-m" "pytest" "tests")
> + #t)))))

I'm sure that not all of these need to be propagated. The source should
be patched to refer to lilypond and I'm guessing most of the rest can
either be inputs (they'll get wrapped with the python wrapper) or
native-inputs if they're only needed for tests.

Toggle quote (19 lines)
> + (propagated-inputs
> + `(("lilypond" ,lilypond) ;; Required for tests to pass!
> + ("python-black" ,python-black)
> + ("python-flake8" ,python-flake8)
> + ("python-isort" ,python-isort)
> + ("python-mypy" ,python-mypy)
> + ("python-ply" ,python-ply)
> + ("python-pytest" ,python-pytest)
> + ("python-pytest-cov" ,python-pytest-cov)
> + ("python-quicktions" ,python-quicktions)
> + ("python-roman" ,python-roman)
> + ("python-six" ,python-six)
> + ("python-sphinx-autodoc-typehints"
> + ,python-sphinx-autodoc-typehints)
> + ("python-uqbar" ,python-uqbar)))
> + (home-page "https://abjad.github.io")
> + (synopsis
> + "Abjad is a Python API for building LilyPond files.")

I'd shorten this to "Python API for building LilyPind files"

Toggle quote (10 lines)
> + (description
> + "Abjad is a Python API for building LilyPond files.")
> + (license license:expat)))
> --
> 2.31.0
>
>
>
>

--
Efraim Flashner <efraim@flashner.co.il> ????? ?????
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmB1mUgACgkQQarn3Mo9
g1HAQRAAu5+cc6QisvdCgppqQLKKKoPhr2Eb4aUTioEvc3IuR0JqKJfvMC95nWWb
2HPZzeAML/pNuNhhA/zL69NMQ+xjrCRDmn/Y543DaP1YHDaHOsnGL2Ui17FYZ5Id
Glq7ayTpvvOibuxml20IBqh1nLzTXLxNgQwO3raSjHfthLMccOrogvU94i4uy4Hr
RTHhICi7kdIzDJrEz4m8mPJWnMYgcS0K6QaJEXhZoWW8/VbQqlX9TzHmJeixiWfz
XweRPw1q0T/EWHBv+H+PcKo1sEfLNBSmsJ+UoK+DM5ZslKIbxsoGkBgU864vrODq
SCfx6+n8JOYRYMlItxBwD30AicFqcwZyQpAiHTMwZhFzQ2Yw0m6DiftX7NXtkvM5
13lo7yb0N5fNeKEuIRFfwI1PG2Hdx+rh7YSqvIVmYIsC/3DDyfueKDR7fVdMnlR7
tWMW4b0eimu1DJCBtLWEtRHIz1X8eG+8YwXhAgrZ7OghlVyTTz+p1pLNr/yN+BL0
du80YVlCMC7MKcC4tnmwaBZWgW9BXJNr3ehOXtMw2OuHW1a9qLJcKPmJiigalV3k
TuHBl/U4JtSVWW6npXL/5cNFBBMYHXJTXGGGVxCREv73EztyyBEfZbjOSAcf0riE
7B7f1gM7I+i1kZ8JbqF2gKLGfpm7vhiRWMt5oxj5zaNdVMqWKcA=
=5e7O
-----END PGP SIGNATURE-----


E
E
Efraim Flashner wrote on 13 Apr 2021 15:14
Re: [bug#47593] [PATCH 5/6] gnu: python-xyz: Add python-quicktions.
(name . BonfaceKilz)(address . me@bonfacemunyoki.com)
YHWZQf+xdb0BXp4e@3900XT
On Sun, Apr 04, 2021 at 03:20:04PM +0300, BonfaceKilz wrote:
Toggle quote (33 lines)
> * gnu/packages/python-xyz.scm (python-quicktions): New variable.
>
> Co-authored-by: jgart <jgart@dismail.de>
> ---
> 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 8ecf5dadc2..e87ba6b6b6 100644
> --- a/gnu/packages/python-xyz.scm
> +++ b/gnu/packages/python-xyz.scm
> @@ -24336,3 +24336,23 @@ iGoogle subscription lists.")
> (description
> "File support for setuptools declarative setup.cfg")
> (license license:asl2.0)))
> +
> +(define-public python-quicktions
> + (package
> + (name "python-quicktions")
> + (version "1.11")
> + (source
> + (origin
> + (method url-fetch)
> + (uri (pypi-uri "quicktions" version))
> + (sha256
> + (base32
> + "1px21a6x527i1bsr2p6bbf3jziqpvd1vjkvvzh13gsy4iip0yvzn"))))
> + (build-system python-build-system)
> + (home-page
> + "https://github.com/scoder/quicktions")
> + (synopsis
> + "Fast fractions data type for rational numbers. Cythonized version of 'fractions.Fraction'.")

I'd trim this to 'Fast fractions data type for rational numbers'

Toggle quote (3 lines)
> + (description
> + "Fast fractions data type for rational numbers. Cythonized version of 'fractions.Fraction'.")

And this I'd change to 'This package provides fast fractions data type
for rational numbers. It is the cythonized version of
@quote{fractions.Fraction}.'

Toggle quote (5 lines)
> + (license license:psfl)))
> --
> 2.31.0
>

Speaking of cython, you should add a snippet to the source to remove any
cythionized source and make sure those files get rebuilt during the
build phase. Looking at setup.py it looks like you should remove
src/quictions.c and I think it tries to cythonize automatically.

--
Efraim Flashner <efraim@flashner.co.il> ????? ?????
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmB1mUEACgkQQarn3Mo9
g1G38hAAtm45IzC4Yj3XcsruP1wVkuq9N0p6skuviv4zdbz8MdaQ1EDW43FR1RLP
BbeDfiPGFd04Uae1ESS2kejnYCkpMdTOrZh4YPHk0vqKsgHaa+kMXZL0kAgx0+br
DBm8ozp8bi0K9COs+1v8h8GEe/8cc0irJ+73tylc+BWQxrgH+/oLxL6DiI2sQJck
b++0pHPlroWJJw359b313M7Qad1jdhXPSqCSoMFT42La6yED5h27sNdq7k6vFZvO
wnd7XngtJ8P2LpbId10z5VpKtVkghyk2WdX4AXP9S7nuTmfiWhdisH3vd/Y79t6z
IlZvI4+Qp5qWGlg7VUzj3f6j1AocwsXfqFqWNfqWDgAi5fP6PyUo/BJEdg4KHoZ6
EBcsr//oYu77/l1W2Qi+von7nOGtFuO5sWzFrwj7mESn17y/030qepkUCPzMKTH6
WWt1NECPQh/O+w+eqrMmYJwZ2H9ft65kSFP+ECQyw1uLUFJrMZ2YfYOG+3psaKbD
xfwgcJU5mBbrfX+9sLO6M8W57HiuSwb6Anrg4W9Z9EFv3R+5etuLmBCbYDtAPI00
RxenqnfLuLQHVHXNHkk14rUzv+aTJ58S8+TXybawK9MROoQp5nV9lLf+U1WDXq+Q
Pd8xzD3nIou7nY2BZejPnklfRsKptxI8/6cJeqz+eF/qv0+rmr0=
=psOD
-----END PGP SIGNATURE-----


B
B
Bonface Munyoki K. wrote on 13 Apr 2021 22:12
Re: [bug#47593] [PATCH 1/6] gnu: python-xyz: Add python-roman.
(name . Efraim Flashner)(address . efraim@flashner.co.il)
86k0p6ndu5.fsf@bonfacemunyoki.com
Efraim Flashner <efraim@flashner.co.il> writes:

Toggle quote (3 lines)
> As noted elsewhere, it would be better if this weren't added to the
> bottom of the module. It increases the chances of merge conflicts.
>
Sure!
Toggle quote (38 lines)
> On Sun, Apr 04, 2021 at 03:20:00PM +0300, BonfaceKilz wrote:
>> * gnu/packages/python-xyz.scm (python-roman): New variable.
>>
>> Co-authored-by: jgart <jgart@dismail.de>
>> ---
>> 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 74aee4a3c2..b69ea2e32a 100644
>> --- a/gnu/packages/python-xyz.scm
>> +++ b/gnu/packages/python-xyz.scm
>> @@ -24239,3 +24239,22 @@ number of words, syllables, and sentences.")
>> "This package provides a Python library that can parse OPML, FOAF, and
>> iGoogle subscription lists.")
>> (license license:expat)))
>> +
>> +(define-public python-roman
>> + (package
>> + (name "python-roman")
>> + (version "3.3")
>> + (source
>> + (origin
>> + (method url-fetch)
>> + (uri (pypi-uri "roman" version))
>> + (sha256
>> + (base32
>> + "0gyp2bmw47jgpm8j64gydzqq838bgxz5gh6cm57lxlr7p26sqiic"))))
>> + (build-system python-build-system)
>> + (home-page
>> + "https://github.com/zopefoundation/roman")
>> + (synopsis "Integer to Roman numerals converter")
>> + (description
>> + "Small helper library to convert arabic to roman numerals.")
>
> This package provides a small helper library to convert Arabic Numbers
> to Roman Numerals.
>
This makes sense...
Toggle quote (8 lines)
>> + (license license:psfl)))
>> --
>> 2.31.0
>>
>>
>>
>>

--
Bonface M. K. D4F09EB110177E03C28E2FE1F5BBAE1E0392253F
Humble GNU Emacs User / Bearer of scheme-y parens
Curator: https://upbookclub.com / Twitter: @BonfaceKilz
-----BEGIN PGP SIGNATURE-----

iQJKBAEBCAA0FiEE1PCesRAXfgPCji/h9buuHgOSJT8FAmB1+zUWHG1lQGJvbmZh
Y2VtdW55b2tpLmNvbQAKCRD1u64eA5IlP215D/4mwG3kiTRc2uuQjeZ0qV6tTzoe
2ApMx8sjlNNTItIoE65jgluqtLii39RvEYVSbT8y4PNk4gnW9G8TCENlrHPFhFFE
YbLtqJBnAZlKD3DsCfw3vXmZJlcS9uuMMQdYJYqnMeIHdxwMsPPAUgS9O/3vZVvw
Z7kxyTffoMc2FbpSyvcH+GOeoLxyS0w/TxCt7+X1Ur9TiZPvrgI9t1Zinlz01xl1
3qDNuX9qpCPoWq+zsmwJ3ErvUdghP/URVzfU64YqiO0svSy+RfwvmB1ULJ//aSPd
emwLv1LRiogExGA6bhXqCfYv0v1JgGskOmdSaxq9yxkXjDP03FYNExmTrE3EPD0D
FXh1wAm8sOChiFDxiAOa8Tr7DADZCX3FH+Nr3HpCA+0fPLfaVVF+2PrLQepkm+rk
H87nunFkMYgoiJ5W6igym+GyIePMz9Xv6Bgv/+bB+g53PiF64opGcqXDMDxvAIev
kMa3TJy+C+96Du7/bqerJPFD69UL4B6kCoNFlroCMrBvig44WAuAdY27RkE/eotO
VydTKV56RbhShZFJU3hxkt6M38fDkynrybFJanT9nvO8nf8TPsEZF5U0e/VEUjrk
L2WOgf3+fLzlGoGcvbzPATZS6/+A/QfQiivHFluIbhWp3YOnhA0b+fmvJRJHwcvM
StEQFXbNMzvJEv8crA==
=Pj87
-----END PGP SIGNATURE-----

B
B
Bonface Munyoki K. wrote on 13 Apr 2021 22:52
Re: [bug#47593] [PATCH 3/6] gnu: python-xyz: Add python-uqbar.
(name . Efraim Flashner)(address . efraim@flashner.co.il)
86fsztoqkg.fsf@bonfacemunyoki.com
Efraim Flashner <efraim@flashner.co.il> writes:

Toggle quote (5 lines)
> I haven't tried building this package yet. The sphinx packages are in
> sphinx.scm and the graphviz packages are in graphviz.scm. I think I
> would put it in graphviz.
>

Now that you've pointed it out, I see it! That
makes sense.

[...]

Toggle quote (2 lines)
> guix lint should've caught this.

I seem to have skipped doing this. I need to find
a way to integrating "guix lint" to my Emacs
workflow since I seem to always somehow forget to
do this.

Toggle quote (5 lines)
> If the pypi version from 'guix import
> ppyi uqbar' doesn't work for building then you should use git-fetch to
> download the source. The github archive URLs tend to get regenerated
> from time to time.

I went with the GitHub version since the pypi version
doesn't have tests. So in such cases, is it still
preferable to use the pypi version?

Toggle quote (24 lines)
>> + (sha256
>> + (base32
>> + "02kfvwh94ca0y3hsfrc071ga3g3vqflhyv4w4hif34dyj2skvpa8"))))
>> + (build-system python-build-system)
>> + (arguments
>> + `(#:phases
>> + (modify-phases %standard-phases
>> + (add-after 'unpack 'patch
>> + (lambda _
>> + (substitute* "setup.py"
>> + ;; Latest versions of sphink-rtd-theme require npm to build.
>> + (("sphinx-rtd-theme >= 0.4.0") "sphinx-rtd-theme >= 0.2.4")
>> + (("black == 19.10b0") "black >= 19.10b0"))
>> + #t))
>> + (replace 'check
>> + (lambda _
>> + (invoke "python" "-m" "pytest" "tests")
>
> We want the ability to skip the tests, so this should be
> (lambda* (#:key tests? #:allow-other-keys)
> (when tests?
> (invoke ...
>

Never knew this! Learnt something new. Thanks!

Toggle quote (7 lines)
>> + #t)))))
>> + (propagated-inputs
>> + `(("graphviz" ,graphviz)
>
> Is it possible to substitute the actual calls to the graphviz binaries
> in the package?

Not really. However...

Toggle quote (3 lines)
> We don't want to have to propagate non-python packages.
>

... We could add the graphviz to native
inputs since it's only required at build-time when
running one of the tests.

Toggle quote (21 lines)
>> + ("python-black" ,python-black)
>> + ("python-sphinx" ,python-sphinx)
>> + ("python-sphinx-rtd-theme"
>> + ,python-sphinx-rtd-theme)
>> + ("python-unidecode" ,python-unidecode)))
>> + (native-inputs
>> + `(("python-flake8" ,python-flake8)
>> + ("python-isort" ,python-isort)
>> + ("python-mypy" ,python-mypy)
>> + ("python-pytest" ,python-pytest)
>> + ("python-pytest-cov" ,python-pytest-cov)))
>> + (home-page
>> + "https://github.com/josiah-wolf-oberholtzer/uqbar")
>> + (synopsis
>> + "Tools for building documentation with Sphinx, Graphviz and LaTeX")
>> + (description
>> + "Tools for building documentation with Sphinx, Graphviz and LaTeX")
>
> This should be a full sentence.
>

Noted :)
Toggle quote (8 lines)
>> + (license license:expat)))
>> --
>> 2.31.0
>>
>>
>>
>>

--
Bonface M. K. D4F09EB110177E03C28E2FE1F5BBAE1E0392253F
Humble GNU Emacs User / Bearer of scheme-y parens
Curator: https://upbookclub.com / Twitter: @BonfaceKilz
-----BEGIN PGP SIGNATURE-----

iQJKBAEBCAA0FiEE1PCesRAXfgPCji/h9buuHgOSJT8FAmB2BIIWHG1lQGJvbmZh
Y2VtdW55b2tpLmNvbQAKCRD1u64eA5IlP8X6EACNjfdonLqPSZdzDsBT5Yh/bUUG
PJ+QH/7OZm5NjpkVCGfBiUkgBK8OwFyErdnkGmrA2wnAvscqTtBmd5yYb2Vqcpzn
7u+bHTiJyV6xuowYhZInUDPAeXVaI0pGP/lyD0GqCObh/YeA7j9i+/rg10pxGpHN
Azee1CNucODmpLw6hKKkXR531+XSBI+lTWBnefLHOx9gdZsxPeBWn28d+oukult5
lC4ZxoGzNfJyyxYPUGLuQwMLOWapJtsJugeLkQybloDtS0NNn1xFa12TTzX+sDlU
XJCoLuYyU5OTg1HFiI2E/g7yfsVdphfACmRQitH7Tk9iAuaFTbfqiN5cCfsHIxV3
QigZYkI9pX3Dansyg833h6yAv9eRkQfSVFWa1vX+QtyyxljYDbUMN8aGxs1JvTnP
PCsaScwqO7sdeM/TQH5x67+59idoPFA3CTvKoanQVRo9bq9u2yFjW0M7zX0gM9MJ
+sQBBIS2cYRkFqOR/Ff6hIUe8iZ18VN6B8pxYGQ6Qn6SNjVwLW88B2E930q/ILrg
B107cTASGGNmHP+S0cSQ4m024xliBWAO9/h6mI4JU3XM20YkgtN9FYrRNJs/mTnI
KXmnRg3nYoyh/rYtpYFsUlMxv8CC0fnBih9bZtRE7WKdQBYZ4AVw7Rvl+TKLNRcV
pSwIoZ8UrPd1Um9qeg==
=9OTc
-----END PGP SIGNATURE-----

B
B
Bonface Munyoki K. wrote on 13 Apr 2021 22:53
Re: [bug#47593] [PATCH 4/6] gnu: python-xyz: Add python-setuptools-declarative-requirements.
(name . Efraim Flashner)(address . efraim@flashner.co.il)
86blahoqhu.fsf@bonfacemunyoki.com
Efraim Flashner <efraim@flashner.co.il> writes:

Toggle quote (3 lines)
> It would be best to put this package definition near the other
> python-setuptools-* package definitions.
>
Noted!

[...]

Toggle quote (9 lines)
>> + (home-page
>> + "https://github.com/s0undt3ch/setuptools-declarative-requirements")
>> + (synopsis
>> + "File support for setuptools declarative setup.cfg")
>> + (description
>> + "File support for setuptools declarative setup.cfg")
>
> This should be a full sentence.

Sure!

--
Bonface M. K. D4F09EB110177E03C28E2FE1F5BBAE1E0392253F
Humble GNU Emacs User / Bearer of scheme-y parens
Curator: https://upbookclub.com / Twitter: @BonfaceKilz
-----BEGIN PGP SIGNATURE-----

iQJKBAEBCAA0FiEE1PCesRAXfgPCji/h9buuHgOSJT8FAmB2BOAWHG1lQGJvbmZh
Y2VtdW55b2tpLmNvbQAKCRD1u64eA5IlPw6qD/9XRcOjQuuTfNoj26r4EWuVa3rt
5K3wkFWpBn8ybl/6cnpUUOFSQ05ni/F89yPTkCKPQjsQGeh/PS32v22iW8vmc6B+
1kaxTzTDWWkmz2i2MfMegKSCWZEjZS45V+AqikiWn3pD7aa/OOjY3vQ0QsREJChH
tIVfo4hBoiCmkjbtrlN6XXMKu8qyFcSD1veBcwtmopi8VtsEH0YgsEpcvUS2Napz
bbp6ltoaVBVapGOlp527bm1ec8Z9tRM8GFkCQUvEPSs8bdJRFKwnOtr0xpThz4Or
S/a9NWLIREGdvIv+VMKiWunNNLigfJmHXn5TFu27xpY0aoW11Di0i//hu/+Stotl
gJbI03BOXpgFvy/gRUQTo3bLg/C2GB1CswpIOyYKgdy5Km1GUNgr50Tmg5J2U174
klA0AnXfMigSUkIn/gQqxGArSC2B5k9hhXS6ZyzX8JtWt2PdyUACPlJv+bX53RAN
SL7cVFYusTazp6HlewK7fdpuk4RaSE8VTu+v7cQhs61qrGZm/NJ0Xk3i7Vd57MbN
D8R5xq4q2/tQXCiRmgaOZzwGLNol/LG0FMph0DZd7iME/xl5NyPWGHW8rhM04n2R
cBiODIShsnNORoATO7TVYLUZoP7rcE1RJqwzxe1cNHY4lEFRhLjWg4O+ETP99PCE
qrjVtxtLcXEqIF1Ccw==
=mMOX
-----END PGP SIGNATURE-----

B
B
Bonface Munyoki K. wrote on 13 Apr 2021 23:00
Re: [bug#47593] [PATCH 6/6] gnu: python-xyz: Add python-abjad.
(name . Efraim Flashner)(address . efraim@flashner.co.il)
867dl5oq68.fsf@bonfacemunyoki.com
Efraim Flashner <efraim@flashner.co.il> writes:

Toggle quote (3 lines)
> I would put this in music.scm near lilypond.
>

Makes sense.

[...]
Toggle quote (5 lines)
>
> If this is a package that would be installed then you can change the
> name to abjad, no need to keep the python prefix.
>

I don't quite get this. Do you mean a package that
would be installed and run as some executable as
opposed to a library?

Toggle quote (14 lines)
>> +(define-public python-abjad
>> + (package
>> + (name "python-abjad")
>> + (version "3.3")
>> + (source
>> + (origin
>> + (method url-fetch)
>> + (uri
>> + (string-append
>> + "https://github.com/Abjad/abjad/archive/refs/tags/v"
>> + version ".tar.gz"))
>
> This should be a pypi URI or be downloaded using git-fetch
>
Noted.

Toggle quote (15 lines)
>> + (sha256
>> + (base32
>> + "0dvj40g8kq1jdp09gb2chxxb7959vxv5h4m8ywg4qigsw3f11xnx"))))
>> + (build-system python-build-system)
>> + (arguments
>> + `(#:phases
>> + (modify-phases %standard-phases
>> + (add-after 'unpack 'patch-source
>> + (lambda _
>> + (substitute* "setup.py"
>> + (("uqbar>=0.4.4, <0.5.0") "uqbar>=0.4.4, <=0.5.1")
>
> I would just take off the <0.5.0 and not try to make it just high enough
> to include the version packaged.
>
Makes sense!
Toggle quote (4 lines)
>> + (("pytest>=5.4.3") "pytest>=5.3"))
>
> We also have pytest-6. Of course this is also fine.
>
Sure!
Toggle quote (7 lines)
>> + #t))
>> + (replace 'check
>> + (lambda _
>
> (lambda* (#:key tests? #:allow-other-keys)
> (when tests?
>
Noted.
Toggle quote (10 lines)
>> + (invoke "python" "-m" "pytest" "tests")
>> + #t)))))
>
> I'm sure that not all of these need to be propagated. The source should
> be patched to refer to lilypond and I'm guessing most of the rest can
> either be inputs (they'll get wrapped with the python wrapper) or
> native-inputs if they're only needed for tests.
>

Makes a lot of sense!

Toggle quote (22 lines)
>> + (propagated-inputs
>> + `(("lilypond" ,lilypond) ;; Required for tests to pass!
>> + ("python-black" ,python-black)
>> + ("python-flake8" ,python-flake8)
>> + ("python-isort" ,python-isort)
>> + ("python-mypy" ,python-mypy)
>> + ("python-ply" ,python-ply)
>> + ("python-pytest" ,python-pytest)
>> + ("python-pytest-cov" ,python-pytest-cov)
>> + ("python-quicktions" ,python-quicktions)
>> + ("python-roman" ,python-roman)
>> + ("python-six" ,python-six)
>> + ("python-sphinx-autodoc-typehints"
>> + ,python-sphinx-autodoc-typehints)
>> + ("python-uqbar" ,python-uqbar)))
>> + (home-page "https://abjad.github.io")
>> + (synopsis
>> + "Abjad is a Python API for building LilyPond files.")
>
> I'd shorten this to "Python API for building LilyPind files"
>

Thanks for the suggestions!

Toggle quote (10 lines)
>> + (description
>> + "Abjad is a Python API for building LilyPond files.")
>> + (license license:expat)))
>> --
>> 2.31.0
>>
>>
>>
>>

--
Bonface M. K. D4F09EB110177E03C28E2FE1F5BBAE1E0392253F
Humble GNU Emacs User / Bearer of scheme-y parens
Curator: https://upbookclub.com / Twitter: @BonfaceKilz
-----BEGIN PGP SIGNATURE-----

iQJKBAEBCAA0FiEE1PCesRAXfgPCji/h9buuHgOSJT8FAmB2BoIWHG1lQGJvbmZh
Y2VtdW55b2tpLmNvbQAKCRD1u64eA5IlP0IQD/wMxUt8Gx2IX1ubBZA7Dkq6Qz/p
dwWwBla35pfgrDrdNVDcBaAPejOqWyzzWi/cIPePk3aoupTQeX5L2UEVqdymFXPT
jgLptYYFQrlWbAeY8cxNDrc/C/78sHOn2aOvQI4fo3hvzy2EDwYc9GFth0aAbwxm
u1YDFzWVKNanp8JYObTr0tbTatcsCjsnJMDzd3XSG7PJcpnLcS71dpyk1MP3J2/s
hx6Ap43b7QK8OOD7jOtrkR/oSf3vmn6Zi4cFMouoBvEjJyUKz5Ro83VO1c8t5qPc
Xkl8YtrT+Dn4GHEuzZp7Llo3AgouH4KdZHcL2QrRIC58R7JOWDd4TbFss8YBapfu
lIQDPB4Ie50nYm0dMdnQvBcrJPHSLLsQXaxx2a4g6KyYIwzdCOg2s+E+ZBtza/Vz
iWlKa1/JcfBxjO9RZa0b7wJXuXN2kYeV61Hd4TgTAAXcfHpwnpCUlWNQtDmkddkF
fYSVmlRae2DtpuY9xYhNBwf50+GMZd3igxlN968lUi/ff07eI1scL/9F45D9+cvP
bHc4cNzwXzxMQDbE49snGlLhwYUJsG9XbkkLuCAZ9DNgUkrq2XzfZgwo1YK3a3b0
lWk3j0Ff/S2k/RHa/3O+nOuEBrXwNn4dvwKwSBrA4wYQ3spBloQl0Huf+qAaISnb
sQ4bNsOMco5e9ux2OA==
=dQ6J
-----END PGP SIGNATURE-----

B
B
Bonface Munyoki K. wrote on 13 Apr 2021 23:10
Re: [bug#47593] [PATCH 5/6] gnu: python-xyz: Add python-quicktions.
(name . Efraim Flashner)(address . efraim@flashner.co.il)
8635vtopq0.fsf@bonfacemunyoki.com
Efraim Flashner <efraim@flashner.co.il> writes:

Toggle quote (5 lines)
> On Sun, Apr 04, 2021 at 03:20:04PM +0300, BonfaceKilz wrote:
>> * gnu/packages/python-xyz.scm (python-quicktions): New variable.
>>
>> Co-authored-by: jgart <jgart@dismail.de>
>> ---
[..]
Toggle quote (6 lines)
>> + (synopsis
>> + "Fast fractions data type for rational numbers. Cythonized version of 'fractions.Fraction'.")
>
> I'd trim this to 'Fast fractions data type for rational numbers'
>

Noted.

Toggle quote (10 lines)
>> + (description
>> + "Fast fractions data type for rational
>> numbers. Cythonized version of
>> 'fractions.Fraction'.")
>
> And this I'd change to 'This package provides fast fractions data type
> for rational numbers. It is the cythonized version of
> @quote{fractions.Fraction}.'
>

Makes sense. What's the "@quote{}" syntax. Where
would I get more of the documentation of the
syntax to put in the description?

Toggle quote (10 lines)
>> + (license license:psfl)))
>> --
>> 2.31.0
>>
>
> Speaking of cython, you should add a snippet to the source to remove any
> cythionized source and make sure those files get rebuilt during the
> build phase. Looking at setup.py it looks like you should remove
> src/quictions.c and I think it tries to cythonize automatically.

For anyone reading this(in future), the cythonized
.pyx files can stop matching CPython APIs across
Python versions. An example of that here:

--
Bonface M. K. D4F09EB110177E03C28E2FE1F5BBAE1E0392253F
Humble GNU Emacs User / Bearer of scheme-y parens
Curator: https://upbookclub.com / Twitter: @BonfaceKilz
-----BEGIN PGP SIGNATURE-----

iQJKBAEBCAA0FiEE1PCesRAXfgPCji/h9buuHgOSJT8FAmB2CMoWHG1lQGJvbmZh
Y2VtdW55b2tpLmNvbQAKCRD1u64eA5IlP+8oD/9vxtgobBEsE995HCG6NBU+ro11
+2h6mYX7CoPtKYKApBslZ7J0sth7czHNRe1ASFm+E6xs2Eg5DwBkfU8wc6EfMVZN
8yepsc8m0CZabHfAMJ5830IVpYaCnGT9qS9thCUapyCJPtHCkshPD3oI1rano+5Z
17c7RCmPO7NDFJsC9Okal8JXLV6ELaA6ksDMryu1rFARkHVQj61oUg1OsG7QjPH3
WKwjUy80fKjCQWR2/H00Pm5to57p5rnnBVz8Ad3vaSJT/P+rQE7JHNdds7mRvc02
1GjYdkT/+BiGC91XcMhijvjemTvfrGkmNmy8JsSVwPFasSzRGbu+p+5DDNXIYZgD
/wkqnEff1xNpJdC1hO0Ee1DF/2/C4El6JrydKXwSUJU+bfkVrA3C7KS1hTKfxUwj
Zpj5hLFLzgPo5DYE1jPkMu9y0luBK4mwLE66STi3M7+uAwxryXOQUg+U48LzySJ4
ddHp7qB0Oe96KS7eWF4phScgFkw42wiq879NSFWqPX/zIz80LfvvTqNPr03GMXIX
iXntCNMLQxpKIuVaz2gcPc+yujzgTGhfzqAH/jP0+K2XQFeJwZnG1ozlWy2mYDXe
wrob2BOp4TLRLm3kfUnpFVnXanoSqww3cZrHq9GfIYoivCwapkZygtClZxnz7XHx
f8o1gbzD5noIASrXqQ==
=Rg3t
-----END PGP SIGNATURE-----

E
E
Efraim Flashner wrote on 14 Apr 2021 17:14
Re: [bug#47593] [PATCH 3/6] gnu: python-xyz: Add python-uqbar.
(name . Bonface Munyoki K.)(address . me@bonfacemunyoki.com)
YHcG8P1t8rNX9igY@3900XT
On Tue, Apr 13, 2021 at 11:52:15PM +0300, Bonface Munyoki K. wrote:
Toggle quote (28 lines)
> Efraim Flashner <efraim@flashner.co.il> writes:
>
> > I haven't tried building this package yet. The sphinx packages are in
> > sphinx.scm and the graphviz packages are in graphviz.scm. I think I
> > would put it in graphviz.
> >
>
> Now that you've pointed it out, I see it! That
> makes sense.
>
> [...]
>
> > guix lint should've caught this.
>
> I seem to have skipped doing this. I need to find
> a way to integrating "guix lint" to my Emacs
> workflow since I seem to always somehow forget to
> do this.
>
> > If the pypi version from 'guix import
> > ppyi uqbar' doesn't work for building then you should use git-fetch to
> > download the source. The github archive URLs tend to get regenerated
> > from time to time.
>
> I went with the GitHub version since the pypi version
> doesn't have tests. So in such cases, is it still
> preferable to use the pypi version?

In that case the git version is normally preferable so we can actually
run the tests, but it should use git-fetch to download the sources.

Toggle quote (79 lines)
> >> + (sha256
> >> + (base32
> >> + "02kfvwh94ca0y3hsfrc071ga3g3vqflhyv4w4hif34dyj2skvpa8"))))
> >> + (build-system python-build-system)
> >> + (arguments
> >> + `(#:phases
> >> + (modify-phases %standard-phases
> >> + (add-after 'unpack 'patch
> >> + (lambda _
> >> + (substitute* "setup.py"
> >> + ;; Latest versions of sphink-rtd-theme require npm to build.
> >> + (("sphinx-rtd-theme >= 0.4.0") "sphinx-rtd-theme >= 0.2.4")
> >> + (("black == 19.10b0") "black >= 19.10b0"))
> >> + #t))
> >> + (replace 'check
> >> + (lambda _
> >> + (invoke "python" "-m" "pytest" "tests")
> >
> > We want the ability to skip the tests, so this should be
> > (lambda* (#:key tests? #:allow-other-keys)
> > (when tests?
> > (invoke ...
> >
>
> Never knew this! Learnt something new. Thanks!
>
> >> + #t)))))
> >> + (propagated-inputs
> >> + `(("graphviz" ,graphviz)
> >
> > Is it possible to substitute the actual calls to the graphviz binaries
> > in the package?
>
> Not really. However...
>
> > We don't want to have to propagate non-python packages.
> >
>
> ... We could add the graphviz to native
> inputs since it's only required at build-time when
> running one of the tests.
>
> >> + ("python-black" ,python-black)
> >> + ("python-sphinx" ,python-sphinx)
> >> + ("python-sphinx-rtd-theme"
> >> + ,python-sphinx-rtd-theme)
> >> + ("python-unidecode" ,python-unidecode)))
> >> + (native-inputs
> >> + `(("python-flake8" ,python-flake8)
> >> + ("python-isort" ,python-isort)
> >> + ("python-mypy" ,python-mypy)
> >> + ("python-pytest" ,python-pytest)
> >> + ("python-pytest-cov" ,python-pytest-cov)))
> >> + (home-page
> >> + "https://github.com/josiah-wolf-oberholtzer/uqbar")
> >> + (synopsis
> >> + "Tools for building documentation with Sphinx, Graphviz and LaTeX")
> >> + (description
> >> + "Tools for building documentation with Sphinx, Graphviz and LaTeX")
> >
> > This should be a full sentence.
> >
>
> Noted :)
> >> + (license license:expat)))
> >> --
> >> 2.31.0
> >>
> >>
> >>
> >>
>
> --
> Bonface M. K. D4F09EB110177E03C28E2FE1F5BBAE1E0392253F
> Humble GNU Emacs User / Bearer of scheme-y parens
> Curator: <https://upbookclub.com> / Twitter: @BonfaceKilz



--
Efraim Flashner <efraim@flashner.co.il> ????? ?????
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmB3BvAACgkQQarn3Mo9
g1EO2RAApdyVmIoEV8x0rIZHnxHGiFhQPYBDXYTivL6gcjyza4y3jl6fgAyqMSx8
jIA/EMip+pfYswtX115pcUd2oJ7b6/r7LwvZWlDSr24ozrmfsS28gU9tzizs6tBl
ik4kKyOB5wBwmD5VIT69l6zJEM1ORkF7ymMsP4mWNe2VU5pG+zNPhKkUJCYtGrId
yF2ErzMnrRHtdloJ9/Xi61KTZZ6pnU8E0ljaExcF936E+sHFcJaTm+89Ei4kMB0W
QqJRjFgN3UeFiWcspxEcOL6uqOqj61qrstrMhXBDT3YJ3i+EfpXhNZwK750vjpAC
LU//TeFdmlbf8jaz98FEQAmRto52tbN6rv5JYX4+qmeI0DjIPspx6Iekxuysvsmd
ydWhPYHcY9xM7pwkiavjuSp/CDGX+n/YdkU9tX0zRn2rYSwHzrkIYX7fBY8n+F91
LzVCTAl9IwIPIaRp9C8qyy6CuVtFbPhdGi8AiS3UIOi3gwTUZ2PAZbJ2sl4kP2d3
T+7pPvqhXDBZVx6QetDFTIBnE0Zr52Yvy5bg8I3flEpgcg8z9dh7pMAdrdQizxC1
mZVF86RVcZ+uWD8fusN8Cl1/oLbYtYfae1DxD8H2SyLqOvfIWC9TXwicDsW8JHyx
BaV/+Ls31XigdjpNXIGBmhV2TpSlwg9StYpGBtMijjPSQYNI0EU=
=/4Wx
-----END PGP SIGNATURE-----


E
E
Efraim Flashner wrote on 14 Apr 2021 17:17
Re: [bug#47593] [PATCH 5/6] gnu: python-xyz: Add python-quicktions.
(name . Bonface Munyoki K.)(address . me@bonfacemunyoki.com)
YHcHgJ4wWH6332CA@3900XT
On Wed, Apr 14, 2021 at 12:10:31AM +0300, Bonface Munyoki K. wrote:
Toggle quote (31 lines)
> Efraim Flashner <efraim@flashner.co.il> writes:
>
> > On Sun, Apr 04, 2021 at 03:20:04PM +0300, BonfaceKilz wrote:
> >> * gnu/packages/python-xyz.scm (python-quicktions): New variable.
> >>
> >> Co-authored-by: jgart <jgart@dismail.de>
> >> ---
> [..]
> >> + (synopsis
> >> + "Fast fractions data type for rational numbers. Cythonized version of 'fractions.Fraction'.")
> >
> > I'd trim this to 'Fast fractions data type for rational numbers'
> >
>
> Noted.
>
> >> + (description
> >> + "Fast fractions data type for rational
> >> numbers. Cythonized version of
> >> 'fractions.Fraction'.")
> >
> > And this I'd change to 'This package provides fast fractions data type
> > for rational numbers. It is the cythonized version of
> > @quote{fractions.Fraction}.'
> >
>
> Makes sense. What's the "@quote{}" syntax. Where
> would I get more of the documentation of the
> syntax to put in the description?
>

Looks like @quote isn't actually one that we're using. I must've been
thinking of @code.

I know it's from texinfo but beyond that I'm not really sure. I normally
just copy what's available from other packages.

Toggle quote (22 lines)
> >> + (license license:psfl)))
> >> --
> >> 2.31.0
> >>
> >
> > Speaking of cython, you should add a snippet to the source to remove any
> > cythionized source and make sure those files get rebuilt during the
> > build phase. Looking at setup.py it looks like you should remove
> > src/quictions.c and I think it tries to cythonize automatically.
>
> For anyone reading this(in future), the cythonized
> .pyx files can stop matching CPython APIs across
> Python versions. An example of that here:
> https://github.com/slaypni/fastdtw/pull/40
>
> --
> Bonface M. K. D4F09EB110177E03C28E2FE1F5BBAE1E0392253F
> Humble GNU Emacs User / Bearer of scheme-y parens
> Curator: <https://upbookclub.com> / Twitter: @BonfaceKilz



--
Efraim Flashner <efraim@flashner.co.il> ????? ?????
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmB3B38ACgkQQarn3Mo9
g1EZGg/9ES2bzd+/xFfTWsqzLVu1NgEVaFEQCUlRo8fZ25Uugkf8r9wLgRJ2S/LN
sN0CDEEF0S7+MVKA6yvlW/GJxl9dD9HL3mgqJf4CMjaW10hnmYSEsjaDuL2mQ3Tq
Mzf2XxCm/6x9GzbHXorl22L9mpVtOj2nkt59IifEeufurp3LV1/3gSBdh95uXj7f
o07WzOCliSZOnQrYeB9Jx/u6ZFeT0YBxo/jMnLGbU1/6E7IyQB642pdC8RK6YAfS
urwc/bdg3DYeGK07HukUGBOnNYo50cdeUUIKdnPaiaXab24gWRXCe7N1zM12wKPU
x2LYsLrKrjoyS1pwkcojAnPf+bpOYMsQSx78FPpTEuF8AmdQd2BzJwHQss5CJJBT
Z1zpj34HKAzrGc2uwZrZMDVQgCPAkbS0ZsrDdqGLR7TeRbah2/3w84+P0zOs2XOG
QGrWCzXouPfn8v3JeuAPdCi3B2mbrMFN7T3hT6bVkWFvhJMioJG/wNDIYeyQzfzy
Bybf5oHKQH7ZUsKiW3m3ltw1qZEshWvPMj5B6CljHll67QQasO6wsqr/993yrfly
V2PwT0WDekZzbuZ26YzPcGcmLZe5XJdLI+fiEvMI5ewDNMzq5MXoZmAxYpjpp+dG
q13b3wMNJGysXL5LjDkqmMvST/npUu+ryi7EDdMisDEN9YqmFjw=
=GCRR
-----END PGP SIGNATURE-----


E
E
Efraim Flashner wrote on 14 Apr 2021 17:19
Re: [bug#47593] [PATCH 6/6] gnu: python-xyz: Add python-abjad.
(name . Bonface Munyoki K.)(address . me@bonfacemunyoki.com)
YHcH9OzhgpJBWhVT@3900XT
On Wed, Apr 14, 2021 at 12:00:47AM +0300, Bonface Munyoki K. wrote:
Toggle quote (17 lines)
> Efraim Flashner <efraim@flashner.co.il> writes:
>
> > I would put this in music.scm near lilypond.
> >
>
> Makes sense.
>
> [...]
> >
> > If this is a package that would be installed then you can change the
> > name to abjad, no need to keep the python prefix.
> >
>
> I don't quite get this. Do you mean a package that
> would be installed and run as some executable as
> opposed to a library?

The first package I can think of is offlineimap. 'guix import pypi
offlineimap' tries to name it python-offlineimap, but it's more likely
to be used as an actual executable rather than as a library for another
package, so we rename it back to offlineimap and put the python packages
which would have normally been in propagated-inputs in inputs instead.

Toggle quote (98 lines)
> >> +(define-public python-abjad
> >> + (package
> >> + (name "python-abjad")
> >> + (version "3.3")
> >> + (source
> >> + (origin
> >> + (method url-fetch)
> >> + (uri
> >> + (string-append
> >> + "https://github.com/Abjad/abjad/archive/refs/tags/v"
> >> + version ".tar.gz"))
> >
> > This should be a pypi URI or be downloaded using git-fetch
> >
> Noted.
>
> >> + (sha256
> >> + (base32
> >> + "0dvj40g8kq1jdp09gb2chxxb7959vxv5h4m8ywg4qigsw3f11xnx"))))
> >> + (build-system python-build-system)
> >> + (arguments
> >> + `(#:phases
> >> + (modify-phases %standard-phases
> >> + (add-after 'unpack 'patch-source
> >> + (lambda _
> >> + (substitute* "setup.py"
> >> + (("uqbar>=0.4.4, <0.5.0") "uqbar>=0.4.4, <=0.5.1")
> >
> > I would just take off the <0.5.0 and not try to make it just high enough
> > to include the version packaged.
> >
> Makes sense!
> >> + (("pytest>=5.4.3") "pytest>=5.3"))
> >
> > We also have pytest-6. Of course this is also fine.
> >
> Sure!
> >> + #t))
> >> + (replace 'check
> >> + (lambda _
> >
> > (lambda* (#:key tests? #:allow-other-keys)
> > (when tests?
> >
> Noted.
> >> + ;; See: https://stackoverflow.com/a/34140498
> >> + (invoke "python" "-m" "pytest" "tests")
> >> + #t)))))
> >
> > I'm sure that not all of these need to be propagated. The source should
> > be patched to refer to lilypond and I'm guessing most of the rest can
> > either be inputs (they'll get wrapped with the python wrapper) or
> > native-inputs if they're only needed for tests.
> >
>
> Makes a lot of sense!
>
> >> + (propagated-inputs
> >> + `(("lilypond" ,lilypond) ;; Required for tests to pass!
> >> + ("python-black" ,python-black)
> >> + ("python-flake8" ,python-flake8)
> >> + ("python-isort" ,python-isort)
> >> + ("python-mypy" ,python-mypy)
> >> + ("python-ply" ,python-ply)
> >> + ("python-pytest" ,python-pytest)
> >> + ("python-pytest-cov" ,python-pytest-cov)
> >> + ("python-quicktions" ,python-quicktions)
> >> + ("python-roman" ,python-roman)
> >> + ("python-six" ,python-six)
> >> + ("python-sphinx-autodoc-typehints"
> >> + ,python-sphinx-autodoc-typehints)
> >> + ("python-uqbar" ,python-uqbar)))
> >> + (home-page "https://abjad.github.io")
> >> + (synopsis
> >> + "Abjad is a Python API for building LilyPond files.")
> >
> > I'd shorten this to "Python API for building LilyPind files"
> >
>
> Thanks for the suggestions!
>
> >> + (description
> >> + "Abjad is a Python API for building LilyPond files.")
> >> + (license license:expat)))
> >> --
> >> 2.31.0
> >>
> >>
> >>
> >>
>
> --
> Bonface M. K. D4F09EB110177E03C28E2FE1F5BBAE1E0392253F
> Humble GNU Emacs User / Bearer of scheme-y parens
> Curator: <https://upbookclub.com> / Twitter: @BonfaceKilz



--
Efraim Flashner <efraim@flashner.co.il> ????? ?????
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmB3B/MACgkQQarn3Mo9
g1Ffng/8CdEC6nYnOnA/pMO2nnPHkgzEWeE3guXQMXNzWfGpX9Glb/ZFuXl2B72D
fkugxhOpPyyfPKwDUeuFe12M3F7q+tRQDrfE7p/9myyOQpbfJ5g/Wr2CfhiMnQXZ
c8CXDtfuHrH0dSRBi6e1/NbyCqo+ITDlwNPD7pzTOm1Jb/eQMzDduJDOT+qJNgpe
DmWvPcc+6iCX3fyen2kZYvl22bT2tJIjVyoDokr3rS6/cU2W55/BHbrL/w8OeXK3
8hP0XRJ9UpfAg8Hw/ZIAnpR17kHve1IfVBW0drTeGv1eAzqSTkEPrmESy3tLbYps
VFKtaZjhc2Oe52iVnxYhJq/SUHEn6CJgxhlGalwrAR84rEwwJlxa8FaQfCh7DDQS
6Yi6ShdqECW+2h4ZagB3XJsrGU/DEywO+MlIaFmaayKr5O+V50bEsMxtbhUMnGLG
BIBe2Vfrg+VsSyYhEc4rMLT/+XgvEHTNA14MnSQxVUCcZwUYXBdZdtzdUWML4IPT
WSNCpsXuiCrp44qd+YS31y5L0xag2io7Pt7+9qoc5CiUDuJ0GgGJMSc5lREG/ayk
Lc+xWVtIzfweovXbqOJbw9U5i1901AZ7ITuDCEHckPFnKiFrks+yXMrc0V2ee32d
JTQXVEPRc/RLQW7Q9/W+JEoIGHmAyDArNwKpu8le8WC659MOgJg=
=LtUW
-----END PGP SIGNATURE-----


B
B
BonfaceKilz wrote on 14 Apr 2021 22:54
[PATCH v2 0/6] gnu: python-xyz: Add python-abjad.
(address . 47593@debbugs.gnu.org)
20210414205502.28792-1-me@bonfacemunyoki.com
Find the revised patchset for the python-abjad package.

BonfaceKilz (6):
gnu: Add python-roman.
gnu: Add python-setuptools-declarative-requirements.
gnu: Add python-pytest-helpers-namespace.
gnu: Add python-uqbar.
gnu: Add python-quicktions.
gnu: Add abjad.

gnu/packages/graphviz.scm | 55 +++++++++++++++++++++++
gnu/packages/music.scm | 56 +++++++++++++++++++++++
gnu/packages/python-check.scm | 35 +++++++++++++++
gnu/packages/python-xyz.scm | 83 +++++++++++++++++++++++++++++++++++
4 files changed, 229 insertions(+)

--
2.31.1
B
B
BonfaceKilz wrote on 14 Apr 2021 22:54
[PATCH v2 1/6] gnu: Add python-roman.
(address . 47593@debbugs.gnu.org)
20210414205502.28792-2-me@bonfacemunyoki.com
* gnu/packages/python-xyz.scm (python-roman): New variable.

Co-authored-by: jgart <jgart@dismail.de>
---
gnu/packages/python-xyz.scm | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)

Toggle diff (33 lines)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index c01993ecd7..63d4bd77e1 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -3029,6 +3029,26 @@ cutting and pasting that code over and over.")
(define-public python2-kitchen
(package-with-python2 python-kitchen))
+(define-public python-roman
+ (package
+ (name "python-roman")
+ (version "3.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "roman" version))
+ (sha256
+ (base32
+ "0gyp2bmw47jgpm8j64gydzqq838bgxz5gh6cm57lxlr7p26sqiic"))))
+ (build-system python-build-system)
+ (home-page
+ "https://github.com/zopefoundation/roman")
+ (synopsis "Integer to Roman numerals converter")
+ (description
+ "This package provides a small helper library to convert Arabic Numbers
+to Roman Numerals.")
+ (license license:psfl)))
+
(define-public python-unidecode
(package
(name "python-unidecode")
--
2.31.1
B
B
BonfaceKilz wrote on 14 Apr 2021 22:54
[PATCH v2 2/6] gnu: Add python-setuptools-declarative-requirements.
(address . 47593@debbugs.gnu.org)
20210414205502.28792-3-me@bonfacemunyoki.com
* gnu/packages/python-xyz.scm (python-setuptools-declarative-requirements):
New variable.

Co-authored-by: jgart <jgart@dismail.de>
---
gnu/packages/python-xyz.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)

Toggle diff (41 lines)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 63d4bd77e1..1f89d92ebe 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -1275,6 +1275,34 @@ Python 3 support.")
license:asl2.0 ; packaging is dual ASL2/BSD-2
license:bsd-2))))
+(define-public python-setuptools-declarative-requirements
+ (package
+ (name "python-setuptools-declarative-requirements")
+ (version "1.2.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri
+ "setuptools-declarative-requirements"
+ version))
+ (sha256
+ (base32
+ "1l8zmcnp9h8sp8hsw7b81djaa1a9yig0y7i4phh5pihqz1gdn7yi"))))
+ (build-system python-build-system)
+ (native-inputs
+ `(("python-pytest" ,python-pytest)
+ ("python-setuptools-scm" ,python-setuptools-scm)))
+ (propagated-inputs
+ `(("python-toml" ,python-toml)
+ ("python-wheel" ,python-wheel)))
+ (home-page
+ "https://github.com/s0undt3ch/setuptools-declarative-requirements")
+ (synopsis
+ "File support for setuptools declarative setup.cfg")
+ (description
+ "This package provides file support for setuptools declarative setup.cfg")
+ (license license:asl2.0)))
+
;; The setuptools provided by Python 3.7.4 is too new for Tensorflow.
(define-public python-setuptools-for-tensorflow
(hidden-package
--
2.31.1
B
B
BonfaceKilz wrote on 14 Apr 2021 22:54
[PATCH v2 3/6] gnu: Add python-pytest-helpers-namespace.
(address . 47593@debbugs.gnu.org)
20210414205502.28792-4-me@bonfacemunyoki.com
* gnu/packages/python-check.scm (python-pytest-helpers-namespace): New
variable.

Co-authored-by: jgart <jgart@dismail.de>
---
gnu/packages/python-check.scm | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)

Toggle diff (55 lines)
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index bde836a931..92887ef625 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -12,6 +12,7 @@
;;; Copyright © 2021 Sharlatan Hellseher <sharlatanus@gmail.com>
;;; Copyright © 2021 Brendan Tildesley <mail@brendan.scot>
;;; Copyright © 2021 Guillaume Le Vaillant <glv@posteo.net>
+;;; Copyright © 2021 Bonface Munyoki Kilyungi <me@bonfacemunyoki.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -374,6 +375,40 @@ provides a shortcut to testing all code and documentation for a given
sub-package.")
(license license:bsd-3)))
+(define-public python-pytest-helpers-namespace
+ (package
+ (name "python-pytest-helpers-namespace")
+ (version "2021.3.24")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "pytest-helpers-namespace" version))
+ (sha256
+ (base32
+ "0pyj2d45zagmzlajzqdnkw5yz8k49pkihbydsqkzm413qnkzb38q"))))
+ (build-system python-build-system)
+ (arguments
+ '(#:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key inputs outputs #:allow-other-keys)
+ ;; Make the installed plugin discoverable by Pytest.
+ (add-installed-pythonpath inputs outputs)
+ (invoke "pytest" "-vv"))))))
+ (native-inputs
+ `(("python-pytest" ,python-pytest-6)
+ ("python-setuptools" ,python-setuptools)
+ ("python-setuptools-scm" ,python-setuptools-scm)
+ ("python-setuptools-declarative-requirements"
+ ,python-setuptools-declarative-requirements)))
+ (home-page
+ "https://github.com/saltstack/pytest-helpers-namespace")
+ (synopsis "Pytest Helpers Namespace Plugin")
+ (description "Pytest Helpers Namespace Plugin provides a helpers pytest
+namespace which can be used to register helper functions without requiring
+someone to import them in their actual tests to use them.")
+ (license license:asl2.0)))
+
(define-public python-pytest-openfiles
(package
(name "python-pytest-openfiles")
--
2.31.1
B
B
BonfaceKilz wrote on 14 Apr 2021 22:55
[PATCH v2 6/6] gnu: Add abjad.
(address . 47593@debbugs.gnu.org)
20210414205502.28792-7-me@bonfacemunyoki.com
* gnu/packages/music.scm (abjad): New variable.

Co-authored-by: jgart <jgart@dismail.de>
---
gnu/packages/music.scm | 56 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 56 insertions(+)

Toggle diff (90 lines)
diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index 2b5f43cb14..b79c6d6a44 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -36,6 +36,7 @@
;;; Copyright © 2021 Leo Prikler <leo.prikler@student.tugraz.at>
;;; Copyright © 2021 Vinicius Monego <monego@posteo.net>
;;; Copyright © 2021 Brendan Tildesley <mail@brendan.scot>
+;;; Copyright © 2021 Bonface Munyoki Kilyungi <me@bonfacemunyoki.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -136,6 +137,7 @@
#:use-module (gnu packages protobuf)
#:use-module (gnu packages pulseaudio) ;libsndfile
#:use-module (gnu packages python)
+ #:use-module (gnu packages python-check)
#:use-module (gnu packages python-web)
#:use-module (gnu packages python-xyz)
#:use-module (gnu packages qt)
@@ -143,6 +145,7 @@
#:use-module (gnu packages readline)
#:use-module (gnu packages rsync)
#:use-module (gnu packages sdl)
+ #:use-module (gnu packages sphinx)
#:use-module (gnu packages sqlite)
#:use-module (gnu packages stb)
#:use-module (gnu packages tcl)
@@ -1499,6 +1502,59 @@ Guile.")
;; more than an hour of silence, so double the max silent time.
(properties `((max-silent-time . 7200)))))
+(define-public abjad
+ (package
+ (name "abjad")
+ (version "3.3")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/Abjad/abjad")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1dzf5v7pawbzkb4qxp4s5z4r3gibkk705pag83yvgzkx6fd6jf2g"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'patch-source
+ (lambda _
+ (substitute* "setup.py"
+ (("uqbar>=0.5.1, <0.5.0") "uqbar>=0.5.0"))
+ #t))
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ ;; See: https://stackoverflow.com/a/34140498
+ (invoke "python" "-m" "pytest" "tests")
+ #t))))))
+ (native-inputs
+ `(("lilypond" ,lilypond)
+ ("python-black" ,python-black)
+ ("python-flake8" ,python-flake8)
+ ("python-iniconfig" ,python-iniconfig)
+ ("python-isort" ,python-isort)
+ ("python-mypy" ,python-mypy)
+ ("python-ply" ,python-ply)
+ ("python-pytest" ,python-pytest-6)
+ ("python-pytest-cov" ,python-pytest-cov)
+ ("python-sphinx-autodoc-typehints"
+ ,python-sphinx-autodoc-typehints)))
+ (propagated-inputs
+ `(("python-quicktions" ,python-quicktions)
+ ("python-roman" ,python-roman)
+ ("python-six" ,python-six)
+ ("python-uqbar" ,python-uqbar)))
+ (home-page "https://abjad.github.io")
+ (synopsis
+ "Python API for building LilyPond files")
+ (description
+ "This package provides a Python API for building LilyPond files.")
+ (license license:expat)))
+
(define-public non-sequencer
;; The latest tagged release is three years old and uses a custom build
;; system, so we take the last commit.
--
2.31.1
B
B
BonfaceKilz wrote on 14 Apr 2021 22:55
[PATCH v2 5/6] gnu: Add python-quicktions.
(address . 47593@debbugs.gnu.org)
20210414205502.28792-6-me@bonfacemunyoki.com
* gnu/packages/python-xyz.scm (python-quicktions): New variable.

Co-authored-by: jgart <jgart@dismail.de>
---
gnu/packages/python-xyz.scm | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)

Toggle diff (48 lines)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 1f89d92ebe..1e7b9caa47 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -24687,6 +24687,41 @@ Django template systems, the filters can be used in any environment.")
runs on, such as a reliable machine-readable ID, or version information.")
(license license:asl2.0)))
+(define-public python-quicktions
+ (package
+ (name "python-quicktions")
+ (version "1.11")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "quicktions" version))
+ (sha256
+ (base32
+ "1px21a6x527i1bsr2p6bbf3jziqpvd1vjkvvzh13gsy4iip0yvzn"))
+ (modules '((guix build utils)))
+ (snippet
+ '(begin
+ ;; This file is generated by Cython.
+ (delete-file "src/quicktions.c") #t))))
+ (build-system python-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-before 'build 'cythonize-sources
+ (lambda _
+ (with-directory-excursion "src"
+ (invoke "cython" "quicktions.pyx")))))))
+ (native-inputs
+ `(("python-cython" ,python-cython)))
+ (home-page
+ "https://github.com/scoder/quicktions")
+ (synopsis
+ "Fast fractions data type for rational numbers")
+ (description
+ "This package provides fast fractions data type for rational numbers. It
+is the cythonized version of @code{fractions.Fraction}.")
+ (license license:psfl)))
+
(define-public python-pathvalidate
(package
(name "python-pathvalidate")
--
2.31.1
B
B
BonfaceKilz wrote on 14 Apr 2021 22:55
[PATCH v2 4/6] gnu: Add python-uqbar.
(address . 47593@debbugs.gnu.org)
20210414205502.28792-5-me@bonfacemunyoki.com
* gnu/packages/graphviz.scm (python-uqbar): New variable.

Co-authored-by: jgart <jgart@dismail.de>
---
gnu/packages/graphviz.scm | 55 +++++++++++++++++++++++++++++++++++++++
1 file changed, 55 insertions(+)

Toggle diff (83 lines)
diff --git a/gnu/packages/graphviz.scm b/gnu/packages/graphviz.scm
index b5c4774d5c..29e151590e 100644
--- a/gnu/packages/graphviz.scm
+++ b/gnu/packages/graphviz.scm
@@ -9,6 +9,7 @@
;;; Copyright © 2020 Marius Bakke <mbakke@fastmail.com>
;;; Copyright © 2020 Vincent Legoll <vincent.legoll@gmail.com>
;;; Copyright © 2020 Pjotr Prins <pjotr.guix@thebird.nl>
+;;; Copyright © 2021 Bonface Munyoki Kilyungi <me@bonfacemunyoki.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -48,7 +49,9 @@
#:use-module (gnu packages perl)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages python)
+ #:use-module (gnu packages python-check)
#:use-module (gnu packages python-xyz)
+ #:use-module (gnu packages sphinx)
#:use-module (gnu packages swig)
#:use-module (gnu packages tcl)
#:use-module (gnu packages tex)
@@ -242,6 +245,58 @@ structure and layout algorithms.")
(define-public python2-pygraphviz
(package-with-python2 python-pygraphviz))
+(define-public python-uqbar
+ (package
+ (name "python-uqbar")
+ (version "0.5.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/josiah-wolf-oberholtzer/uqbar")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0413nyhd8z8v3lvsgaghhafnyxg90fi1q80j1kbl21gpmpnc9a7n"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'patch
+ (lambda _
+ (substitute* "setup.py"
+ ;; Latest versions of sphink-rtd-theme require npm to build.
+ (("sphinx-rtd-theme >= 0.4.0") "sphinx-rtd-theme >= 0.2.4")
+ (("black == 19.10b0") "black >= 19.10b0"))
+ #t))
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "python" "-m" "pytest" "tests"))
+ #t)))))
+ (native-inputs
+ `(("graphviz" ,graphviz)
+ ("python-black" ,python-black)
+ ("python-flake8" ,python-flake8)
+ ("python-isort" ,python-isort)
+ ("python-mypy" ,python-mypy)
+ ("python-sphinx" ,python-sphinx)
+ ("python-pytest" ,python-pytest)
+ ("python-pytest-cov" ,python-pytest-cov)))
+ (propagated-inputs
+ `(("python-sphinx-rtd-theme"
+ ,python-sphinx-rtd-theme)
+ ("python-unidecode" ,python-unidecode)))
+ (home-page
+ "https://github.com/josiah-wolf-oberholtzer/uqbar")
+ (synopsis
+ "Tools for building documentation with Sphinx, Graphviz and LaTeX")
+ (description
+ "This package contains tools for building documentation with Sphinx,
+Graphviz and LaTeX")
+ (license license:expat)))
+
(define-public gts
(package
(name "gts")
--
2.31.1
E
E
Efraim Flashner wrote on 15 Apr 2021 13:35
Re: [PATCH v2 0/6] gnu: python-xyz: Add python-abjad.
(name . BonfaceKilz)(address . me@bonfacemunyoki.com)
YHgk+bIuF8P2WFRq@3900XT
Looks good! Patches pushed.


On Wed, Apr 14, 2021 at 11:54:56PM +0300, BonfaceKilz wrote:
Toggle quote (20 lines)
> Find the revised patchset for the python-abjad package.
>
> BonfaceKilz (6):
> gnu: Add python-roman.
> gnu: Add python-setuptools-declarative-requirements.
> gnu: Add python-pytest-helpers-namespace.
> gnu: Add python-uqbar.
> gnu: Add python-quicktions.
> gnu: Add abjad.
>
> gnu/packages/graphviz.scm | 55 +++++++++++++++++++++++
> gnu/packages/music.scm | 56 +++++++++++++++++++++++
> gnu/packages/python-check.scm | 35 +++++++++++++++
> gnu/packages/python-xyz.scm | 83 +++++++++++++++++++++++++++++++++++
> 4 files changed, 229 insertions(+)
>
> --
> 2.31.1
>

--
Efraim Flashner <efraim@flashner.co.il> ????? ?????
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmB4JPkACgkQQarn3Mo9
g1EBBRAAp4vR3XmuCJGTnLZ2RRDDdZF/OEJTa7gZ4Yys7LVHs4qwA/1tzZ9wue2O
L6Z11MJ7dXzz8HKFl3N8SY3X1N+PDbOlzLU3Fh4ROEdyWpNGF37nLgJOP6+E8DGd
jzh1NNd27YEMUDsTYGM4iKxQoGysmB82wTOVjQ3mEJVYxjfuL5mhaLm2d1Ejh8OR
EyH2gJ17ycTX214Cufc3A139v1c8+p5ksulOAlujr/j+Y5qB5i6SrRwX232aifV8
jSa2z6c7UpKdCQihY9gvdZARnAtMoBq6bLii91cUXfhPsZEBJjgTt7Jdj4Oe6AdY
mWGj8h3khNtWydoYde0WDq3FRufJSbX8Xurnn1FsRv0ak8OK1WFpbiAe6EtxXaw2
vy7fxmPycTyJPR1sJy3dupkOIVMnIcZhUCPxvSb4lUXPQCQoZKMEtsiji+QQ/eLq
ClmmLnZ2yhAJ/9vfoj5SUQ+atvPDwLTghpKAB58Q1xa1PZt94vAvYXLZ9MqHbOP5
ekeUg06zqK7DwAgUMn+7D5fnOlHvs/iIo+7UmqGtX60j9qFbd9FeWxdTFDcgo0eV
EbKgOf9HN4xGzW9yE0bXiBgov5QPi2iKMxQPb+CKAw4Y9D2fw4Ii2Yik1cmJRuuq
pq+STaiXnY3tYlA60cN2D8hNGCGh9elLj5ie8v5PzhEUDWJY8B8=
=cxA8
-----END PGP SIGNATURE-----


Closed
B
B
Bonface Munyoki K. wrote on 15 Apr 2021 15:32
(name . Efraim Flashner)(address . efraim@flashner.co.il)
86lf9j65cn.fsf@bonfacemunyoki.com
Efraim Flashner <efraim@flashner.co.il> writes:

Toggle quote (2 lines)
> Looks good! Patches pushed.
>
Thanks!
Toggle quote (22 lines)
>
> On Wed, Apr 14, 2021 at 11:54:56PM +0300, BonfaceKilz wrote:
>> Find the revised patchset for the python-abjad package.
>>
>> BonfaceKilz (6):
>> gnu: Add python-roman.
>> gnu: Add python-setuptools-declarative-requirements.
>> gnu: Add python-pytest-helpers-namespace.
>> gnu: Add python-uqbar.
>> gnu: Add python-quicktions.
>> gnu: Add abjad.
>>
>> gnu/packages/graphviz.scm | 55 +++++++++++++++++++++++
>> gnu/packages/music.scm | 56 +++++++++++++++++++++++
>> gnu/packages/python-check.scm | 35 +++++++++++++++
>> gnu/packages/python-xyz.scm | 83 +++++++++++++++++++++++++++++++++++
>> 4 files changed, 229 insertions(+)
>>
>> --
>> 2.31.1
>>

--
Bonface M. K. D4F09EB110177E03C28E2FE1F5BBAE1E0392253F
Humble GNU Emacs User / Bearer of scheme-y parens
Curator: https://upbookclub.com / Twitter: @BonfaceKilz
-----BEGIN PGP SIGNATURE-----

iQJKBAEBCAA0FiEE1PCesRAXfgPCji/h9buuHgOSJT8FAmB4QGsWHG1lQGJvbmZh
Y2VtdW55b2tpLmNvbQAKCRD1u64eA5IlPzIuEACebec+7KBMfWEIFJvb+82ZKjmE
SLrf1IXxA2+bDoU89bax/ydA0Oa81eETYC7LQjZY0AW4aymH3IXJ+B4S4jgMyY/E
gSzlw9TsBqGrLMs7Zfx1EDI2bFybUAYC4SjEXtKt1ORd2Z0Q59D04MKNXhwgHZBx
C917haCd19RI4/KHRTPpSqsW89qBk51GenJpbY2pdaduryG75wqC78lyfERbN0uv
aoOXgehNAUba8HL1+XzVlhmzHfDlr9DdZbW6g1WRADIYEP+RRA4r9yI74h6lmfJP
wxb1biEAclgrzE64sAmQEPa6BOVkznitJUOlPaCEtX3GyHqNubwVkuH1mpS2npoL
DwlOabPgMN37bfgdMbr/jGzEXtiwMFF/ggWmlJCI5dsedaZbJ7wdM1KIh+5KW8FV
a22PJkcsc4S86zlGewQ7/fQiQwZ1b+Z0Qkv0cgL1FY2oSBoAQA3bJyuNPiCS0bYM
uTzQvzeGNO+oXGvk7bOe00G5UdBmCRxBEoSS5cL/3cQ3mpjsbKdaaM/MDRtDIISt
dfO4wyTCP2OVryDngA5D1iW6HZyHWf5u4FiO/OL7TOej7FV6BFEgkKzmUfJriqlW
AIIETa2y2TXeEqR/RqB8hzG7MyEVo8YZSzjxGTww/g+ckWcTH+0UiFQKr35fOipZ
7BQn3Q9o2lAeZuQgVA==
=nna2
-----END PGP SIGNATURE-----

Closed
?