Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: python3-typer-0.9.0
@ 2024-02-01  3:02 c0m4r
  2024-02-01  3:07 ` classabbyamp
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: c0m4r @ 2024-02-01  3:02 UTC (permalink / raw)
  To: ml

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

There is a new pull request by c0m4r against master on the void-packages repository

https://github.com/c0m4r/void-packages typer
https://github.com/void-linux/void-packages/pull/48472

New package: python3-typer-0.9.0
Typer, build great CLIs. Easy to code. Based on Python type hints.
https://github.com/tiangolo/typer

#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

#### Local build testing
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - **x86_64-glibc**
  - **x86_64-musl**


A patch file from https://github.com/void-linux/void-packages/pull/48472.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-typer-48472.patch --]
[-- Type: text/x-diff, Size: 1809 bytes --]

From fc1142e02f990acc33bb2b90d0add9cb30262a42 Mon Sep 17 00:00:00 2001
From: c0m4r <github@wolfet.pl>
Date: Thu, 1 Feb 2024 03:59:29 +0100
Subject: [PATCH] New package: python3-typer-0.9.0

---
 srcpkgs/python3-typer/template | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)
 create mode 100644 srcpkgs/python3-typer/template

diff --git a/srcpkgs/python3-typer/template b/srcpkgs/python3-typer/template
new file mode 100644
index 0000000000000..c2b9e16f75023
--- /dev/null
+++ b/srcpkgs/python3-typer/template
@@ -0,0 +1,27 @@
+# Template file for 'python3-typer'
+pkgname=python3-typer
+version=0.9.0
+revision=1
+build_style=python3-pep517
+make_build_args="--skip-dependency-check"
+make_check_args="--deselect tests/test_tutorial/test_parameter_types/test_path/test_tutorial002_an.py::test_not_exists
+ --deselect tests/test_tutorial/test_subcommands/test_tutorial001.py::test_scripts
+ --deselect tests/test_tutorial/test_subcommands/test_tutorial003.py::test_scripts
+ --deselect tests/test_tutorial/test_parameter_types/test_path/test_tutorial002.py::test_not_exists"
+hostmakedepends="python3-flit_core"
+depends="python3 python3-click python3-colorama python3-rich
+ python3-shellingham python3-typing_extensions"
+checkdepends="black python3-coverage python3-isort
+ python3-mypy python3-pipenv python3-pytest python3-pytest-black
+ python3-pytest-cov python3-pytest-subtests python3-pytest-sugar
+ python3-pytest-xdist ${depends}"
+short_desc="Build great CLIs. Easy to code. Based on Python type hints"
+maintainer="c0m4r <github@wolfet.pl>"
+license="MIT"
+homepage="https://github.com/tiangolo/typer"
+distfiles="${PYPI_SITE}/t/typer/typer-${version}.tar.gz"
+checksum=50922fd79aea2f4751a8e0408ff10d2662bd0c8bbfa84755a699f3bada2978b2
+
+post_install() {
+	vlicense LICENSE
+}

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: New package: python3-typer-0.9.0
  2024-02-01  3:02 [PR PATCH] New package: python3-typer-0.9.0 c0m4r
@ 2024-02-01  3:07 ` classabbyamp
  2024-02-01  3:32 ` c0m4r
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: classabbyamp @ 2024-02-01  3:07 UTC (permalink / raw)
  To: ml

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

New comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/48472#issuecomment-1920415833

Comment:
are there applications that you want to package that use the python libraries you're creating new package PRs for? if not (and especially if these are for projects you are developing), you're better off installing these libraries in a python virtual environment or with pipx. adding python libraries that no packages use adds to maintainer burden with little benefit.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: New package: python3-typer-0.9.0
  2024-02-01  3:02 [PR PATCH] New package: python3-typer-0.9.0 c0m4r
  2024-02-01  3:07 ` classabbyamp
@ 2024-02-01  3:32 ` c0m4r
  2024-02-01  3:41 ` classabbyamp
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: c0m4r @ 2024-02-01  3:32 UTC (permalink / raw)
  To: ml

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

New comment by c0m4r on void-packages repository

https://github.com/void-linux/void-packages/pull/48472#issuecomment-1920440713

Comment:
Yes, ultimately I plan to package a vulnerability scanner: [safety](https://github.com/pyupio/safety), which depends on these.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: New package: python3-typer-0.9.0
  2024-02-01  3:02 [PR PATCH] New package: python3-typer-0.9.0 c0m4r
  2024-02-01  3:07 ` classabbyamp
  2024-02-01  3:32 ` c0m4r
@ 2024-02-01  3:41 ` classabbyamp
  2024-02-01  4:25 ` c0m4r
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: classabbyamp @ 2024-02-01  3:41 UTC (permalink / raw)
  To: ml

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

New comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/48472#issuecomment-1920447574

Comment:
then you should make one pr with that package and all its dependencies

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: New package: python3-typer-0.9.0
  2024-02-01  3:02 [PR PATCH] New package: python3-typer-0.9.0 c0m4r
                   ` (2 preceding siblings ...)
  2024-02-01  3:41 ` classabbyamp
@ 2024-02-01  4:25 ` c0m4r
  2024-02-01  4:58 ` classabbyamp
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: c0m4r @ 2024-02-01  4:25 UTC (permalink / raw)
  To: ml

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

New comment by c0m4r on void-packages repository

https://github.com/void-linux/void-packages/pull/48472#issuecomment-1920487582

Comment:
I was about to add _safety_-specific dependencies in a separate PR, however these are not strictly related to _safety_ and can well be used in other projects. There are plenty of Python3 modules in the repository like these, even such that no package depends on, and only a handful of which are apps on itself.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: New package: python3-typer-0.9.0
  2024-02-01  3:02 [PR PATCH] New package: python3-typer-0.9.0 c0m4r
                   ` (3 preceding siblings ...)
  2024-02-01  4:25 ` c0m4r
@ 2024-02-01  4:58 ` classabbyamp
  2024-02-01 13:18 ` c0m4r
  2024-02-01 13:18 ` [PR PATCH] [Closed]: " c0m4r
  6 siblings, 0 replies; 8+ messages in thread
From: classabbyamp @ 2024-02-01  4:58 UTC (permalink / raw)
  To: ml

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

New comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/48472#issuecomment-1920513988

Comment:
> these are not strictly related to safety and can well be used in other projects

doesn't matter, just do it all in one. if you want to package safety, you should just do it. having a bunch of PRs that depend on each other will make it harder to get merged.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: New package: python3-typer-0.9.0
  2024-02-01  3:02 [PR PATCH] New package: python3-typer-0.9.0 c0m4r
                   ` (4 preceding siblings ...)
  2024-02-01  4:58 ` classabbyamp
@ 2024-02-01 13:18 ` c0m4r
  2024-02-01 13:18 ` [PR PATCH] [Closed]: " c0m4r
  6 siblings, 0 replies; 8+ messages in thread
From: c0m4r @ 2024-02-01 13:18 UTC (permalink / raw)
  To: ml

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

New comment by c0m4r on void-packages repository

https://github.com/void-linux/void-packages/pull/48472#issuecomment-1921306055

Comment:
![image](https://github.com/void-linux/void-packages/assets/6292788/0014ed27-db45-4891-b5d1-9ad4c506ef80)


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PR PATCH] [Closed]: New package: python3-typer-0.9.0
  2024-02-01  3:02 [PR PATCH] New package: python3-typer-0.9.0 c0m4r
                   ` (5 preceding siblings ...)
  2024-02-01 13:18 ` c0m4r
@ 2024-02-01 13:18 ` c0m4r
  6 siblings, 0 replies; 8+ messages in thread
From: c0m4r @ 2024-02-01 13:18 UTC (permalink / raw)
  To: ml

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

There's a closed pull request on the void-packages repository

New package: python3-typer-0.9.0
https://github.com/void-linux/void-packages/pull/48472

Description:
Typer, build great CLIs. Easy to code. Based on Python type hints.
https://github.com/tiangolo/typer

#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

#### Local build testing
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - **x86_64-glibc**
  - **x86_64-musl**


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2024-02-01 13:18 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-01  3:02 [PR PATCH] New package: python3-typer-0.9.0 c0m4r
2024-02-01  3:07 ` classabbyamp
2024-02-01  3:32 ` c0m4r
2024-02-01  3:41 ` classabbyamp
2024-02-01  4:25 ` c0m4r
2024-02-01  4:58 ` classabbyamp
2024-02-01 13:18 ` c0m4r
2024-02-01 13:18 ` [PR PATCH] [Closed]: " c0m4r

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 NNTP newsgroup(s).