From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id QFBZFg20M2dmHAAA62LTzQ:P1 (envelope-from ) for ; Tue, 12 Nov 2024 20:01:17 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id QFBZFg20M2dmHAAA62LTzQ (envelope-from ) for ; Tue, 12 Nov 2024 21:01:17 +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=EGSfulm5; 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"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1731441677; 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:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=P1Z8i81s3228M+59OWtubAw2efJVd6JVGvd9FSNIYQI=; b=UZQ6hlyP1M97GuXjc2kmgbBlIYwR4uA09oc15ghKAUPwbsPN494cvCKlH6k9XszjjDHWrz SowWEVZQViQ89dA8CFl7WeV+eAIZUNsU7opE9jqL1tUreH90Z5WSedgNj8TEuAgLfk2mZd Amt+h7yBvY1bJaFYkRGr0YfG59RRUnjJCuIieeyw5X0Hgh3C1fyHov48JCIHiv78Gzl0FA u7Le99PlLqIwUo8yp+kCagdhWcb+wPFL69s87JBFd/s0Spa/pnn2DLwtgm59W2+n84jnKo +MaoKERjNfW57P+5aYQ8j1mM6RStkCKdpXBIzjs9ngKVpPzjS6UzopsJ2w3lCg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1731441677; a=rsa-sha256; cv=none; b=gU/5Uv64FBtsjcvDwWHg8KGSRuDV38cWISKjrGkQFRO+DHFCqNVVVqJs7LJDGfCYLow/o+ azEEMyoeqtDhP6bgyvRYcJaGwWY814nyt5egUMqTvCggVD6YtV1+NxRG8auo/rnXGrirZ8 Cg5yTbAQNxJl8a+m15oRkjXX124v94YcyhnGwzK4d2ug0Yry7IHNkHDwkJ4P4eNzPBM9e3 gt7DJGAi7CtTHJbfBC9/QoutlR/ulJvMBtYE/56ZUdkOFfELyYOR+6u4IiOXOd3juRi2H0 OkcB/1sWJggeUgKTcHFs9WPEXuNIwg6PxSHuQVQTI+nH0ibb+pPUe65aQ3D1Tw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=EGSfulm5; 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"; dmarc=none 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 5E9017852A for ; Tue, 12 Nov 2024 21:01:16 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tAx4T-00032I-CY; Tue, 12 Nov 2024 15:01: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 1tAx4Q-000320-Vd for guix-patches@gnu.org; Tue, 12 Nov 2024 15:01:03 -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 1tAx4Q-0004rA-Mr for guix-patches@gnu.org; Tue, 12 Nov 2024 15:01:02 -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:References:In-Reply-To:From:To:Subject; bh=P1Z8i81s3228M+59OWtubAw2efJVd6JVGvd9FSNIYQI=; b=EGSfulm5nlkHjkhKHK0VlKc0t4e9GCQKS9/3BsRXZjCXICpAQKi3znI+hmbM9gUIMpsMq7J8pAoba1HicBPDm+I7MRbdzCDSRittTqTWfeiHaWGiglusvMqEjobUZC3wliwwagN5NTfg62I0wRJ7GTgdgA8BRPeUEdU10iNe/c63n0qtYAS0bpKDVe1YG1qacFHkbnmEDOirNkirZweJiViE0GYRtEfP6WzAPdk98UzUKSSkkxMXxpEG2B85K8b007dcYhG+lnasMZokju6dRjNTiGsR+vqKOXOop91d0LHb5jCMd66gPQo+AFpVsP3t1VtshBwllwN5uj0I58f2yA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tAx4Q-0001sW-BQ for guix-patches@gnu.org; Tue, 12 Nov 2024 15:01:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74310] [PATCH] gnu: Add potato-make. Resent-From: Evgeny Pisemsky Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 12 Nov 2024 20:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74310 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74310@debbugs.gnu.org Cc: =?UTF-8?Q?No=C3=A9?= Lopez Received: via spool by 74310-submit@debbugs.gnu.org id=B74310.17314416427175 (code B ref 74310); Tue, 12 Nov 2024 20:01:02 +0000 Received: (at 74310) by debbugs.gnu.org; 12 Nov 2024 20:00:42 +0000 Received: from localhost ([127.0.0.1]:39601 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tAx45-0001rf-Nj for submit@debbugs.gnu.org; Tue, 12 Nov 2024 15:00:42 -0500 Received: from roxy-shared.hosting.energy ([137.74.182.160]:59439 helo=roxy.hosting.energy) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tAx42-0001rR-TG for 74310@debbugs.gnu.org; Tue, 12 Nov 2024 15:00:40 -0500 Received: from [212.233.84.138] (helo=laptop) by roxy.hosting.energy with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.97.1) (envelope-from ) id 1tAx3u-000000002JJ-0IuV; Tue, 12 Nov 2024 23:00:30 +0300 From: Evgeny Pisemsky In-Reply-To: <878qtp5w07.fsf@xn--no-cja.eu> ("=?UTF-8?Q?No=C3=A9?= Lopez"'s message of "Mon, 11 Nov 2024 21:57:28 +0100") References: <878qtp5w07.fsf@xn--no-cja.eu> Date: Tue, 12 Nov 2024 23:00:30 +0300 Message-ID: <871pzgp6ht.fsf@pisemsky.site> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Scanned-By: ClamAV 0.101.4; Tue, 12 Nov 2024 23:00:30 +0300 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: -4.42 X-Spam-Score: -4.42 X-Migadu-Queue-Id: 5E9017852A X-Migadu-Scanner: mx13.migadu.com X-TUID: 3Gn0AHrU0b1l --=-=-= Content-Type: text/plain Hi! Thanks for review. Here is the updated patch. --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: attachment; filename=0001-gnu-Add-potato-make.patch Content-Transfer-Encoding: quoted-printable >From b7084374dac32a3f39f7991fbdede65bb9ea0202 Mon Sep 17 00:00:00 2001 Message-ID: From: Evgeny Pisemsky Date: Tue, 12 Nov 2024 22:55:22 +0300 Subject: [PATCH] gnu: Add potato-make. * gnu/packages/build-tools.scm (potato-make): New variable. Change-Id: I86843b4001298ee984e6d1c35b59dc3b2e51d97f --- gnu/packages/build-tools.scm | 47 ++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/gnu/packages/build-tools.scm b/gnu/packages/build-tools.scm index 21df25e4f5..c32dacac59 100644 --- a/gnu/packages/build-tools.scm +++ b/gnu/packages/build-tools.scm @@ -15,6 +15,7 @@ ;;; Copyright =C2=A9 2021 qblade ;;; Copyright =C2=A9 2021, 2023, 2024 Maxim Cournoyer ;;; Copyright =C2=A9 2022, 2023 Juliana Sims +;;; Copyright =C2=A9 2024 Evgeny Pisemsky ;;; ;;; This file is part of GNU Guix. ;;; @@ -41,6 +42,7 @@ (define-module (gnu packages build-tools) #:use-module (guix git-download) #:use-module (guix build-system cmake) #:use-module (guix build-system copy) + #:use-module (guix build-system guile) #:use-module (guix modules) #:use-module (gnu packages) #:use-module (gnu packages adns) @@ -54,6 +56,7 @@ (define-module (gnu packages build-tools) #:use-module (gnu packages cppi) #:use-module (gnu packages elf) #:use-module (gnu packages gcc) + #:use-module (gnu packages guile) #:use-module (gnu packages linux) #:use-module (gnu packages lisp) #:use-module (gnu packages logging) @@ -1042,3 +1045,47 @@ (define-public pdpmake ;; pdpmake is distributed under the public domain, but the sources inc= lude ;; tests under the GPL license version 2. (license (list license:gpl2 license:public-domain)))) + +(define-public potato-make + ;; No releases. + (let ((commit "e8c09ce1f6a33c013b27961b0a07f991db33e6fb") + (revision "0")) + (package + (name "potato-make") + (version (git-version "0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/spk121/potato-make") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0axgrkqdfip5f2bp7d2dprd74g58lyc0c7lgg2m93k5jqn1lpbmj")) + ;; Delete files of the seemingly unfinished pmake program. + (snippet '(begin + (delete-file "pmake") + (delete-file "documents/pmake.org") + (delete-file "make/main.scm") + (rmdir "documents") + (rmdir "make"))))) + (build-system guile-build-system) + (arguments + (list + #:phases #~(modify-phases %standard-phases + (add-after 'build 'check + (lambda _ + ;; Delete test referencing nonexistent file. + (delete-file "tests/parse.sh") + (for-each (lambda (f) + (invoke "guile" "-L" "." "-s" f)) + (find-files "tests"))))))) + (native-inputs (list guile-3.0)) + (home-page "https://github.com/spk121/potato-make") + (synopsis "Library to write makefiles in Guile Scheme") + (description + "Potato Make is a scheme library that aims to simplify the task of +maintaining, updating, and regenerating programs. It is inspired by +the POSIX make utility and allows to write a build script in Guile +Scheme.") + (license license:expat)))) base-commit: b10ce47d8be5b6c15987f4e1d93b3bd71b1eb220 --=20 2.46.0 --=-=-=--