Github messages for voidlinux
 help / color / mirror / Atom feed
From: jcgruenhage <jcgruenhage@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: python3-hatch-1.2.1
Date: Sun, 26 Jun 2022 12:01:25 +0200	[thread overview]
Message-ID: <20220626100125.DVoOheY83GccTxOfngfcicwwNWxc72AmkPMP2Pc6J8s@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-37514@inbox.vuxu.org>

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

There is an updated pull request by jcgruenhage against master on the void-packages repository

https://github.com/jcgruenhage/void-packages python3-hatch-1.2.1_1
https://github.com/void-linux/void-packages/pull/37514

New package: python3-hatch-1.2.1
<!-- Uncomment relevant sections and delete options which are not applicable -->

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

<!--
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->

### Bikeshedding opportunities
 - As they aren't just libraries, but also CLI tools, do hatch/hatchling need the `python3-` prefix? I personally don't like it, and would argue in favor of removing it
 - ~~There's nearly no testing happening here, but that's due to the deps either requiring git checkouts with submodules, or themselves to be installed for testing. Any opinions on this? I'd prefer to have some amount of automatic testing here and not just a "JC has run this on his laptop once", considering that these are likely to be fairly central Python packages~~ there are a few tests failing now, but they are being run and there's a hundred times more tests that do work as intended. The ones failing where it's expecting to be running /usr/bin/python, but is actually running /usr/bin/python3 or similar things, which is fine IMO.
 - Is a major update of python3-click something that might need additional testing? 29 of our packages depend on it, but on the other hand, it's *probably* fine, right?
 
Fixes #37334

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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-hatch-1.2.1_1-37514.patch --]
[-- Type: text/x-diff, Size: 5137 bytes --]

From 0eef4d5dd84a5dc662a8caeb40e7360f5acbe28a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Sat, 11 Jun 2022 13:45:01 +0200
Subject: [PATCH 1/3] New package: hatchling-1.3.1

---
 srcpkgs/hatchling/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/hatchling/template

diff --git a/srcpkgs/hatchling/template b/srcpkgs/hatchling/template
new file mode 100644
index 000000000000..894c15c8f719
--- /dev/null
+++ b/srcpkgs/hatchling/template
@@ -0,0 +1,18 @@
+# Template file for 'hatchling'
+pkgname=hatchling
+version=1.3.1
+revision=1
+build_style=python3-pep517
+_deps="python3-pathspec python3-tomli python3-pluggy python3-packaging"
+hostmakedepends="python3-setuptools ${_deps}"
+depends="${_deps}"
+short_desc="Extensible, standards compliant build backend used by Hatch"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://hatch.pypa.io/latest/"
+distfiles="${PYPI_SITE}/h/${pkgname}/${pkgname}-${version}.tar.gz"
+checksum=aaa63019c9d666053d9ff318097335e766123844547c52940155c0401c3c142f
+
+post_install() {
+	vlicense LICENSE.txt
+}

From ed1a9130fab7f442934bda5212f4c8e82193aab0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Sat, 11 Jun 2022 14:06:41 +0200
Subject: [PATCH 2/3] New package: python3-tomli-w-1.0.0

---
 srcpkgs/python3-tomli-w/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/python3-tomli-w/template

diff --git a/srcpkgs/python3-tomli-w/template b/srcpkgs/python3-tomli-w/template
new file mode 100644
index 000000000000..6268e501aedf
--- /dev/null
+++ b/srcpkgs/python3-tomli-w/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-tomli-w'
+pkgname=python3-tomli-w
+version=1.0.0
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-pep517
+hostmakedepends="python3-flit_core"
+depends="python3"
+checkdepends="python3-pytest python3-tomli"
+short_desc="Lil' python TOML writer"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/hukkin/tomli-w"
+changelog="https://github.com/hukkin/tomli-w/raw/master/CHANGELOG.md"
+distfiles="https://github.com/hukkin/tomli-w/archive/refs/tags/${version}.tar.gz"
+checksum=4fe1fb4696899c01356ef4e028c975103abf62e5fa9472f31f1714100f1b065d
+
+post_install() {
+	vlicense LICENSE
+}

From 1e606eabc2974eafedc4cc0bd10ebc4e3ed3b551 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Sat, 11 Jun 2022 14:20:44 +0200
Subject: [PATCH 3/3] New package: hatch-1.2.1

---
 srcpkgs/hatch/template | 37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)
 create mode 100644 srcpkgs/hatch/template

diff --git a/srcpkgs/hatch/template b/srcpkgs/hatch/template
new file mode 100644
index 000000000000..f8b068a2a713
--- /dev/null
+++ b/srcpkgs/hatch/template
@@ -0,0 +1,37 @@
+# Template file for 'hatch'
+pkgname=hatch
+version=1.2.1
+revision=1
+build_style=python3-pep517
+make_check_args="--deselect tests/backend/test_build.py::test_editable
+ --deselect tests/backend/builders/test_custom.py::test_default
+ --deselect tests/backend/builders/test_custom.py::test_explicit_path
+ --deselect tests/backend/builders/test_wheel.py::TestBuildStandard::test_default_auto_detection
+ --deselect tests/backend/builders/test_wheel.py::TestBuildStandard::test_editable_default
+ --deselect tests/backend/builders/test_wheel.py::TestBuildStandard::test_editable_default_extra_dependencies
+ --deselect tests/backend/builders/test_wheel.py::TestBuildStandard::test_editable_default_force_include
+ --deselect tests/backend/builders/test_wheel.py::TestBuildStandard::test_editable_exact
+ --deselect tests/backend/builders/test_wheel.py::TestBuildStandard::test_editable_exact_extra_dependencies
+ --deselect tests/backend/builders/test_wheel.py::TestBuildStandard::test_editable_exact_force_include
+ --deselect tests/backend/builders/test_wheel.py::TestBuildStandard::test_editable_pth
+ --deselect tests/cli/run/test_run.py::test_scripts_no_environment
+ --deselect tests/backend/dep/test_core.py::test_unknown_extra
+ --deselect tests/backend/dep/test_core.py::test_extra_met"
+hostmakedepends="hatchling"
+depends="python3-atomicwrites python3-click hatchling python3-httpx
+ python3-keyring python3-pexpect python3-platformdirs python3-pyperclip
+ python3-rich python3-tomli-w python3-tomlkit python3-userpath
+ python3-virtualenv"
+checkdepends="${depends} python3-pytest python3-pytest-mock
+ python3-pytest-xdist git python3-pip"
+short_desc="Modern, extensible Python project management "
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://hatch.pypa.io/latest/"
+distfiles="${PYPI_SITE}/h/${pkgname}/${pkgname}-${version}.tar.gz"
+checksum=61761e1fe14474fb2be7e264555b99fc343b4e63c0ee32aa3497c651e4cdec03
+make_check_pre="env PYTHONPATH=./src"
+
+post_install() {
+	vlicense LICENSE.txt
+}

  parent reply	other threads:[~2022-06-26 10:01 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-11 12:28 [PR PATCH] " jcgruenhage
2022-06-11 13:08 ` [PR REVIEW] " Chocimier
2022-06-11 13:58 ` [PR PATCH] [Updated] " jcgruenhage
2022-06-11 13:59 ` [PR REVIEW] " jcgruenhage
2022-06-11 13:59 ` jcgruenhage
2022-06-11 14:03 ` paper42
2022-06-11 14:13 ` jcgruenhage
2022-06-11 14:17 ` paper42
2022-06-11 14:21 ` [PR PATCH] [Updated] " jcgruenhage
2022-06-11 14:35 ` jcgruenhage
2022-06-11 14:43 ` jcgruenhage
2022-06-17 16:28 ` icp1994
2022-06-17 16:28 ` icp1994
2022-06-18  7:08 ` [PR REVIEW] " paper42
2022-06-18  7:08 ` paper42
2022-06-24 19:55 ` leahneukirchen
2022-06-26 10:01 ` jcgruenhage [this message]
2022-06-26 14:45 ` [PR PATCH] [Updated] New package: hatch-1.2.1 jcgruenhage
2022-06-29 16:45 ` [PR PATCH] [Merged]: " leahneukirchen

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=20220626100125.DVoOheY83GccTxOfngfcicwwNWxc72AmkPMP2Pc6J8s@z \
    --to=jcgruenhage@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /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 NNTP newsgroup(s).