[arch-commits] Commit in python-markdown-math/trunk (PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Sat Nov 9 22:03:39 UTC 2019
Date: Saturday, November 9, 2019 @ 22:03:38
Author: arojas
Revision: 524907
Drop python2
Modified:
python-markdown-math/trunk/PKGBUILD
----------+
PKGBUILD | 23 +++++------------------
1 file changed, 5 insertions(+), 18 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-11-09 22:01:22 UTC (rev 524906)
+++ PKGBUILD 2019-11-09 22:03:38 UTC (rev 524907)
@@ -1,8 +1,7 @@
# Maintainer: Jiachen YANG <farseerfc at gmail.com>
# AUR Maintainer: Marcus Scheunemann
-pkgbase=python-markdown-math
-pkgname=('python-markdown-math' 'python2-markdown-math')
+pkgname=python-markdown-math
pkgver=0.6
pkgrel=5
pkgdesc="Math extension for Python-Markdown"
@@ -9,9 +8,9 @@
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}
+depends=('python-markdown')
+makedepends=('python-setuptools')
+source=("https://files.pythonhosted.org/packages/source/${pkgname:0:1}/${pkgname}/${pkgname}-${pkgver}.tar.gz"{,.asc}
"fix-markdown-3.x.patch::https://github.com/mitya57/python-markdown-math/commit/7c2a82327dc6aabca25cd42bf9cce4f0c237fd80.patch")
sha256sums=('c68d8cb9695cb7b435484403dc18941d1bad0ff148e4166d9417046a0d5d3022'
'SKIP'
@@ -27,7 +26,6 @@
cd "python-markdown-math-${pkgver}"
python setup.py build
- python2 setup.py build
}
check() {
@@ -34,21 +32,10 @@
cd "python-markdown-math-${pkgver}"
python setup.py test
- python2 setup.py test
}
-package_python-markdown-math() {
- depends=('python-markdown')
-
+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
}
-
-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