gnu: python-hissp: Update to 0.5.0.
* gnu/packages/python-xyz.scm (python-hissp): Update to 0.5.0.
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[arguments]<#:test-backend>: Set it.
[native-inputs]: Add python-hypothesis, python-setuptools.
[description]: Improve style.
Change-Id: I8262a093a32777003deda3eefb8704c1eff5cc73
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
gnu: python-rply: Switch to pyproject.
* gnu/packages/python-xyz.scm (python-rply):
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[arguments]<#:test-flags>: Ignore file that fails test collection and
requires an additional argument.
<#:phases>: Add phase 'fix-pytest-use.
[native-inputs]: Add python-pytest, python-setuptools.
Change-Id: I31428106bfbd044fa2e696e263c7459a1cad84ea
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
gnu: python-click-log: Switch to pyproject.
* gnu/packages/python-xyz.scm (python-click-log):
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[native-inputs]: Add python-pytest, python-setuptools.
[description]: Improve style.
Change-Id: I59b78645cfcd6c74a0420e121df8f40977407c11
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
gnu: python-click-threading: Switch to pyproject.
* gnu/packages/python-xyz.scm (python-click-threading):
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[native-inputs]: Add python-pytest, python-setuptools.
[description]: Improve style.
Change-Id: I5d8bc8a10eb0a2580f7930c4cac72f34272235b0
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
gnu: python-atomicwrites: Switch to pyproject.
* gnu/packages/python-xyz.scm (python-atomicwrites):
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[arguments]: Remove them.
[native-inputs]: Add python-setuptools.
[description]: Improve style.
Change-Id: I1cc040e89d1971b77def03502b95b173b860df35
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
gnu: python-texttable: Switch to pyproject.
* gnu/packages/python-xyz.scm (python-texttable):
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[arguments]: Use <#:test-flags> rather than <#:phases>.
[native-inputs]: Add python-setuptools.
[synopsis, description]: Improve style.
Change-Id: I4cbbf4c453c45365a869f53c59a0b19c6fb48f25
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
gnu: python-connection-pool: Switch to pyproject.
* gnu/packages/python-xyz.scm (python-connection-pool):
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[arguments]<#:tests?>: Disable them.
[native-inputs]: Add python-setuptools.
[description]: Improve style.
Change-Id: If13e840c63d4ed48341739c3c6bb8666b3167942
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
teams: sysadmin: Adopt samba.
- samba :: Module provides packages maintained by
<https://www.samba.org/> and implement the SMB and
Active Directory protocols for Linux and UNIX-like systems.
* etc/teams.scm (sysadmin)<#:scope>: Add "gnu/packages/samba.scm",
and "gnu/packages/vnc.scm".
* CODEOWNERS: Regenerate file.
Change-Id: Id6cd94a47b591488b6e2ed220e3354ba30c461ce
gnu: python-fs: Fix build on cross compilation.
* gnu/packages/python-xyz.scm (python-fs)[arguments] <test-flags>: Move
option here instead of overwriting 'check phase.
<phases>: Use default 'check; add 'pre-check.
[native-inputs]: Keep python-setuptools away from condition.
Fixes: guix/guix#3656
Change-Id: I247a70ea9d3fbc94a748973dd4a273341408fea9
gnu: python-pyftpdlib: Skip one test on aarch64-linux.
* gnu/packages/python-xyz.scm (python-pyftpdlib)[arguments]
<test-flags>: Conditionally deselect one test when target is
aarch64-linux.
Change-Id: I027207d97a7ee24e5482bf676b7b108d2789946e
daemon: Bump to C++20 and use ‘std::format’ instead of ‘boost::format’.
* nix/boost: This directory and all files inside it are removed.
* nix/libstore/build.cc (Goal::trace): Use ‘std::string’ instead of ‘const format &’.
(DerivationGoal::startBuilder, ...): Use ‘std::format’ or ‘std::vformat’ instead of ‘boost::format’.
* nix/libstore/builtins.cc (builtinDownload): Same.
* nix/libstore/derivations.cc (DerivationOutput::parseHashInfo, ...): Same.
* nix/libstore/gc.cc (LocalStore::openGCLock, ...): Same.
* nix/libstore/globals.cc (Settings::_get): Same.
* nix/libstore/local-store.cc: (checkStoreNotSymlink, ...): Same.
* nix/libstore/misc.cc (dfsVisit, showBytes): Same
* nix/libstore/optimise-store.cc (makeWritable, ...): Same.
* nix/libstore/pathlocks.cc (openLockFile, ...): Same.
* nix/libstore/references.cc (search, scanForReferences): Same.
* nix/libstore/sqlite.hh (throwSQLiteError): Use ‘std::string’ instead of ‘const format &’.
* nix/libstore/sqlite.cc (throwSQLiteError): Use ‘std::string’ instead of ‘const format &’.
* nix/libstore/store-api.cc (assertStorePath, ...): Use ‘std::format’ instead of ‘boost::format’.
* nix/libutil/affinity.cc (setAffinityTo): Same.
* nix/libutil/archive.cc (dumpContents, ...): Same.
* nix/libutil/hash.cc (parseHash, parseHash32, parseHash16or32, hashFile): Same.
* nix/libutil/hash.hh (parseHash, parseHash32, parseHash16or32, isHash): Same.
* nix/libutil/serialise.cc : Add ‘<cassert>’ header file.
* nix/libutil/spawn.cc (addPhaseAfter, ...): Use ‘std::format’ instead of ‘boost::format’.
* nix/libutil/types.hh (FormatOrString): Removed.
(BaseError, BaseError::addPrefix, SysError, MakeError):
Use ‘std::string or std::string_view’ instead of ‘FormatOrString’.
* nix/libutil/util.hh (Nest::open, printMsg_, warnOnce, expect): Same.
* nix/libutil/util.cc (BaseError::BaseError, ...): Same.
(writeToStderr, _interrupted): Use std::uncaught_exceptions() instead of std::uncaught_exception()
* nix/nix-daemon/nix-daemon.cc (performOp, ...): Same.
* nix/nix-daemon/guix-daemon.cc (string_to_bool, ...): Same.
* nix/local.mk: Remove ‘libformat.a’ from ‘noinst_LIBRARIES’,
remove ‘libformat_a_SOURCES’ and ‘libformat_headers’,
remove ‘libformat_a_CPPFLAGS’ from ‘libutil_a_CPPFLAGS’ and ‘guix_daemon_LDADD’,
update ‘AM_CXXFLAGS’ to ‘-std=c++20’.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
doc: cookbook: Minor correction to "Reproducible Research" chapter.
* doc/guix-cookbook.texi (Setting Up the Environment): Reword.
Change-Id: Ifaf8b3231fe1b3007dbaaf7005c249fbcdf1deb2
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
gnu: Add onednn.
* gnu/packages/oneapi.scm (onednn): New variable.
Change-Id: I10e5446aefea2978134495d25b9df504114a7530
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
gnu: Add python-onetbb.
* gnu/packages/oneapi.scm (python-onetbb): New variable.
Change-Id: If03bd2a7934478908fc00b6c76ab5fb871647af6
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
gnu: Add onetbb.
* gnu/packages/oneapi.scm (onetbb): New variable.
* gnu/packages/patches/onetbb-other-arches.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register them.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add new module.
Change-Id: Id00fffb79ebc74ca1d65ba79ff2f28af1e07ef9a
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
tests: guix-daemon.sh: Ignore guile locale warning.
Ignore "guile: warning: failed to install locale" lines
in the examined build log file. They are irrelevant for
this particular test and cause unexpected errors.
This commit contains the following changes:
M tests/guix-daemon.sh
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
gnu: Unregister non existing and unused patch.
This is a follow-up to commit 4d86f0a3126ddb8eb2678e3dcd264a342b6e8e78 .
* gnu/local.mk (dist_patch_DATA): Unregister trytond-hack-import.patch.
Change-Id: I43ad3a0ed4ac6df1085a9a501e265e793e6cdf35
gnu: python-febelfin-coda: Update to 0.3.0.
* gnu/packages/python-xyz.scm (python-febelfin-coda): Update to 0.3.0.
Change-Id: Icbe0009785e19456dc28eddc2f90d816c409863f
gnu: tryton.scm: Remove deprecated package aliases.
These are deprecated since four years now.
* gnu/packages/tryton.scm (python-trytond-account,
python-trytond-account-invoice, python-trytond-account-invoice-stock,
python-trytond-account-product, python-trytond-analytic-account,
python-trytond-company, python-trytond-country, python-trytond-currency,
python-trytond-party, python-trytond-product, python-trytond-purchase,
python-trytond-purchase-request, python-trytond-stock,
python-trytond-stock-lot, python-trytond-stock-supply): Remove variable.
Change-Id: I1002091a5eec1666fcca61509cfcbbd13200fe4e