Robin Candau pushed to branch main at Arch Linux / Packaging / Packages / 
python-mistune


Commits:
c5f44d26 by Robin Candau at 2023-08-11T20:15:37+02:00
upgpkg: 3.0.1-1: New upstream release

- - - - -


1 changed file:

- PKGBUILD


Changes:

=====================================
PKGBUILD
=====================================
@@ -1,36 +1,37 @@
-# Maintainer:
+# Maintainer: Robin Candau <[email protected]>
 # Contributor: Kyle Keen <[email protected]>
 # Contributor: David Runge <[email protected]>
 # Contributor: shmilee
 
-_pyname=mistune
 pkgname=python-mistune
-pkgver=2.0.5
-pkgrel=2
+_pkgname=mistune
+pkgver=3.0.1
+pkgrel=1
 pkgdesc="A fast yet powerful Python Markdown parser with renderers and plugins"
-arch=(any)
-url="https://github.com/lepture/mistune";
-license=(BSD)
-depends=(python)
-makedepends=(python-build python-installer python-setuptools python-wheel)
-checkdepends=(python-pytest)
-source=(https://github.com/lepture/mistune/archive/v$pkgver/$pkgname-$pkgver.tar.gz)
-sha512sums=('ca1cb685e55550d8adc421cec1bb5359895e04bc80259eb0bdc5b554669758e92d3f10cdd4bd01a15ca9aeeca62f9c8813a14101db0281b9a93eeecbff496aa0')
-b2sums=('fbece6ecb32003b40772b5772eb0415d1ae3654a52625578ff92daa4ed8df38758a6e725ddda86b2f7848406942454e09e52dca6583444f03769bd4911a4c5aa')
+arch=('any')
+url="https://mistune.lepture.com";
+license=('BSD')
+depends=('python')
+makedepends=('python-build' 'python-installer' 'python-setuptools' 
'python-wheel')
+checkdepends=('python-pytest')
+source=("https://github.com/lepture/mistune/archive/v$pkgver/$pkgname-$pkgver.tar.gz";)
+sha512sums=('e1f6ad68ae2b92945987833a1ed97764089736f98c7cb36ac3b1908e9f7968488192c007e3c0d03c107b67a221334e2e5cd439d88eed94ad2616aac396a29425')
+b2sums=('c293836f2a23ae78b751b90ef619dd8a2e57d28ee6e4be5d30db0da502251f4183ce4c7aa3db85e08cda5d9f6b582c25bd64d58955c60cc9c3f5f8332d5ab0b0')
 
 build() {
-  cd $_pyname-$pkgver
-  python -m build --wheel --skip-dependency-check --no-isolation
+       cd "${_pkgname}-${pkgver}"
+       python -m build --wheel --no-isolation
 }
 
 check() {
-  cd $_pyname-$pkgver
-  pytest -vv
+       cd "${_pkgname}-${pkgver}"
+       pytest
 }
 
 package() {
-  cd $_pyname-$pkgver
-  python -m installer --destdir="$pkgdir" dist/*.whl
-  install -vDm 644 README.md -t "$pkgdir/usr/share/doc/${pkgname}/"
-  install -vDm 644 LICENSE -t "$pkgdir/usr/share/licenses/${pkgname}/"
+       cd "${_pkgname}-${pkgver}"
+       python -m installer --destdir="${pkgdir}" dist/*.whl
+
+       install -Dm 644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md"
+       install -Dm 644 LICENSE 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-mistune/-/commit/c5f44d26b70f3a6afea6180a079dec5370b885d7

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-mistune/-/commit/c5f44d26b70f3a6afea6180a079dec5370b885d7
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to