Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] python3-PyPDF2: rename to python3-pypdf, update to 3.4.0.
@ 2023-02-12 19:20 icp1994
  2023-02-13 19:39 ` [PR REVIEW] " Chocimier
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: icp1994 @ 2023-02-12 19:20 UTC (permalink / raw)
  To: ml

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

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

https://github.com/icp1994/void-packages python3-PyPDF2
https://github.com/void-linux/void-packages/pull/42227

python3-PyPDF2: rename to python3-pypdf, update to 3.4.0.
#### Testing the changes
- I tested the changes in this PR: **briefly**

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

I noticed the upstream rename while trying to update `diffoscope` a couple of days ago.

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

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

From ce9acaa18a956482296cab3bea589ee2929537ad Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Mon, 13 Feb 2023 00:18:51 +0530
Subject: [PATCH 1/2] python3-PyPDF2: rename to python3-pypdf, update to 3.4.0.

---
 srcpkgs/python3-PyPDF2          |  1 +
 srcpkgs/python3-PyPDF2/template | 29 ----------------------------
 srcpkgs/python3-pypdf/template  | 34 +++++++++++++++++++++++++++++++++
 3 files changed, 35 insertions(+), 29 deletions(-)
 create mode 120000 srcpkgs/python3-PyPDF2
 delete mode 100644 srcpkgs/python3-PyPDF2/template
 create mode 100644 srcpkgs/python3-pypdf/template

diff --git a/srcpkgs/python3-PyPDF2 b/srcpkgs/python3-PyPDF2
new file mode 120000
index 000000000000..3d986734e542
--- /dev/null
+++ b/srcpkgs/python3-PyPDF2
@@ -0,0 +1 @@
+python3-pypdf
\ No newline at end of file
diff --git a/srcpkgs/python3-PyPDF2/template b/srcpkgs/python3-PyPDF2/template
deleted file mode 100644
index cc79665c5a01..000000000000
--- a/srcpkgs/python3-PyPDF2/template
+++ /dev/null
@@ -1,29 +0,0 @@
-# Template file for 'python3-PyPDF2'
-pkgname=python3-PyPDF2
-version=2.11.1
-revision=2
-_sample_files_gitrev=fee1d72f36bfb73fec831a1cc6de273510a306a6
-create_wrksrc=yes
-build_wrksrc="PyPDF2-${version}"
-build_style=python3-module
-hostmakedepends="python3-setuptools"
-depends="python3-Pillow"
-checkdepends="python3-pytest python3-pycryptodome ${depends}"
-short_desc="PDF library for splitting, merging, cropping, and transforming pages"
-maintainer="Piotr Wójcik <chocimier@tlen.pl>"
-license="BSD-3-Clause"
-homepage="https://pypdf2.readthedocs.io/en/latest/"
-changelog="https://raw.githubusercontent.com/py-pdf/PyPDF2/main/CHANGELOG.md"
-distfiles="https://github.com/py-pdf/PyPDF2/archive/refs/tags/${version}.tar.gz
- https://github.com/py-pdf/sample-files/archive/${_sample_files_gitrev}.tar.gz"
-checksum="a4e323120adc5103d53c370782bfc86381143ea7b69e9213eb1263c7aaf39df8
- 24e5b1edaf78628f5267d4aed241795f3f1143e7fa0934f80be02a6c802296d7"
-
-post_extract() {
-	rmdir ${build_wrksrc}/sample-files
-	mv sample-files-${_sample_files_gitrev} ${build_wrksrc}/sample-files
-}
-
-post_install() {
-	vlicense LICENSE
-}
diff --git a/srcpkgs/python3-pypdf/template b/srcpkgs/python3-pypdf/template
new file mode 100644
index 000000000000..7d61974d052a
--- /dev/null
+++ b/srcpkgs/python3-pypdf/template
@@ -0,0 +1,34 @@
+# Template file for 'python3-pypdf'
+pkgname=python3-pypdf
+version=3.4.0
+revision=1
+_sample_files_gitrev=372294b066cd3fbb4fb12fd9000ef935a2a86fcf
+build_wrksrc="pypdf-${version}"
+build_style=python3-pep517
+hostmakedepends="python3-flit_core"
+depends="python3-Pillow"
+checkdepends="python3-pytest python3-pycryptodome ${depends}"
+short_desc="PDF library for splitting, merging, cropping, and transforming pages"
+maintainer="Piotr Wójcik <chocimier@tlen.pl>"
+license="BSD-3-Clause"
+homepage="https://pypdf.rtfd.io/"
+changelog="https://raw.githubusercontent.com/py-pdf/pypdf/main/CHANGELOG.md"
+distfiles="https://github.com/py-pdf/pypdf/archive/refs/tags/${version}.tar.gz
+ https://github.com/py-pdf/sample-files/archive/${_sample_files_gitrev}.tar.gz"
+checksum="1fb5632eced11c988e3bf0f4b2b311398a227655c64431a17a6f540ab8f6d7be
+ cf6e64e36e843dfd25d53872203367e9419beb653470da629cc76efc0e4f044b"
+
+post_extract() {
+	rmdir ${build_wrksrc}/sample-files
+	mv sample-files-${_sample_files_gitrev} ${build_wrksrc}/sample-files
+}
+
+post_install() {
+	vlicense LICENSE
+}
+
+python3-PyPDF2_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	build_style=meta
+	short_desc+=" (transitional dummy package)"
+}

From f42fa1066ee637b4b7fde4941017c242239bdb72 Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Mon, 13 Feb 2023 00:21:41 +0530
Subject: [PATCH 2/2] diffoscope: update to 235.

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

diff --git a/srcpkgs/diffoscope/template b/srcpkgs/diffoscope/template
index ffd165a6abc7..9a43cc44e396 100644
--- a/srcpkgs/diffoscope/template
+++ b/srcpkgs/diffoscope/template
@@ -1,12 +1,12 @@
 # Template file for 'diffoscope'
 pkgname=diffoscope
-version=233
+version=235
 revision=1
 build_style=python3-module
 hostmakedepends="python3-setuptools"
 depends="python3-magic python3-libarchive-c python3-progressbar
  python3-argcomplete binwalk python3-defusedxml python3-distro
- python3-jsondiff python3-PyPDF2 python3-pyxattr python3-tlsh
+ python3-jsondiff python3-pypdf python3-pyxattr python3-tlsh
  python3-debian rpm-python3"
 checkdepends="${depends} cpio lz4 lzip xz python3-pytest-xdist"
 short_desc="In-depth comparison of files, archives, and directories"
@@ -15,4 +15,4 @@ license="GPL-3.0-or-later"
 homepage="https://diffoscope.org/"
 changelog="https://salsa.debian.org/reproducible-builds/diffoscope/-/raw/master/debian/changelog"
 distfiles="${PYPI_SITE}/d/diffoscope/diffoscope-${version}.tar.gz"
-checksum=cb63f574846d4e5cb30bf47c1d3c1e735729ae9e3aaaceeb30dfbddc1ae8cbf1
+checksum=3279f6637f1e9f757ca9b8c2870ed79ceead5971e5a15d952a0579b2b45720a2

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

end of thread, other threads:[~2023-02-14 19:19 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-12 19:20 [PR PATCH] python3-PyPDF2: rename to python3-pypdf, update to 3.4.0 icp1994
2023-02-13 19:39 ` [PR REVIEW] " Chocimier
2023-02-13 19:59 ` icp1994
2023-02-13 20:16 ` Chocimier
2023-02-13 20:16 ` Chocimier
2023-02-14  4:52 ` [PR PATCH] [Updated] " icp1994
2023-02-14 19:19 ` [PR PATCH] [Merged]: python3-PyPDF2: rename to python3-pypdf, update to 3.4.1 Chocimier

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