Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] python3-{mechanize,magic}
@ 2021-05-21  5:15 ericonr
  2021-11-18  2:58 ` [PR PATCH] [Updated] python3-{mechanize,magic} ericonr
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: ericonr @ 2021-05-21  5:15 UTC (permalink / raw)
  To: ml

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

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

https://github.com/ericonr/void-packages python3stuff
https://github.com/void-linux/void-packages/pull/31033

python3-{mechanize,magic}
<!-- Mark items with [x] where applicable -->

#### General
- [ ] 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
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
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/31033.patch is attached

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

From a00cdb847ebb4bda01b31bb51584a70ae69c3818 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=89rico=20Nogueira?= <erico.erc@gmail.com>
Date: Fri, 21 May 2021 02:13:23 -0300
Subject: [PATCH 1/2] python3-mechanize: update to 0.4.5.

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

diff --git a/srcpkgs/python3-mechanize/template b/srcpkgs/python3-mechanize/template
index 0d73fc8766fc..1aea799fd471 100644
--- a/srcpkgs/python3-mechanize/template
+++ b/srcpkgs/python3-mechanize/template
@@ -1,7 +1,7 @@
 # Template file for 'python3-mechanize'
 pkgname=python3-mechanize
-version=0.4.3
-revision=6
+version=0.4.5
+revision=1
 wrksrc="mechanize-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
@@ -12,7 +12,7 @@ maintainer="Farhad Shahbazi <grauwolf@geekosphere.org>"
 license="BSD-3-Clause"
 homepage="https://github.com/python-mechanize/mechanize"
 distfiles="https://github.com/python-mechanize/mechanize/archive/v${version}.tar.gz"
-checksum=7c452a3eed7f83a13674027a58a4afe57ca67630d252a789ac1c15dcd55d310c
+checksum=08515f36d315566b256888bbe50e3587293397028c45b5289f3e38fede3c574f
 
 post_install() {
 	vlicense LICENSE

From ba4256bbe22c774a0ae5c6ca9c06566049793f1b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=89rico=20Nogueira?= <erico.erc@gmail.com>
Date: Fri, 21 May 2021 02:14:28 -0300
Subject: [PATCH 2/2] python3-magic: update to 0.4.22.

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

diff --git a/srcpkgs/python3-magic/template b/srcpkgs/python3-magic/template
index fb4c324dc86b..80d4b0da765d 100644
--- a/srcpkgs/python3-magic/template
+++ b/srcpkgs/python3-magic/template
@@ -1,7 +1,7 @@
 # Template file for 'python3-magic'
 pkgname=python3-magic
-version=0.4.18
-revision=4
+version=0.4.22
+revision=1
 wrksrc=python-magic-$version
 build_style=python3-module
 hostmakedepends="python3-setuptools"
@@ -11,7 +11,7 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 license="MIT"
 homepage="https://github.com/ahupp/python-magic"
 distfiles="https://github.com/ahupp/python-magic/archive/${version}.tar.gz"
-checksum=b787e8056c115f37e2af11e0b98dc67d5fc182ed5ed827a62f95e3a7f0ed4be4
+checksum=cd4be7884304720a59e72a32e578c0fe676e4cdd2664778ba105469b4c201189
 
 post_install() {
 	vlicense LICENSE

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

* Re: [PR PATCH] [Updated] python3-{mechanize,magic}
  2021-05-21  5:15 [PR PATCH] python3-{mechanize,magic} ericonr
@ 2021-11-18  2:58 ` ericonr
  2021-11-18  3:03 ` ericonr
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: ericonr @ 2021-11-18  2:58 UTC (permalink / raw)
  To: ml

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

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

https://github.com/ericonr/void-packages python3stuff
https://github.com/void-linux/void-packages/pull/31033

python3-{mechanize,magic}
<!-- Mark items with [x] where applicable -->

#### General
- [ ] 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
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
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/31033.patch is attached

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

From e8a9f412c66b39c5abdcf8ca4075a1e8633fb12e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=89rico=20Nogueira?= <erico.erc@gmail.com>
Date: Fri, 21 May 2021 02:13:23 -0300
Subject: [PATCH 1/2] python3-mechanize: update to 0.4.5.

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

diff --git a/srcpkgs/python3-mechanize/template b/srcpkgs/python3-mechanize/template
index b23d78fd5bd1..1aea799fd471 100644
--- a/srcpkgs/python3-mechanize/template
+++ b/srcpkgs/python3-mechanize/template
@@ -1,7 +1,7 @@
 # Template file for 'python3-mechanize'
 pkgname=python3-mechanize
-version=0.4.3
-revision=7
+version=0.4.5
+revision=1
 wrksrc="mechanize-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
@@ -12,7 +12,7 @@ maintainer="Farhad Shahbazi <grauwolf@geekosphere.org>"
 license="BSD-3-Clause"
 homepage="https://github.com/python-mechanize/mechanize"
 distfiles="https://github.com/python-mechanize/mechanize/archive/v${version}.tar.gz"
-checksum=7c452a3eed7f83a13674027a58a4afe57ca67630d252a789ac1c15dcd55d310c
+checksum=08515f36d315566b256888bbe50e3587293397028c45b5289f3e38fede3c574f
 
 post_install() {
 	vlicense LICENSE

From ad800bd26f2acdb8bc8d88c9fe05aa4e92f6af83 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=89rico=20Nogueira?= <erico.erc@gmail.com>
Date: Fri, 21 May 2021 02:14:28 -0300
Subject: [PATCH 2/2] python3-magic: update to 0.4.22.

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

diff --git a/srcpkgs/python3-magic/template b/srcpkgs/python3-magic/template
index 89ac640e7a4e..80d4b0da765d 100644
--- a/srcpkgs/python3-magic/template
+++ b/srcpkgs/python3-magic/template
@@ -1,7 +1,7 @@
 # Template file for 'python3-magic'
 pkgname=python3-magic
-version=0.4.18
-revision=5
+version=0.4.22
+revision=1
 wrksrc=python-magic-$version
 build_style=python3-module
 hostmakedepends="python3-setuptools"
@@ -11,7 +11,7 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 license="MIT"
 homepage="https://github.com/ahupp/python-magic"
 distfiles="https://github.com/ahupp/python-magic/archive/${version}.tar.gz"
-checksum=b787e8056c115f37e2af11e0b98dc67d5fc182ed5ed827a62f95e3a7f0ed4be4
+checksum=cd4be7884304720a59e72a32e578c0fe676e4cdd2664778ba105469b4c201189
 
 post_install() {
 	vlicense LICENSE

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

* Re: [PR PATCH] [Updated] python3-{mechanize,magic}
  2021-05-21  5:15 [PR PATCH] python3-{mechanize,magic} ericonr
  2021-11-18  2:58 ` [PR PATCH] [Updated] python3-{mechanize,magic} ericonr
@ 2021-11-18  3:03 ` ericonr
  2021-11-18  3:07 ` ericonr
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: ericonr @ 2021-11-18  3:03 UTC (permalink / raw)
  To: ml

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

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

https://github.com/ericonr/void-packages python3stuff
https://github.com/void-linux/void-packages/pull/31033

python3-{mechanize,magic}
<!-- Mark items with [x] where applicable -->

#### General
- [ ] 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
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
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/31033.patch is attached

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

From 9683c9989e06fd574f4c29823d2bca00a2978d8e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=89rico=20Nogueira?= <erico.erc@gmail.com>
Date: Fri, 21 May 2021 02:13:23 -0300
Subject: [PATCH 1/2] python3-mechanize: update to 0.4.7.

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

diff --git a/srcpkgs/python3-mechanize/template b/srcpkgs/python3-mechanize/template
index b23d78fd5bd1..b7d78b190b2b 100644
--- a/srcpkgs/python3-mechanize/template
+++ b/srcpkgs/python3-mechanize/template
@@ -1,7 +1,7 @@
 # Template file for 'python3-mechanize'
 pkgname=python3-mechanize
-version=0.4.3
-revision=7
+version=0.4.7
+revision=1
 wrksrc="mechanize-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
@@ -12,7 +12,7 @@ maintainer="Farhad Shahbazi <grauwolf@geekosphere.org>"
 license="BSD-3-Clause"
 homepage="https://github.com/python-mechanize/mechanize"
 distfiles="https://github.com/python-mechanize/mechanize/archive/v${version}.tar.gz"
-checksum=7c452a3eed7f83a13674027a58a4afe57ca67630d252a789ac1c15dcd55d310c
+checksum=993da15561d335d9a6423d17c790e62dcfe92d7de620b3244fbd7a8efc422404
 
 post_install() {
 	vlicense LICENSE

From ada2637f9419a8f9fbfabf5569f3b8f70caff60b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=89rico=20Nogueira?= <erico.erc@gmail.com>
Date: Fri, 21 May 2021 02:14:28 -0300
Subject: [PATCH 2/2] python3-magic: update to 0.4.24.

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

diff --git a/srcpkgs/python3-magic/template b/srcpkgs/python3-magic/template
index 89ac640e7a4e..37507656b7ff 100644
--- a/srcpkgs/python3-magic/template
+++ b/srcpkgs/python3-magic/template
@@ -1,7 +1,7 @@
 # Template file for 'python3-magic'
 pkgname=python3-magic
-version=0.4.18
-revision=5
+version=0.4.24
+revision=1
 wrksrc=python-magic-$version
 build_style=python3-module
 hostmakedepends="python3-setuptools"
@@ -11,7 +11,7 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 license="MIT"
 homepage="https://github.com/ahupp/python-magic"
 distfiles="https://github.com/ahupp/python-magic/archive/${version}.tar.gz"
-checksum=b787e8056c115f37e2af11e0b98dc67d5fc182ed5ed827a62f95e3a7f0ed4be4
+checksum=48b70b62caa8b911c8c79a1d06ab618037f00d09ac891b7490d0d890ff6e0632
 
 post_install() {
 	vlicense LICENSE

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

* Re: [PR PATCH] [Updated] python3-{mechanize,magic}
  2021-05-21  5:15 [PR PATCH] python3-{mechanize,magic} ericonr
  2021-11-18  2:58 ` [PR PATCH] [Updated] python3-{mechanize,magic} ericonr
  2021-11-18  3:03 ` ericonr
@ 2021-11-18  3:07 ` ericonr
  2021-11-18  3:24 ` ericonr
  2021-11-18  3:26 ` [PR PATCH] [Merged]: python3-{mechanize,magic} ericonr
  4 siblings, 0 replies; 6+ messages in thread
From: ericonr @ 2021-11-18  3:07 UTC (permalink / raw)
  To: ml

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

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

https://github.com/ericonr/void-packages python3stuff
https://github.com/void-linux/void-packages/pull/31033

python3-{mechanize,magic}
<!-- Mark items with [x] where applicable -->

#### General
- [ ] 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
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
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/31033.patch is attached

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

From fbb56379daa7933726657fed77bdaa1f0e39a4ed Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=89rico=20Nogueira?= <erico.erc@gmail.com>
Date: Fri, 21 May 2021 02:13:23 -0300
Subject: [PATCH 1/2] python3-mechanize: update to 0.4.7.

---
 srcpkgs/python3-mechanize/template | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/python3-mechanize/template b/srcpkgs/python3-mechanize/template
index b23d78fd5bd1..5c9df2b45c96 100644
--- a/srcpkgs/python3-mechanize/template
+++ b/srcpkgs/python3-mechanize/template
@@ -1,7 +1,7 @@
 # Template file for 'python3-mechanize'
 pkgname=python3-mechanize
-version=0.4.3
-revision=7
+version=0.4.7
+revision=1
 wrksrc="mechanize-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
@@ -11,8 +11,9 @@ short_desc="Stateful programmatic web browsing (Python3)"
 maintainer="Farhad Shahbazi <grauwolf@geekosphere.org>"
 license="BSD-3-Clause"
 homepage="https://github.com/python-mechanize/mechanize"
+changelog="https://raw.githubusercontent.com/python-mechanize/mechanize/master/ChangeLog"
 distfiles="https://github.com/python-mechanize/mechanize/archive/v${version}.tar.gz"
-checksum=7c452a3eed7f83a13674027a58a4afe57ca67630d252a789ac1c15dcd55d310c
+checksum=993da15561d335d9a6423d17c790e62dcfe92d7de620b3244fbd7a8efc422404
 
 post_install() {
 	vlicense LICENSE

From fd04fc845f073289c69a0df6093765fcbe70f8ed Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=89rico=20Nogueira?= <erico.erc@gmail.com>
Date: Fri, 21 May 2021 02:14:28 -0300
Subject: [PATCH 2/2] python3-magic: update to 0.4.24.

---
 srcpkgs/python3-magic/template | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/python3-magic/template b/srcpkgs/python3-magic/template
index 89ac640e7a4e..88c3caaa880b 100644
--- a/srcpkgs/python3-magic/template
+++ b/srcpkgs/python3-magic/template
@@ -1,7 +1,7 @@
 # Template file for 'python3-magic'
 pkgname=python3-magic
-version=0.4.18
-revision=5
+version=0.4.24
+revision=1
 wrksrc=python-magic-$version
 build_style=python3-module
 hostmakedepends="python3-setuptools"
@@ -10,8 +10,9 @@ short_desc="File type identification using libmagic (Python3)"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="MIT"
 homepage="https://github.com/ahupp/python-magic"
+changelog="https://raw.githubusercontent.com/ahupp/python-magic/master/CHANGELOG"
 distfiles="https://github.com/ahupp/python-magic/archive/${version}.tar.gz"
-checksum=b787e8056c115f37e2af11e0b98dc67d5fc182ed5ed827a62f95e3a7f0ed4be4
+checksum=48b70b62caa8b911c8c79a1d06ab618037f00d09ac891b7490d0d890ff6e0632
 
 post_install() {
 	vlicense LICENSE

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

* Re: [PR PATCH] [Updated] python3-{mechanize,magic}
  2021-05-21  5:15 [PR PATCH] python3-{mechanize,magic} ericonr
                   ` (2 preceding siblings ...)
  2021-11-18  3:07 ` ericonr
@ 2021-11-18  3:24 ` ericonr
  2021-11-18  3:26 ` [PR PATCH] [Merged]: python3-{mechanize,magic} ericonr
  4 siblings, 0 replies; 6+ messages in thread
From: ericonr @ 2021-11-18  3:24 UTC (permalink / raw)
  To: ml

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

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

https://github.com/ericonr/void-packages python3stuff
https://github.com/void-linux/void-packages/pull/31033

python3-{mechanize,magic}
<!-- Mark items with [x] where applicable -->

#### General
- [ ] 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
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
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/31033.patch is attached

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

From fbb56379daa7933726657fed77bdaa1f0e39a4ed Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=89rico=20Nogueira?= <erico.erc@gmail.com>
Date: Fri, 21 May 2021 02:13:23 -0300
Subject: [PATCH 1/2] python3-mechanize: update to 0.4.7.

---
 srcpkgs/python3-mechanize/template | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/python3-mechanize/template b/srcpkgs/python3-mechanize/template
index b23d78fd5bd1..5c9df2b45c96 100644
--- a/srcpkgs/python3-mechanize/template
+++ b/srcpkgs/python3-mechanize/template
@@ -1,7 +1,7 @@
 # Template file for 'python3-mechanize'
 pkgname=python3-mechanize
-version=0.4.3
-revision=7
+version=0.4.7
+revision=1
 wrksrc="mechanize-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
@@ -11,8 +11,9 @@ short_desc="Stateful programmatic web browsing (Python3)"
 maintainer="Farhad Shahbazi <grauwolf@geekosphere.org>"
 license="BSD-3-Clause"
 homepage="https://github.com/python-mechanize/mechanize"
+changelog="https://raw.githubusercontent.com/python-mechanize/mechanize/master/ChangeLog"
 distfiles="https://github.com/python-mechanize/mechanize/archive/v${version}.tar.gz"
-checksum=7c452a3eed7f83a13674027a58a4afe57ca67630d252a789ac1c15dcd55d310c
+checksum=993da15561d335d9a6423d17c790e62dcfe92d7de620b3244fbd7a8efc422404
 
 post_install() {
 	vlicense LICENSE

From 7e4c7f6616a2e19509a633205803d48c927e9e04 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=89rico=20Nogueira?= <erico.erc@gmail.com>
Date: Fri, 21 May 2021 02:14:28 -0300
Subject: [PATCH 2/2] python3-magic: update to 0.4.24.

Add and fix tests with backported commit.
---
 ...e7ceac0e80e03adc75c858bb378c0427331a.patch | 24 +++++++++++++++++++
 srcpkgs/python3-magic/template                | 17 ++++++++++---
 2 files changed, 38 insertions(+), 3 deletions(-)
 create mode 100644 srcpkgs/python3-magic/patches/0ae7e7ceac0e80e03adc75c858bb378c0427331a.patch

diff --git a/srcpkgs/python3-magic/patches/0ae7e7ceac0e80e03adc75c858bb378c0427331a.patch b/srcpkgs/python3-magic/patches/0ae7e7ceac0e80e03adc75c858bb378c0427331a.patch
new file mode 100644
index 000000000000..ba4abc0796f7
--- /dev/null
+++ b/srcpkgs/python3-magic/patches/0ae7e7ceac0e80e03adc75c858bb378c0427331a.patch
@@ -0,0 +1,24 @@
+From 0ae7e7ceac0e80e03adc75c858bb378c0427331a Mon Sep 17 00:00:00 2001
+From: Martin Liska <mliska@suse.cz>
+Date: Fri, 22 Oct 2021 09:47:32 +0200
+Subject: [PATCH] Support file 5.41.
+
+In https://github.com/file/file/commit/7d9b0f0d853957ad88dae0f440fecd58d2740ca7,
+the MIME was changed for Python bytecode.
+---
+ test/test.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/test/test.py b/test/test.py
+index 0c4621c..e443b84 100755
+--- a/test/test.py
++++ b/test/test.py
+@@ -90,7 +90,7 @@ def test_mime_types(self):
+         try:
+             m = magic.Magic(mime=True)
+             self.assert_values(m, {
+-                'magic._pyc_': ('application/octet-stream', 'text/x-bytecode.python'),
++                'magic._pyc_': ('application/octet-stream', 'text/x-bytecode.python', 'application/x-bytecode.python'),
+                 'test.pdf': 'application/pdf',
+                 'test.gz': ('application/gzip', 'application/x-gzip'),
+                 'test.snappy.parquet': 'application/octet-stream',
diff --git a/srcpkgs/python3-magic/template b/srcpkgs/python3-magic/template
index 89ac640e7a4e..e47aea1a704d 100644
--- a/srcpkgs/python3-magic/template
+++ b/srcpkgs/python3-magic/template
@@ -1,7 +1,7 @@
 # Template file for 'python3-magic'
 pkgname=python3-magic
-version=0.4.18
-revision=5
+version=0.4.24
+revision=1
 wrksrc=python-magic-$version
 build_style=python3-module
 hostmakedepends="python3-setuptools"
@@ -10,8 +10,19 @@ short_desc="File type identification using libmagic (Python3)"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="MIT"
 homepage="https://github.com/ahupp/python-magic"
+changelog="https://raw.githubusercontent.com/ahupp/python-magic/master/CHANGELOG"
 distfiles="https://github.com/ahupp/python-magic/archive/${version}.tar.gz"
-checksum=b787e8056c115f37e2af11e0b98dc67d5fc182ed5ed827a62f95e3a7f0ed4be4
+checksum=48b70b62caa8b911c8c79a1d06ab618037f00d09ac891b7490d0d890ff6e0632
+
+do_check() {
+	cd test/
+	# based on test/run.py but that requires python2 and other ugly things
+	(
+		export LC_ALL=en_US.UTF-8 PYTHONPATH=..
+		python3 test.py
+		python3 libmagic_test.py
+	)
+}
 
 post_install() {
 	vlicense LICENSE

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

* Re: [PR PATCH] [Merged]: python3-{mechanize,magic}
  2021-05-21  5:15 [PR PATCH] python3-{mechanize,magic} ericonr
                   ` (3 preceding siblings ...)
  2021-11-18  3:24 ` ericonr
@ 2021-11-18  3:26 ` ericonr
  4 siblings, 0 replies; 6+ messages in thread
From: ericonr @ 2021-11-18  3:26 UTC (permalink / raw)
  To: ml

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

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

python3-{mechanize,magic}
https://github.com/void-linux/void-packages/pull/31033

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

#### General
- [ ] 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
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
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] 6+ messages in thread

end of thread, other threads:[~2021-11-18  3:26 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-21  5:15 [PR PATCH] python3-{mechanize,magic} ericonr
2021-11-18  2:58 ` [PR PATCH] [Updated] python3-{mechanize,magic} ericonr
2021-11-18  3:03 ` ericonr
2021-11-18  3:07 ` ericonr
2021-11-18  3:24 ` ericonr
2021-11-18  3:26 ` [PR PATCH] [Merged]: python3-{mechanize,magic} ericonr

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