-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
See py-pdf/pypdf#1488 Legacy package python-pypdf2 has been downgraded to last legacy 2.12.1 version.
- Loading branch information
0 parents
commit a7e7b3b
Showing
3 changed files
with
52 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
pkgbase = python-pypdf | ||
pkgdesc = Python library for manipulating pages of PDF files (v3+) | ||
pkgver = 3.1.0 | ||
pkgrel = 1 | ||
url = https://github.com/py-pdf/pypdf | ||
arch = any | ||
license = BSD | ||
makedepends = python-setuptools | ||
makedepends = python-build | ||
makedepends = python-installer | ||
makedepends = python-wheel | ||
makedepends = python-flit-core | ||
depends = python | ||
conflicts = python-pypdf2<1:2.12.1 | ||
source = python-pypdf-3.1.0.tar.gz::https://github.com/py-pdf/pypdf/archive/3.1.0.tar.gz | ||
sha256sums = 9c34f31b6a54076b779245f48ce25622a9b70f739c667e5e7bd1e19f207949e7 | ||
|
||
pkgname = python-pypdf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
pkg/ | ||
src/ | ||
*.tar | ||
*.tar.* | ||
*.[gx]z |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Maintainer: mark.blakeney at bullet-systems dot net | ||
# Contributor: Yuanji <[email protected]> | ||
# Contributor: Antonio Rojas <[email protected]> | ||
# Contributor: Francois Boulogne <fboulogne at april dot org> | ||
|
||
_name=pypdf | ||
pkgname=python-$_name | ||
pkgver=3.1.0 | ||
pkgrel=1 | ||
pkgdesc='Python library for manipulating pages of PDF files (v3+)' | ||
arch=(any) | ||
url="https://github.com/py-pdf/$_name" | ||
license=(BSD) | ||
depends=(python) | ||
conflicts=("python-pypdf2<1:2.12.1") | ||
makedepends=(python-setuptools python-build python-installer python-wheel python-flit-core) | ||
source=($pkgname-$pkgver.tar.gz::"$url/archive/$pkgver.tar.gz") | ||
sha256sums=('9c34f31b6a54076b779245f48ce25622a9b70f739c667e5e7bd1e19f207949e7') | ||
|
||
build() { | ||
cd $_name-$pkgver | ||
python -m build --wheel --no-isolation | ||
} | ||
|
||
package(){ | ||
cd $_name-$pkgver | ||
python -m installer --destdir="$pkgdir" dist/*.whl | ||
install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE | ||
} |