[arch-commits] Commit in python-webob/repos/community-any (PKGBUILD PKGBUILD)
Alexander Epaneshnikov
alex19ep at gemini.archlinux.org
Sun Nov 21 21:31:09 UTC 2021
Date: Sunday, November 21, 2021 @ 21:31:09
Author: alex19ep
Revision: 1054032
archrelease: copy trunk to community-any
Added:
python-webob/repos/community-any/PKGBUILD
(from rev 1054031, python-webob/trunk/PKGBUILD)
Deleted:
python-webob/repos/community-any/PKGBUILD
----------+
PKGBUILD | 114 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 57 insertions(+), 57 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-11-21 21:30:56 UTC (rev 1054031)
+++ PKGBUILD 2021-11-21 21:31:09 UTC (rev 1054032)
@@ -1,57 +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' 'python-webob-docs')
-pkgver=1.8.7
-pkgrel=1
-pkgdesc="WSGI request and response object"
-arch=('any')
-url="http://pythonpaste.org/webob/"
-license=('MIT')
-depends=('python')
-makedepends=('python-setuptools' 'python-sphinx')
-checkdepends=('python-pytest-runner')
-optdepends=('python-webob-docs: documentation')
-source=("https://pypi.io/packages/source/W/WebOb/WebOb-$pkgver.tar.gz"
- $pkgname-py39.patch::https://github.com/Pylons/webob/commit/6b5d8c382c26.patch)
-sha512sums=('ff6a1ce796a59d9c078dc908a0d6307a080230a5c806be2278eebcbb78016bed43067e78e3e4a6d72a5f51184c137e8267ac75cbb92b057db008b51a792ff489'
- 'aba4b333bc67f6ccde084efca793aff7b978548b1179ca4dbeb969f05b0e0e0bb00201640929cd07741434e27cf935361fcacc1943706e6399c5aa8407ec0116')
-
-prepare() {
- patch -Np1 -F3 -d WebOb-$pkgver<$pkgname-py39.patch # https://github.com/Pylons/webob/pull/411
- 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-docs
- PYTHONPATH="$PWD/src" make -C docs html
-}
-
-check() {
- cd "$srcdir"/WebOb-$pkgver
- python setup.py pytest --addopts "--ignore=docs"
-}
-
-package_python-webob() {
- 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_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 1054031, python-webob/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-11-21 21:31:09 UTC (rev 1054032)
@@ -0,0 +1,57 @@
+# 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' 'python-webob-docs')
+pkgver=1.8.7
+pkgrel=2
+pkgdesc="WSGI request and response object"
+arch=('any')
+url="http://pythonpaste.org/webob/"
+license=('MIT')
+depends=('python')
+makedepends=('python-setuptools' 'python-sphinx')
+checkdepends=('python-pytest-runner')
+optdepends=('python-webob-docs: documentation')
+source=("https://pypi.io/packages/source/W/WebOb/WebOb-$pkgver.tar.gz"
+ $pkgname-py39.patch::https://github.com/Pylons/webob/commit/6b5d8c382c26.patch)
+sha512sums=('ff6a1ce796a59d9c078dc908a0d6307a080230a5c806be2278eebcbb78016bed43067e78e3e4a6d72a5f51184c137e8267ac75cbb92b057db008b51a792ff489'
+ 'aba4b333bc67f6ccde084efca793aff7b978548b1179ca4dbeb969f05b0e0e0bb00201640929cd07741434e27cf935361fcacc1943706e6399c5aa8407ec0116')
+
+prepare() {
+ patch -Np1 -F3 -d WebOb-$pkgver<$pkgname-py39.patch # https://github.com/Pylons/webob/pull/411
+ 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-docs
+ PYTHONPATH="$PWD/src" make -C docs html
+}
+
+check() {
+ cd "$srcdir"/WebOb-$pkgver
+ python setup.py pytest --addopts "--ignore=docs"
+}
+
+package_python-webob() {
+ 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_python-webob-docs() {
+ optdepends=()
+
+ cd "$srcdir"/WebOb-$pkgver-docs
+ _doc_dir="$pkgdir"/usr/share/doc/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