all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Sarah Morgensen <iskarian@mgsn.dev>
To: phodina <phodina@protonmail.com>
Cc: 49619@debbugs.gnu.org
Subject: [bug#49619] [PATCH v3 1/2] gnu: Add python-very-pretty-table.
Date: Tue, 21 Sep 2021 20:21:53 -0700	[thread overview]
Message-ID: <8635pxxpke.fsf@mgsn.dev> (raw)
In-Reply-To: <JuV3kXY4ae-0f4PzOqwU4h0_Vh24XCQbm0P3uWqIKZ_-_7hOqSjxqsSHPpVdGA1OPcVRuyq0GT5UNjV_a8ZrDHuaZmNbh81jQzI644BmQR8=@protonmail.com>

[-- Attachment #1: Type: text/plain, Size: 1872 bytes --]

Hi,

phodina <phodina@protonmail.com> writes:

> Hi Sarah!
>
> Are these fixes now compliant to upstream the patch?

It's pretty good.  I went ahead and made a few changes (attached below):
I tweaked the descriptions, I changed very-pretty-table to
veryprettytable so the python importer can find it in the future, I
changed pirate-get's propagated-inputs to inputs since it's an end-user
package, and I changed the license of pirate-get to AGPL-3.

* Package review checklist (WIP)
Lack of a check is not proof of noncompliance.

1. [X] Package builds (guix build package)
     [X] x86_64  [ ] aarch64  [ ] armhf     [ ] powerpc64le
     [ ] i686    [ ] i586     [ ] mips64le
2. [X] Build is reproducible (guix build --rounds=n package)
3. [X] Tests enabled (if available) or disabled with in-source comment
4. [X] No extraneous dependencies (guix size package)
5. [X] No unnecessary pre-built binaries/blobs
6. [X] Dependencies unvendored when available in Guix
7. [X] Cross-compile friendly (cc-for-target, patches with inputs)
8. [X] License matches source
9. [X] No problematic lints (guix lint package)
10. [X] Formatting follows guidelines
    - [X] Lines wrap at 80 characters
    - [X] Indentation passes etc/indent-code.el
    - [X] Two spaces used between sentences

For new packages:
1. [X] Source url is robust
   * mirror:// used with url-fetch when possible
   * No auto-generated archives from source repo (prefer cloning)
2. [X] Synopsis is short, descriptive, and meaningful to a wide audience
3. [X] Description is objective, takes 5-10 lines, uses full sentences,
   and provides the information users need to decide whether the
   software fits their needs.

I also gave it a spin, and it works fine as long as the SSL_CERT_DIR
environment variable is defined (I think that's beyond the scope of this
package). LGTM.

Thanks for your work!

--
Sarah


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: gnu: Add python-veryprettytable. --]
[-- Type: text/x-patch, Size: 2017 bytes --]

From e468a5f5722a31ce9999ddba43a8de120521a938 Mon Sep 17 00:00:00 2001
Message-Id: <e468a5f5722a31ce9999ddba43a8de120521a938.1632277047.git.iskarian@mgsn.dev>
From: phodina <phodina@protonmail.com>
Date: Sat, 18 Sep 2021 12:44:21 +0000
Subject: [PATCH v4 1/2] gnu: Add python-veryprettytable.

* gnu/packages/python-xyz.scm (python-veryprettytable): New variable.
---
 gnu/packages/python-xyz.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 4e2e719afc..b1f162d079 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -1793,6 +1793,33 @@ helpers.")
     (properties `((python2-variant . ,(delay python2-humanfriendly))))
     (license license:expat)))
 
+(define-public python-veryprettytable
+  (package
+    (name "python-veryprettytable")
+    (version "0.8.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "veryprettytable" version))
+       (sha256
+        (base32
+         "1k1rifz8x6qcicmx2is9vgxcj0qb2f5pvzrp7zhmvbmci3yack3f"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     `(("python-colorama" ,python-colorama)
+       ("python-termcolor" ,python-termcolor)))
+    (home-page
+     "https://github.com/smeggingsmegger/VeryPrettyTable")
+    (synopsis
+     "Visually appealing ASCII table output format for Python")
+    (description
+     "VeryPrettyTable is a Python library for displaying tabular data in a
+visually appealing ASCII or HTML table.  Output is highly configurable,
+including text alignment, padding, borders, sort order, and more.  Data can be
+inserted directly, read from a CSV file, or imported using a Python DB-API
+database cursor such as @code{sqlite3}.")
+    (license license:bsd-3)))
+
 (define-public python2-humanfriendly
   (let ((base (package-with-python2
                 (strip-python2-variant python-humanfriendly))))

base-commit: a916d50566e77ae730e34f1753ceb78cc6bf0a5a
-- 
2.33.0


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #3: gnu: Add python-pirate-get. --]
[-- Type: text/x-patch, Size: 2186 bytes --]

From 5e99c1f791c990dd76cd63a9ab2a5196656c5c6f Mon Sep 17 00:00:00 2001
Message-Id: <5e99c1f791c990dd76cd63a9ab2a5196656c5c6f.1632277047.git.iskarian@mgsn.dev>
In-Reply-To: <e468a5f5722a31ce9999ddba43a8de120521a938.1632277047.git.iskarian@mgsn.dev>
References: <e468a5f5722a31ce9999ddba43a8de120521a938.1632277047.git.iskarian@mgsn.dev>
From: phodina <phodina@protonmail.com>
Date: Sat, 18 Sep 2021 12:45:04 +0000
Subject: [PATCH v4 2/2] gnu: Add python-pirate-get.

* gnu/packages/python-xyz.scm (python-pirate-get): New variable.
---
 gnu/packages/python-xyz.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index b1f162d079..86962e35b8 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -1820,6 +1820,34 @@ inserted directly, read from a CSV file, or imported using a Python DB-API
 database cursor such as @code{sqlite3}.")
     (license license:bsd-3)))
 
+(define-public python-pirate-get
+  (package
+    (name "python-pirate-get")
+    (version "0.4.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "pirate-get" version))
+       (sha256
+        (base32
+         "07s5ss9dxccx1mip7pyga1fagywkqchxmzz55ng47ac9053ffxkq"))))
+    (build-system python-build-system)
+    (inputs
+     `(("python-colorama" ,python-colorama)
+       ("python-pyperclip" ,python-pyperclip)
+       ("python-veryprettytable" ,python-veryprettytable)))
+    (home-page
+     "https://github.com/vikstrous/pirate-get")
+    (synopsis
+     "Command line interface for The Pirate Bay")
+    (description
+     "@code{pirate-get} is an unofficial command line interface for searching
+The Pirate Bay, inspired by @command{apt}.  Results can be saved as JSON,
+@code{.torrent} files, or magnet links, or they can be opened directly in
+@command{transmission-remote}.  @code{pirate-get} also supports searching
+mirrors or a local copy of The Pirate Bay's database.")
+    (license license:agpl3)))
+
 (define-public python2-humanfriendly
   (let ((base (package-with-python2
                 (strip-python2-variant python-humanfriendly))))
-- 
2.33.0


  parent reply	other threads:[~2021-09-22  3:23 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-18 11:36 [bug#49619] [PATCH 1/2] Add pirate-get phodina via Guix-patches via
2021-07-21  2:53 ` Sarah Morgensen
2021-07-22 12:17   ` phodina via Guix-patches via
2021-07-22 12:22     ` [bug#49619] [PATCH 2/2] " phodina via Guix-patches via
2021-09-18  8:07 ` [bug#49619] Patch status phodina via Guix-patches via
2021-09-18 12:44 ` [bug#49619] [PATCH v3 1/2] gnu: Add python-very-pretty-table phodina via Guix-patches via
2021-09-18 12:45 ` [bug#49619] [PATCH v3 2/2] gnu: Add python-pirate-get phodina via Guix-patches via
2021-11-08 16:52   ` phodina via Guix-patches via
2021-09-22  3:21 ` Sarah Morgensen [this message]
2021-09-27 22:41   ` [bug#49619] [PATCH v3 1/2] gnu: Add python-very-pretty-table phodina via Guix-patches via
2022-10-30 20:22 ` [bug#49619] Upstream or close the ticket phodina via Guix-patches via
2022-10-30 22:23   ` jgart via Guix-patches via
2022-12-25 18:01     ` phodina via Guix-patches via

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=8635pxxpke.fsf@mgsn.dev \
    --to=iskarian@mgsn.dev \
    --cc=49619@debbugs.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.
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.