From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 6F2RD6gp02P6WQAAbAwnHQ (envelope-from ) for ; Fri, 27 Jan 2023 02:32:24 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id yMy2Dqgp02MwUAAAG6o9tA (envelope-from ) for ; Fri, 27 Jan 2023 02:32:24 +0100 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 EE40A423EE for ; Fri, 27 Jan 2023 02:32:23 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pLDb3-0003Gk-DC; Thu, 26 Jan 2023 20:32: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 1pLDb1-0003GV-6m for guix-patches@gnu.org; Thu, 26 Jan 2023 20:32:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pLDb0-0006JM-V3 for guix-patches@gnu.org; Thu, 26 Jan 2023 20:32:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pLDb0-0004IL-Fg for guix-patches@gnu.org; Thu, 26 Jan 2023 20:32:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#61089] [PATCH] gnu: Add staticsite. Resent-From: Vagrant Cascadian Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 27 Jan 2023 01:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 61089 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 61089@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.167478309916478 (code B ref -1); Fri, 27 Jan 2023 01:32:02 +0000 Received: (at submit) by debbugs.gnu.org; 27 Jan 2023 01:31:39 +0000 Received: from localhost ([127.0.0.1]:36498 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pLDad-0004Hh-2X for submit@debbugs.gnu.org; Thu, 26 Jan 2023 20:31:39 -0500 Received: from lists.gnu.org ([209.51.188.17]:49022) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pLDaa-0004HZ-PH for submit@debbugs.gnu.org; Thu, 26 Jan 2023 20:31:37 -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 1pLDaa-0003Dx-4h for guix-patches@gnu.org; Thu, 26 Jan 2023 20:31:36 -0500 Received: from cascadia.aikidev.net ([2600:3c01:e000:267:0:a171:de7:c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pLDaW-0006GX-EO for guix-patches@gnu.org; Thu, 26 Jan 2023 20:31:35 -0500 Received: from localhost (unknown [IPv6:2600:3c01:e000:21:7:77:0:20]) (Authenticated sender: vagrant@cascadia.debian.net) by cascadia.aikidev.net (Postfix) with ESMTPSA id B2B241AC9A for ; Thu, 26 Jan 2023 17:31:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=debian.org; s=1.vagrant.user; t=1674783083; bh=MbHNwgAnqDyO5ukbou5dFCtHSCKmzI+Hr4Y04J7w5/M=; h=From:To:Subject:Date:From; b=ktdJwvvObq9zL9Y54YnsWC0N8bP/F5ZalH8V2D5yC4LcAWELWoZr1RuQtFVDeyHrC 9GMpQcDLaRj2wxMcD8HmjSHHXdvpit9FCPPlbWoi01WI7/WJEh1FkqGUyTLdVY4+lM oJ4yF4nNtTU7VQxOHAsUbU20RVncS1VWkW9wG1WYBcRmSVKIf6xQW2uRM/XipBU8Kd kwXgKMleT+WQeoE95/3R4DO8GRwanMUNXPngoohlQ+i0cY3U6lITBOvHB4AAX14KxR b0d0HgADNkR88ydqAy9LkutupJ6VXzJMDW4OkouP4hdTA74hNnHqnoH59Vd/TVZnpg 1f3/ZwlNtmF/g== From: Vagrant Cascadian Date: Thu, 26 Jan 2023 17:31:19 -0800 Message-ID: <871qng69w8.fsf@contorta> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: none client-ip=2600:3c01:e000:267:0:a171:de7:c; envelope-from=vagrant@debian.org; helo=cascadia.aikidev.net 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, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_NONE=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-Country: US X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1674783144; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=3Gz4v3OHkZyk/cSOCv2ix5MabJDO0kWsQUBtCE44vZ8=; b=uQttlEyDcBch9YHU7gCx4NjGvTV1jEzg8qhs9f4vpUYO1C3to5jir3fT+N1UWjrp/6DEdH btly8HlZremnWJQLISLv/xMvZ5NjxnGcHAWJT8xKY0ogx6NI1offZdnSPmdU61U+4Dsn/l EG8cagh+1ZGxWXlKH0mkGuR+egGIxpb8bSH0g6Q+0ph6Rxv6gKKSyjyiB/P+9OjH0ioIE5 wwqWEi8Co8q0YZf16gw/fcKLexDctXGCKxgazGNACQ+MpET3PeX3p8QKuLed20JOC3012F 1JL2QBOTrVk48VO/JsLp3ZUWkCXrDPgdQXv4xVe8Qabovh/HLfOABF5lsgM5Fw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debian.org header.s=1.vagrant.user header.b=ktdJwvvO; 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=1674783144; a=rsa-sha256; cv=none; b=W+NnhsdL9w6nAxVEZyr0T8w9rjtWSm6AZgwGmXwed8pmcvj5uIVrq7mvv9CvU8XCu8r7Md Heojdm/Ag3L1W34fr+iH/R+m51xMvkyQ6y8tjG388Ez5nJGaJ+AjzBJKmQr64TS3BY6s89 VOnNOYUDH+g0FW8a8kYlWsY6ipPK5H5BTYPktT5GGeOBdEC/OPqQslETntUGJefPkVSBcR uKmYxg4rZSc0V5uDqzeY/i+p3jYQsHVJGs5I+ZQKFGhFU3e+H0isMRR6pqXzhRTonI9PKi d3YlIO3bjNcgggyWA9+gfjSYtdc4aHaVPczlO3o0GjWokNqndStCF91UjoP8Jw== X-Spam-Score: 0.63 X-Migadu-Spam-Score: 0.63 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debian.org header.s=1.vagrant.user header.b=ktdJwvvO; 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" X-Migadu-Queue-Id: EE40A423EE X-Migadu-Scanner: scn1.migadu.com X-TUID: zlmORGTifiMJ --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0001-gnu-Add-staticsite.patch Content-Transfer-Encoding: quoted-printable From=2004619d89e5f3a75f108c082dcd1c390d0bd3f82f Mon Sep 17 00:00:00 2001 From: Vagrant Cascadian Date: Thu, 26 Jan 2023 15:43:17 -0800 Subject: [PATCH] gnu: Add staticsite. * gnu/packages/python-xyz.scm (staticsite): New variable. =2D-- gnu/packages/python-xyz.scm | 51 +++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index b14c4ff0f3..a5be587603 100644 =2D-- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -31744,6 +31744,57 @@ (define-public shrinkwrap path.") (license license:expat))) =20 +(define-public staticsite + (package + (name "staticsite") + (version "2.3") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/spanezz/staticsite") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1rhr25xydvnlrrcz389j3f6nknmczm5x11cagrji1qww70piwy08")))) + (build-system pyproject-build-system) + (arguments + (list #:phases #~(modify-phases %standard-phases + (add-after 'unpack 'use-themes-in-output + (lambda* (#:key outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + (substitute* "staticsite/global_settings.py" + (("/usr/share/staticsite") + out))))) + (add-after 'install 'install-themes + (lambda* (#:key outputs #:allow-other-keys) + (let ((themedir (string-append (assoc-ref outp= uts + "out= ") + "/themes"))) + (copy-recursively "themes" themedir))))))) + (native-inputs (list python-pyinotify + python-markdown + python-docutils + python-jinja2 + python-pytz + python-dateutil + python-pyyaml + python-pillow + python-slugify + python-ruamel.yaml + tzdata-for-tests + python-tornado + perl-image-exiftool)) + (home-page "https://github.com/spanezz/staticsite") + (synopsis "Static site generator") + (description "Static site generator based on markdown and jinja2. +Features: + - themable + - free content structure + - hugo-style archetypes and front matter + - live preview server") + (license (list license:gpl3+ license:expat)))) + (define-public python-pymonad (package (name "python-pymonad") =2D-=20 2.39.0 --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCY9MpZwAKCRDcUY/If5cW qu/nAP9smV9IsunQZMeqgQigfOUeTESSuZCVQSI3yS+U4vItkAEA16zM9DQZ3IgU N2e56LaBGT621hgqnz4Zrhd43tZHvgY= =rrqA -----END PGP SIGNATURE----- --==-=-=--