Github messages for voidlinux
 help / color / mirror / Atom feed
From: realcharmer <realcharmer@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] platformio: update to 6.1.1, adopt, add new dependencies
Date: Tue, 07 Nov 2023 00:36:57 +0100	[thread overview]
Message-ID: <20231106233657.q5suDYPYmyiy01BwIrYEJ2rc32Vlusnelhe-vEsHmyc@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-47104@inbox.vuxu.org>

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

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

https://github.com/realcharmer/void-packages platformio
https://github.com/void-linux/void-packages/pull/47104

platformio: update to 6.1.1, adopt, add new dependencies
This is a rather large PR which updates `platformio` to the latest version and adds new python3 modules as dependencies.

#### 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 my native architecture, (x86_64)


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

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

From 9af80bceb106921437be95077223880c15cc48f9 Mon Sep 17 00:00:00 2001
From: Emil Miler <em@0x45.cz>
Date: Tue, 7 Nov 2023 00:12:00 +0100
Subject: [PATCH 1/4] platformio: update to 6.1.1, adopt

---
 srcpkgs/platformio/template | 18 ++++++++++--------
 1 file changed, 10 insertions(+), 8 deletions(-)

diff --git a/srcpkgs/platformio/template b/srcpkgs/platformio/template
index 682539dc63272..8296b9f8571f2 100644
--- a/srcpkgs/platformio/template
+++ b/srcpkgs/platformio/template
@@ -1,23 +1,25 @@
 # Template file for 'platformio'
 pkgname=platformio
-version=5.2.5
-revision=3
+version=6.1.1
+revision=1
 build_style=python3-module
 # According to https://github.com/platformio/platformio-core/blob/9c20ab81cb68f1ffb7a8cac22ce95c4c797643ec/Makefile#L13
 make_check_target="tests/test_examples.py"
 hostmakedepends="python3-setuptools"
-depends="python3-bottle python3-click python3-colorama python3-marshmallow
- python3-pyelftools python3-pyserial python3-requests
- python3-semanticversion python3-setuptools python3-tabulate"
+depends="python3-aiofiles python3-ajsonrpc python3-anyio python3-bottle
+ python3-click python3-colorama  python3-marshmallow python3-pyelftools
+ python3-pyserial python3-requests python3-semanticversion python3-setuptools
+ python3-starlette python3-tabulate python3-uvicorn python3-wsproto
+ python3-zeroconf"
 checkdepends="python3-pytest python3-jsondiff python3-wheel python3-pip
  python3-Twisted python3-certifi git python3-zeroconf $depends"
 short_desc="Ecosystem for embedded development"
-maintainer="Orphaned <orphan@voidlinux.org>"
+maintainer="Emil Miler <em@0x45.cz>"
 license="Apache-2.0"
 homepage="https://github.com/platformio/platformio-core"
 changelog="https://raw.githubusercontent.com/platformio/platformio-core/develop/HISTORY.rst"
-distfiles="${homepage}/archive/v${version}.tar.gz"
-checksum=26cc5b61d113250519257c156ae693ab8f6aea891283b28f1c4c67ffc81fb574
+distfiles="https://github.com/platformio/platformio-core/archive/refs/tags/v${version}.tar.gz"
+checksum=44e66d216f3925fe0ee5d830ec4d569c57e3407aeafedb277ce71f69d9027acc
 
 post_install() {
 	vinstall scripts/99-platformio-udev.rules 644 usr/lib/udev/rules.d

From faeb2087063108297bddc172f6b48c28e2db96d1 Mon Sep 17 00:00:00 2001
From: Emil Miler <em@0x45.cz>
Date: Tue, 7 Nov 2023 00:12:59 +0100
Subject: [PATCH 2/4] New package: python3-ajsonrpc-1.2.0

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

diff --git a/srcpkgs/python3-ajsonrpc/template b/srcpkgs/python3-ajsonrpc/template
new file mode 100644
index 0000000000000..e966224ea1eb8
--- /dev/null
+++ b/srcpkgs/python3-ajsonrpc/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-ajsonrpc'
+pkgname=python3-ajsonrpc
+version=1.2.0
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3"
+checkdepends="python3-pytest"
+short_desc="Async JSON-RPC 2.0 protocol and server"
+maintainer="Emil Miler <em@0x45.cz>"
+license="MIT"
+homepage="https://github.com/pavlov99/ajsonrpc"
+distfiles="${PYPI_SITE}/a/ajsonrpc/ajsonrpc-${version}.tar.gz"
+checksum=791bac18f0bf0dee109194644f151cf8b7ff529c4b8d6239ac48104a3251a19f
+
+post_install() {
+	vlicense LICENSE.txt
+}

From a522304d4ea66e8d2c5fe6f5686345ffd3066ae8 Mon Sep 17 00:00:00 2001
From: Emil Miler <em@0x45.cz>
Date: Tue, 7 Nov 2023 00:13:42 +0100
Subject: [PATCH 3/4] New package: python3-uvicorn-0.24.0

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

diff --git a/srcpkgs/python3-uvicorn/template b/srcpkgs/python3-uvicorn/template
new file mode 100644
index 0000000000000..ddcac7cd11023
--- /dev/null
+++ b/srcpkgs/python3-uvicorn/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-uvicorn'
+pkgname=python3-uvicorn
+version=0.24.0
+revision=1
+build_style=python3-pep517
+hostmakedepends="hatchling"
+depends="python3-asgiref python3-uvloop python3-click python3-h11"
+short_desc="ASGI web server"
+maintainer="Emil Miler <em@0x45.cz>"
+license="BSD-3-Clause"
+homepage="https://www.uvicorn.org/"
+changelog="https://github.com/encode/uvicorn/blob/master/CHANGELOG.md"
+distfiles="${PYPI_SITE}/u/uvicorn/uvicorn-${version}.tar.gz"
+checksum=368d5d81520a51be96431845169c225d771c9dd22a58613e1a181e6c4512ac33
+
+post_install() {
+	vlicense LICENSE.md
+}

From 53389e2df5e81ab10c6b6551ca9be14699798a40 Mon Sep 17 00:00:00 2001
From: Emil Miler <em@0x45.cz>
Date: Tue, 7 Nov 2023 00:14:23 +0100
Subject: [PATCH 4/4] New Package: python3-starlette-0.32.0

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

diff --git a/srcpkgs/python3-starlette/template b/srcpkgs/python3-starlette/template
new file mode 100644
index 0000000000000..0ee23e242f987
--- /dev/null
+++ b/srcpkgs/python3-starlette/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-starlette'
+pkgname=python3-starlette
+version=0.32.0
+revision=1
+build_style=python3-pep517
+hostmakedepends="hatchling"
+depends="python3"
+short_desc="Lightweight ASGI framework for building async web services"
+maintainer="Emil Miler <em@0x45.cz>"
+license="BSD-3-Clause"
+homepage="https://github.com/encode/starlette"
+distfiles="${PYPI_SITE}/s/starlette/starlette-${version}.tar.gz"
+checksum=87c899fe3aee6a42f711380b03e1d244a21079529cb3dbe1a5109e60915e0bbb
+# Many modules needed for testing are not available
+make_check=no
+
+post_install() {
+	vlicense LICENSE.md
+}

  parent reply	other threads:[~2023-11-06 23:36 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-06 23:19 [PR PATCH] " realcharmer
2023-11-06 23:22 ` [PR PATCH] [Updated] " realcharmer
2023-11-06 23:28 ` realcharmer
2023-11-06 23:34 ` realcharmer
2023-11-06 23:36 ` realcharmer [this message]
2023-11-06 23:53 ` filiprojek
2023-12-02  9:41 ` [PR PATCH] [Merged]: " classabbyamp

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=20231106233657.q5suDYPYmyiy01BwIrYEJ2rc32Vlusnelhe-vEsHmyc@z \
    --to=realcharmer@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).