Caleb Maclennan pushed to branch main at Arch Linux / Packaging / Packages /
python-weasyprint
Commits:
208b1aa7 by Caleb Maclennan at 2024-03-17T16:28:10+03:00
upgpkg: 61.2-2: Use VCS source checksumming to eliminate need for pinned commits
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
pkgbase = python-weasyprint
pkgdesc = Utility to render HTML and CSS to PDF
pkgver = 61.2
- pkgrel = 1
+ pkgrel = 2
url = https://weasyprint.org/
arch = any
license = BSD
@@ -25,7 +25,7 @@ pkgbase = python-weasyprint
depends = python-tinycss2
depends = python-zopfli
depends = ttf-font
- source =
python-weasyprint::git+https://github.com/Kozea/WeasyPrint.git#commit=cfd2e308aa67ea15ef93ca0c843888b6f6ee205f
- b2sums = SKIP
+ source =
python-weasyprint::git+https://github.com/Kozea/WeasyPrint.git#tag=v61.2
+ sha256sums =
80d52ac97afb02393c5ab363eed543f9e2f8c1f77cc446dd6bc544bd2cbdbe3c
pkgname = python-weasyprint
=====================================
PKGBUILD
=====================================
@@ -4,8 +4,7 @@
pkgname=python-weasyprint
pkgver=61.2
-_commit=cfd2e308aa67ea15ef93ca0c843888b6f6ee205f
-pkgrel=1
+pkgrel=2
pkgdesc='Utility to render HTML and CSS to PDF'
arch=('any')
url='https://weasyprint.org/'
@@ -36,14 +35,8 @@ checkdepends=(
'ghostscript'
'ttf-dejavu'
)
-source=("$pkgname::git+https://github.com/Kozea/WeasyPrint.git#commit=$_commit")
-b2sums=('SKIP')
-
-pkgver() {
- cd "$pkgname"
-
- git describe --tags | sed 's/^v//'
-}
+source=("$pkgname::git+https://github.com/Kozea/WeasyPrint.git#tag=v$pkgver")
+sha256sums=('80d52ac97afb02393c5ab363eed543f9e2f8c1f77cc446dd6bc544bd2cbdbe3c')
prepare() {
cd "$pkgname"
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-weasyprint/-/commit/208b1aa77871ba6572f3256a056a75a773c08253
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-weasyprint/-/commit/208b1aa77871ba6572f3256a056a75a773c08253
You're receiving this email because of your account on gitlab.archlinux.org.