~ruther/guix-local

2b067203 — Sharlatan Hellseher 4 months ago
gnu: python-txamqp: Move to python-web.

* gnu/packages/python-xyz.scm (python-txamqp): Move from here ...
* gnu/packages/python-web.scm: ... to here.

Change-Id: I992d90d280971140ec3bad5bae3bbdc91fe04d12
45baa026 — Sharlatan Hellseher 4 months ago
gnu: python-txamqp: Switch to pyproject.

* gnu/packages/python-xyz.scm (python-txamqp)[build-system]: Switch to
pyproject-build-system.
[arguments] <tests?>: All tests are broken due to age of the package.
[native-inputs]: Add python-setuptools.

Change-Id: I55fa657a1e5d11d4bc554ff8ca933d9c3bc9a8d1
19c2933c — Sharlatan Hellseher 4 months ago
gnu: python-txsni: Move to python-web.

* gnu/packages/python-xyz.scm (python-txsni): Move from here ...
* gnu/packages/python-web.scm: ... to here.

Change-Id: Iec202f8ddc7d0f36d383aa679e35847b8f4082dd
f0a484cc — Sharlatan Hellseher 4 months ago
gnu: python-txsni: Update to 0.2.0.

* gnu/packages/python-xyz.scm (python-txsni): Update to 0.2.0. Improve
style.
[source]: Use the latest git tag instead of commit.
[build-system]: Switch to pyproject-build-system.
[arguments] <test-backend>: Use 'custom.
<test-flags>: Run tests with twisted.
[native-inputs]: Add python-setuptools.

Change-Id: Ic65f89a40f07378b9743471b1be5f247ba5e27e0
37759ed4 — Nicolas Graves 4 months ago
gnu: python-progressbar33: Switch to pyproject.

* gnu/packages/python-xyz.scm (python-progressbar33):
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[arguments]: Run custom tests.
[native-inputs]: Add python-setuptools.

Change-Id: I513b8fb678b6c0e7a676d6d2404f007efd2ffbbf
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
947f2bf7 — Nicolas Graves 4 months ago
gnu: python-progress: Switch to pyproject.

* gnu/packages/python-xyz.scm (python-progress):
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[arguments]<#:test-backend, #:test-flags>: Set them.
[native-inputs]: Add python-setuptools.
[description]: Improve style.

Change-Id: Ic1b2d829c77a60a90eb399160c144b515d047164
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
9ffcd076 — Nicolas Graves 4 months ago
gnu: python-promise: Update to 2.3.0.

* gnu/packages/python-xyz.scm (python-promise): Update to 2.3.0.
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[arguments]<#:test-flags>: Ignore failing tests.
[native-inputs]: Add python-mock, python-pytest,
python-pytest-asyncio, python-setuptools.
[propagated-inputs]: Add python-six.
[description]: Improve style.

Change-Id: Ibdec3dc276f68a8fd68c569d215370fbc7379801
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
bd252e13 — Nicolas Graves 4 months ago
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>
2853d37e — Nicolas Graves 4 months ago
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>
1d169d84 — Nicolas Graves 4 months ago
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>
614f5413 — Nicolas Graves 4 months ago
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>
f45883c0 — Nicolas Graves 4 months ago
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>
c09bc113 — Nicolas Graves 4 months ago
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>
4983e227 — Nicolas Graves 4 months ago
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>
5dec4cf3 — Sharlatan Hellseher 5 months ago
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
ac1fb33f — Sharlatan Hellseher 4 months ago
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
159931a9 — Sharlatan Hellseher 4 months ago
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
3af52f84 — Congcong Kuo 7 months ago
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>
cbda9256 — Konrad Hinsen 4 months ago
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>
496ee0c0 — Cayetano Santos 6 months ago
gnu: Add onednn.

* gnu/packages/oneapi.scm (onednn): New variable.

Change-Id: I10e5446aefea2978134495d25b9df504114a7530
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Next