Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: python3-hatch-1.2.1
@ 2022-06-11 12:28 jcgruenhage
  2022-06-11 13:08 ` [PR REVIEW] " Chocimier
                   ` (17 more replies)
  0 siblings, 18 replies; 19+ messages in thread
From: jcgruenhage @ 2022-06-11 12:28 UTC (permalink / raw)
  To: ml

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

There is a new 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
 - 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: 6783 bytes --]

From 3c66a986d6e6f56db2bfe6287f05d7bbc23d2d78 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/5] New package: python3-hatchling-1.3.1

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

diff --git a/srcpkgs/python3-hatchling/template b/srcpkgs/python3-hatchling/template
new file mode 100644
index 000000000000..cb78b62375d4
--- /dev/null
+++ b/srcpkgs/python3-hatchling/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-hatchling'
+pkgname=python3-hatchling
+version=1.3.1
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+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/python3-/}/${pkgname/python3-/}-${version}.tar.gz"
+checksum=aaa63019c9d666053d9ff318097335e766123844547c52940155c0401c3c142f
+
+post_install() {
+	vlicense LICENSE.txt
+}

From f13dc6fdea58300ad88dc1ae087211f93f738c51 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/5] 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 4162cb52dc8e4cf6258e5c36a20416737a0f3404 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:25 +0200
Subject: [PATCH 3/5] python3-click: update to 8.1.3.

---
 srcpkgs/python3-click/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/python3-click/template b/srcpkgs/python3-click/template
index 2583a95cc4ad..c0f39a2d3e70 100644
--- a/srcpkgs/python3-click/template
+++ b/srcpkgs/python3-click/template
@@ -1,7 +1,7 @@
 # Template file for 'python3-click'
 pkgname=python3-click
-version=7.1.2
-revision=5
+version=8.1.3
+revision=1
 wrksrc="click-${version}"
 build_style="python3-module"
 hostmakedepends="python3-setuptools"
@@ -11,7 +11,7 @@ maintainer="Oliver Kiddle <okiddle@yahoo.co.uk>"
 license="BSD-3-Clause"
 homepage="http://click.pocoo.org/"
 distfiles="${PYPI_SITE}/c/click/click-${version}.tar.gz"
-checksum=d2b5255c7c6349bc1bd1e59e08cd12acbbd63ce649f2588755783aa94dfb6b1a
+checksum=7682dc8afb30297001674575ea00d1814d808d6a36af415a82bd481d37ba7b8e
 
 post_install() {
 	vlicense LICENSE.rst

From b22151cd8eb0dcfdb2ae88a6b66bddf099fae250 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:35 +0200
Subject: [PATCH 4/5] New package: python3-tomlkit-0.11.0

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

diff --git a/srcpkgs/python3-tomlkit/template b/srcpkgs/python3-tomlkit/template
new file mode 100644
index 000000000000..093e29b41166
--- /dev/null
+++ b/srcpkgs/python3-tomlkit/template
@@ -0,0 +1,21 @@
+# Template file for 'python3-tomlkit'
+pkgname=python3-tomlkit
+version=0.11.0
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-pep517
+hostmakedepends="python3-poetry-core"
+depends="python3"
+short_desc="Style-preserving TOML library for Python"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/sdispater/tomlkit"
+changelog="https://github.com/sdispater/tomlkit/raw/master/CHANGELOG.md"
+distfiles="${PYPI_SITE}/t/${pkgname/python3-/}/${pkgname/python3-/}-${version}.tar.gz"
+checksum=71ceb10c0eefd8b8f11fe34e8a51ad07812cb1dc3de23247425fbc9ddc47b9dd
+#Requires a git submodule for running tests
+make_check=no
+
+post_install() {
+	vlicense LICENSE
+}

From 288e9ae5ec4c6ad5364bf3e17fe997feaa9c2d9a 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 5/5] New package: python3-hatch-1.2.1

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

diff --git a/srcpkgs/python3-hatch/template b/srcpkgs/python3-hatch/template
new file mode 100644
index 000000000000..85280d08d061
--- /dev/null
+++ b/srcpkgs/python3-hatch/template
@@ -0,0 +1,28 @@
+# Template file for 'python3-hatch'
+pkgname=python3-hatch
+version=1.2.1
+revision=1
+#archs="i686 x86_64"
+wrksrc="${pkgname/python3-/}-${version}"
+#create_wrksrc=yes
+build_style=python3-pep517
+#configure_args=""
+#make_build_args=""
+#make_install_args=""
+#conf_files=""
+#make_dirs="/var/log/dir 0755 root root"
+hostmakedepends="python3-hatchling"
+makedepends=""
+depends="python3-atomicwrites python3-click python3-hatchling python3-httpx python3-keyring python3-pexpect python3-platformdirs python3-pyperclip python3-rich python3-tomli-w python3-tomlkit python3-userpath python3-virtualenv"
+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/python3-/}/${pkgname/python3-/}-${version}.tar.gz"
+checksum=61761e1fe14474fb2be7e264555b99fc343b4e63c0ee32aa3497c651e4cdec03
+# Requires itself to be installed for testing
+make_check=no
+
+post_install() {
+	vlicense LICENSE.txt
+}

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

end of thread, other threads:[~2022-06-29 16:45 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-11 12:28 [PR PATCH] New package: python3-hatch-1.2.1 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 ` [PR PATCH] [Updated] " jcgruenhage
2022-06-26 14:45 ` [PR PATCH] [Updated] New package: hatch-1.2.1 jcgruenhage
2022-06-29 16:45 ` [PR PATCH] [Merged]: " leahneukirchen

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).