From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id IDieCQffXGcvjQAA62LTzQ:P1 (envelope-from ) for ; Sat, 14 Dec 2024 01:27:35 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id IDieCQffXGcvjQAA62LTzQ (envelope-from ) for ; Sat, 14 Dec 2024 02:27:35 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=REjS1Lmw; dkim=fail ("headers rsa verify failed") header.d=cyberdimension.org header.s=dkim header.b=hc4cr9OQ; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1734139654; a=rsa-sha256; cv=none; b=kw8nVpi8GlBO+L/NahaJrUrQbXxcq7+pg3lJ5uvifQKLckBns3H5IwVs2zh0uv0MJokqCW gAaSpZ6XyZw7pLceHBhm8IHVHXMiVydd3HrBTGH0hCvUBmUd38p0w6+TDIejGdDedg4lI+ YIgO1bjKatGq6opwXtxtNZouDBEY7B7B6JvTEWCytP7xFi0yj6XoOn5616QSyT1SjwiA3X P2TAFfRw0t590DN3kZrukl8BpTRAQ26fY1zSwvbuM5sk+81o90Nh+OfQ9B5wjemxEjjtL+ PiUw5ifXonzAaTwW1nvmC34IU66fT4hItcaNtQ1/E3UVaeFc43PdEYitsIVlSA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=REjS1Lmw; dkim=fail ("headers rsa verify failed") header.d=cyberdimension.org header.s=dkim header.b=hc4cr9OQ; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1734139654; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=VrQbl8Oardru4dVfecqKyzyl7pUW1CLO884cFrq3MSE=; b=e6X7fY5bxg+pEbt37mVeeci/Sj3+UJ9dP7snutuE+8s6KAXGUibdcmHBck8ltiqvGvQ21q KrEB08o0f11FeFQ2EFw1PHvcTzfbCzTGZuto8i/gIG3umc8J5AN+Mrg+DgPr0tNKOPNhrp SpDuj+T50xfnTmqpQIRJKVNwiiKoo6PrTicEvpHC15+XuRGuS4VKCxeBYRK2jkUKrIeHp8 OdbOa4mUNbCY+9t5TKDXjAzEIU5yMPpBm2eRnOYnvKEgRv67P49LNgyDthT6im5br9l+s4 d6hq+AKPUFkgt8LCJqH8i/X8xCeOcW9ZAGIJgmJqorkFmoaT7TcArNOSxa6leA== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 940A46112B for ; Sat, 14 Dec 2024 02:27:34 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tMGvx-00089Y-OG; Fri, 13 Dec 2024 20:27:05 -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 1tMGvv-00089H-TR for guix-patches@gnu.org; Fri, 13 Dec 2024 20:27:04 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tMGvv-0002vS-L5 for guix-patches@gnu.org; Fri, 13 Dec 2024 20:27:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:Subject; bh=VrQbl8Oardru4dVfecqKyzyl7pUW1CLO884cFrq3MSE=; b=REjS1Lmw09+vni+2Vp3Yu8AiitQlzKtQInRS9yeiGqvqo35grvQgO9EuI/z7QaQiyDxxIvL5yDizPnsRayd8FyJ84nsMyEcVGin7Bv3YrnHyuHzIkWP87GC59dNfxwYbVeS296LEi884DYintuS73bgYIoEumw798KvVYUv9a8GTAT90SKwVASSBtARy1RcfkmUUqeUPootDjl0MRFYm12gguK/9+xosh7LJXBiB9KbrN7n3MxomJDMnUOOwLCfJtq2iZnkpyt7btY2ygGtmIpZ0/Bz2ECVGB2cdth++iQkkd0RrHrSAk1fX/hlyx8BIGuI4V3eIuz+yQgHeZsXi3A==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tMGvu-0000Ro-Pk for guix-patches@gnu.org; Fri, 13 Dec 2024 20:27:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74864] [PATCH] gnu: Add adl-submit.py Resent-From: Denis 'GNUtoo' Carikli Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 14 Dec 2024 01:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 74864 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74864@debbugs.gnu.org Cc: Denis 'GNUtoo' Carikli X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.17341395831658 (code B ref -1); Sat, 14 Dec 2024 01:27:02 +0000 Received: (at submit) by debbugs.gnu.org; 14 Dec 2024 01:26:23 +0000 Received: from localhost ([127.0.0.1]:44870 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tMGvD-0000Qc-4H for submit@debbugs.gnu.org; Fri, 13 Dec 2024 20:26:23 -0500 Received: from lists.gnu.org ([209.51.188.17]:59282) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tMGvA-0000QQ-Rs for submit@debbugs.gnu.org; Fri, 13 Dec 2024 20:26:18 -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 1tMGvA-000864-5Q for guix-patches@gnu.org; Fri, 13 Dec 2024 20:26:16 -0500 Received: from cyberdimension.org ([2001:678:938:3ff::36] helo=rockpro64.cyberdimension.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1tMGv7-0002qz-2g for guix-patches@gnu.org; Fri, 13 Dec 2024 20:26:15 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=dkim; bh=my7tkBykN7M/7N/ YWIJUUqCzDVKkr0KKrvAtF2hETVI=; h=date:subject:cc:to:from; d=cyberdimension.org; b=hc4cr9OQvfTof9FcaCUHFs81J3vYWuZEyD+cD8581VAs1E TeUrLacUCmIVM4fBUrSSSsr9yk0xh+Pz+n/eFphLJltYVyRIekgN7g2vwa2NTdHJXFpvuQ dl0NIBxXujlPQBTcKD89tS1OuwPSZ9boPD7oZMcoyzQedo4mgeMHOFLQXhrFvlidyTz60D i5yywmsRxjRXMirBPKRlwAwkQLfIGV4FBQ42K6DfZyLrnWe3YdpcZ5gO8v2e0RY/GAMOp2 0O8gQ58gp5gINmmfchqDI8AlIu/djnqjhUQjNKhsnKbOfHDZieqUwCsJcpAaKWYiD9BQED Jm8+Ih7fb4hBjaWg== Received: from localhost.localdomain (localhost [127.0.0.1]) by rockpro64.cyberdimension.org (OpenSMTPD) with ESMTP id 5ca75ed3; Sat, 14 Dec 2024 01:26:04 +0000 (UTC) From: Denis 'GNUtoo' Carikli Date: Sat, 14 Dec 2024 02:25:30 +0100 Message-ID: X-Mailer: git-send-email 2.46.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2001:678:938:3ff::36; envelope-from=GNUtoo@cyberdimension.org; helo=rockpro64.cyberdimension.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -1.49 X-Spam-Score: -1.49 X-Migadu-Queue-Id: 940A46112B X-Migadu-Scanner: mx12.migadu.com X-TUID: 27t0GLzaB+fF * gnu/packages/calendar.scm (adl-submit.py): New variable. Signed-off-by: Denis 'GNUtoo' Carikli Change-Id: Icd9438fbaf2c53635989fb8cfb443d2c3e541eff --- gnu/packages/calendar.scm | 44 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/gnu/packages/calendar.scm b/gnu/packages/calendar.scm index 6717db867f..069e3c05ca 100644 --- a/gnu/packages/calendar.scm +++ b/gnu/packages/calendar.scm @@ -12,6 +12,7 @@ ;;; Copyright © 2020 Peng Mei Yu ;;; Copyright © 2021 Wamm K. D. ;;; Copyright © 2022 Maxim Cournoyer +;;; Copyright © 2024 Denis 'GNUtoo' Carikli ;;; ;;; This file is part of GNU Guix. ;;; @@ -56,6 +57,7 @@ (define-module (gnu packages calendar) #:use-module (gnu packages pkg-config) #:use-module (gnu packages python) #:use-module (gnu packages python-build) + #:use-module (gnu packages python-web) #:use-module (gnu packages python-xyz) #:use-module (gnu packages qt) #:use-module (gnu packages sphinx) @@ -65,6 +67,48 @@ (define-module (gnu packages calendar) #:use-module (gnu packages xml) #:use-module (srfi srfi-26)) +(define-public adl-submit.py + (let ((revision "1") + (commit "e20998c17475e64676173828385f22a6d5801240")) + (package + (name "adl-submit.py") + (version (git-version "1.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://framagit.org/agenda-libre/agenda-libre-ruby.git") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1jpasv7skpbi20674f23kbgw2fj78ywhnd542cwgkc65v2s6s4lh")))) + (build-system gnu-build-system) + (arguments + (list + #:tests? #f ; No tests + #:phases + #~(modify-phases %standard-phases + (delete 'configure) + (delete 'build) + (replace 'install + (lambda _ + (install-file + "public/adl-submit.py" (string-append #$output "/bin")) + (wrap-program (string-append #$output "/bin/adl-submit.py") + `("GUIX_PYTHONPATH" ":" + prefix (,(getenv "GUIX_PYTHONPATH"))))))))) + (inputs (list python python-pycurl)) + (home-page "https://www.agendadulibre.org") + (synopsis "Submit events to the Agenda Du Libre") + (description "adl-submit.py is a tool that can be used to submit events +to any instance of the Agenda Du Libre (a web calendar originally meant for +free software events). Users can set fields through the command line or +create an XML that can be submitted with the adl-submit.py tool. While the +Agenda Du Libre web application is available in multiple languages, most of +the events on https://www.agendadulibre.org are in French and the +adl-submit.py tool is only available in French.") + (license license:gpl2)))) + (define-public date ;; We make the same choice as the Arch package maintainer by choosing a ;; recent commit to fix some bugs. base-commit: 0787a180b3ca64d3958438920ca1b58a2a27fba4 -- 2.46.0