[arch-commits] Commit in python-webob/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
fyan at archlinux.org
Wed Apr 15 03:44:57 UTC 2015
Date: Wednesday, April 15, 2015 @ 05:44:57
Author: fyan
Revision: 131382
archrelease: copy trunk to community-any
Added:
python-webob/repos/community-any/PKGBUILD
(from rev 131381, python-webob/trunk/PKGBUILD)
Deleted:
python-webob/repos/community-any/PKGBUILD
----------+
PKGBUILD | 142 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 71 insertions(+), 71 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2015-04-15 03:44:20 UTC (rev 131381)
+++ PKGBUILD 2015-04-15 03:44:57 UTC (rev 131382)
@@ -1,71 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at gmail.com>
-# 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.4
-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-nose' 'python2-nose')
-optdepends=('python-webob-docs: documentation')
-source=("http://pypi.python.org/packages/source/W/WebOb/WebOb-${pkgver}.tar.gz")
-md5sums=('8437607c0cc00c35f658f972516ffb55')
-
-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 131381, python-webob/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2015-04-15 03:44:57 UTC (rev 131382)
@@ -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.4.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=("http://pypi.python.org/packages/source/W/WebOb/WebOb-${pkgver}.tar.gz")
+md5sums=('a5c6e8ba5431756e6a5d5ec56047ec94')
+
+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