[arch-commits] Commit in python-markdown-math/repos/community-staging-any (2 files)

Felix Yan felixonmars at archlinux.org
Fri Nov 1 13:58:46 UTC 2019


    Date: Friday, November 1, 2019 @ 13:58:46
  Author: felixonmars
Revision: 521984

archrelease: copy trunk to community-staging-any

Added:
  python-markdown-math/repos/community-staging-any/PKGBUILD
    (from rev 521982, python-markdown-math/trunk/PKGBUILD)
Deleted:
  python-markdown-math/repos/community-staging-any/PKGBUILD

----------+
 PKGBUILD |  108 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 54 insertions(+), 54 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-11-01 13:58:41 UTC (rev 521983)
+++ PKGBUILD	2019-11-01 13:58:46 UTC (rev 521984)
@@ -1,54 +0,0 @@
-# Maintainer: Jiachen YANG <farseerfc at gmail.com>
-# AUR Maintainer: Marcus Scheunemann
-
-pkgbase=python-markdown-math
-pkgname=('python-markdown-math' 'python2-markdown-math')
-pkgver=0.6
-pkgrel=4
-pkgdesc="Math extension for Python-Markdown"
-arch=('any')
-url="https://github.com/mitya57/python-markdown-math"
-license=('BSD')
-makedepends=('python-setuptools' 'python2-setuptools')
-checkdepends=('python-markdown' 'python2-markdown')
-source=("https://files.pythonhosted.org/packages/source/${pkgbase:0:1}/${pkgbase}/${pkgbase}-${pkgver}.tar.gz"{,.asc}
-        "fix-markdown-3.x.patch::https://github.com/mitya57/python-markdown-math/commit/7c2a82327dc6aabca25cd42bf9cce4f0c237fd80.patch")
-sha256sums=('c68d8cb9695cb7b435484403dc18941d1bad0ff148e4166d9417046a0d5d3022'
-            'SKIP'
-            '06ba6b40175a410534d14fe5482d773c1d49d684c0ac74c4795f187c10890c5f')
-validpgpkeys=('F24299FF1BBC9018B906A4CB6026936D2F1C8AE0') # Dmitry Shachnev <mitya57 at debian.org>
-
-prepare() {
-    cd "python-markdown-math-${pkgver}"
-    patch -Np1 -i ../fix-markdown-3.x.patch
-}
-
-build() {
-    cd "python-markdown-math-${pkgver}"
-
-    python setup.py build
-    python2 setup.py build
-}
-
-check() {
-    cd "python-markdown-math-${pkgver}"
-
-    python setup.py test
-    python2 setup.py test
-}
-
-package_python-markdown-math() {
-    depends=('python-markdown')
-
-    cd "python-markdown-math-${pkgver}"
-    python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
-    install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
-}
-
-package_python2-markdown-math() {
-    depends=('python2-markdown')
-
-    cd "python-markdown-math-${pkgver}"
-    python2 setup.py install --root="${pkgdir}" --optimize=1 --skip-build
-    install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
-}

Copied: python-markdown-math/repos/community-staging-any/PKGBUILD (from rev 521982, python-markdown-math/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-11-01 13:58:46 UTC (rev 521984)
@@ -0,0 +1,54 @@
+# Maintainer: Jiachen YANG <farseerfc at gmail.com>
+# AUR Maintainer: Marcus Scheunemann
+
+pkgbase=python-markdown-math
+pkgname=('python-markdown-math' 'python2-markdown-math')
+pkgver=0.6
+pkgrel=5
+pkgdesc="Math extension for Python-Markdown"
+arch=('any')
+url="https://github.com/mitya57/python-markdown-math"
+license=('BSD')
+makedepends=('python-setuptools' 'python2-setuptools')
+checkdepends=('python-markdown' 'python2-markdown')
+source=("https://files.pythonhosted.org/packages/source/${pkgbase:0:1}/${pkgbase}/${pkgbase}-${pkgver}.tar.gz"{,.asc}
+        "fix-markdown-3.x.patch::https://github.com/mitya57/python-markdown-math/commit/7c2a82327dc6aabca25cd42bf9cce4f0c237fd80.patch")
+sha256sums=('c68d8cb9695cb7b435484403dc18941d1bad0ff148e4166d9417046a0d5d3022'
+            'SKIP'
+            '06ba6b40175a410534d14fe5482d773c1d49d684c0ac74c4795f187c10890c5f')
+validpgpkeys=('F24299FF1BBC9018B906A4CB6026936D2F1C8AE0') # Dmitry Shachnev <mitya57 at debian.org>
+
+prepare() {
+    cd "python-markdown-math-${pkgver}"
+    patch -Np1 -i ../fix-markdown-3.x.patch
+}
+
+build() {
+    cd "python-markdown-math-${pkgver}"
+
+    python setup.py build
+    python2 setup.py build
+}
+
+check() {
+    cd "python-markdown-math-${pkgver}"
+
+    python setup.py test
+    python2 setup.py test
+}
+
+package_python-markdown-math() {
+    depends=('python-markdown')
+
+    cd "python-markdown-math-${pkgver}"
+    python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+    install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+}
+
+package_python2-markdown-math() {
+    depends=('python2-markdown')
+
+    cd "python-markdown-math-${pkgver}"
+    python2 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