From 2ae13f1792a391b012d5634b802a1e527a240bab Mon Sep 17 00:00:00 2001 From: Andrew Benson Date: Sat, 20 Feb 2021 12:55:06 -0600 Subject: [PATCH 1/2] New package: python3-commonmark-0.9.1 --- srcpkgs/python3-commonmark/template | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 srcpkgs/python3-commonmark/template diff --git a/srcpkgs/python3-commonmark/template b/srcpkgs/python3-commonmark/template new file mode 100644 index 00000000000000..e09637ce8bb11c --- /dev/null +++ b/srcpkgs/python3-commonmark/template @@ -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 " +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 +} From 937e902306dd44f7a949a0e334584ab401672726 Mon Sep 17 00:00:00 2001 From: Andrew Benson Date: Sat, 20 Feb 2021 11:58:59 -0600 Subject: [PATCH 2/2] python3-rich: update to 9.11.0. --- srcpkgs/python3-rich/template | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/srcpkgs/python3-rich/template b/srcpkgs/python3-rich/template index 5bc8426f438f13..3d1ce246e4fc92 100644 --- a/srcpkgs/python3-rich/template +++ b/srcpkgs/python3-rich/template @@ -1,16 +1,19 @@ # Template file for 'python3-rich' pkgname=python3-rich -version=9.10.0 +version=9.11.0 revision=1 wrksrc="rich-${version}" build_style=python3-module hostmakedepends="python3-setuptools" +depends="python3-typing_extensions python3-Pygments python3-commonmark + python3-colorama" +checkdepends="python3-wheel $depends" short_desc="Library for rich text and beautiful formatting in the terminal" maintainer="Andrew Benson " license="MIT" homepage="https://github.com/willmcgugan/rich" distfiles="${PYPI_SITE}/r/rich/rich-${version}.tar.gz" -checksum=e0f2db62a52536ee32f6f584a47536465872cae2b94887cf1f080fb9eaa13eb2 +checksum=f8f08fdac6bd67dc2dd7fe976da702d748487aa9eb5d050c48b2321bc67ed659 post_install() { vlicense LICENSE