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

Felix Yan felixonmars at archlinux.org
Tue Dec 3 22:46:49 UTC 2019


    Date: Tuesday, December 3, 2019 @ 22:46:49
  Author: felixonmars
Revision: 534996

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-12-03 22:46:39 UTC (rev 534995)
+++ PKGBUILD	2019-12-03 22:46:49 UTC (rev 534996)
@@ -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.17
-pkgrel=3
-pkgdesc="A fast and simple micro-framework for small web-applications"
-arch=(any)
-url="https://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=('b79627cdb6d6187837aeb5e5e38a96285873d8f53300c3c68f2c65378042d2f05c9445af76cf70a63b8343d5be130771678d03215c194e6fae6347ccd3cad153')
-
-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 534995, python-bottle/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-12-03 22:46:49 UTC (rev 534996)
@@ -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.18
+pkgrel=1
+pkgdesc="A fast and simple micro-framework for small web-applications"
+arch=(any)
+url="https://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=('90759ecd94dd489a1e66b2ddfadc0a0bbb88bf1b0c666e292f2466a88b9b0195fe3679928683ca58af94b0bbfa4f815269f6497477db51229cc7250b705e73ed')
+
+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