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

Felix Yan felixonmars at archlinux.org
Wed Nov 11 21:15:01 UTC 2020


    Date: Wednesday, November 11, 2020 @ 21:15:01
  Author: felixonmars
Revision: 751241

archrelease: copy trunk to community-staging-any

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

----------+
 PKGBUILD |  114 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 57 insertions(+), 57 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-11 21:14:49 UTC (rev 751240)
+++ PKGBUILD	2020-11-11 21:15:01 UTC (rev 751241)
@@ -1,57 +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.18
-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' 'python-jinja' 'python-cherrypy' 'python-twisted'
-              'python-tornado' 'python-paste' 'python-gevent' 'python-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 || echo "Tests failed"
-}
-
-build() {
-  cd "$srcdir"/bottle-$pkgver
-  python setup.py build
-  cd "$srcdir"/bottle-$pkgver-py2
-  python2 setup.py build
-}
-
-package_python-bottle() {
-  depends=('python')
-
-  cd bottle-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-  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 --skip-build
-  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-
-  mv "$pkgdir"/usr/bin/bottle.py{,2}
-}
-
-# vim: ts=2 sw=2 et:

Copied: python-bottle/repos/community-staging-any/PKGBUILD (from rev 751240, python-bottle/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-11-11 21:15:01 UTC (rev 751241)
@@ -0,0 +1,57 @@
+# 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.19
+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' 'python-jinja' 'python-cherrypy' 'python-twisted'
+              'python-tornado' 'python-paste' 'python-gevent' 'python-eventlet')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/defnull/bottle/archive/$pkgver.tar.gz")
+sha512sums=('58f2510c9982867b4a8aec217a3aefd7784e2384176b13ab3d2558a838e9af88563ceaa5bdbad675c5086a995d034c20146b146b6bd35505357fd8557dc3dd09')
+
+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 || echo "Tests failed"
+}
+
+build() {
+  cd "$srcdir"/bottle-$pkgver
+  python setup.py build
+  cd "$srcdir"/bottle-$pkgver-py2
+  python2 setup.py build
+}
+
+package_python-bottle() {
+  depends=('python')
+
+  cd bottle-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+  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 --skip-build
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+
+  mv "$pkgdir"/usr/bin/bottle.py{,2}
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list