# Contributor: Leonardo Arena # Contributor: Stefan Wagner # Maintainer: Stefan Wagner pkgname=py3-pygfm _pkgname=py-gfm pkgver=2.0.0 pkgrel=0 pkgdesc="Github-Flavored Markdown for Python-Markdown" options="!check" url="https://github.com/zopieux/py-gfm" arch="noarch !armv7" license="BSD-3-Clause" depends="python3 py3-markdown" makedepends="py3-setuptools" checkdepends="py3-codecov py3-coverage py3-coveralls" subpackages="$pkgname-pyc" source="$pkgname-$pkgver.tar.gz::https://github.com/Zopieux/py-gfm/archive/$pkgver.tar.gz" builddir="$srcdir"/$_pkgname-$pkgver replaces="py-pygfm" # Backwards compatibility provides="py-pygfm=$pkgver-r$pkgrel" # Backwards compatibility build() { python3 setup.py build } check() { python3 test.py } package() { python3 setup.py install --skip-build --root="$pkgdir" } sha512sums=" 45d62280465bdc0cc51fc3e74486d0923c71fce7497ca29d68ba7bce232bf423d209b7ee54170d2ae283374c4e5979766d95e13ce9285bff303e7a5a83e1e12b py3-pygfm-2.0.0.tar.gz "