[arch-commits] Commit in python-mimerender/repos (2 files)

Evangelos Foutras foutrelis at gemini.archlinux.org
Fri Dec 3 00:38:07 UTC 2021


    Date: Friday, December 3, 2021 @ 00:38:06
  Author: foutrelis
Revision: 1063914

archrelease: copy trunk to community-staging-any

Added:
  python-mimerender/repos/community-staging-any/
  python-mimerender/repos/community-staging-any/PKGBUILD
    (from rev 1063913, python-mimerender/trunk/PKGBUILD)

----------+
 PKGBUILD |   28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

Copied: python-mimerender/repos/community-staging-any/PKGBUILD (from rev 1063913, python-mimerender/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-12-03 00:38:06 UTC (rev 1063914)
@@ -0,0 +1,28 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-mimerender
+pkgver=0.6.0
+pkgrel=7
+pkgdesc="Transparently select a render function for an HTTP request handler's result"
+arch=('any')
+url="https://github.com/martinblech/mimerender"
+license=('MIT')
+depends=('python-mimeparse')
+makedepends=('python-setuptools')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/martinblech/mimerender/archive/v$pkgver.tar.gz")
+sha512sums=('68c584ba8ae608097b739078dd729bd8b5493087901ba281959abdb81d4e6052ff045c487fde4f67744b413bab36d7f938c68b162049ebe33bff642571b8fd98')
+
+build() {
+  cd mimerender-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd mimerender-$pkgver
+  python src/test.py
+}
+
+package() {
+  cd mimerender-$pkgver
+  python setup.py install -O1 --root "$pkgdir"
+}



More information about the arch-commits mailing list