[arch-commits] Commit in python-mimerender/repos/community-any (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Wed Mar 27 11:33:14 UTC 2019


    Date: Wednesday, March 27, 2019 @ 11:33:11
  Author: felixonmars
Revision: 444210

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-03-27 11:32:52 UTC (rev 444209)
+++ PKGBUILD	2019-03-27 11:33:11 UTC (rev 444210)
@@ -1,48 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-mimerender
-pkgname=(python-mimerender python2-mimerender)
-pkgver=0.6.0
-pkgrel=3
-pkgdesc="Transparently select a render function for an HTTP request handler's result"
-arch=('any')
-url="https://github.com/martinblech/mimerender"
-license=('MIT')
-makedepends=('python-mimeparse' 'python2-mimeparse' 'python-setuptools' 'python2-setuptools' 'git')
-source=("git+https://github.com/martinblech/mimerender.git#tag=v$pkgver")
-sha512sums=('SKIP')
-
-prepare() {
-  cp -a mimerender{,-py2}
-}
-
-build() {
-  cd "$srcdir"/mimerender
-  python setup.py build
-
-  cd "$srcdir"/mimerender-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/mimerender
-  python src/test.py
-
-  cd "$srcdir"/mimerender-py2
-  python2 src/test.py
-}
-
-package_python-mimerender() {
-  depends=('python-mimeparse')
-
-  cd mimerender
-  python setup.py install -O1 --root "$pkgdir"
-}
-
-package_python2-mimerender() {
-  depends=('python2-mimeparse')
-
-  cd mimerender-py2
-  python2 setup.py install -O1 --root "$pkgdir"
-}

Copied: python-mimerender/repos/community-any/PKGBUILD (from rev 444209, python-mimerender/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-03-27 11:33:11 UTC (rev 444210)
@@ -0,0 +1,28 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-mimerender
+pkgver=0.6.0
+pkgrel=4
+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