summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Blakeney2023-01-20 17:07:49 +1000
committerMark Blakeney2023-01-20 17:11:54 +1000
commit0fc5a954673deb2b0059a9ef9bb15c04405df886 (patch)
tree463a2fd2b17653102ad2f6d0c9d19bb7403312a5
parentc4e737184ef09c022e53d4351f1c6edcf20e652a (diff)
downloadaur-0fc5a954673deb2b0059a9ef9bb15c04405df886.tar.gz
Change name of download file to pass checksum
Some users are reporting a checksum failure because upstream moved the repo name and thus the embedded dir in the github tar file has changed even though the file has the same name and version. Thus if you had an old copy of that file then it would not be downloaded and would fail the checksum check. Changing the file name forces it to be re-downloaded.
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD4
2 files changed, 4 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index cd7fdb81828a..ab102f1aae73 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = python-pypdf2
pkgdesc = Python library for manipulating pages of PDF files (legacy v2)
pkgver = 2.12.1
- pkgrel = 2
+ pkgrel = 3
epoch = 1
url = https://github.com/py-pdf/PyPDF2
arch = any
@@ -12,7 +12,7 @@ pkgbase = python-pypdf2
makedepends = python-wheel
makedepends = python-flit-core
depends = python
- source = python-pypdf2-2.12.1.tar.gz::https://github.com/py-pdf/PyPDF2/archive/2.12.1.tar.gz
+ source = PyPDF2-2.12.1.tar.gz::https://github.com/py-pdf/PyPDF2/archive/2.12.1.tar.gz
sha256sums = 40743764b367c43357546fd10d39f288a3a9c520e043f75eea7a1b78ccc38d3f
pkgname = python-pypdf2
diff --git a/PKGBUILD b/PKGBUILD
index 61b1fac21cd9..22d5fa0d56b7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,7 +6,7 @@
_name=PyPDF2
pkgname=python-pypdf2
pkgver=2.12.1
-pkgrel=2
+pkgrel=3
epoch=1
pkgdesc='Python library for manipulating pages of PDF files (legacy v2)'
arch=(any)
@@ -14,7 +14,7 @@ url="https://github.com/py-pdf/$_name"
license=(BSD)
depends=(python)
makedepends=(python-setuptools python-build python-installer python-wheel python-flit-core)
-source=($pkgname-$pkgver.tar.gz::"$url/archive/$pkgver.tar.gz")
+source=($_name-$pkgver.tar.gz::"$url/archive/$pkgver.tar.gz")
sha256sums=('40743764b367c43357546fd10d39f288a3a9c520e043f75eea7a1b78ccc38d3f')
build() {