Created
March 3, 2018 14:15
python-altgraph 0.15
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
_name=altgraph | |
pkgname=python-altgraph | |
pkgver=0.15 | |
pkgrel=1 | |
pkgdesc='altgraph is a fork of graphlib: a graph (network) package for constructing graphs' | |
arch=('any') | |
url="https://pypi.python.org/pypi/$_name" | |
license=('MIT') | |
depends=('python') | |
makedepends=('python-setuptools') | |
source=("https://pypi.python.org/packages/ff/e5/c4d83ca50043951eec43449aa74f4aa4fde1695f901dcf9d213efea3abb1/$_name-$pkgver.tar.gz") | |
sha256sums=('fc28b986a68fde8d3ff0e6d6ba3fbdd2cd562d11d45ef7c7735fbd826c9eec2e') | |
package() { | |
cd "$srcdir/$_name-$pkgver" | |
python setup.py install --root="$pkgdir" --optimize=1 || return 1 | |
install -D -m644 doc/license.rst "$pkgdir"/usr/share/licenses/"$pkgname"/license.rst | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment