all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars-Dominik Braun <lars@6xq.net>
To: gemmaro <gemmaro.dev@gmail.com>
Cc: 60424@debbugs.gnu.org
Subject: [bug#60424] [PATCH] gnu: Add python-online-judge-tools
Date: Wed, 4 Jan 2023 09:46:06 +0100	[thread overview]
Message-ID: <Y7U8ziGFXZwYYJ0S@noor.fritz.box> (raw)
In-Reply-To: <e0227b25ac1950922c869ea6f6f8dae1a8033b60.1672377617.git.gemmaro.dev@gmail.com>

Hi,

general notes: Please split your changes into one patch per package and
add changelog-style commit messages.

> +    ;; NOTE: somehow it cannot be downloaded from PyPI
Why did it fail?

> +     ;; NOTE: a lot of tests needs networking
> +     `(#:tests? #f))
Is it possible to disable just the ones that require networking instead
of disabling all tests?

> +(define-public python-online-judge-tools
> +  (package
> +    (name "python-online-judge-tools")
> +    (version "11.5.1")
> +    ;; NOTE: somehow it cannot be downloaded from PyPI
> +    (source (origin
> +              (method git-fetch)
> +              (uri (git-reference
> +                    (url "https://github.com/online-judge-tools/oj")
> +                    (commit (string-append "v" version))))
> +              (file-name (git-file-name name version))
> +              (sha256
> +               (base32
> +                "0zkzmmjgjb6lyrzq1ip54cpnp7al9a7mcyjyi5vx58bvnx3q0c6m"))))
> +    (build-system python-build-system)
> +    (arguments
> +     ;; NOTE: a lot of tests needs networking
> +     `(#:tests? #f))
> +    (propagated-inputs (list python-online-judge-api-client python-colorama
> +                             python-requests))
> +    (home-page "https://github.com/online-judge-tools/oj")
> +    (synopsis "Command to help solving problems on various online judges")
> +    (description
> +     "@command{oj} is a command line tool to help solving problems on
> +various online judges.  This command automates downloading sample
> +cases, generating additional test cases, testing for your code, and
> +submitting it.")
> +    (license license:expat)))
It looks like this one provides a command-line tool called `oj`, so
the package should be named `oj` or just `online-judge-tools` without
python- prefix.

Thanks,
Lars





  reply	other threads:[~2023-01-04  8:47 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-30  5:20 [bug#60424] [PATCH] gnu: Add python-online-judge-tools gemmaro
2023-01-04  8:46 ` Lars-Dominik Braun [this message]
2023-01-07  9:33 ` [bug#60424] [PATCH 0/2] gnu: Add online-judge-tools gemmaro
2023-01-07  9:33   ` [bug#60424] [PATCH 1/2] gnu: Add python-online-judge-api-client gemmaro
2023-01-07  9:33   ` [bug#60424] [PATCH 2/2] gnu: Add online-judge-tools gemmaro
2023-03-03  9:08     ` Josselin Poiret via Guix-patches via
2023-03-03 14:52 ` [bug#60424] [PATCH v3 0/2] " gemmaro
2023-03-03 14:52   ` [bug#60424] [PATCH v3 1/2] gnu: Add python-online-judge-api-client gemmaro
2023-03-03 14:52   ` [bug#60424] [PATCH v3 2/2] gnu: Add online-judge-tools gemmaro
2023-05-03  4:39 ` [bug#60424] [PATCH v4 0/2] gnu: Add python-online-judge-tools gemmaro
2023-05-03  4:39   ` [bug#60424] [PATCH v4 1/2] gnu: Add python-online-judge-api-client gemmaro
2023-05-03  4:39   ` [bug#60424] [PATCH v4 2/2] gnu: Add online-judge-tools gemmaro

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Y7U8ziGFXZwYYJ0S@noor.fritz.box \
    --to=lars@6xq.net \
    --cc=60424@debbugs.gnu.org \
    --cc=gemmaro.dev@gmail.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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.