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

Felix Yan felixonmars at archlinux.org
Sun Dec 2 16:33:14 UTC 2018


    Date: Sunday, December 2, 2018 @ 16:33:14
  Author: felixonmars
Revision: 410776

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |  106 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 53 insertions(+), 53 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-12-02 16:32:59 UTC (rev 410775)
+++ PKGBUILD	2018-12-02 16:33:14 UTC (rev 410776)
@@ -1,53 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Richard Murri <admin at richardmurri.com>
-# Contributor: Farhad Shahbazi <farhad at enthusiasm.cc>
-# Contributor: Felix Kaiser <felix.kaiser at fxkr.net>
-
-pkgbase=python-bottle
-pkgname=("python-bottle" "python2-bottle")
-pkgver=0.12.14
-pkgrel=1
-pkgdesc="A fast and simple micro-framework for small web-applications"
-arch=(any)
-url="http://bottlepy.org"
-license=('MIT')
-options=(!emptydirs)
-makedepends=('python-setuptools' 'python2-setuptools' 'git')
-checkdepends=('python-mako' 'python2-mako' 'python-jinja' 'python2-jinja' 'python-cherrypy'
-              'python2-cherrypy' 'python-twisted' 'python2-twisted' 'python-tornado'
-              'python2-tornado' 'python-paste' 'python2-paste' 'python-gevent' 'python2-gevent'
-              'python-eventlet' 'python2-eventlet')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/defnull/bottle/archive/$pkgver.tar.gz")
-sha512sums=('56bbcdd3e928618bcd803bbdcb5e5c1ea7e250407e553a2aac1ae7c93da8a11b1153ee2fd404962314a37604691b923fd05f77fb86af366171f2b4f92c80d8dc')
-
-prepare() {
-  cp -a bottle-$pkgver{,-py2}
-  sed -i "1s/python/python2/" bottle-$pkgver-py2/bottle.py
-}
-
-check() {
-  cd "$srcdir"/bottle-$pkgver
-  # https://github.com/bottlepy/bottle/issues/791
-  python test/testall.py || warning 'Tests failed'
-
-  cd "$srcdir"/bottle-$pkgver-py2
-  python2 test/testall.py
-}
-
-package_python-bottle() {
-  depends=('python')
-
-  cd bottle-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python2-bottle() {
-  depends=('python2')
-
-  cd bottle-$pkgver-py2
-  python2 setup.py install --root="$pkgdir" --optimize=1
-  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-
-  mv "$pkgdir"/usr/bin/bottle.py{,2}
-}

Copied: python-bottle/repos/community-any/PKGBUILD (from rev 410775, python-bottle/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-12-02 16:33:14 UTC (rev 410776)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Richard Murri <admin at richardmurri.com>
+# Contributor: Farhad Shahbazi <farhad at enthusiasm.cc>
+# Contributor: Felix Kaiser <felix.kaiser at fxkr.net>
+
+pkgbase=python-bottle
+pkgname=("python-bottle" "python2-bottle")
+pkgver=0.12.15
+pkgrel=1
+pkgdesc="A fast and simple micro-framework for small web-applications"
+arch=(any)
+url="http://bottlepy.org"
+license=('MIT')
+options=(!emptydirs)
+makedepends=('python-setuptools' 'python2-setuptools' 'git')
+checkdepends=('python-mako' 'python2-mako' 'python-jinja' 'python2-jinja' 'python-cherrypy'
+              'python2-cherrypy' 'python-twisted' 'python2-twisted' 'python-tornado'
+              'python2-tornado' 'python-paste' 'python2-paste' 'python-gevent' 'python2-gevent'
+              'python-eventlet' 'python2-eventlet')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/defnull/bottle/archive/$pkgver.tar.gz")
+sha512sums=('302e61790426ffe65f19041455c92eabab3d809fabe463845ecc5531ca2cf0a68a3ecfde6c890aeed95de4320aa465c15e908f512dab964e25c849bb0b5d02a6')
+
+prepare() {
+  cp -a bottle-$pkgver{,-py2}
+  sed -i "1s/python/python2/" bottle-$pkgver-py2/bottle.py
+}
+
+check() {
+  cd "$srcdir"/bottle-$pkgver
+  # https://github.com/bottlepy/bottle/issues/791
+  python test/testall.py || warning 'Tests failed'
+
+  cd "$srcdir"/bottle-$pkgver-py2
+  python2 test/testall.py
+}
+
+package_python-bottle() {
+  depends=('python')
+
+  cd bottle-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-bottle() {
+  depends=('python2')
+
+  cd bottle-$pkgver-py2
+  python2 setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+
+  mv "$pkgdir"/usr/bin/bottle.py{,2}
+}



More information about the arch-commits mailing list