[arch-commits] Commit in python-webob/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Mon Nov 12 12:12:13 UTC 2018
Date: Monday, November 12, 2018 @ 12:12:13
Author: felixonmars
Revision: 406423
archrelease: copy trunk to community-any
Added:
python-webob/repos/community-any/PKGBUILD
(from rev 406422, python-webob/trunk/PKGBUILD)
Deleted:
python-webob/repos/community-any/PKGBUILD
----------+
PKGBUILD | 142 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 71 insertions(+), 71 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-11-12 12:11:53 UTC (rev 406422)
+++ PKGBUILD 2018-11-12 12:12:13 UTC (rev 406423)
@@ -1,71 +0,0 @@
-# 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
-}
Copied: python-webob/repos/community-any/PKGBUILD (from rev 406422, python-webob/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-11-12 12:12:13 UTC (rev 406423)
@@ -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.4
+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=('2b82336b9bba7625ec3a3dea3d30522d0c436f7dc701e93bc5996d187a7ba00e75bbc7419440f66a0744a38c780c74a8bdd33e4db625de0785c49854d3ef869a')
+
+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