guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to Write Empty File in Build Phase?


From: Antwane Mason
Subject: How to Write Empty File in Build Phase?
Date: Fri, 27 Aug 2021 12:44:57 -0400

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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]