summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f027894d565615ecc65d5cde3b95caa330b4135f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Maintainer: Manuel Kauschinger <admin bruzzzla de>
# Contributor: Serkan Hosca <serkan@hosca.com>

pkgbase=python-aspy-yaml
pkgname=(python-aspy-yaml)
pypi_name=aspy.yaml
pkgver=1.3.0
pkgrel=1
pkgdesc="A few extensions to pyyaml"
arch=('any')
license=('MIT')
url="https://github.com/asottile/aspy.yaml"
depends=('python')
makedepends=('python-setuptools')
source=("https://pypi.io/packages/source/a/${pypi_name}/${pypi_name}-${pkgver}.tar.gz")
md5sums=('1959a34873a6bdc1fba807023804867e')

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

package_python-aspy-yaml() {
  pkgdesc='Python 3 extensions to pyyaml'
  depends=('python' 'python-yaml')

  cd "${srcdir}/${pypi_name}-${pkgver}"
  python setup.py install --optimize=1 --prefix=/usr --root="${pkgdir}" --skip-build
}