Ricardo Wurmus
670fc6ee50
etc/committer: Speed up surrounding-sexp.
...
The old surrounding-sexp procedure would read all S-expressions from the
beginning of the file up to the given line number and then return the last
encountered S-expression. This is quite wasteful. Instead we can record all
lines that begin with an S-expression and jump straight to the offset closest
to the desired line number to read the S-expression there.
* etc/committer.scm.in (lines+offsets-with-opening-parens): New procedure.
(surrounding-sexp): Use it.
2023-09-24 13:49:53 +02:00
Ricardo Wurmus
5027bc19d8
etc/committer: Avoid reading original files more than once.
...
* etc/committer.scm.in (%original-file-cache): New variable.
(read-original-file): New procedure.
(read-original-file*): New procedure.
(old-sexp): Use it.
2023-09-24 13:49:53 +02:00
Ricardo Wurmus
10c6387f5b
etc/committer: Do not record positions when reading from git files.
...
This gives us a slight performance boost.
* etc/committer.scm.in (main): Disable recording of positions.
2023-09-24 13:49:53 +02:00
Ricardo Wurmus
0836af9a3b
etc/committer: Do not recompute changes when there are no definitions.
...
* etc/committer.scm.in (main): Reuse previously computed changes if there are
no changes to the number of definitions.
2023-09-24 13:49:53 +02:00
Efraim Flashner
0792d99466
gnu: htslib: Link against htscodecs.
...
* gnu/packages/bioinformatics.scm (htslib)[source]: Add snippet to
remove bundled htscodecs.
[arguments]: Add configure-flag to link against htscodecs.
[propagated-inputs]: Add htscodecs.
(htslib-1.14, htslib-1.12): Use bundled htscodecs.
2023-09-24 11:15:17 +03:00
Efraim Flashner
a338a553e3
gnu: htscodecs: Update to 1.5.1.
...
* gnu/packages/bioinformatics.scm (htscodecs): Update to 1.5.1.
2023-09-24 10:53:07 +03:00
Liliana Marie Prikler
35fd25af9b
Merge branch 'emacs-team'
2023-09-24 09:24:36 +02:00
Guillaume Le Vaillant
4f35ff1275
Merge branch 'lisp-team'
2023-09-23 10:29:31 +02:00
Maxim Cournoyer
7e82d4e19f
gnu: tipp10: Update to 3.3.0.
...
* gnu/packages/education.scm (tipp10): Update to 3.3.0.
[source]: Use git-fetch. Drop obsolete patches.
[build-system]: Use qt-build-system.
[arguments]: Add #:qtbase. Remove #:phases.
[inputs]: Replace qtbase-5 with qtbase, qtmultimedia-5 with qtmultimedia.
[home-page]: Update home page.
[license]: Add comment.
* gnu/packages/patches/tipp10-disable-downloader.patch: Delete file.
* gnu/packages/patches/tipp10-fix-compiling.patch: Likewise.
* gnu/packages/patches/tipp10-qt5.patch: Likewise.
* gnu/packages/patches/tipp10-remove-license-code.patch: Likewise.
* gnu/local.mk (dist_patch_DATA): De-register them.
2023-09-22 23:08:54 -04:00
Liliana Marie Prikler
cdbd81ce14
Merge branch 'master' into emacs-team
2023-09-22 23:54:34 +02:00
Simon Tournier
ec130e1a1b
gnu: python-glcontext: Update to 2.4.0-1.0af21b7.
...
* gnu/packages/python-xyz.scm (python-glcontext): Update to 2.4.0-1.0af21b7.
2023-09-22 15:04:01 +02:00
Simon Tournier
5bae1fea20
gnu: python-glcontext: Update to 2.4.0-0.beebc1f.
...
* gnu/packages/python-xyz.scm (python-glcontext): Explicitly refer to commit
instead of mutable Git tag.
2023-09-22 15:04:01 +02:00
Simon Tournier
3a7a81b471
gnu: bap: Update to 2.6.0-alpha-0.f995d28.
...
* gnu/packages/ocaml.scm (bap): Update to 2.6.0-alpha-0.f995d28.
2023-09-22 15:04:00 +02:00
Simon Tournier
47ba771548
gnu: bap: Update to 2.5.0-alpha-0.a972f8a.
...
* gnu/packages/ocaml.scm (bap): Explicitly refer to commit instead of mutable
Git tag.
2023-09-22 15:04:00 +02:00
Simon Tournier
6d33c1f806
git: Avoid touching the network unless needed in 'reference-available?'.
...
Follow-up of 756e336fa0
fixing the issue.
* guix/git/scm (reference-available?): Address case by case to determine
whether the reference exists in the local Git checkout.
2023-09-22 14:42:56 +02:00
Efraim Flashner
f45c0c8228
gnu: wfa2-lib: Mark package as tunable.
...
* gnu/packages/bioinformatics.scm (wfa2-lib)[properties]: New field.
2023-09-22 09:32:11 +03:00
Efraim Flashner
f4a0e472a9
doc: contributing: Clarify generating the pre-inst-env script.
...
Lack of clarity reported by lrustland on IRC.
* doc/contributing.texi (Running Guix Before It Is Installed): Refer to
the Building from Git section when giving instructions for generating
the pre-inst-env script.
2023-09-22 08:54:18 +03:00
Tobias Geerinckx-Rice
5d2593be0a
gnu: w3m: Remove input labels.
...
* gnu/packages/w3m.scm (w3m)[native-inputs]:
Remove input labels.
2023-09-17 02:00:00 +02:00
Tobias Geerinckx-Rice
7a898188fd
gnu: w3m: Add graphics support.
...
This increases the closure by a whopping 0.1 MiB.
* gnu/packages/w3m.scm (w3m)[arguments]: Add "-enable-image=fb,x11"
to the #:configure-flags.
2023-09-17 02:00:00 +02:00
Danny Milosavljevic
5ef168f91c
gnu: Add jbr@21-b240.22.
...
* gnu/packages/java.scm (jbr21): New variable.
2023-09-21 20:36:13 +02:00
Danny Milosavljevic
ec8c5d027f
gnu: Add openjdk@21.
...
* gnu/packages/java.scm (openjdk21): New variable.
* gnu/packages/patches/openjdk-21-fix-rpath.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
2023-09-21 20:36:13 +02:00
Danny Milosavljevic
fc1b85740a
gnu: Add openjdk@20.
...
* gnu/packages/java.scm (openjdk20): New variable.
2023-09-21 20:36:10 +02:00
Marius Bakke
86507c96ed
teams: Add self to 'python'.
...
* etc/teams.scm.in (Marius Bakke): New person.
2023-09-22 01:42:34 +08:00
Marius Bakke
fdfafaa48c
gnu: python-bwapy: Fix typo.
...
* gnu/packages/bioinformatics.scm (python-bwapy)[synopsis]: Fix typo.
2023-09-22 01:29:21 +08:00
Marius Bakke
86d1f12363
gnu: python-arboreto: Add missing inputs.
...
* gnu/packages/bioinformatics.scm (python-arboreto)[propagated-inputs]: Add
PYTHON-LZ4 and PYTHON-PYARROW.
2023-09-22 01:29:21 +08:00
Marius Bakke
c23e2f61d3
gnu: python-duniterpy: Update to 1.1.1.
...
* gnu/packages/finance.scm (python-duniterpy): Update to 1.1.1.
[build-system]: Switch to PYPROJECT-BUILD-SYSTEM.
[arguments]: Add more tweaks for hard coded version ranges.
[native-inputs]: Add PYTHON-POETRY-CORE.
2023-09-22 01:29:21 +08:00
Marius Bakke
c2e078c602
gnu: python-libnacl: Update to 2.1.0.
...
* gnu/packages/python-crypto.scm (python-libnacl): Update to 2.1.0.
[build-system]: Switch to PYPROJECT-BUILD-SYSTEM.
[arguments]: Adjust hack for locating libsodium. Add custom check phase.
[native-inputs]: Remove PYTHON-PYHAMCREST. Add PYTHON-POETRY-CORE.
2023-09-22 01:29:21 +08:00
Marius Bakke
9032212682
gnu: python-sphinxcontrib-autoprogram: Update to 0.1.8.
...
* gnu/packages/sphinx.scm (python-sphinxcontrib-autoprogram): Update to 0.1.8.
[native-inputs]: Move PYTHON-SPHINX ...
[propagated-inputs]: ... here.
2023-09-22 01:29:21 +08:00
Marius Bakke
d9b13b1e0f
gnu: barectf: Update to 3.1.2.
...
* gnu/packages/instrumentation.scm (barectf): Update to 3.1.2.
[source]: Switch to GIT-FETCH.
[build-system]: Change to PYPROJECT-BUILD-SYSTEM.
[arguments]: Remove version pins. Set CC before building.
[native-inputs]: Add PYTHON-POETRY-CORE and PYTHON-PYTEST. Remove
GCC-TOOLCHAIN, GNU-MAKE, PYTHON-PYYAML-5, and PYTHON-TOX. Move PYTHON-JINJA2,
PYTHON-JSONSCHEMA, and PYTHON-TERMCOLOR ...
[propagated-inputs]: ... here. Add PYTHON-PYYAML.
2023-09-22 01:29:21 +08:00
Marius Bakke
c95fb77781
gnu: python-incremental: Update to 22.10.0.
...
* gnu/packages/python-xyz.scm (python-incremental): Update to 22.10.0.
2023-09-22 01:29:21 +08:00
Marius Bakke
a392ec814f
gnu: python-txaio: Update to 23.1.1.
...
* gnu/packages/python-xyz.scm (python-txaio): Update to 23.1.1.
[build-system]: Change to PYPROJECT-BUILD-SYSTEM.
[propagated-inputs]: Remove.
[native-inputs]: Add PYTHON-PYTEST and PYTHON-TWISTED.
2023-09-22 01:29:21 +08:00
Marius Bakke
767b8586be
gnu: python-hyperlink: Update to 21.0.0.
...
* gnu/packages/python-web.scm (python-hyperlink): Update to 21.0.0.
[build-system]: Change to PYPROJECT-BUILD-SYSTEM.
[arguments]: New field.
[native-inputs]: Add PYTHON-PYTEST.
2023-09-22 01:29:21 +08:00
Marius Bakke
90a3a0b588
gnu: python-psycopg: Update to 3.1.10.
...
* gnu/packages/databases.scm (python-psycopg): Update to 3.1.10.
2023-09-22 01:29:21 +08:00
Marius Bakke
e7fe89d716
gnu: python-psycopg-pool: Update to 3.1.7.
...
* gnu/packages/databases.scm (python-psycopg-pool): Update to 3.1.7.
2023-09-22 01:29:21 +08:00
Marius Bakke
0e25cba87d
gnu: python-uvicorn: Update to 0.23.2.
...
* gnu/packages/python-web.scm (python-uvicorn): Update to 0.23.2.
[build-system]: Switch to PYPROJECT-BUILD-SYSTEM.
[arguments]: Adjust accordingly.
[native-inputs]: Add PYTHON-A2WSGI and PYTHON-HATCHLING.
[propagated-inputs]: Remove PYTHON-ASGIREF.
2023-09-22 01:29:20 +08:00
Marius Bakke
be3c0cf68e
gnu: python-websockets: Update to 11.0.3.
...
* gnu/packages/python-web.scm (python-websockets): Update to 11.0.3.
2023-09-22 01:29:20 +08:00
Marius Bakke
be44b00337
gnu: python-cmarkgfm: Update to 2022.10.27.
...
* gnu/packages/markup.scm (python-cmarkgfm): Update to 2022.10.27.
[arguments]: Remove obsolete phase.
2023-09-22 01:29:20 +08:00
Marius Bakke
36821b23b7
gnu: python-cachetools: Update to 5.3.1.
...
* gnu/packages/python-xyz.scm (python-cachetools): Update to 5.3.1.
* gnu/packages/matrix.scm (python-matrix-nio)[arguments]: Add phase to loosen
cachetools requirement.
2023-09-22 01:29:20 +08:00
Marius Bakke
a0aff95db9
gnu: python-distlib: Don't reference the implicit bash input.
...
* gnu/packages/python-xyz.scm (python-distlib)[inputs]: Add BASH-MINIMAL.
[arguments]: Use SEARCH-INPUT-FILE instead of WHICH.
2023-09-22 01:29:20 +08:00
Marius Bakke
c08b919b67
gnu: python-distlib: Update to 0.3.7.
...
* gnu/packages/python-xyz.scm (python-distlib): Update to 0.3.7.
[build-system]: Switch to PYPROJECT-BUILD-SYSTEM.
[arguments]: Remove redundant phases.
[native-inputs]: Remove PYTHON-PYPA-BUILD.
2023-09-22 01:29:20 +08:00
Marius Bakke
9d285c8beb
gnu: python-platformdirs: Update to 3.10.0.
...
* gnu/packages/python-xyz.scm (python-platformdirs): Update to 3.10.0.
[build-system]: Switch to PYPROJECT-BUILD-SYSTEM.
[native-inputs]: Add PYTHON-HATCHLING and PYTHON-HATCH-VCS. Remove
PYTHON-SETUPTOOLS-SCM.
2023-09-22 01:29:20 +08:00
Marius Bakke
73c8574314
gnu: python-bleach: Update to 6.0.0.
...
* gnu/packages/python-xyz.scm (python-bleach): Update to 6.0.0.
[propagated-inputs]: Remove PYTHON-WEBENCODINGS.
2023-09-22 01:29:20 +08:00
Marius Bakke
8e9a2932d6
gnu: python-django@4: Update to 4.2.5.
...
* gnu/packages/django.scm (python-django-4.0): Rename to ...
(python-django-4.2): ... this. Update to 4.2.5.
(python-django-3.2): Adjust inherits accordingly.
2023-09-22 01:29:20 +08:00
Marius Bakke
c909cf9f03
gnu: python-asgiref: Update to 3.7.2.
...
* gnu/packages/python-web.scm (python-asgiref): Update to 3.7.2.
[native-inputs]: Add PYTHON-MYPY.
[propagated-inputs]: Add PYTHON-TYPING-EXTENSIONS.
2023-09-22 01:29:20 +08:00
Marius Bakke
0b0a33665c
gnu: python-django@3.2: Update to 3.2.21.
...
* gnu/packages/django.scm (python-django-3.2): Update to 3.2.21.
2023-09-22 01:29:20 +08:00
Marius Bakke
1af18a07d3
gnu: python-pytest-django: Update to 4.5.2.
...
* gnu/packages/django.scm (python-pytest-django): Update to 4.5.2.
[native-inputs]: Remove PYTHON-DJANGO and PYTHON-PYTEST-XDIST.
2023-09-22 01:29:19 +08:00
Marius Bakke
b8113fce02
gnu: python-pkginfo: Update to 1.9.6.
...
* gnu/packages/python-xyz.scm (python-pkginfo): Update to 1.9.6.
[build-system]: Switch to PYPROJECT-BUILD-SYSTEM.
[native-inputs]: Remove PYTHON-WHEEL. Add PYTHON-PYTEST.
2023-09-22 01:29:19 +08:00
Marius Bakke
977dbf2588
gnu: python-daemon: Update to 3.0.1.
...
* gnu/packages/python-xyz.scm (python-daemon): Update to 3.0.1.
[arguments]: Skip two more tests.
[propagated-inputs]: Add PYTHON-PACKAGING and PYTHON-SETUPTOOLS.
[native-inputs]: Remove PYTHON-COVERAGE, PYTHON-TWINE, and PYTHON-MOCK.
2023-09-22 01:29:19 +08:00
Marius Bakke
9d87b400a6
gnu: python-deprecated: Update to 1.2.14.
...
* gnu/packages/python-xyz.scm (python-deprecated): Update to 1.2.14.
2023-09-22 01:29:19 +08:00
Marius Bakke
7bdf4aa3bb
gnu: python-flex: Update to 6.14.1.
...
* gnu/packages/python-xyz.scm (python-flex): Update to 6.14.1.
[propagated-inputs]: Remove PYTHON-ISO8601. Add PYTHON-STRICT-RFC3339.
2023-09-22 01:29:19 +08:00