From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 9prPEzcXKWGPAQEAgWs5BA (envelope-from ) for ; Fri, 27 Aug 2021 18:47:51 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id wHjgDjcXKWGUPwAAbx9fmQ (envelope-from ) for ; Fri, 27 Aug 2021 16:47:51 +0000 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 E0518142E7 for ; Fri, 27 Aug 2021 18:47:50 +0200 (CEST) Received: from localhost ([::1]:48824 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mJf1C-0007ah-0d for larch@yhetil.org; Fri, 27 Aug 2021 12:47:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44610) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mJeyf-0007H5-JO for guix-devel@gnu.org; Fri, 27 Aug 2021 12:45:13 -0400 Received: from mail-ed1-x52d.google.com ([2a00:1450:4864:20::52d]:41583) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mJeyd-0002Nc-DB for guix-devel@gnu.org; Fri, 27 Aug 2021 12:45:13 -0400 Received: by mail-ed1-x52d.google.com with SMTP id eb14so1558568edb.8 for ; Fri, 27 Aug 2021 09:45:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=zvWIMX8IaGhcNfnycCmWHRQe6FNjDsRcd1OeFh8JY+o=; b=py7N6rS64s4ZSWk/fyTCru31vWMffQei14zg5MaQvt7u8q4MDG4hSTTUDb6Ix9+aUC jvvF7eYmO/3EuAEbUKEZIol2HpZdhOBTyGJDGB/2Ith/UfkfvfwaI0PaB5R78Coi37j/ qJPWkFGtemnoYWP4Gh4kEJ6tlrvRqTFStC3xRNZJihL1yHZlNsXCN7ZVTGGfK1eUwNpQ oo7+d0qqrMZa7naVIcpgkAmBTi3Q3sGGo9wdujzjuCp1JmEFivfI1cns6lRGpd42rwQl z0h6SyOHfhurazDrlzmUlNzfCrhu6gE+DyaouDNBR0KLMyAW8nMLEU9zXN+ql7V6/k6I oD0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=zvWIMX8IaGhcNfnycCmWHRQe6FNjDsRcd1OeFh8JY+o=; b=AW13V85m8xHdhhz/+kr0kwQ1lyMit6D2c52NIXet/7HquglfQrY5uB9Jzw87pN6zEh DCeESR4n2qeTp9js5+7mqYhdN8hBUR3Kn8W3PtIrifN1+urDRxRp++idwrFtV5L0Xt05 NpUGUi6KdiqaqeFfad29vCg4n12hh8AzGYZg42rfarIH7AG4VD2RhjW68Va0bEfvJ8rK cBmWZrWcczsDW27X5UKK8UJkMSRX7o4+eILtFDTAirENixyVGFmEV6krhBOzOOWNZN8J vsJWbt0Q9N7yAWR2H/CSX8kywfxV9S+jjplAeogrS8S+YCu3oVv+CNlcG+osV81iW7lT wm7A== X-Gm-Message-State: AOAM533F0VTGH7qnKMierLbrX2DZWaMjCvoaqNL9DcVedPMzvf1ZoeKw szM/674paLra9RcbIAqsB59Yw8zTo1brKFQuaG8cAQu4YDs2tw== X-Google-Smtp-Source: ABdhPJxMk2cdOXA16isaJhxptrhzG9cGiDeJGBU9YppKcAmGjzgX9DTZZhJrs4BDuRAUaP7zLfUJrv8L2U0wHJhJpZg= X-Received: by 2002:a50:d749:: with SMTP id i9mr10868367edj.248.1630082708585; Fri, 27 Aug 2021 09:45:08 -0700 (PDT) MIME-Version: 1.0 From: Antwane Mason Date: Fri, 27 Aug 2021 12:44:57 -0400 Message-ID: Subject: How to Write Empty File in Build Phase? To: guix-devel@gnu.org Content-Type: multipart/alternative; boundary="000000000000ccc09805ca8d34f7" Received-SPF: pass client-ip=2a00:1450:4864:20::52d; envelope-from=ad.mason1413@gmail.com; helo=mail-ed1-x52d.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.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, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Fri, 27 Aug 2021 12:47:40 -0400 X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1630082871; 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:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=zvWIMX8IaGhcNfnycCmWHRQe6FNjDsRcd1OeFh8JY+o=; b=NejQbEWvNeGhbQEtXdfJ6S9HDeMQw6WTaoLmfOF4zX4QwR5EwRlk7+Pi7hSL4CHrPF0lCI HNRD6Te+e6NUCXICCF5yiC3qDM15RRS0Oi4SlUFkNctramcG/J9m9lCtgipJa+C4WTrL0Q q1VK67O+sqbKlG2t32usHlPKhgnDXGV4LGrz1fVoTGg4w8b/aJmvaCM8028Kvk3YkoMSBl BtNfHlmmW0u43D/zqpACZGP8JCgBvZUSa5ljcf7Wfy6qmayzjE7Yigt4sQdEc5epmVGoPm 6D4SufSTShXoFV7v4KHM06n1oj6OBNdD171vxi7/1Ytt827oE/b7WOTNMRjg0w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1630082871; a=rsa-sha256; cv=none; b=aHVxfuKmBdQsGMDdnVQEOwJ834Ru65ofPIpFvUNewfQ90mfHCGmYmRpVNvYNP/Hwgk2uzf 9ShKseb/viEJhqr2bJSkwKIhTfNlto/Y6NKH4DB6fmhkuYOVtIQAfKRIkbE+fj9ptPFMez +LwTfM6TJIHM67mp8UARYqVBmuNf3gfQkCNyUmksyTYkhx/RaVPX99ED0S30C4IMeYTw5I 8pwttdSZshk216KzLOjr436PtJo7O7pfy0CgtoJCQMlsckr7uXfHEeiF2UWAxCbax83Ymp MClZXYqwSwjgWrHpkiVJdyjosdyR8U1gtTWvgUa70RelDSq1bF0t1+L1lIeC+w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=py7N6rS6; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Spam-Score: -2.13 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=py7N6rS6; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Queue-Id: E0518142E7 X-Spam-Score: -2.13 X-Migadu-Scanner: scn0.migadu.com X-TUID: BvSDimFlsD62 --000000000000ccc09805ca8d34f7 Content-Type: text/plain; charset="UTF-8" Hello, I am currently working to resolve a build issue of python-verspec with the ultimate goal of submitting a package for this package, onlykey-cli, and all other dependencies required for onlykey-cli. Onlykey is a hardware password manager, second factor authenticator, and private key storage manager. A working solution to the build problem is to include an empty __init__.py file in the test folder of the source code. How do I write this file during a build phase? Here is the package definition for reference. ----------------------------------- (define-public python-verspec (package (name "python-verspec") (version "0.1.0") (source (origin (method url-fetch) (uri (pypi-uri "verspec" version)) (sha256 (base32 "07n06wv85fm4vl1ird2mja0823js3x322wgs9gdnq1djjyk4ql64")))) (build-system python-build-system) (native-inputs `(("python-coverage" ,python-coverage) ("python-flake8" ,python-flake8) ("python-mypy" ,python-mypy) ("python-pretend" ,python-pretend) ("python-pytest" ,python-pytest))) (home-page "https://github.com/jimporter/verspec") (synopsis "Flexible version handling") (description "Flexible version handling") (license '(license:asl2.0 license:bsd-2)))) ----------------------------------- Regards, Antwane --000000000000ccc09805ca8d34f7 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello,

I am currently workin= g to resolve a build issue of python-verspec with the ultimate goal of subm= itting a package for this package, onlykey-cli, and all other dependencies = required for onlykey-cli. Onlykey is a hardware password manager, second fa= ctor authenticator, and private key storage manager. A working solution to = the build problem is to include an empty __init__.py file in the test folde= r of the source code. How do I write this file during a build phase?
<= div>
Here is the package definition for reference.
= -----------------------------------
(define-public python-verspec=
=C2=A0 (package
=C2=A0 =C2=A0 (name "python-verspec")
= =C2=A0 =C2=A0 (version "0.1.0")
=C2=A0 =C2=A0 (source
=C2= =A0 =C2=A0 =C2=A0 (origin
=C2=A0 =C2=A0 =C2=A0 =C2=A0 (method url-fetch)=
=C2=A0 =C2=A0 =C2=A0 =C2=A0 (uri (pypi-uri "verspec" version)= )
=C2=A0 =C2=A0 =C2=A0 =C2=A0 (sha256
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 (base32
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 "07n06wv85fm4= vl1ird2mja0823js3x322wgs9gdnq1djjyk4ql64"))))
=C2=A0 =C2=A0 (build-= system python-build-system)
=C2=A0 =C2=A0 (native-inputs
=C2=A0 =C2= =A0 =C2=A0 `(("python-coverage" ,python-coverage)
=C2=A0 =C2= =A0 =C2=A0 =C2=A0 ("python-flake8" ,python-flake8)
=C2=A0 =C2= =A0 =C2=A0 =C2=A0 ("python-mypy" ,python-mypy)
=C2=A0 =C2=A0 = =C2=A0 =C2=A0 ("python-pretend" ,python-pretend)
=C2=A0 =C2=A0= =C2=A0 =C2=A0 ("python-pytest" ,python-pytest)))
=C2=A0 =C2= =A0 (home-page
=C2=A0 =C2=A0 =C2=A0 "https://github.com/jimporter/verspec")
=C2= =A0 =C2=A0 (synopsis "Flexible version handling")
=C2=A0 =C2= =A0 (description "Flexible version handling")
=C2=A0 =C2=A0 (l= icense '(license:asl2.0 license:bsd-2))))
-------------------= ----------------
<= br>
Regards,
Antwane
--000000000000ccc09805ca8d34f7--