George Rawlinson pushed to branch main at Arch Linux / Packaging / Packages /
python-pygraphviz
Commits:
e9a2094f by George Rawlinson at 2026-01-13T18:00:33+00:00
upgpkg: 1.14-5
* Switch checksums from b2 to sha512+b2.
* Switch license file from symlink to hardlink.
- - - - -
3 changed files:
- .SRCINFO
- PKGBUILD
- graphviz-13.patch
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
pkgbase = python-pygraphviz
pkgdesc = Python interface to Graphviz
pkgver = 1.14
- pkgrel = 4
+ pkgrel = 5
url = https://pygraphviz.github.io
arch = x86_64
license = BSD-3-Clause
@@ -12,9 +12,11 @@ pkgbase = python-pygraphviz
makedepends = python-wheel
depends = graphviz
depends = python
- source =
git+https://github.com/pygraphviz/pygraphviz.git#tag=pygraphviz-1.14
+ source =
python-pygraphviz::git+https://github.com/pygraphviz/pygraphviz#tag=pygraphviz-1.14
source = graphviz-13.patch
+ sha512sums =
01e6620e063a5b79320637d9272189c97cb93925cab41746eb660ef2ce8f1741a02962a9b0687a661ea85f5f6018454e4f39f7cfeb99b0e032aa548d87f626de
+ sha512sums =
947a03f8ebebab4906b1249bb7612cca2b29cf35cb8953fd0d7e8db506c294be00e181debe10ff66aa740cc61d2054248560bf9a622dd06a1c73b822eaddda64
b2sums =
9013cd96ab59fed0dca920b1c70294fd12654f82ca4c167c24bbe6c6ed76ec50c10eab5e082f7eb77ec0cfea31a120d03f1771a3ae4b0dacf5b95a1585dfb0a2
- b2sums =
e7b968f9d32aa7cee8aa33e51401a20ca69ebd9b81c441975c8ffdfa99ee0024354a7ebc0cd0b49c3fd2eb67bb390270156314b9914b95823a4043ede67e2c6f
+ b2sums =
b6f8656f6713a557c071277ff7da257c663fd7b6311a9e6ca3b8cd8be1f2f30b6d4062b17ed12f149c0d56857a3f644dcf030ddd25143639e9328f07ce62d1c9
pkgname = python-pygraphviz
=====================================
PKGBUILD
=====================================
@@ -3,9 +3,8 @@
# Contributor: alienzj <[email protected]>
pkgname=python-pygraphviz
-_name=${pkgname#python-}
pkgver=1.14
-pkgrel=4
+pkgrel=5
pkgdesc='Python interface to Graphviz'
arch=(x86_64)
url=https://pygraphviz.github.io
@@ -21,28 +20,33 @@ makedepends=(
python-setuptools
python-wheel
)
-source=("git+https://github.com/$_name/$_name.git#tag=$_name-$pkgver"
- graphviz-13.patch)
+source=(
+
"$pkgname::git+https://github.com/pygraphviz/pygraphviz#tag=pygraphviz-$pkgver"
+ graphviz-13.patch
+)
+sha512sums=('01e6620e063a5b79320637d9272189c97cb93925cab41746eb660ef2ce8f1741a02962a9b0687a661ea85f5f6018454e4f39f7cfeb99b0e032aa548d87f626de'
+
'947a03f8ebebab4906b1249bb7612cca2b29cf35cb8953fd0d7e8db506c294be00e181debe10ff66aa740cc61d2054248560bf9a622dd06a1c73b822eaddda64')
b2sums=('9013cd96ab59fed0dca920b1c70294fd12654f82ca4c167c24bbe6c6ed76ec50c10eab5e082f7eb77ec0cfea31a120d03f1771a3ae4b0dacf5b95a1585dfb0a2'
-
'e7b968f9d32aa7cee8aa33e51401a20ca69ebd9b81c441975c8ffdfa99ee0024354a7ebc0cd0b49c3fd2eb67bb390270156314b9914b95823a4043ede67e2c6f')
+
'b6f8656f6713a557c071277ff7da257c663fd7b6311a9e6ca3b8cd8be1f2f30b6d4062b17ed12f149c0d56857a3f644dcf030ddd25143639e9328f07ce62d1c9')
prepare() {
- cd $_name
- patch -p1 -i ../graphviz-13.patch # Fix build with graphviz 13
+ cd "$pkgname"
+
+ # Fix build with graphviz 13
+ patch -p1 -i "$srcdir/graphviz-13.patch"
}
build() {
- cd "$_name"
- python -m build --wheel --skip-dependency-check --no-isolation
+ cd "$pkgname"
+
+ python -m build --wheel --no-isolation
}
package() {
- cd "$_name"
+ cd "$pkgname"
+
python -m installer --destdir="$pkgdir" dist/*.whl
- # Symlink license file
- local site_packages=$(python -c "import site;
print(site.getsitepackages()[0])")
- install -d "$pkgdir"/usr/share/licenses/$pkgname
- ln -s "$site_packages"/"$_name"-$pkgver.dist-info/LICENSE \
- "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+ # license
+ install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
}
=====================================
graphviz-13.patch
=====================================
@@ -1,5 +1,3 @@
-diff --git a/pygraphviz/graphviz_wrap.c b/pygraphviz/graphviz_wrap.c
-index cb06da7..5f66e42 100644
--- a/pygraphviz/graphviz_wrap.c
+++ b/pygraphviz/graphviz_wrap.c
@@ -5447,7 +5447,7 @@ SWIGINTERN PyObject *_wrap_gvRenderData(PyObject *self,
PyObject *args) {
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-pygraphviz/-/commit/e9a2094f1b3ebd0e3744bf6cd3b1f350337630eb
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-pygraphviz/-/commit/e9a2094f1b3ebd0e3744bf6cd3b1f350337630eb
You're receiving this email because of your account on gitlab.archlinux.org.