Package Details: python-pygraphviz 1.7-1

Git Clone URL: https://aur.archlinux.org/python-pygraphviz.git (read-only, click to copy)
Package Base: python-pygraphviz
Description: Python interface to Graphviz graph drawing package
Upstream URL: https://pygraphviz.github.io/
Licenses: LGPL
Submitter: alienzj
Maintainer: alienzj (julianbrost, PumpkinCheshire)
Last Packager: alienzj
Votes: 0
Popularity: 0.000000
First Submitted: 2019-10-23 15:58
Last Updated: 2021-03-15 14:42

Latest Comments

alienzj commented on 2021-03-15 14:45

update

julianbrost commented on 2021-01-31 21:59

Here is a patch to update the version to 1.6:

From 9d771988edcf7eec95ce894eaa959fa4ff3c6245 Mon Sep 17 00:00:00 2001
From: Julian Brost <julian@0x4a42.net>
Date: Sun, 31 Jan 2021 22:57:49 +0100
Subject: [PATCH] Update version to 1.6

---
 .SRCINFO |  6 +++---
 PKGBUILD | 15 +++++++--------
 2 files changed, 10 insertions(+), 11 deletions(-)

diff --git a/.SRCINFO b/.SRCINFO
index 3422aa2..46c5e5c 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
 pkgbase = python-pygraphviz
    pkgdesc = Python interface to Graphviz graph drawing package
-   pkgver = 1.5
+   pkgver = 1.6
    pkgrel = 1
    url = https://pygraphviz.github.io/
    arch = i686
@@ -9,8 +9,8 @@ pkgbase = python-pygraphviz
    makedepends = python-setuptools
    depends = python
    depends = graphviz
-   source = https://github.com/pygraphviz/pygraphviz/archive/pygraphviz-1.5.tar.gz
-   md5sums = 1ef3e258e0ec0d22218adcce2e32dedf
+   source = https://github.com/pygraphviz/pygraphviz/archive/pygraphviz-1.6.tar.gz
+   sha256sums = 9b0a7d9df881c9bb1d597ac72e96227d38b432e948d753dd9df021883668fb0e

 pkgname = python-pygraphviz

diff --git a/PKGBUILD b/PKGBUILD
index 35f8e4a..27561e1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
 # Maintainer: alienzj <alienchuj@gmail.com>

 pkgname=python-pygraphviz
-pkgver=1.5
+pkgver=1.6
 pkgrel=1
 pkgdesc="Python interface to Graphviz graph drawing package"
 arch=('i686' 'x86_64')
@@ -9,24 +9,23 @@ url="https://pygraphviz.github.io/"
 license=('LGPL')
 depends=('python' 'graphviz')
 makedepends=('python-setuptools')
-source=("https://github.com/pygraphviz/pygraphviz/archive/pygraphviz-1.5.tar.gz")
-md5sums=('1ef3e258e0ec0d22218adcce2e32dedf')
+source=("https://github.com/pygraphviz/pygraphviz/archive/pygraphviz-${pkgver}.tar.gz")
+sha256sums=('9b0a7d9df881c9bb1d597ac72e96227d38b432e948d753dd9df021883668fb0e')

 prepare() {
-  cd "$srcdir/pygraphviz-pygraphviz-1.5"
-  echo "1.5"
+  cd "$srcdir/pygraphviz-pygraphviz-${pkgver}"
 }

 build() {
-  cd "$srcdir/pygraphviz-pygraphviz-1.5"
+  cd "$srcdir/pygraphviz-pygraphviz-${pkgver}"
   python setup.py build
 }

 package() {
-  cd "$srcdir/pygraphviz-pygraphviz-1.5"
+  cd "$srcdir/pygraphviz-pygraphviz-${pkgver}"
   python setup.py install --prefix=/usr --root="${pkgdir}" -O1 --skip-build
   install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt"
-  mv "$pkgdir/usr/share/doc/pygraphviz-1.5" "$pkgdir/usr/share/doc/${pkgname}-1.5"
+  mv "$pkgdir/usr/share/doc/pygraphviz-${pkgver}" "$pkgdir/usr/share/doc/${pkgname}-${pkgver}"
 }

 # vim:set ts=2 sw=2 et:
-- 
2.30.0