Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] python3-httpx: add missing dependencies
@ 2021-10-22 20:29 paper42
  2021-10-22 20:39 ` [PR PATCH] [Updated] " paper42
  2021-10-24  7:03 ` [PR PATCH] [Merged]: " abenson
  0 siblings, 2 replies; 3+ messages in thread
From: paper42 @ 2021-10-22 20:29 UTC (permalink / raw)
  To: ml

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

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

https://github.com/paper42/void-packages fix-httpx-deps
https://github.com/void-linux/void-packages/pull/33703

python3-httpx: add missing dependencies
<!-- Mark items with [x] where applicable -->

#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [x] I generally don't use the affected packages but briefly tested this PR

cc @abenson

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] 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
-->


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-fix-httpx-deps-33703.patch --]
[-- Type: text/x-diff, Size: 4081 bytes --]

From 1f3155f4135ede09c1b518e8afd7ebb77a3358d8 Mon Sep 17 00:00:00 2001
From: Michal Vasilek <michal@vasilek.cz>
Date: Fri, 22 Oct 2021 11:23:55 +0200
Subject: [PATCH 1/3] New package: python3-rfc3986-1.5.0

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

diff --git a/srcpkgs/python3-rfc3986/template b/srcpkgs/python3-rfc3986/template
new file mode 100644
index 000000000000..6cc9e83b83e8
--- /dev/null
+++ b/srcpkgs/python3-rfc3986/template
@@ -0,0 +1,15 @@
+# Template file for 'python3-rfc3986'
+pkgname=python3-rfc3986
+version=1.5.0
+revision=1
+wrksrc="rfc3986-$version"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-idna"
+checkdepends="python3-pytest $depends"
+short_desc="Python Implementation of RFC3986 including validations"
+maintainer="Andrew Benson <abenson+void@gmail.com>"
+license="Apache-2.0"
+homepage="https://rfc3986.readthedocs.io/"
+distfiles="https://github.com/python-hyper/rfc3986/archive/refs/tags/$version.tar.gz"
+checksum=120c235975198b3e23458ca7ff5b8628f609190c0b067fb6059b448fe1345f1b

From 44faca7afa014b1105185c0cc3249022ba747973 Mon Sep 17 00:00:00 2001
From: Michal Vasilek <michal@vasilek.cz>
Date: Fri, 22 Oct 2021 11:23:39 +0200
Subject: [PATCH 2/3] New package: python3-httpcore-0.13.7

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

diff --git a/srcpkgs/python3-httpcore/template b/srcpkgs/python3-httpcore/template
new file mode 100644
index 000000000000..1ad467b26703
--- /dev/null
+++ b/srcpkgs/python3-httpcore/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-httpcore'
+pkgname=python3-httpcore
+version=0.13.7
+revision=1
+wrksrc="httpcore-$version"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-h11 python3-sniffio python3-anyio python3-h2"
+short_desc="Minimal HTTP client"
+maintainer="Andrew Benson <abenson+void@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://www.encode.io/httpcore/"
+changelog="https://raw.githubusercontent.com/encode/httpcore/master/CHANGELOG.md"
+distfiles="https://github.com/encode/httpcore/archive/refs/tags/$version.tar.gz"
+checksum=c72bf5b60981496361ec39be1f5feff1a4d756acc66847764946d3dac7e443ed
+make_check=no # at least trustme python module is not packaged
+
+post_install() {
+	vlicense LICENSE.md
+}

From a5d5d29efff10fb4eb580b49fc69aca88ecc13e7 Mon Sep 17 00:00:00 2001
From: Michal Vasilek <michal@vasilek.cz>
Date: Fri, 22 Oct 2021 11:23:58 +0200
Subject: [PATCH 3/3] python3-httpx: add missing dependencies

---
 srcpkgs/python3-httpx/template | 14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/python3-httpx/template b/srcpkgs/python3-httpx/template
index 9f2ce955f182..89ebd9eafa91 100644
--- a/srcpkgs/python3-httpx/template
+++ b/srcpkgs/python3-httpx/template
@@ -1,19 +1,23 @@
 # Template file for 'python3-httpx'
 pkgname=python3-httpx
 version=0.20.0
-revision=1
+revision=2
 wrksrc="httpx-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
-depends="python3"
-checkdepends="python3-pytest"
+depends="python3-rfc3986 python3-certifi python3-charset-normalizer
+ python3-sniffio python3-httpcore python3-click python3-rich python3-Pygments
+ python3-h2"
 short_desc="Next generation HTTP client for Python"
 maintainer="Andrew Benson <abenson+void@gmail.com>"
 license="BSD-3-Clause"
 homepage="https://www.python-httpx.org"
+changelog="https://raw.githubusercontent.com/encode/httpx/master/CHANGELOG.md"
 distfiles="${PYPI_SITE}/h/httpx/httpx-${version}.tar.gz"
-checksum=09606d630f070d07f9ff28104fbcea429ea0014c1e89ac90b4d8de8286c40e7b
-make_check=no # no tests included
+checksum=144e618e9668bf637b32609f66bde14528e327a514e490a5276b2a7a26b57e7c
+# the pypi tarball doesn't contain tests
+# the tests need unpackaged dependencies trustme and uvicorn
+make_check=no
 
 post_install() {
 	vlicense LICENSE.md LICENSE

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

* Re: [PR PATCH] [Updated] python3-httpx: add missing dependencies
  2021-10-22 20:29 [PR PATCH] python3-httpx: add missing dependencies paper42
@ 2021-10-22 20:39 ` paper42
  2021-10-24  7:03 ` [PR PATCH] [Merged]: " abenson
  1 sibling, 0 replies; 3+ messages in thread
From: paper42 @ 2021-10-22 20:39 UTC (permalink / raw)
  To: ml

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

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

https://github.com/paper42/void-packages fix-httpx-deps
https://github.com/void-linux/void-packages/pull/33703

python3-httpx: add missing dependencies
<!-- Mark items with [x] where applicable -->

#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [x] I generally don't use the affected packages but briefly tested this PR

cc @abenson

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] 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
-->


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-fix-httpx-deps-33703.patch --]
[-- Type: text/x-diff, Size: 4004 bytes --]

From 1f3155f4135ede09c1b518e8afd7ebb77a3358d8 Mon Sep 17 00:00:00 2001
From: Michal Vasilek <michal@vasilek.cz>
Date: Fri, 22 Oct 2021 11:23:55 +0200
Subject: [PATCH 1/3] New package: python3-rfc3986-1.5.0

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

diff --git a/srcpkgs/python3-rfc3986/template b/srcpkgs/python3-rfc3986/template
new file mode 100644
index 000000000000..6cc9e83b83e8
--- /dev/null
+++ b/srcpkgs/python3-rfc3986/template
@@ -0,0 +1,15 @@
+# Template file for 'python3-rfc3986'
+pkgname=python3-rfc3986
+version=1.5.0
+revision=1
+wrksrc="rfc3986-$version"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-idna"
+checkdepends="python3-pytest $depends"
+short_desc="Python Implementation of RFC3986 including validations"
+maintainer="Andrew Benson <abenson+void@gmail.com>"
+license="Apache-2.0"
+homepage="https://rfc3986.readthedocs.io/"
+distfiles="https://github.com/python-hyper/rfc3986/archive/refs/tags/$version.tar.gz"
+checksum=120c235975198b3e23458ca7ff5b8628f609190c0b067fb6059b448fe1345f1b

From 44faca7afa014b1105185c0cc3249022ba747973 Mon Sep 17 00:00:00 2001
From: Michal Vasilek <michal@vasilek.cz>
Date: Fri, 22 Oct 2021 11:23:39 +0200
Subject: [PATCH 2/3] New package: python3-httpcore-0.13.7

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

diff --git a/srcpkgs/python3-httpcore/template b/srcpkgs/python3-httpcore/template
new file mode 100644
index 000000000000..1ad467b26703
--- /dev/null
+++ b/srcpkgs/python3-httpcore/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-httpcore'
+pkgname=python3-httpcore
+version=0.13.7
+revision=1
+wrksrc="httpcore-$version"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-h11 python3-sniffio python3-anyio python3-h2"
+short_desc="Minimal HTTP client"
+maintainer="Andrew Benson <abenson+void@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://www.encode.io/httpcore/"
+changelog="https://raw.githubusercontent.com/encode/httpcore/master/CHANGELOG.md"
+distfiles="https://github.com/encode/httpcore/archive/refs/tags/$version.tar.gz"
+checksum=c72bf5b60981496361ec39be1f5feff1a4d756acc66847764946d3dac7e443ed
+make_check=no # at least trustme python module is not packaged
+
+post_install() {
+	vlicense LICENSE.md
+}

From 68b8780ecd9932f17353fd492aa5d2d0f238620f Mon Sep 17 00:00:00 2001
From: Michal Vasilek <michal@vasilek.cz>
Date: Fri, 22 Oct 2021 11:23:58 +0200
Subject: [PATCH 3/3] python3-httpx: add missing dependencies

---
 srcpkgs/python3-httpx/template | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/python3-httpx/template b/srcpkgs/python3-httpx/template
index 9f2ce955f182..78fdb5a3f70a 100644
--- a/srcpkgs/python3-httpx/template
+++ b/srcpkgs/python3-httpx/template
@@ -1,19 +1,23 @@
 # Template file for 'python3-httpx'
 pkgname=python3-httpx
 version=0.20.0
-revision=1
+revision=2
 wrksrc="httpx-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
-depends="python3"
-checkdepends="python3-pytest"
+depends="python3-rfc3986 python3-certifi python3-charset-normalizer
+ python3-sniffio python3-httpcore python3-click python3-rich python3-Pygments
+ python3-h2"
 short_desc="Next generation HTTP client for Python"
 maintainer="Andrew Benson <abenson+void@gmail.com>"
 license="BSD-3-Clause"
 homepage="https://www.python-httpx.org"
+changelog="https://raw.githubusercontent.com/encode/httpx/master/CHANGELOG.md"
 distfiles="${PYPI_SITE}/h/httpx/httpx-${version}.tar.gz"
 checksum=09606d630f070d07f9ff28104fbcea429ea0014c1e89ac90b4d8de8286c40e7b
-make_check=no # no tests included
+# the pypi tarball doesn't contain tests
+# the tests need unpackaged dependencies trustme and uvicorn
+make_check=no
 
 post_install() {
 	vlicense LICENSE.md LICENSE

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

* Re: [PR PATCH] [Merged]: python3-httpx: add missing dependencies
  2021-10-22 20:29 [PR PATCH] python3-httpx: add missing dependencies paper42
  2021-10-22 20:39 ` [PR PATCH] [Updated] " paper42
@ 2021-10-24  7:03 ` abenson
  1 sibling, 0 replies; 3+ messages in thread
From: abenson @ 2021-10-24  7:03 UTC (permalink / raw)
  To: ml

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

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

python3-httpx: add missing dependencies
https://github.com/void-linux/void-packages/pull/33703

Description:
<!-- Mark items with [x] where applicable -->

#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [x] I generally don't use the affected packages but briefly tested this PR

cc @abenson

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] 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
-->


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

end of thread, other threads:[~2021-10-24  7:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-22 20:29 [PR PATCH] python3-httpx: add missing dependencies paper42
2021-10-22 20:39 ` [PR PATCH] [Updated] " paper42
2021-10-24  7:03 ` [PR PATCH] [Merged]: " abenson

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