From: phodina via <help-guix@gnu.org>
To: "help-guix@gnu.org" <help-guix@gnu.org>
Subject: Building Python pkg - date2name
Date: Sat, 24 Apr 2021 13:10:12 +0000 [thread overview]
Message-ID: <AEgGqsePWNfW8Hsj6khGdXGzlUGAzpCEKnz31zmCfw1aTdpkgy6wTfb_JG4PNode4AGmdhlvMrEVa6STFjdCAC__CthCPTwNMjdg2zikGoI=@protonmail.com> (raw)
Hi, I'm trying to build a python module date2name. However, I can't use guix import pypi date2name as I get error:
guix import: error: no source release for pypi package date2name 2018.05.09.1
So I just download it from github and attempt the build. But, it does not have a setup.py file and fails in the build phase.
In Guix manual there is option #:use-setuptools? #f but I also doesn't help.
Could you please provide guidance how to build the package?
(define-module (expanse packages date2name)
#:use-module (guix packages)
#:use-module (guix git-download)
#:use-module (guix build-system python)
#:use-module (guix licenses))
(define-public date2name
(package
(name "date2name")
(version "master")
(source (origin
(method git-fetch)
(uri
(git-reference
(url "https://github.com/novoid/date2name")
(commit version)))
(sha256
(base32
"064kydcry8jswbbvl1g7gg2pqmyz2fqk4j7k81pzlvb1vjnqjphd"))))
(build-system python-build-system)
(arguments
`(#:use-setuptools? #f))
(synopsis "Handling time-stamps and date-stamps in file names")
(description "Per default, date2name gets the modification time of matching files and directories and adds a datestamp in standard ISO 8601+ format YYYY-MM-DD (http://datestamps.org/index.shtml) at the beginning of the file- or directory name.")
(home-page "https://github.com/novoid/date2name")
(license gpl3)))
Kind regards
Petr Hodina
Sent with [ProtonMail](https://protonmail.com) Secure Email.
next reply other threads:[~2021-04-24 13:17 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-24 13:10 phodina via [this message]
2021-04-29 6:42 ` Building Python pkg - date2name Carlo Zancanaro
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='AEgGqsePWNfW8Hsj6khGdXGzlUGAzpCEKnz31zmCfw1aTdpkgy6wTfb_JG4PNode4AGmdhlvMrEVa6STFjdCAC__CthCPTwNMjdg2zikGoI=@protonmail.com' \
--to=help-guix@gnu.org \
--cc=phodina@protonmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).