Skip to content
Snippets Groups Projects
Verified Commit 9f3daad4 authored by Felix Yan's avatar Felix Yan
Browse files

upgpkg: 3.6.0-1

parent 1519ca7c
No related branches found
Tags 0.4.5.1-1
No related merge requests found
# Maintainer: Felix Yan <felixonmars@archlinux.org>
pkgname=python-objgraph
pkgver=3.5.0
pkgrel=8
pkgver=3.6.0
pkgrel=1
pkgdesc="Draws Python object reference graphs with graphviz"
url="https://github.com/mgedmin/objgraph"
license=('MIT')
......@@ -10,18 +10,8 @@ arch=('any')
depends=('python')
makedepends=('python-setuptools')
checkdepends=('graphviz')
source=("objgraph-$pkgver.tar.gz::https://github.com/mgedmin/objgraph/archive/$pkgver.tar.gz"
'objgraph-py311.patch::https://github.com/mgedmin/objgraph/commit/f4023026878c8ab20695acc09a5e83ec9aff91ef.patch')
sha512sums=('50bf1967d6696547598628d49f3c827f1535d6de032fb429881e523f144bb57e128d09f43d280b89a0f9205ca97ef10331e0da1dc86637af0214bfd7aa4cba3b'
'537a2b94ffd9465951518518d796ad8c914580ddbf6efc10d48101c7f4b9827789dc95e9a72b7af62994ae02676d49b82c2634b748c1c22e33d47b537595b83c')
prepare() {
cd objgraph-$pkgver
# Only for ipython support
sed -i "/'graphviz'/d" setup.py
patch --forward --strip=1 --input=../objgraph-py311.patch || true
}
source=("objgraph-$pkgver.tar.gz::https://github.com/mgedmin/objgraph/archive/$pkgver.tar.gz")
sha512sums=('a0f1cea41ef17ab5bf7c5ac635c37ecb1ddb624087a520ab50817c8a5cc56762f95dd7a74bb7d59966e2b66cacbb9eabe48614087f0fa6a520265aac85cedfbc')
build() {
cd objgraph-$pkgver
......@@ -36,5 +26,5 @@ check() {
package() {
cd objgraph-$pkgver
python setup.py install --root="$pkgdir" --optimize=1
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment