From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 25 06:15:18 2024 Received: (at submit) by debbugs.gnu.org; 25 Feb 2024 11:15:18 +0000 Received: from localhost ([127.0.0.1]:36444 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1reCTV-0005Hr-PC for submit@debbugs.gnu.org; Sun, 25 Feb 2024 06:15:18 -0500 Received: from lists.gnu.org ([209.51.188.17]:47778) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1reCTT-0005Hg-ID for submit@debbugs.gnu.org; Sun, 25 Feb 2024 06:15:16 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1reBmo-0001Yv-W1 for guix-patches@gnu.org; Sun, 25 Feb 2024 05:31:11 -0500 Received: from mout-p-202.mailbox.org ([2001:67c:2050:0:465::202]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1reBmm-0005b7-I5 for guix-patches@gnu.org; Sun, 25 Feb 2024 05:31:10 -0500 Received: from smtp1.mailbox.org (smtp1.mailbox.org [10.196.197.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-202.mailbox.org (Postfix) with ESMTPS id 4TjKlm29Mhz9smG for ; Sun, 25 Feb 2024 11:31:00 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=troyfigiel.com; s=MBO0001; t=1708857060; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=wVJ+3Kz5QPccPG4E1bFo08xK/5jEzTzH9gO5AH2WqLI=; b=YjVA5gIKJY5qzLkP9CnlwiaIYeDjXIBgIbQGfKzRFx31ArBlfacxFvNQW5hSdKssdiP4JZ V40yQoXh+lmuwtJdp0P3R1pOMaA/sx5RIkvRb1EHaBMqjslNEcLguzdptuncX69/0h+nRW iNca6137lgvLU2+pCivQPkRT999kmoIs6QMkknR9L6auSufgRZghMwTOrq3CPP7agS/C4a sDrLNzJQjv7uX7WADCH+1m3nTiZy2tvdgkKKBKM/RMGzyxUxOF26UfqeLEQi4ovzT3oXEW zsPStgqjVBn8Ovf6sf9Dj9UfF93rXvLVCcKv/I+wvx4XzAkodwifDHamJ0xkkA== From: Troy Figiel To: guix-patches@gnu.org Subject: [PATCH 0/2] gnu: Add go-github-com-tklauser-go-sysconf. Date: Sun, 25 Feb 2024 11:29:12 +0100 Message-ID: <878r38al98.fsf@troyfigiel.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2001:67c:2050:0:465::202; envelope-from=troy@troyfigiel.com; helo=mout-p-202.mailbox.org X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, TVD_SPACE_RATIO=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) This patch series adds go-github-com-tklauser-go-sysconf and its dependency go-github-com-tklauser-numcpus. Troy Figiel (2): gnu: Add go-github-com-tklauser-numcpus. gnu: Add go-github-com-tklauser-go-sysconf. gnu/packages/golang-xyz.scm | 74 +++++++++++++++++++++++++++++++++++++ 1 file changed, 74 insertions(+) base-commit: 1306beaf3f6c8ddded2a956f5863bc65aad78882 -- 2.42.0 From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 25 06:25:50 2024 Received: (at 69379) by debbugs.gnu.org; 25 Feb 2024 11:25:50 +0000 Received: from localhost ([127.0.0.1]:37299 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1reCdi-0005zV-5n for submit@debbugs.gnu.org; Sun, 25 Feb 2024 06:25:50 -0500 Received: from mout-p-102.mailbox.org ([80.241.56.152]:52250) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1reCde-0005z9-7B for 69379@debbugs.gnu.org; Sun, 25 Feb 2024 06:25:48 -0500 Received: from smtp102.mailbox.org (smtp102.mailbox.org [10.196.197.102]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-102.mailbox.org (Postfix) with ESMTPS id 4TjLyK1Nt4z9sb6 for <69379@debbugs.gnu.org>; Sun, 25 Feb 2024 12:25:13 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=troyfigiel.com; s=MBO0001; t=1708860313; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=umLENbHl+Noig/HNHdP0k+idwjQaQsj0fWQa3i6AIYA=; b=oHrbpmYPWhu4Gq4xQdmiPSOw37sIgz1CdTIFZ4LSPdUbY3rBZGYf1DdTwioylTzVnhyRs8 LwbcU6FK/02e/xIvI+No7Wg5BSZNzeHVjQT3xqyr8Rq8O1bnC+usU2SuIM5/Ba63wRw4b+ /n6UALVLWrczvrRwQoLK3ak4IoHgvL1sEYdWorfC2BBzz8tJbAjegmQrP7XMnPqiVrHX1k MfOKl2AJ59b8/ZQQIyZjRyx1bAPIkxrF2cJpXJyqwzBzmy7fXEGDX1zT9LUInqlhszWo30 2SWInDkSGDCrbMNP/t1cgGU4oSA78sTUUiOZ/o8P3k5WyTdRBV2dTmKmCd/aGg== From: Troy Figiel To: 69379@debbugs.gnu.org Subject: [PATCH 1/2] gnu: Add go-github-com-tklauser-numcpus. Date: Sun, 25 Feb 2024 11:22:00 +0100 Message-ID: <877cisaiqz.fsf@troyfigiel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 69379 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) * gnu/packages/golang-xyz.scm (go-github-com-tklauser-numcpus): New variabl= e. --- gnu/packages/golang-xyz.scm | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index e68948e495..ad6b8f04e6 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -15,6 +15,7 @@ ;;; Copyright =C2=A9 2023 Timo Wilken ;;; Copyright =C2=A9 2023, 2024 Sharlatan Hellseher ;;; Copyright =C2=A9 2024 Artyom V. Poptsov +;;; Copyright =C2=A9 2024 Troy Figiel ;;; ;;; This file is part of GNU Guix. ;;; @@ -1189,6 +1190,42 @@ (define-public go-github-com-stathat-go (home-page "https://github.com/stathat/go") (license license:expat)))) =20 +(define-public go-github-com-tklauser-numcpus + (package + (name "go-github-com-tklauser-numcpus") + (version "0.7.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/tklauser/numcpus") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1xcwk42zr6q72zvkqdd9nbyhvq11rmwm2164mr2rvbb9z7alkff8")))) + (build-system go-build-system) + (arguments + (list + #:go go-1.18 + #:import-path "github.com/tklauser/numcpus" + #:phases #~(modify-phases %standard-phases + (add-before 'check 'remove-failing-tests + (lambda* (#:key import-path #:allow-other-keys) + (with-directory-excursion (string-append "src/" + import-pat= h) + (for-each delete-file-recursively + ;; These tests try to access + ;; /sys/devices/system/cpu, which is not + ;; available in the test environment. + '("numcpus_test.go" "numcpus_linux_test= .go")))))))) + (propagated-inputs (list go-golang-org-x-sys)) + (home-page "https://github.com/tklauser/numcpus") + (synopsis "Provides information about the number of CPUs in the system= ") + (description + "This package provides both library functions and a command-line tool= to +query information regarding the number of CPUs available to the system.") + (license license:asl2.0))) + (define-public go-go-uber-org-automaxprocs (package (name "go-go-uber-org-automaxprocs") --=20 2.42.0 From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 25 06:26:03 2024 Received: (at 69379) by debbugs.gnu.org; 25 Feb 2024 11:26:03 +0000 Received: from localhost ([127.0.0.1]:37313 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1reCdu-00060V-M9 for submit@debbugs.gnu.org; Sun, 25 Feb 2024 06:26:03 -0500 Received: from mout-p-101.mailbox.org ([80.241.56.151]:40482) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1reCdt-0005zm-7E for 69379@debbugs.gnu.org; Sun, 25 Feb 2024 06:26:01 -0500 Received: from smtp1.mailbox.org (smtp1.mailbox.org [IPv6:2001:67c:2050:b231:465::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-101.mailbox.org (Postfix) with ESMTPS id 4TjLyc4DWRz9sRx for <69379@debbugs.gnu.org>; Sun, 25 Feb 2024 12:25:28 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=troyfigiel.com; s=MBO0001; t=1708860328; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=S7nA9BU0TKW+eav86mwpU0ZrkzBTn2fU8NrB/7LdmmE=; b=Ixf+Ta+3GSgiUsoEeIZ/ASgn8ENVZQYwZGpzlG/W7CGK11xefIctziRg9cEguAu+A/U42a dl0IFPXjjnHLCA87FceE7ZfFgrUKgYKRd/ASYUaHOhiqv5sOq9kLDNgd14kpttiY+c9WlH fqDEaeLyxOU4jnVu+FwM73/MaYEl0OoKMoiNR8Bb3b0lTCNe9KK9y3tJhx6CJ/yi9XqAnU 5Ve3JWbdENxoevMWfTdPcVQMYAkcpnR709DQIoSkPuzn88bU3oJNo47Px/49j4x5QMjx6a mkPRxeI7gpymkMTfZSnSv2NKhcLqTefRQr9zcT/RwYFJr+dWLzfumr7UALGbTg== From: Troy Figiel To: 69379@debbugs.gnu.org Subject: [PATCH 2/2] gnu: Add go-github-com-tklauser-go-sysconf. Date: Sun, 25 Feb 2024 11:24:41 +0100 Message-ID: <875xycaiqf.fsf@troyfigiel.com> MIME-Version: 1.0 Content-Type: text/plain X-Rspamd-Queue-Id: 4TjLyc4DWRz9sRx X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 69379 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) * gnu/packages/golang-xyz.scm (go-github-com-tklauser-go-sysconf): New variable. --- gnu/packages/golang-xyz.scm | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index ad6b8f04e6..1badc3856c 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -1190,6 +1190,43 @@ (define-public go-github-com-stathat-go (home-page "https://github.com/stathat/go") (license license:expat)))) +(define-public go-github-com-tklauser-go-sysconf + (package + (name "go-github-com-tklauser-go-sysconf") + (version "0.3.13") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/tklauser/go-sysconf") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "07vkimncnmh89706s49599h2w9gwa6jyrv70f8ifw90nsh766km9")))) + (build-system go-build-system) + (arguments + (list + #:go go-1.18 + #:import-path "github.com/tklauser/go-sysconf" + #:phases #~(modify-phases %standard-phases + (add-before 'check 'remove-failing-tests + (lambda* (#:key import-path #:allow-other-keys) + (delete-file-recursively + ;; sysconf_test.go (among others) tries to read the + ;; number of online CPUs using /proc/stat and + ;; /sys/devices/system/cpu/online. These files are not + ;; accessible in the test environment. + (string-append "src/" import-path + "/cgotest/sysconf_test.go"))))))) + (propagated-inputs (list go-golang-org-x-sys + go-github-com-tklauser-numcpus)) + (home-page "https://github.com/tklauser/go-sysconf") + (synopsis "Go implementation of @code{sysconf}") + (description + "This package implements @code{sysconf} and provides the associated +@code{SC_*} constants to query system configuration values at run time.") + (license license:bsd-3))) + (define-public go-github-com-tklauser-numcpus (package (name "go-github-com-tklauser-numcpus") -- 2.42.0 From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 06 18:55:26 2024 Received: (at 69379-done) by debbugs.gnu.org; 6 Mar 2024 23:55:27 +0000 Received: from localhost ([127.0.0.1]:52001 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ri16c-0000yb-GZ for submit@debbugs.gnu.org; Wed, 06 Mar 2024 18:55:26 -0500 Received: from mail-wr1-f45.google.com ([209.85.221.45]:55665) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ri16a-0000yM-7i for 69379-done@debbugs.gnu.org; Wed, 06 Mar 2024 18:55:25 -0500 Received: by mail-wr1-f45.google.com with SMTP id ffacd0b85a97d-33e4c676f0aso110136f8f.3 for <69379-done@debbugs.gnu.org>; Wed, 06 Mar 2024 15:54:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1709769227; x=1710374027; darn=debbugs.gnu.org; h=mime-version:message-id:date:subject:to:from:from:to:cc:subject :date:message-id:reply-to; bh=XujVL4Eb4xYV1/BIGn3j1uiNP3+KoIBtMrUT/8N7S78=; b=EWIhanmmH/ighXv+j9KZbKWXTilq9inrcYM37ySQvwWUVf3L3TzRADb+6c3ehI0ZAJ 3ieTPr3KxmO4WsHgPi7d/C6KMNiooZhws3ADdWdPYTFQITTzNySKFFG7rQo8uWpvBybT A32MzdN10Gmn2leXQuTNWQlyt7moaQ1ycBPtXC/mJakhG0GInwBEuH+vUdJ1fTMfGFtb 3u6un4r60/I2VskAmlv8DEwb+wLDmX1X1+OfTEY8FsAsKKT2HbhBp7U27sRNdXeKNYT9 qgxjCFs6DwROwTPR+6fkCfjHk1FtuE16enF7RQ6+aPciCjIU7+laN3dtFfUWbo2vxjqu GGTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709769227; x=1710374027; h=mime-version:message-id:date:subject:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=XujVL4Eb4xYV1/BIGn3j1uiNP3+KoIBtMrUT/8N7S78=; b=R13eFE0lHmH5xcisgWtfRYTCXFo4Snv6lCzb38iRy0g1G+FUdHzGxD1er/j0VFWU+p Ufzh1e6keYbxG/xsHbO15ArRM9zuCJIadSJm9jpPlPlJ12sKXphIs0Q7sxx3ZRRLKUq8 B9GoO2/WuJSWfdzTupUvbsZUxelYmd0P0C4rfNee+2KgE7x4ad/aNMCrcvcIW2KVhYt+ xIsRYxal6mF7fGJ1xrU9OdzDymT3s4gayG+Ms8icqjrDddHDsLbVxC+wuSBgHtvNDAeU FnpnB1ejGwH6TZp9H32me3x7IZSPFLrOUu/7iqVotyXAaa2cF8D5xlgHUclmONqCb/45 bJUw== X-Gm-Message-State: AOJu0YyJ+1c8F2Nssvhww5Pf48iiphi4L9UPYGAMttiZ8QbEAdiX2r4J YoNDWrNYIyE3VmqjT7dRapZ+RMNEZlM68f64jPjcbW3j+oIebd+30Fdg+v3xG5w= X-Google-Smtp-Source: AGHT+IGy+36kWr3HbwPKtp7GRTUvqwE7KPi5Ap/EuqueTHEm9ov+mWxU5gdgVstceak2MCKuwAc4lQ== X-Received: by 2002:adf:e587:0:b0:33e:6056:6b7d with SMTP id l7-20020adfe587000000b0033e60566b7dmr508244wrm.52.1709769227010; Wed, 06 Mar 2024 15:53:47 -0800 (PST) Received: from guxtil (cpc100856-bagu15-2-0-cust368.1-3.cable.virginm.net. [82.25.93.113]) by smtp.gmail.com with ESMTPSA id bw1-20020a0560001f8100b0033d6bc17d0esm19214837wrb.74.2024.03.06.15.53.46 for <69379-done@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Mar 2024 15:53:46 -0800 (PST) From: Sharlatan Hellseher To: 69379-done@debbugs.gnu.org Subject: [PATCH 0/2] gnu: Add go-github-com-tklauser-go-sysconf. Date: Wed, 06 Mar 2024 23:53:43 +0000 Message-ID: <87frx26ho8.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 69379-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --==-=-= Content-Type: text/plain Pushed as 548a4ac51c..bd4c6bbf0a to master. -- Oleg --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEmEeB3micIcJkGAhndtcnv/Ys0rUFAmXpAgcACgkQdtcnv/Ys 0rUy0xAAiiTRfvlr4Lau2XyW/R+wg34ABzHsOvttmp4AdgQWsYj4XBKXjiu1ojiN Q01yf0apmXJrSeaGTxqZjJvmDu6jZbQQhsYAQUDBpVGO2hApAuAzabo5R3Q5SQTA z3zihnplDcAuajvzNq/MoFPpzqfi8GrFH5MtqRpFEfj89RWCzDDqW6z9w0Vt6q1f 1FNvPARPfXYF3Qp75ugzCMvdf/7ofSqoQGjzmFMMEAu+s5Pksx/ukIQqUSROEKWM TXK0HP2+LFISdDpBMZJF/xl4mz2UFS8K2F25f3Zr7hAwzbl/1VBWhZoboAHKrCPJ HAGxR+gWj1nKttyAbLaX1FmMizZlJwFJQDU3RzVI0mR4xuwejDdh3VEjEbuvTFWS x6ac4mRcoNEZ3c9WyPJyThdOZj0ajPr7U2qT2fqazdwKH3SFRptCgWYm6XGd2xYZ Uae7nWH2d1pDEXUF1uPHk3cdGo05Yxl5b48YW3HoFuouCdCor/jAl0sKPyt7h3xs 2Drkda29urdfaBFCZWWmg9H0P2ltpc0wTOScp4uPE4L5dHJyrXYa7Vx5JEqSTtwx BOw1wiXgTMWHX6w1P3fwLCt+U4aG86aRMAQcfFEEoOGfm40vxrr7Nw8iRY8ANqmf PdofT/cfptEZ7pmkp0G0WNptOR4WxtTYtRQyGZAlbLMX9+mvSa0= =d5w7 -----END PGP SIGNATURE----- --==-=-=-- From unknown Mon Jun 23 04:13:34 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 04 Apr 2024 11:24:25 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator