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

Felix Yan felixonmars at archlinux.org
Mon Oct 15 19:53:16 UTC 2018


    Date: Monday, October 15, 2018 @ 19:53:15
  Author: felixonmars
Revision: 394305

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |  143 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 71 insertions(+), 72 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-10-15 19:53:11 UTC (rev 394304)
+++ PKGBUILD	2018-10-15 19:53:15 UTC (rev 394305)
@@ -1,72 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Aaron DeVore <aaron.devore at gmail.com>
-# Contributor: Cilyan Olowen <gaknar at gmail.com>
-
-pkgbase='python-webob'
-pkgname=('python-webob' 'python2-webob' 'python-webob-docs')
-pkgver=1.8.2
-pkgrel=2
-pkgdesc="WSGI request and response object"
-arch=('any')
-url="http://pythonpaste.org/webob/"
-license=('MIT')
-makedepends=('python-setuptools' 'python2-setuptools' 'python-sphinx')
-checkdepends=('python-pytest-runner' 'python2-pytest-runner')
-optdepends=('python-webob-docs: documentation')
-source=("https://pypi.io/packages/source/W/WebOb/WebOb-$pkgver.tar.gz")
-sha512sums=('691a6cfbbff376e7b1f71adcaac4dbe8cc26cb4ddc396e2ab946ddf15b34c05c638113f48ee396d4edaf6ef77498ca8539d1c63de9f58894afb0e4b88bbf04ae')
-
-prepare() {
-  cp -a WebOb-$pkgver{,-py2}
-  cp -a WebOb-$pkgver{,-docs}
-  sed -i "s/pkg_resources.get_distribution('webob').version/'$pkgver'/" WebOb-$pkgver-docs/docs/conf.py
-}
-
-build() {
-  cd "$srcdir"/WebOb-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/WebOb-$pkgver-py2
-  python2 setup.py build
-
-  cd "$srcdir"/WebOb-$pkgver-docs
-  PYTHONPATH="$PWD/src" make -C docs html
-}
-
-check() {
-  cd "$srcdir"/WebOb-$pkgver
-  python setup.py pytest --addopts "--ignore=docs"
-
-  cd "$srcdir"/WebOb-$pkgver-py2
-  python2 setup.py pytest --addopts "--ignore=docs"
-}
-
-package_python-webob() {
-  depends=('python')
-
-  cd "$srcdir"/WebOb-$pkgver
-  python setup.py install -O1 --root="$pkgdir"
-  install -D -m644 "docs/license.txt" \
-                   "$pkgdir"/usr/share/licenses/$pkgname/license.txt
-}
-
-package_python2-webob() {
-  depends=('python2')
-
-  cd "$srcdir"/WebOb-$pkgver-py2
-  python2 setup.py install -O1 --root="$pkgdir"
-  install -D -m644 "docs/license.txt" \
-                   "$pkgdir"/usr/share/licenses/$pkgname/license.txt
-}
-
-package_python-webob-docs() {
-  optdepends=()
-
-  cd "$srcdir"/WebOb-$pkgver-docs
-  _doc_dir="$pkgdir"/usr/share/docs/python-webob
-  mkdir -p "$_doc_dir"
-  cp -a "docs/_build/html" "$_doc_dir"
-  install -D -m644 "docs/license.txt" \
-                   "$pkgdir"/usr/share/licenses/$pkgname/license.txt
-}

Copied: python-webob/repos/community-any/PKGBUILD (from rev 394303, python-webob/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-10-15 19:53:15 UTC (rev 394305)
@@ -0,0 +1,71 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Aaron DeVore <aaron.devore at gmail.com>
+# Contributor: Cilyan Olowen <gaknar at gmail.com>
+
+pkgbase='python-webob'
+pkgname=('python-webob' 'python2-webob' 'python-webob-docs')
+pkgver=1.8.3
+pkgrel=1
+pkgdesc="WSGI request and response object"
+arch=('any')
+url="http://pythonpaste.org/webob/"
+license=('MIT')
+makedepends=('python-setuptools' 'python2-setuptools' 'python-sphinx')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner')
+optdepends=('python-webob-docs: documentation')
+source=("https://pypi.io/packages/source/W/WebOb/WebOb-$pkgver.tar.gz")
+sha512sums=('f2021a1afaa91824b9ab960cbd73f0ff5a93c0a9c52d4c90a01b7ea74cf224c47aa792404b6c464fc63c13d995cae5438d0aaf452ad884cb2a2d122ba76c37b1')
+
+prepare() {
+  cp -a WebOb-$pkgver{,-py2}
+  cp -a WebOb-$pkgver{,-docs}
+  sed -i "s/pkg_resources.get_distribution('webob').version/'$pkgver'/" WebOb-$pkgver-docs/docs/conf.py
+}
+
+build() {
+  cd "$srcdir"/WebOb-$pkgver
+  python setup.py build
+
+  cd "$srcdir"/WebOb-$pkgver-py2
+  python2 setup.py build
+
+  cd "$srcdir"/WebOb-$pkgver-docs
+  PYTHONPATH="$PWD/src" make -C docs html
+}
+
+check() {
+  cd "$srcdir"/WebOb-$pkgver
+  python setup.py pytest --addopts "--ignore=docs"
+
+  cd "$srcdir"/WebOb-$pkgver-py2
+  python2 setup.py pytest --addopts "--ignore=docs"
+}
+
+package_python-webob() {
+  depends=('python')
+
+  cd "$srcdir"/WebOb-$pkgver
+  python setup.py install -O1 --root="$pkgdir"
+  install -D -m644 "docs/license.txt" \
+                   "$pkgdir"/usr/share/licenses/$pkgname/license.txt
+}
+
+package_python2-webob() {
+  depends=('python2')
+
+  cd "$srcdir"/WebOb-$pkgver-py2
+  python2 setup.py install -O1 --root="$pkgdir"
+  install -D -m644 "docs/license.txt" \
+                   "$pkgdir"/usr/share/licenses/$pkgname/license.txt
+}
+
+package_python-webob-docs() {
+  optdepends=()
+
+  cd "$srcdir"/WebOb-$pkgver-docs
+  _doc_dir="$pkgdir"/usr/share/docs/python-webob
+  mkdir -p "$_doc_dir"
+  cp -a "docs/_build/html" "$_doc_dir"
+  install -D -m644 "docs/license.txt" \
+                   "$pkgdir"/usr/share/licenses/$pkgname/license.txt
+}



More information about the arch-commits mailing list