[arch-commits] Commit in python-webob/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Tue Jan 17 16:33:59 UTC 2017
Date: Tuesday, January 17, 2017 @ 16:33:59
Author: felixonmars
Revision: 207751
archrelease: copy trunk to community-any
Added:
python-webob/repos/community-any/PKGBUILD
(from rev 207750, python-webob/trunk/PKGBUILD)
Deleted:
python-webob/repos/community-any/PKGBUILD
----------+
PKGBUILD | 142 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 71 insertions(+), 71 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2017-01-17 16:33:38 UTC (rev 207750)
+++ PKGBUILD 2017-01-17 16:33:59 UTC (rev 207751)
@@ -1,71 +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.7.0
-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")
-md5sums=('2be9cccbc4c6204e8e2715a13fe5a2bc')
-
-prepare() {
- cp -a WebOb-$pkgver{,-py2}
- cp -a WebOb-$pkgver{,-docs}
-}
-
-build() {
- cd "$srcdir"/WebOb-$pkgver
- python setup.py build
-
- cd "$srcdir"/WebOb-$pkgver-py2
- python2 setup.py build
-
- cd "$srcdir"/WebOb-$pkgver-docs
- python setup.py build_sphinx
-}
-
-check() {
- cd "$srcdir"/WebOb-$pkgver
- python setup.py ptr --addopts "--ignore=docs"
-
- cd "$srcdir"/WebOb-$pkgver-py2
- python2 setup.py ptr --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 "build/sphinx/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 207750, python-webob/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2017-01-17 16:33:59 UTC (rev 207751)
@@ -0,0 +1,71 @@
+# $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.7.1
+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")
+md5sums=('31f4452f2d86f0175c0ed50d272f496b')
+
+prepare() {
+ cp -a WebOb-$pkgver{,-py2}
+ cp -a WebOb-$pkgver{,-docs}
+}
+
+build() {
+ cd "$srcdir"/WebOb-$pkgver
+ python setup.py build
+
+ cd "$srcdir"/WebOb-$pkgver-py2
+ python2 setup.py build
+
+ cd "$srcdir"/WebOb-$pkgver-docs
+ python setup.py build_sphinx
+}
+
+check() {
+ cd "$srcdir"/WebOb-$pkgver
+ python setup.py ptr --addopts "--ignore=docs"
+
+ cd "$srcdir"/WebOb-$pkgver-py2
+ python2 setup.py ptr --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 "build/sphinx/html" "$_doc_dir"
+ install -D -m644 "docs/license.txt" \
+ "$pkgdir"/usr/share/licenses/$pkgname/license.txt
+}
More information about the arch-commits
mailing list