[arch-commits] Commit in python-webargs/repos/community-any (PKGBUILD PKGBUILD)
Filipe Laíns
ffy00 at archlinux.org
Sun Mar 8 15:08:13 UTC 2020
Date: Sunday, March 8, 2020 @ 15:08:12
Author: ffy00
Revision: 592148
archrelease: copy trunk to community-any
Added:
python-webargs/repos/community-any/PKGBUILD
(from rev 592147, python-webargs/trunk/PKGBUILD)
Deleted:
python-webargs/repos/community-any/PKGBUILD
----------+
PKGBUILD | 112 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 56 insertions(+), 56 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-03-08 15:08:09 UTC (rev 592147)
+++ PKGBUILD 2020-03-08 15:08:12 UTC (rev 592148)
@@ -1,56 +0,0 @@
-# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
-
-_pkgname=webargs
-pkgname=python-$_pkgname
-pkgver=5.5.3
-pkgrel=2
-pkgdesc='A friendly library for parsing HTTP request arguments, with built-in support for popular web frameworks'
-arch=('any')
-url='https://github.com/marshmallow-code/webargs'
-license=('MIT')
-depends=('python-marshmallow')
-makedepends=('python-setuptools' 'python-sphinx' 'python-sphinx-issues' 'python-sphinx-typlog-theme')
-checkdepends=('python-pytest-runner' 'python-mock' 'python-webtest' 'python-pytest-aiohttp'
- 'python-bottle' 'python-werkzeug' 'python-django' 'python-flask' 'python-tornado')
-source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
-sha512sums=('ce76f4a25538b7cdcd98a8e0548d71d7b405c0561b8ed8b0ee17114f41127ee6b4304d5636da212bfd2fe1a13d12e9ee81515473f7fae7f3973ff2a012e3810b')
-
-prepare() {
- cd $_pkgname-$pkgver
-
- rm tests/test_{falcon,pyramid,webapp2}parser.py tests/test_py3/test_aiohttpparser{,_async_functions}.py
-}
-
-build() {
- cd $_pkgname-$pkgver
-
- python setup.py build
-
- cd docs
-
- make html man
- ls _build/man
- gzip _build/man/webargs.1
-}
-
-check() {
- cd $_pkgname-$pkgver
-
- python setup.py pytest
-}
-
-package() {
- cd $_pkgname-$pkgver
-
- python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-
- install -dm 755 "$pkgdir"/usr/share/doc/$pkgname
- cp -r -a --no-preserve=ownership docs/_build/html "$pkgdir"/usr/share/doc/$pkgname
-
- install -dm 755 "$pkgdir"/usr/share/man/man1
- install -Dm 644 docs/_build/man/webargs.1.gz "$pkgdir"/usr/share/man/man1/webargs.1.gz
-
- install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-# vim:set ts=2 sw=2 et:
Copied: python-webargs/repos/community-any/PKGBUILD (from rev 592147, python-webargs/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-03-08 15:08:12 UTC (rev 592148)
@@ -0,0 +1,56 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+_pkgname=webargs
+pkgname=python-$_pkgname
+pkgver=6.0.0
+pkgrel=1
+pkgdesc='A friendly library for parsing HTTP request arguments, with built-in support for popular web frameworks'
+arch=('any')
+url='https://github.com/marshmallow-code/webargs'
+license=('MIT')
+depends=('python-marshmallow')
+makedepends=('python-setuptools' 'python-sphinx' 'python-sphinx-issues' 'python-sphinx-typlog-theme')
+checkdepends=('python-pytest-runner' 'python-mock' 'python-webtest' 'python-pytest-aiohttp'
+ 'python-bottle' 'python-werkzeug' 'python-django' 'python-flask' 'python-tornado')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
+sha512sums=('97600d9ecf778ff778567e179ef7c2c7e22531f5870db724a08c94f32c865c33119a52dfccb1ffc82946a7281c2463844fddb12a2efa514c0d8779b88350c2ca')
+
+prepare() {
+ cd $_pkgname-$pkgver
+
+ rm tests/test_{falcon,pyramid,webapp2}parser.py tests/test_py3/test_aiohttpparser{,_async_functions}.py
+}
+
+build() {
+ cd $_pkgname-$pkgver
+
+ python setup.py build
+
+ cd docs
+
+ make html man
+ ls _build/man
+ gzip _build/man/webargs.1
+}
+
+check() {
+ cd $_pkgname-$pkgver
+
+ python setup.py pytest
+}
+
+package() {
+ cd $_pkgname-$pkgver
+
+ python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+
+ install -dm 755 "$pkgdir"/usr/share/doc/$pkgname
+ cp -r -a --no-preserve=ownership docs/_build/html "$pkgdir"/usr/share/doc/$pkgname
+
+ install -dm 755 "$pkgdir"/usr/share/man/man1
+ install -Dm 644 docs/_build/man/webargs.1.gz "$pkgdir"/usr/share/man/man1/webargs.1.gz
+
+ install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list