Daniel M. Capella pushed to branch main at Arch Linux / Packaging / Packages / python-mdit_py_plugins
Commits: 6763deb8 by Daniel M. Capella at 2024-05-12T17:08:14-04:00 upgpkg: 0.4.1-1 - - - - - 2 changed files: - .SRCINFO - PKGBUILD Changes: ===================================== .SRCINFO ===================================== @@ -1,7 +1,7 @@ pkgbase = python-mdit_py_plugins pkgdesc = Collection of core plugins for markdown-it-py - pkgver = 0.4.0 - pkgrel = 2 + pkgver = 0.4.1 + pkgrel = 1 url = https://github.com/executablebooks/mdit-py-plugins arch = any license = MIT @@ -11,7 +11,7 @@ pkgbase = python-mdit_py_plugins makedepends = python-installer makedepends = python-flit-core depends = python-markdown-it-py - source = python-mdit_py_plugins-0.4.0.tar.gz::https://github.com/executablebooks/mdit-py-plugins/archive/v0.4.0.tar.gz - sha512sums = cdcce7a3819120923b7725daae0bf7a833c4da4487c49ff1a067fecf7d5e8f7a7be2fae03f3b821c766d7d6ebed4a298755ad5edb00adf73300a76a5663d67d6 + source = python-mdit_py_plugins-0.4.1.tar.gz::https://github.com/executablebooks/mdit-py-plugins/archive/v0.4.1.tar.gz + sha512sums = d2f5c59bf2a17ce441de18f815624cb6f61202f111176c5f1c7745e430d59e8690ce8a5f9da2402bd34dcc5cf4dc38377990df649fbf3256216bc82cdfc6333a pkgname = python-mdit_py_plugins ===================================== PKGBUILD ===================================== @@ -4,8 +4,8 @@ _pkgname=mdit-py-plugins pkgname=python-mdit_py_plugins -pkgver=0.4.0 -pkgrel=2 +pkgver=0.4.1 +pkgrel=1 pkgdesc='Collection of core plugins for markdown-it-py' arch=('any') url='https://github.com/executablebooks/mdit-py-plugins' @@ -14,7 +14,7 @@ depends=('python-markdown-it-py') makedepends=('python-build' 'python-installer' 'python-flit-core') checkdepends=('python-pytest' 'python-pytest-regressions') source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz") -sha512sums=('cdcce7a3819120923b7725daae0bf7a833c4da4487c49ff1a067fecf7d5e8f7a7be2fae03f3b821c766d7d6ebed4a298755ad5edb00adf73300a76a5663d67d6') +sha512sums=('d2f5c59bf2a17ce441de18f815624cb6f61202f111176c5f1c7745e430d59e8690ce8a5f9da2402bd34dcc5cf4dc38377990df649fbf3256216bc82cdfc6333a') build() { cd $_pkgname-$pkgver @@ -33,7 +33,11 @@ package() { python -m installer -d "$pkgdir" dist/*.whl - install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE + # Symlink license file + local site_packages=$(python -c "import site; print(site.getsitepackages()[0])") + install -d "$pkgdir"/usr/share/licenses/$pkgname + ln -s "$site_packages"/"${_pkgname//-/_}"-$pkgver.dist-info/LICENSE \ + "$pkgdir"/usr/share/licenses/$pkgname/LICENSE } # vim:set ts=2 sw=2 et: View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-mdit_py_plugins/-/commit/6763deb82de73c7eec5beccecb9e8bd70b57a3e4 -- This project does not include diff previews in email notifications. View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-mdit_py_plugins/-/commit/6763deb82de73c7eec5beccecb9e8bd70b57a3e4 You're receiving this email because of your account on gitlab.archlinux.org.