[arch-commits] Commit in python-markdown-math/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Mon Nov 9 16:49:20 UTC 2020
Date: Monday, November 9, 2020 @ 16:49:20
Author: foutrelis
Revision: 747569
archrelease: copy trunk to community-staging-any
Added:
python-markdown-math/repos/community-staging-any/
python-markdown-math/repos/community-staging-any/PKGBUILD
(from rev 747567, python-markdown-math/trunk/PKGBUILD)
----------+
PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
Copied: python-markdown-math/repos/community-staging-any/PKGBUILD (from rev 747567, python-markdown-math/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-11-09 16:49:20 UTC (rev 747569)
@@ -0,0 +1,35 @@
+# Maintainer: Jiachen YANG <farseerfc at gmail.com>
+# AUR Maintainer: Marcus Scheunemann
+
+pkgname=python-markdown-math
+pkgver=0.8
+pkgrel=2
+pkgdesc="Math extension for Python-Markdown"
+arch=('any')
+url="https://github.com/mitya57/python-markdown-math"
+license=('BSD')
+depends=('python-markdown')
+makedepends=('python-setuptools')
+source=("https://files.pythonhosted.org/packages/source/${pkgname:0:1}/${pkgname}/${pkgname}-${pkgver}.tar.gz"{,.asc})
+sha256sums=('8564212af679fc18d53f38681f16080fcd3d186073f23825c7ce86fadd3e3635'
+ 'SKIP')
+validpgpkeys=('F24299FF1BBC9018B906A4CB6026936D2F1C8AE0') # Dmitry Shachnev <mitya57 at debian.org>
+
+
+build() {
+ cd "python-markdown-math-${pkgver}"
+
+ python setup.py build
+}
+
+check() {
+ cd "python-markdown-math-${pkgver}"
+
+ python setup.py test
+}
+
+package() {
+ cd "python-markdown-math-${pkgver}"
+ python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+ install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+}
More information about the arch-commits
mailing list