[arch-commits] Commit in python-micawber/trunk (PKGBUILD)

David Runge dvzrv at archlinux.org
Thu Dec 17 16:39:22 UTC 2020


    Date: Thursday, December 17, 2020 @ 16:39:21
  Author: dvzrv
Revision: 777671

upgpkg: python-micawber 0.5.2-1: Upgrade to 0.5.2.

Modified:
  python-micawber/trunk/PKGBUILD

----------+
 PKGBUILD |   18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-12-17 16:39:13 UTC (rev 777670)
+++ PKGBUILD	2020-12-17 16:39:21 UTC (rev 777671)
@@ -1,8 +1,9 @@
-# Maintainer: David Runge <dave at sleepmap.de>
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
 _name=micawber
 pkgname=python-micawber
-pkgver=0.5.1
-pkgrel=5
+pkgver=0.5.2
+pkgrel=1
 pkgdesc="A small library for extracting rich content from urls."
 arch=('any')
 url="https://github.com/coleifer/micawber"
@@ -14,11 +15,11 @@
             'python-flask: flask support'
             'python-redis: redis caching support')
 source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
-sha512sums=('309546cc90e7ec4d4a5839f79bff43684ceed4cc7a682ac40d7f09841c89b64631d9667893edd70fd16f0cdb718d05cc5567482bf368da9164615248e5d4e379')
+sha512sums=('d32752c73cff9a12947f18d1b2359b272a7fb31bb1d757e02c484a212a5d130feb1e79f08cf7574518263e75f8552d05812071b326326b530975ef4d706ccc73')
+b2sums=('53b10f45074d766613f1ed2dba4d6ad7836f0904ce61fc22ca52ef68ec80b03d276e2629f4a3b779ad3e880f2638f10a4106983b47ad5bb3bbe3dc5f78b4409d')
 
 prepare() {
   mv -v "${_name}-$pkgver" "$pkgname-$pkgver"
-  cd "$pkgname-$pkgver"
 }
 
 build() {
@@ -29,15 +30,14 @@
 check() {
   cd "$pkgname-$pkgver"
   export PYTHONPATH="build/lib:${PYTHONPATH}"
-  python setup.py test
+  python runtests.py
 }
 
 package() {
   cd "$pkgname-$pkgver"
   python setup.py install --skip-build \
-    --optimize=1 \
-    --prefix=/usr \
-    --root="${pkgdir}"
+                          --optimize=1 \
+                          --root="${pkgdir}"
   install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
   install -vDm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
 }



More information about the arch-commits mailing list