diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-04-18 03:00:46 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-04-18 03:00:46 +0000 |
commit | eb9066c6cfc00ed5fc549c9cf7de472f29b1b781 (patch) | |
tree | 51d21c1574570a33ecd32ab79938105287ff6683 | |
parent | 4d43d078d9bfd0eb35761de85df94433b9388d9b (diff) | |
download | packages-eb9066c6cfc00ed5fc549c9cf7de472f29b1b781.tar.gz packages-eb9066c6cfc00ed5fc549c9cf7de472f29b1b781.tar.bz2 packages-eb9066c6cfc00ed5fc549c9cf7de472f29b1b781.tar.xz packages-eb9066c6cfc00ed5fc549c9cf7de472f29b1b781.zip |
user/py3-commonmark: new package
-rw-r--r-- | user/py3-commonmark/APKBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/user/py3-commonmark/APKBUILD b/user/py3-commonmark/APKBUILD new file mode 100644 index 000000000..90bc7fe56 --- /dev/null +++ b/user/py3-commonmark/APKBUILD @@ -0,0 +1,29 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=py3-commonmark +_pkgname=commonmark +pkgver=0.8.1 +pkgrel=0 +pkgdesc="Python parser for the CommonMark Markdown flavour" +url="https://pypi.org/project/CommonMark/" +arch="noarch" +license="BSD-3-Clause" +depends="python3" +makedepends="" +subpackages="" +source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" +builddir="$srcdir/$_pkgname-$pkgver" + +build() { + python3 setup.py build +} + +check() { + PYTHONPATH=. python3 setup.py test +} + +package() { + python3 setup.py install --prefix=/usr --root="$pkgdir" +} + +sha512sums="dbab51d45c1973a8d0906148d785fb8ddc2b52177dfe0e69fe79bef2a5eb05a5a7ab8693852f4aaa8545af19d741569d04a24f06ea65171e6e80d9f66af47fdf commonmark-0.8.1.tar.gz" |