diff options
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | PKGBUILD | 10 |
2 files changed, 9 insertions, 9 deletions
@@ -1,7 +1,7 @@ pkgbase = pymdown-extensions pkgdesc = Extensions for Python Markdown - pkgver = 9.2 - pkgrel = 2 + pkgver = 9.3 + pkgrel = 1 url = https://facelessuser.github.io/pymdown-extensions arch = any license = MIT @@ -14,7 +14,7 @@ pkgbase = pymdown-extensions makedepends = python-wheel depends = python-markdown optdepends = python-pygments: syntax highlighting - source = https://pypi.org/packages/source/p/pymdown-extensions/pymdown-extensions-9.2.tar.gz - sha256sums = ed8f69a18bc158f00cbf03abc536b88b6e541b7e699156501e767c48f81d8850 + source = https://pypi.org/packages/source/p/pymdown-extensions/pymdown-extensions-9.3.tar.gz + sha256sums = a80553b243d3ed2d6c27723bcd64ca9887e560e6f4808baa96f36e93061eaf90 pkgname = pymdown-extensions @@ -1,8 +1,8 @@ # Maintainer: Mark Wagie <mark dot wagie at tutanota dot com> # Contributor: Duru Can Celasun <can at dcc dot im> pkgname=pymdown-extensions -pkgver=9.2 -pkgrel=2 +pkgver=9.3 +pkgrel=1 pkgdesc="Extensions for Python Markdown" arch=('any') url="https://facelessuser.github.io/pymdown-extensions" @@ -13,7 +13,7 @@ optdepends=('python-pygments: syntax highlighting') checkdepends=('python-pyaml' 'python-pygments' 'python-pytest-cov') source=("https://pypi.org/packages/source/${pkgname:0:1}/$pkgname/$pkgname-$pkgver.tar.gz") #source=("$pkgname-$pkgver.tar.gz::https://github.com/facelessuser/$pkgname/archive/$pkgver.tar.gz") -sha256sums=('ed8f69a18bc158f00cbf03abc536b88b6e541b7e699156501e767c48f81d8850') +sha256sums=('a80553b243d3ed2d6c27723bcd64ca9887e560e6f4808baa96f36e93061eaf90') build() { cd "$pkgname-$pkgver" @@ -29,9 +29,9 @@ package() { cd "$pkgname-$pkgver" python -m installer --destdir="$pkgdir" dist/*.whl - # Move license to proper directory + # symlink license to proper directory local site_packages=$(python -c "import site; print(site.getsitepackages()[0])") install -d "$pkgdir/usr/share/licenses/$pkgname" - mv "${pkgdir}${site_packages}/pymdown_extensions-$pkgver.dist-info/LICENSE.md" \ + ln -s "${site_packages}/pymdown_extensions-$pkgver.dist-info/LICENSE.md" \ "$pkgdir/usr/share/licenses/$pkgname/" } |