# $Id: PKGBUILD 333851 2018-05-31 02:14:31Z felixonmars $
# Maintainer: Felix Yan <felixonmars@archlinux.org>
# Contributor: Douglas Soares de Andrade <dsa@aur.archlinux.org>
# Contributor: William Rea <sillywilly@gmail.com>
# Contributor: Stefan Husmann <stefan-husmann@t-online.de>

pkgname=python2-pyx
pkgver=0.12.1
pkgrel=3
pkgdesc='Python library for the creation of PostScript and PDF files'
arch=('any')
url='http://pyx.sourceforge.net'
license=('GPL')
depends=('python2' 'texlive-core')
source=("https://pypi.io/packages/source/p/pyx/pyx-$pkgver.tar.gz")
sha512sums=('4941f5aa21aff3743546495fb073c10d2657ff42b2aff401903498638093d0e31e344cce778980f28a7170c6d29eab72ac074277b9d4088376e8692dc71e55c1')

package() {
  cd PyX-$pkgver
  python2 setup.py install -O1 --root="$pkgdir"
}
