New package: python3-commonmark-0.9.1
This commit is contained in:
parent
9166ba0bd3
commit
89cb9bc6e9
1 changed files with 23 additions and 0 deletions
23
srcpkgs/python3-commonmark/template
Normal file
23
srcpkgs/python3-commonmark/template
Normal file
|
@ -0,0 +1,23 @@
|
|||
# Template file for 'python3-commonmark'
|
||||
pkgname=python3-commonmark
|
||||
version=0.9.1
|
||||
revision=1
|
||||
wrksrc="commonmark-${version}"
|
||||
build_style=python3-module
|
||||
hostmakedepends="python3-setuptools"
|
||||
checkdepends="python3-wheel python3-flake8 python3-hypothesis python3-colorama"
|
||||
short_desc="Parser for the CommonMark Markdown spec"
|
||||
maintainer="Andrew Benson <abenson@gmail.com>"
|
||||
license="BSD-3-Clause"
|
||||
homepage="https://github.com/rtfd/commonmark.py"
|
||||
distfiles="${PYPI_SITE}/c/commonmark/commonmark-${version}.tar.gz"
|
||||
checksum=452f9dc859be7f06631ddcb328b6919c67984aca654e5fefb3914d54691aed60
|
||||
|
||||
post_extract() {
|
||||
vsed -i commonmark/tests/run_spec_tests.py -e \
|
||||
"/^import sys$/a sys.path.append('$wrksrc/build/lib')"
|
||||
}
|
||||
|
||||
post_install() {
|
||||
vlicense LICENSE
|
||||
}
|
Loading…
Reference in a new issue