[arch-commits] Commit in python-webob/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Mon Oct 17 03:23:41 UTC 2016
Date: Monday, October 17, 2016 @ 03:23:40
Author: felixonmars
Revision: 192407
archrelease: copy trunk to community-any
Added:
python-webob/repos/community-any/PKGBUILD
(from rev 192406, python-webob/trunk/PKGBUILD)
Deleted:
python-webob/repos/community-any/PKGBUILD
----------+
PKGBUILD | 142 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 71 insertions(+), 71 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2016-10-17 03:23:18 UTC (rev 192406)
+++ PKGBUILD 2016-10-17 03:23:40 UTC (rev 192407)
@@ -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.6.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-nose' 'python2-nose')
-optdepends=('python-webob-docs: documentation')
-source=("https://pypi.io/packages/source/W/WebOb/WebOb-$pkgver.tar.gz")
-md5sums=('04049d82e9d12dd91f6f46f54cc826aa')
-
-prepare() {
- cp -a "$srcdir/WebOb-$pkgver"{,-py2}
- cp -a "$srcdir/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 test
-
- cd "$srcdir"/WebOb-$pkgver-py2
- python2 setup.py test
-}
-
-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 192406, python-webob/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2016-10-17 03:23:40 UTC (rev 192407)
@@ -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.6.2
+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-nose' 'python2-nose')
+optdepends=('python-webob-docs: documentation')
+source=("https://pypi.io/packages/source/W/WebOb/WebOb-$pkgver.tar.gz")
+md5sums=('cc88bf68d6bf879c2d2145c86b6f5010')
+
+prepare() {
+ cp -a "$srcdir/WebOb-$pkgver"{,-py2}
+ cp -a "$srcdir/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 test
+
+ cd "$srcdir"/WebOb-$pkgver-py2
+ python2 setup.py test
+}
+
+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