GNU bug report logs - #74864
[PATCH] gnu: Add adl-submit.py

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix-patches; Reported by: Denis 'GNUtoo' Carikli <GNUtoo@HIDDEN>; Keywords: patch; dated Sat, 14 Dec 2024 01:27:02 UTC; Maintainer for guix-patches is guix-patches@HIDDEN.

Message received at 74864 <at> debbugs.gnu.org:


Received: (at 74864) by debbugs.gnu.org; 16 Jan 2025 21:11:18 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jan 16 16:11:18 2025
Received: from localhost ([127.0.0.1]:34876 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tYX93-0004ib-R8
	for submit <at> debbugs.gnu.org; Thu, 16 Jan 2025 16:11:18 -0500
Received: from mail-wr1-x42b.google.com ([2a00:1450:4864:20::42b]:57374)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <sharlatanus@HIDDEN>)
 id 1tYX91-0004iN-0y
 for 74864 <at> debbugs.gnu.org; Thu, 16 Jan 2025 16:11:15 -0500
Received: by mail-wr1-x42b.google.com with SMTP id
 ffacd0b85a97d-385de9f789cso1075354f8f.2
 for <74864 <at> debbugs.gnu.org>; Thu, 16 Jan 2025 13:11:14 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1737061869; x=1737666669; darn=debbugs.gnu.org;
 h=mime-version:message-id:date:subject:to:from:from:to:cc:subject
 :date:message-id:reply-to;
 bh=hxsxVrL95R9qnQkQUg/vQco6w86UVtnXbNla64gAN9c=;
 b=Os1F64W0uTKKn4EdGwXUpjmaK4oBFUE/ZOouKXTISX5q5IVqEse6DJX71Wx3lF0UOi
 GUqIHSaVOTKVDFeulz7PkOMRHZoqOImzIK8TlrLI7qzLFoqZuBI28jwYceFr1JdeBSL1
 gE1Ani/rHBmoc+eV3oqikVMD5Ed0cSIe7Ca4TpKmFALD1owHPB3pVMUvryvgq/1Fly5s
 3fZTcTp1FZgSEMbvddvs01LT+rMqomqVVOovfZvzCqGuLKTfDv67d9S1EHjklvJ2fuWe
 2kbpAjQhBlD8hZs52Wlaq1tPu9zO6jIUCuTcTc+rJtkTTE8hsOfDGvDE5VP00nb8Zp2r
 rRLQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1737061869; x=1737666669;
 h=mime-version:message-id:date:subject:to:from:x-gm-message-state
 :from:to:cc:subject:date:message-id:reply-to;
 bh=hxsxVrL95R9qnQkQUg/vQco6w86UVtnXbNla64gAN9c=;
 b=LOHo34KGtWeZF1wIE6Ed2z7VJCf2eTvn3fSYnbbkAfYjaPOFKVHyo4oPCfZW/COPaO
 nUj6821DHgDPpT/V38khcqonjMHFvvpnJgXE+WSPWeKSomoV0naQEqOcXEUT50X61Jt+
 u5AkJXhZbaJERO6+ka5Ui45PcaCADMlDDT6gpcIUPAHF9zW03xOI83CcsrDOzZWWKb43
 JZV9JktuRoy+U+5fI8OfnFoAOPTe9Wrs08KwWFik8SvLgb2T5+Isi9lDGIeFs1CShLAa
 0JDV1dLp4fTW7M2VslkLLgJYqXh/ziTzRAvOPbuHNRiXuzDiPeK2YzK/fEJXwchrCwBs
 4RrA==
X-Gm-Message-State: AOJu0Yxd1nQx/tLek9ZYozFB4AAHq6JqqwihrLP+QTK8VuMcZHC4v+Hy
 lTorH1ZQJuyygNh6qZuyab1m8NBWNgPIM1yvoy+WOIzRrv4BaA/hENVMRMC8
X-Gm-Gg: ASbGncvHdPSyP4T/X1h/lT5ayBi3f4UiXLrx+FL4XpDD3rpyATYA5JWSP3tRuuXsowQ
 StGhO1Txty6/YItSw7PkOePdkqvPpVLTWkGDf52wFYuaxQtqRVAtlmyC/iC7dnOhFEXw9FTvA31
 r45408L4vaKkTA1d+J31k2tfwtbXUn2d4N3VEkal9x4FbaIWCglDZn0zyjDnzbSG6296WC4u5Iy
 x5A9rLYIFY2Y2hdMju/uzgfl2fzT3udFeib0Kf98GH1rSjV6owkIAsu/904o624JpGaI8u/fYiw
 twyha8YcFpALr1AcaZSKPd9EDAVHjyLA
X-Google-Smtp-Source: AGHT+IFkePujtcERuW1sKwKKBVh27Oi27AgQnSzGvEvpTVq+pnUr7paZNWYxNHvmIE8jVuZcFN+2RA==
X-Received: by 2002:a5d:64a1:0:b0:385:f44a:a53 with SMTP id
 ffacd0b85a97d-38bf5655b07mr103159f8f.4.1737061868600; 
 Thu, 16 Jan 2025 13:11:08 -0800 (PST)
Received: from guxtil (cpc100684-bagu15-2-0-cust967.1-3.cable.virginm.net.
 [86.8.111.200]) by smtp.gmail.com with ESMTPSA id
 5b1f17b1804b1-437c74c4751sm70420205e9.19.2025.01.16.13.11.07
 for <74864 <at> debbugs.gnu.org>
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Thu, 16 Jan 2025 13:11:07 -0800 (PST)
From: Sharlatan Hellseher <sharlatanus@HIDDEN>
To: 74864 <at> debbugs.gnu.org
Subject: [PATCH] gnu: Add adl-submit.py
Date: Thu, 16 Jan 2025 21:11:02 +0000
Message-ID: <87v7ueihw9.fsf@HIDDEN>
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: 74864
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

--=-=-=
Content-Type: text/plain


Hi,

I've checked the project on
<https://framagit.org/agenda-libre/agenda-libre-ruby>, and looks like a
full featured application where public/adl-submit.py is served by the
web server.

Question of interest, why we need to pack just one script out of the
whole project :-)?

--
Oleg

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEmEeB3micIcJkGAhndtcnv/Ys0rUFAmeJdeYACgkQdtcnv/Ys
0rUTMg/+KLEoPOUvQ0Yr0NHzXrKYMjMGHb3agt/DFLu/+WX4KRAHRN9dfC5uNWyc
T3ImdZfSWXe/HJJMooJTiCZGVrQIdaREEXUeTXYwN5fICq22mzpuua3gTwkDV7IN
/8g4TXTNrVzLMxKRvigCrv/bjs1vnucCiEVTjJmtVSgvdTfiIvSCpd7daiC0vAqx
ZdBzoge7v8ZApqtDF4v6edZe7q583vixxdlJwcYAcyYhHXyFo2DnvE9gimaZrwBa
XnShFsSm/dZhN3Qf3lP2fyER6GSa2vnl2IZ+T3RovdR4rJjxW2II/Y90zcLiuVyw
NmtZSDM9Q/eew0lNUWJ1D2Ye4mgEo5ZxQ5zlvVT4Tmpd+PjfF9+3fUrr25Xc3K3D
BJJ5l/B9piBxbINMIuPe5LqCUyypv9Na+MkM6tb6zeVbbAgyQjQKir0yUCQI9b/9
GHq/JLst8uZ4HXoavUUVXR1uT4yX75bZlaEB602eFMBlYbI5im9sJ+4IfBw9HpRz
hBRWJiXmjzPDovw3Yp+lVKjUUkZaK1Q3F3GeHwyJ2PnlJ1dP4gdaPBajCW+tnOan
49pJTdnExQid30REudlXrwVv3vkghVjEw3l9kp5INkrdd8O2qM9WqtCIqVF4jVNv
10YLYacMZWAJ7KLRvr2kdZlL5hZYAKKI91Wqv127ggp/dI8p4Ps=
=XacG
-----END PGP SIGNATURE-----
--=-=-=--




Information forwarded to guix-patches@HIDDEN:
bug#74864; Package guix-patches. Full text available.

Message received at 74864 <at> debbugs.gnu.org:


Received: (at 74864) by debbugs.gnu.org; 16 Jan 2025 18:02:26 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jan 16 13:02:26 2025
Received: from localhost ([127.0.0.1]:34585 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tYUCH-0001eZ-Q7
	for submit <at> debbugs.gnu.org; Thu, 16 Jan 2025 13:02:26 -0500
Received: from mail-wr1-x435.google.com ([2a00:1450:4864:20::435]:54685)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <zimon.toutoune@HIDDEN>)
 id 1tYUC7-0001dZ-MA
 for 74864 <at> debbugs.gnu.org; Thu, 16 Jan 2025 13:02:16 -0500
Received: by mail-wr1-x435.google.com with SMTP id
 ffacd0b85a97d-3863494591bso691804f8f.1
 for <74864 <at> debbugs.gnu.org>; Thu, 16 Jan 2025 10:02:15 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1737050529; x=1737655329; darn=debbugs.gnu.org;
 h=content-transfer-encoding:mime-version:message-id:date:references
 :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id
 :reply-to; bh=7HC//KTA7FyFPvXJE2GQwdXqLGXVxG/JjCQAuPHz1m4=;
 b=Lw6SO8PgkF2hzHB0DaA11+yg1TY+wWU4agsQ61Uqhxyd2vnv2Sv37X9EeP+nv3Be+r
 eWtnLTzHv8V+coeRBQrXAUeJ+WQ4N0wqrAv/ZWvHrq0uo3G58n0Lx7GynLkn/pnKMUxp
 PwgiSH1xKohKUa+zA9ox5rcuLvZPGTFZ1Iq54wc8YCq4/UsgBIRzMAupS/dBUAVO7tqe
 lMIDP1UlSG5lbBDrd08BhFN1zJbneqBGXOTEnvK72QRKajldE1KI9cSSm9r5obeV+c/z
 F3qnF7B4k3kRUcfZvgr6qTFwPL6aaTrPsEi+AouuYog27xssxcabmvJWjF+gZE1xARXP
 6dJg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1737050529; x=1737655329;
 h=content-transfer-encoding:mime-version:message-id:date:references
 :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc
 :subject:date:message-id:reply-to;
 bh=7HC//KTA7FyFPvXJE2GQwdXqLGXVxG/JjCQAuPHz1m4=;
 b=rvKqbx0a/xmjDqhRtZ8AOlPjxrtRuvsWZjUsXC0sJTc6+AHny7tbWwYaa2i6ftgPLL
 I/1Opdk6Vi204Zu5CdWJmP5Jtmo+tsJihQ+oKxBD5eP90usTbb8vwGkBTuNzGotDU0fh
 p9enACVHsRqKxSNwP8RBNB3AqpNdCYn0Gp5hpxI+GrI/tiqmkmRwQKZga7a6kxM1v3g1
 e0kBhyT6FFG5IihI1ZYXKg3UNLTCn3zjE/FiFMeOZyXjpTM49FuVOuiZQ7PirhRwcbQQ
 kb3pFr7oxpLMqUU8DU/eV3YedKtF3cWL8swd1c4K2lpkT9v7X6DgYPeo/X6YMNfJB5bf
 h2jw==
X-Forwarded-Encrypted: i=1;
 AJvYcCU+iu0DOiWi5cL6F5PVfMrFhYvu++PFQdTwoFCMyoQVXXZedbjmtWZyDAkBlsUSnwNKJuRWHg==@debbugs.gnu.org
X-Gm-Message-State: AOJu0Yw2+vR3ra+ql3ljn71h1w57KZVAf4gvE6TU2tVu0oy1hLl3nZLb
 ShdFSSvGMo449mbgtFKWcq3lzlCqQKdqSA4SsVfuMFzuJ+9I626l
X-Gm-Gg: ASbGncv1fMxCLMnTEzNaYImLz3n2J32q+9WiKm/JbJKLYXDrSD0fqzWHVSsdaBLyByt
 TZp0cjflJC+tFgOqLZDU4e34TOkiqr9cPjUnTo7+IpNuwYkWXTHX4FRrG1UoRx5rLRzxJSF+8wk
 q5KtrbLc1UgX6Ri5rAo84IJCIl5UkqsLChH1L95I0qWg8aDuC+MUmPjDmvdnWZ7GuROkwqD+92Q
 qrk1zvx7Yjb/EYa9V20it3aWQ8EYVX/8K/Hj+dquodawXPeCF3Ji5caOMGbbh4IKIo1YuHBmJow
 yMZ0LxsTemZIrXWZ1LtYF1y4NocsERQMYw8umxLHqg==
X-Google-Smtp-Source: AGHT+IGQlMwzRjj1Q34AhrgGpHxHyz1eJ9HN8cSuk/oOhHM0BUkCZ6N1OAi3rwSyzIre2wiOUP1iMw==
X-Received: by 2002:a05:6000:490e:b0:386:32cb:4aa with SMTP id
 ffacd0b85a97d-38a8730ef59mr31849626f8f.45.1737050528519; 
 Thu, 16 Jan 2025 10:02:08 -0800 (PST)
Received: from lili (roam-nat-fw-prg-194-254-61-45.net.univ-paris-diderot.fr.
 [194.254.61.45]) by smtp.gmail.com with ESMTPSA id
 ffacd0b85a97d-38bf322a506sm451137f8f.41.2025.01.16.10.02.07
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Thu, 16 Jan 2025 10:02:07 -0800 (PST)
From: Simon Tournier <zimon.toutoune@HIDDEN>
To: Denis 'GNUtoo' Carikli <GNUtoo@HIDDEN>, 74864 <at> debbugs.gnu.org
Subject: Re: [bug#74864] [PATCH] gnu: Add adl-submit.py
In-Reply-To: <fd24792813f33fd5d0eb8733ce4d5c00e40af13b.1734139530.git.GNUtoo@HIDDEN>
References: <fd24792813f33fd5d0eb8733ce4d5c00e40af13b.1734139530.git.GNUtoo@HIDDEN>
Date: Thu, 16 Jan 2025 13:27:01 +0100
Message-ID: <87tt9zrlka.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 1.1 (+)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 
 Content preview:  Hi Denis, CC: Python team because it’s a Python script after
    all. :-) On Sat, 14 Dec 2024 at 02:25, Denis 'GNUtoo' Carikli wrote: 
 
 Content analysis details:   (1.1 points, 10.0 required)
 
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
  0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
                             provider (zimon.toutoune[at]gmail.com)
 -0.0 SPF_PASS               SPF: sender matches SPF record
  0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
  1.1 DATE_IN_PAST_03_06     Date: is 3 to 6 hours before Received: date
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at https://www.dnswl.org/,
                              no trust
                             [2a00:1450:4864:20:0:0:0:435 listed in]
                             [list.dnswl.org]
X-Debbugs-Envelope-To: 74864
Cc: Sharlatan Hellseher <sharlatanus@HIDDEN>,
 Munyoki Kilyungi <me@HIDDEN>, Lars-Dominik Braun <lars@HIDDEN>,
 jgart <jgart@HIDDEN>, Marius Bakke <marius@HIDDEN>,
 Tanguy Le Carrour <tanguy@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.1 (/)

Hi Denis,

CC: Python team because it=E2=80=99s a Python script after all. :-)

On Sat, 14 Dec 2024 at 02:25, Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension=
.org> wrote:

> * gnu/packages/calendar.scm (adl-submit.py): New variable.

Cool!  Thank you.


> +(define-public adl-submit.py

[...]

> +     (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")))))))))

Since it =E2=80=9Conly=E2=80=9C copies =E2=80=99public/adl-submit.py=E2=80=
=99, why not rely on
=E2=80=99copy-build-system=E2=80=99 instead?

Cheers,
simon




Information forwarded to guix-patches@HIDDEN:
bug#74864; Package guix-patches. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 14 Dec 2024 01:26:23 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Dec 13 20:26:23 2024
Received: from localhost ([127.0.0.1]:44870 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tMGvD-0000Qc-4H
	for submit <at> 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 <GNUtoo@HIDDEN>) id 1tMGvA-0000QQ-Rs
 for submit <at> 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 <GNUtoo@HIDDEN>)
 id 1tMGvA-000864-5Q
 for guix-patches@HIDDEN; 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 <GNUtoo@HIDDEN>)
 id 1tMGv7-0002qz-2g
 for guix-patches@HIDDEN; 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 <GNUtoo@HIDDEN>
To: guix-patches@HIDDEN
Subject: [PATCH] gnu: Add adl-submit.py
Date: Sat, 14 Dec 2024 02:25:30 +0100
Message-ID: <fd24792813f33fd5d0eb8733ce4d5c00e40af13b.1734139530.git.GNUtoo@HIDDEN>
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@HIDDEN; 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-Spam-Score: -1.4 (-)
X-Debbugs-Envelope-To: submit
Cc: Denis 'GNUtoo' Carikli <GNUtoo@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.4 (--)

* gnu/packages/calendar.scm (adl-submit.py): New variable.

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@HIDDEN>
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 <pengmeiyu@HIDDEN>
 ;;; Copyright © 2021 Wamm K. D. <jaft.r@HIDDEN>
 ;;; Copyright © 2022 Maxim Cournoyer <maxim.cournoyer@HIDDEN>
+;;; Copyright © 2024 Denis 'GNUtoo' Carikli <GNUtoo@HIDDEN>
 ;;;
 ;;; 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





Acknowledgement sent to Denis 'GNUtoo' Carikli <GNUtoo@HIDDEN>:
New bug report received and forwarded. Copy sent to guix-patches@HIDDEN. Full text available.
Report forwarded to guix-patches@HIDDEN:
bug#74864; Package guix-patches. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Thu, 16 Jan 2025 21:15:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.