Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] python3-pdfminer.six: update to 20220524.
@ 2022-09-13 17:07 icp1994
  2022-09-14  6:46 ` classabbyamp
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: icp1994 @ 2022-09-13 17:07 UTC (permalink / raw)
  To: ml

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

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

https://github.com/icp1994/void-packages python3-pdfminer.six
https://github.com/void-linux/void-packages/pull/39260

python3-pdfminer.six: update to 20220524.
#### Testing the changes
- I tested the changes in this PR: **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/39260.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-pdfminer.six-39260.patch --]
[-- Type: text/x-diff, Size: 2650 bytes --]

From 6b3f75d7052de91cb294f729be2888cb714951eb Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Tue, 13 Sep 2022 22:36:10 +0530
Subject: [PATCH] python3-pdfminer.six: update to 20220524.

---
 .../python3-pdfminer.six/patches/dep.patch    | 26 -------------------
 srcpkgs/python3-pdfminer.six/template         | 13 +++++-----
 2 files changed, 7 insertions(+), 32 deletions(-)
 delete mode 100644 srcpkgs/python3-pdfminer.six/patches/dep.patch

diff --git a/srcpkgs/python3-pdfminer.six/patches/dep.patch b/srcpkgs/python3-pdfminer.six/patches/dep.patch
deleted file mode 100644
index 4cbc19d8d312..000000000000
--- a/srcpkgs/python3-pdfminer.six/patches/dep.patch
+++ /dev/null
@@ -1,26 +0,0 @@
---- a/CHANGELOG.md
-+++ b/CHANGELOG.md
-@@ -3,6 +3,11 @@ All notable changes in pdfminer.six will be documented in this file.
- 
- The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- 
-+## [Unreleased]
-+
-+### Removed
-+- Unused dependency on `sortedcontainers` package ([#525](https://github.com/pdfminer/pdfminer.six/pull/525))
-+
- ## [20201018]
- 
- ### Deprecated
-
---- a/setup.py
-+++ b/setup.py
-@@ -15,7 +15,6 @@
-     install_requires=[
-         'chardet ; python_version > "3.0"',
-         'cryptography',
--        'sortedcontainers',
-     ],
-     extras_require={
-         "dev": ["nose", "tox"],
-
diff --git a/srcpkgs/python3-pdfminer.six/template b/srcpkgs/python3-pdfminer.six/template
index 4b7abb3370ab..25f8c83ffdad 100644
--- a/srcpkgs/python3-pdfminer.six/template
+++ b/srcpkgs/python3-pdfminer.six/template
@@ -1,18 +1,19 @@
 # Template file for 'python3-pdfminer.six'
 pkgname=python3-pdfminer.six
-version=20201018
-revision=2
+version=20220524
+revision=1
 wrksrc=pdfminer.six-${version}
 build_style=python3-module
 hostmakedepends="python3-setuptools"
-depends="python3 python3-cryptography python3-chardet"
-checkdepends="$depends tox python3-nose"
+depends="python3-charset-normalizer python3-cryptography python3-Pillow"
+checkdepends="$depends python3-pytest-xdist"
 short_desc="Tool for extracting information from PDF documents"
 maintainer="Bleznudd <bleznudd@pm.me>"
 license="MIT"
 homepage="https://github.com/pdfminer/pdfminer.six"
-distfiles="${homepage}/archive/refs/tags/${version}.tar.gz"
-checksum=0e9c8b0a9c40c2aee044c3091ad6b18b5e6279722e64b6b975f8aedc26bf8e38
+changelog="https://raw.githubusercontent.com/pdfminer/pdfminer.six/master/CHANGELOG.md"
+distfiles="https://github.com/pdfminer/pdfminer.six/archive/refs/tags/${version}.tar.gz"
+checksum=a036227ecd6c140ac270870f9e59b104024232939cc199d79703447e976d389e
 
 post_install() {
 	vlicense LICENSE

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

* Re: python3-pdfminer.six: update to 20220524.
  2022-09-13 17:07 [PR PATCH] python3-pdfminer.six: update to 20220524 icp1994
@ 2022-09-14  6:46 ` classabbyamp
  2022-09-14 16:43 ` [PR PATCH] [Updated] " icp1994
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: classabbyamp @ 2022-09-14  6:46 UTC (permalink / raw)
  To: ml

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

New comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/39260#issuecomment-1246316865

Comment:
```diff
File Diff of python3-pdfminer.six:
--- REPO
+++ BUILT
@@ -3,5 +3,5 @@
-/usr/lib/python3.[10](https://github.com/void-linux/void-packages/actions/runs/3046985988/jobs/4910463016#step:9:11)/site-packages/pdfminer.six-20201018-py3.10.egg-info/PKG-INFO
-/usr/lib/python3.10/site-packages/pdfminer.six-20201018-py3.10.egg-info/SOURCES.txt
-/usr/lib/python3.10/site-packages/pdfminer.six-20201018-py3.10.egg-info/dependency_links.txt
-/usr/lib/python3.10/site-packages/pdfminer.six-20201018-py3.10.egg-info/requires.txt
-/usr/lib/python3.10/site-packages/pdfminer.six-20201018-py3.10.egg-info/top_level.txt
+/usr/lib/python3.10/site-packages/pdfminer.six-_VERSION_-py3.10.egg-info/PKG-INFO
+/usr/lib/python3.10/site-packages/pdfminer.six-_VERSION_-py3.10.egg-info/SOURCES.txt
+/usr/lib/python3.10/site-packages/pdfminer.six-_VERSION_-py3.10.egg-info/dependency_links.txt
+/usr/lib/python3.10/site-packages/pdfminer.six-_VERSION_-py3.10.egg-info/requires.txt
+/usr/lib/python3.10/site-packages/pdfminer.six-_VERSION_-py3.10.egg-info/top_level.txt
```
something's up here

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

* Re: [PR PATCH] [Updated] python3-pdfminer.six: update to 20220524.
  2022-09-13 17:07 [PR PATCH] python3-pdfminer.six: update to 20220524 icp1994
  2022-09-14  6:46 ` classabbyamp
@ 2022-09-14 16:43 ` icp1994
  2022-09-14 16:45 ` icp1994
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: icp1994 @ 2022-09-14 16:43 UTC (permalink / raw)
  To: ml

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

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

https://github.com/icp1994/void-packages python3-pdfminer.six
https://github.com/void-linux/void-packages/pull/39260

python3-pdfminer.six: update to 20220524.
#### Testing the changes
- I tested the changes in this PR: **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/39260.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-pdfminer.six-39260.patch --]
[-- Type: text/x-diff, Size: 2735 bytes --]

From 8b53b9dcf90dec2e338f691669ac3aa1c4e18599 Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Tue, 13 Sep 2022 22:36:10 +0530
Subject: [PATCH] python3-pdfminer.six: update to 20220524.

---
 .../python3-pdfminer.six/patches/dep.patch    | 26 -------------------
 srcpkgs/python3-pdfminer.six/template         | 17 +++++++-----
 2 files changed, 11 insertions(+), 32 deletions(-)
 delete mode 100644 srcpkgs/python3-pdfminer.six/patches/dep.patch

diff --git a/srcpkgs/python3-pdfminer.six/patches/dep.patch b/srcpkgs/python3-pdfminer.six/patches/dep.patch
deleted file mode 100644
index 4cbc19d8d312..000000000000
--- a/srcpkgs/python3-pdfminer.six/patches/dep.patch
+++ /dev/null
@@ -1,26 +0,0 @@
---- a/CHANGELOG.md
-+++ b/CHANGELOG.md
-@@ -3,6 +3,11 @@ All notable changes in pdfminer.six will be documented in this file.
- 
- The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- 
-+## [Unreleased]
-+
-+### Removed
-+- Unused dependency on `sortedcontainers` package ([#525](https://github.com/pdfminer/pdfminer.six/pull/525))
-+
- ## [20201018]
- 
- ### Deprecated
-
---- a/setup.py
-+++ b/setup.py
-@@ -15,7 +15,6 @@
-     install_requires=[
-         'chardet ; python_version > "3.0"',
-         'cryptography',
--        'sortedcontainers',
-     ],
-     extras_require={
-         "dev": ["nose", "tox"],
-
diff --git a/srcpkgs/python3-pdfminer.six/template b/srcpkgs/python3-pdfminer.six/template
index 4b7abb3370ab..c17b684f3c59 100644
--- a/srcpkgs/python3-pdfminer.six/template
+++ b/srcpkgs/python3-pdfminer.six/template
@@ -1,18 +1,23 @@
 # Template file for 'python3-pdfminer.six'
 pkgname=python3-pdfminer.six
-version=20201018
-revision=2
+version=20220524
+revision=1
 wrksrc=pdfminer.six-${version}
 build_style=python3-module
 hostmakedepends="python3-setuptools"
-depends="python3 python3-cryptography python3-chardet"
-checkdepends="$depends tox python3-nose"
+depends="python3-charset-normalizer python3-cryptography python3-Pillow"
+checkdepends="$depends python3-pytest-xdist"
 short_desc="Tool for extracting information from PDF documents"
 maintainer="Bleznudd <bleznudd@pm.me>"
 license="MIT"
 homepage="https://github.com/pdfminer/pdfminer.six"
-distfiles="${homepage}/archive/refs/tags/${version}.tar.gz"
-checksum=0e9c8b0a9c40c2aee044c3091ad6b18b5e6279722e64b6b975f8aedc26bf8e38
+changelog="https://raw.githubusercontent.com/pdfminer/pdfminer.six/master/CHANGELOG.md"
+distfiles="https://github.com/pdfminer/pdfminer.six/archive/refs/tags/${version}.tar.gz"
+checksum=a036227ecd6c140ac270870f9e59b104024232939cc199d79703447e976d389e
+
+do_patch() {
+	vsed -i pdfminer/__init__.py -e "s/__VERSION__/${version}/g"
+}
 
 post_install() {
 	vlicense LICENSE

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

* Re: python3-pdfminer.six: update to 20220524.
  2022-09-13 17:07 [PR PATCH] python3-pdfminer.six: update to 20220524 icp1994
  2022-09-14  6:46 ` classabbyamp
  2022-09-14 16:43 ` [PR PATCH] [Updated] " icp1994
@ 2022-09-14 16:45 ` icp1994
  2022-09-14 16:59 ` [PR REVIEW] " classabbyamp
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: icp1994 @ 2022-09-14 16:45 UTC (permalink / raw)
  To: ml

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

New comment by icp1994 on void-packages repository

https://github.com/void-linux/void-packages/pull/39260#issuecomment-1247038857

Comment:
https://github.com/pdfminer/pdfminer.six/blob/20220524/pdfminer/__init__.py#L1
I have not seen that workflow pattern before. I tried to get the pypi source tarball which has the version but it's missing the tests. So I added a `do_patch` block instead.

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

* Re: [PR REVIEW] python3-pdfminer.six: update to 20220524.
  2022-09-13 17:07 [PR PATCH] python3-pdfminer.six: update to 20220524 icp1994
                   ` (2 preceding siblings ...)
  2022-09-14 16:45 ` icp1994
@ 2022-09-14 16:59 ` classabbyamp
  2022-09-14 17:30 ` [PR PATCH] [Updated] " icp1994
  2022-09-19  4:14 ` [PR PATCH] [Merged]: " classabbyamp
  5 siblings, 0 replies; 7+ messages in thread
From: classabbyamp @ 2022-09-14 16:59 UTC (permalink / raw)
  To: ml

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

New review comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/39260#discussion_r971079629

Comment:
```suggestion
post_patch() {
```


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

* Re: [PR PATCH] [Updated] python3-pdfminer.six: update to 20220524.
  2022-09-13 17:07 [PR PATCH] python3-pdfminer.six: update to 20220524 icp1994
                   ` (3 preceding siblings ...)
  2022-09-14 16:59 ` [PR REVIEW] " classabbyamp
@ 2022-09-14 17:30 ` icp1994
  2022-09-19  4:14 ` [PR PATCH] [Merged]: " classabbyamp
  5 siblings, 0 replies; 7+ messages in thread
From: icp1994 @ 2022-09-14 17:30 UTC (permalink / raw)
  To: ml

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

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

https://github.com/icp1994/void-packages python3-pdfminer.six
https://github.com/void-linux/void-packages/pull/39260

python3-pdfminer.six: update to 20220524.
#### Testing the changes
- I tested the changes in this PR: **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/39260.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-pdfminer.six-39260.patch --]
[-- Type: text/x-diff, Size: 2737 bytes --]

From bb48ceab3e2fa733dcf50ca1ce617d27ecb47885 Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Tue, 13 Sep 2022 22:36:10 +0530
Subject: [PATCH] python3-pdfminer.six: update to 20220524.

---
 .../python3-pdfminer.six/patches/dep.patch    | 26 -------------------
 srcpkgs/python3-pdfminer.six/template         | 17 +++++++-----
 2 files changed, 11 insertions(+), 32 deletions(-)
 delete mode 100644 srcpkgs/python3-pdfminer.six/patches/dep.patch

diff --git a/srcpkgs/python3-pdfminer.six/patches/dep.patch b/srcpkgs/python3-pdfminer.six/patches/dep.patch
deleted file mode 100644
index 4cbc19d8d312..000000000000
--- a/srcpkgs/python3-pdfminer.six/patches/dep.patch
+++ /dev/null
@@ -1,26 +0,0 @@
---- a/CHANGELOG.md
-+++ b/CHANGELOG.md
-@@ -3,6 +3,11 @@ All notable changes in pdfminer.six will be documented in this file.
- 
- The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- 
-+## [Unreleased]
-+
-+### Removed
-+- Unused dependency on `sortedcontainers` package ([#525](https://github.com/pdfminer/pdfminer.six/pull/525))
-+
- ## [20201018]
- 
- ### Deprecated
-
---- a/setup.py
-+++ b/setup.py
-@@ -15,7 +15,6 @@
-     install_requires=[
-         'chardet ; python_version > "3.0"',
-         'cryptography',
--        'sortedcontainers',
-     ],
-     extras_require={
-         "dev": ["nose", "tox"],
-
diff --git a/srcpkgs/python3-pdfminer.six/template b/srcpkgs/python3-pdfminer.six/template
index 4b7abb3370ab..1ddc07943283 100644
--- a/srcpkgs/python3-pdfminer.six/template
+++ b/srcpkgs/python3-pdfminer.six/template
@@ -1,18 +1,23 @@
 # Template file for 'python3-pdfminer.six'
 pkgname=python3-pdfminer.six
-version=20201018
-revision=2
+version=20220524
+revision=1
 wrksrc=pdfminer.six-${version}
 build_style=python3-module
 hostmakedepends="python3-setuptools"
-depends="python3 python3-cryptography python3-chardet"
-checkdepends="$depends tox python3-nose"
+depends="python3-charset-normalizer python3-cryptography python3-Pillow"
+checkdepends="$depends python3-pytest-xdist"
 short_desc="Tool for extracting information from PDF documents"
 maintainer="Bleznudd <bleznudd@pm.me>"
 license="MIT"
 homepage="https://github.com/pdfminer/pdfminer.six"
-distfiles="${homepage}/archive/refs/tags/${version}.tar.gz"
-checksum=0e9c8b0a9c40c2aee044c3091ad6b18b5e6279722e64b6b975f8aedc26bf8e38
+changelog="https://raw.githubusercontent.com/pdfminer/pdfminer.six/master/CHANGELOG.md"
+distfiles="https://github.com/pdfminer/pdfminer.six/archive/refs/tags/${version}.tar.gz"
+checksum=a036227ecd6c140ac270870f9e59b104024232939cc199d79703447e976d389e
+
+post_patch() {
+	vsed -i pdfminer/__init__.py -e "s/__VERSION__/${version}/g"
+}
 
 post_install() {
 	vlicense LICENSE

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

* Re: [PR PATCH] [Merged]: python3-pdfminer.six: update to 20220524.
  2022-09-13 17:07 [PR PATCH] python3-pdfminer.six: update to 20220524 icp1994
                   ` (4 preceding siblings ...)
  2022-09-14 17:30 ` [PR PATCH] [Updated] " icp1994
@ 2022-09-19  4:14 ` classabbyamp
  5 siblings, 0 replies; 7+ messages in thread
From: classabbyamp @ 2022-09-19  4:14 UTC (permalink / raw)
  To: ml

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

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

python3-pdfminer.six: update to 20220524.
https://github.com/void-linux/void-packages/pull/39260

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

#### Local build testing
- I built this PR locally for my native architecture, x86_64

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

end of thread, other threads:[~2022-09-19  4:14 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-13 17:07 [PR PATCH] python3-pdfminer.six: update to 20220524 icp1994
2022-09-14  6:46 ` classabbyamp
2022-09-14 16:43 ` [PR PATCH] [Updated] " icp1994
2022-09-14 16:45 ` icp1994
2022-09-14 16:59 ` [PR REVIEW] " classabbyamp
2022-09-14 17:30 ` [PR PATCH] [Updated] " icp1994
2022-09-19  4:14 ` [PR PATCH] [Merged]: " classabbyamp

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