* sync python modules with main arch
This commit is contained in:
parent
bb3db415b9
commit
9d94cad3f3
@ -4,7 +4,8 @@
|
||||
|
||||
_pkgname=aiohttp
|
||||
pkgname=python-aiohttp
|
||||
pkgver=3.7.2
|
||||
_gitcommit=2f655a59d0daedfa2a794996c4355b576c98ecc8
|
||||
pkgver=3.7.3
|
||||
pkgrel=1
|
||||
pkgdesc='HTTP client/server for asyncio'
|
||||
url='https://aiohttp.readthedocs.io'
|
||||
@ -16,12 +17,12 @@ makedepends=('cython' 'python-setuptools' 'git')
|
||||
checkdepends=('python-pytest' 'python-pytest-runner' 'python-pytest-mock'
|
||||
'python-pytest-timeout' 'python-async_generator' 'python-brotlipy'
|
||||
'python-pytest-xdist' 'python-pytest-forked' 'python-pytest-cov'
|
||||
'python-trustme' 'python-freezegun' 'gunicorn')
|
||||
'python-trustme' 'python-freezegun' 'gunicorn' 'python-re-assert')
|
||||
optdepends=('gunicorn: to deploy using Gunicorn'
|
||||
'python-aiodns: for fast DNS resolving'
|
||||
'python-cchardet: for faster encoding detection'
|
||||
'python-brotlipy: for Brotli transfer-encodings support')
|
||||
source=(${pkgname}::"git+https://github.com/aio-libs/aiohttp#tag=v${pkgver}"
|
||||
source=(${pkgname}::"git+https://github.com/aio-libs/aiohttp#commit=${_gitcommit}"
|
||||
git+https://github.com/nodejs/http-parser)
|
||||
sha512sums=('SKIP'
|
||||
'SKIP')
|
||||
|
@ -4,7 +4,7 @@
|
||||
# Contributor: dnuux <dnuuxx@gmail.com>
|
||||
|
||||
pkgname=python-faker
|
||||
pkgver=4.15.0
|
||||
pkgver=4.17.1
|
||||
pkgrel=1
|
||||
pkgdesc='Faker generates fake data for you.'
|
||||
arch=('any')
|
||||
@ -18,7 +18,7 @@ makedepends=('python-pip' 'python-wheel' 'python-pytest-runner')
|
||||
checkdepends=('python-validators' 'python-ukpostcodeparser' 'python-random2'
|
||||
'python-freezegun')
|
||||
source=("$pkgname-$pkgver.tar.gz::https://github.com/joke2k/faker/archive/v$pkgver.tar.gz")
|
||||
sha512sums=('48716eb5b207008deb5c9eb3374a9a0c193f895b44d0f93c9e930a4424c5c1c1da8a4a5a47cac5531292aa2863c8791588770583a538da74e73b9ee53f57d22f')
|
||||
sha512sums=('57053526a784804a507fb2d75f6a5335d5ef79b995e2d2d9e604b92928c392c38e0df878301c6b5def0b2caf710b345d6394d16ec44f75aafdbff18f23b95ecd')
|
||||
|
||||
prepare() {
|
||||
sed -i -e 's/==/>=/' faker-$pkgver/setup.py
|
||||
|
@ -4,7 +4,7 @@
|
||||
_pkgname=LibCST
|
||||
pkgname=python-libcst
|
||||
pkgver=0.3.13
|
||||
pkgrel=2
|
||||
pkgrel=3
|
||||
pkgdesc="A concrete syntax tree parser and serializer library for Python that preserves many aspects of Python's abstract syntax tree"
|
||||
arch=('any')
|
||||
url='https://github.com/Instagram/LibCST'
|
||||
@ -15,6 +15,13 @@ checkdepends=('python-hypothesis' 'python-hypothesmith' 'python-isort' 'python-b
|
||||
source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
|
||||
sha512sums=('f4f0a962557a12bf92b806d10ee9c10de04c066fe6f56e59a2664439a79f49b9a98e4420b78321ac0dd49c04a3603f778b2ebbc0597521725421bd512072c2eb')
|
||||
|
||||
prepare() {
|
||||
cd $_pkgname-$pkgver
|
||||
|
||||
sed -i 's/import AbstractBaseMatcherNodeMeta/import Optional, AbstractBaseMatcherNodeMeta/' libcst/codegen/gen_matcher_classes.py
|
||||
python -m libcst.codegen.generate matchers
|
||||
}
|
||||
|
||||
build() {
|
||||
cd $_pkgname-$pkgver
|
||||
|
||||
|
@ -4,8 +4,8 @@
|
||||
# Contributor: Kyle Keen <keenerd@gmail.com>
|
||||
|
||||
pkgname=python-mongoengine
|
||||
pkgver=0.20.0
|
||||
pkgrel=3
|
||||
pkgver=0.21.0
|
||||
pkgrel=1
|
||||
pkgdesc="A Python Object-Document-Mapper for working with MongoDB"
|
||||
url="https://github.com/MongoEngine/mongoengine"
|
||||
license=('MIT')
|
||||
@ -17,7 +17,7 @@ makedepends=('python-pip')
|
||||
checkdepends=('python-pytest-cov' 'python-coverage' 'python-blinker' 'python-pillow' 'python-zipp'
|
||||
'python-mongomock')
|
||||
source=("$pkgname-$pkgver.tar.gz::https://github.com/MongoEngine/mongoengine/archive/v$pkgver.tar.gz")
|
||||
sha512sums=('ef973af9893f6e53811e1a47a131989f5a057af04ab9d512059f968af89fcd23f05d910c7de03330b5f4771db8e11ea2e48060f95ed790f8d238df6c6f7b9306')
|
||||
sha512sums=('37642e9c9333fb4480262e916d678ef04a1f839b62e7d58528485b7df7cb9b22d3cb0b093084fcb92e331698c7d5bf2411df5d0c6e6b9324748189b9084c3f54')
|
||||
|
||||
build() {
|
||||
cd mongoengine-$pkgver
|
||||
|
@ -2,8 +2,8 @@
|
||||
# Maintainer: Johannes Löthberg <johannes@kyriasis.com>
|
||||
|
||||
pkgname=python-prometheus_client
|
||||
pkgver=0.8.0
|
||||
pkgrel=4
|
||||
pkgver=0.9.0
|
||||
pkgrel=1
|
||||
|
||||
pkgdesc="Prometheus instrumentation library for Python applications"
|
||||
url="https://github.com/prometheus/client_python"
|
||||
@ -16,7 +16,7 @@ checkdepends=('python-twisted' 'python-pytest')
|
||||
|
||||
source=(client_python-$pkgver.tar.gz::https://github.com/prometheus/client_python/archive/v${pkgver}.tar.gz)
|
||||
|
||||
sha512sums=('a9d49bc4dac77168f94edf51344042bc5210b07ed01031dc50e323f86ea8292df7370956a4fbd9d9f85a0857a8ec9abaef30c0c2cd4dc5502df7264816eecc8f')
|
||||
sha512sums=('1d68ca35169972c50bb56ede88c47408ee27b3e795fcf03798313aed2dbc5db5532fe6886998c118258b76e431c6e49aa0ac19b9206cad63711901497258aaa5')
|
||||
|
||||
build() {
|
||||
cd client_python-$pkgver
|
||||
|
@ -3,15 +3,17 @@
|
||||
|
||||
pkgname=python-pyjsparser
|
||||
pkgver=2.7.1
|
||||
_commit=61f38fd4b62125970424e4dcacee80f1df14857b
|
||||
pkgrel=6
|
||||
_commit=5465d037b30e334cb0997f2315ec1e451b8ad4c1
|
||||
pkgrel=7
|
||||
pkgdesc="Fast javascript parser (based on esprima.js)"
|
||||
url="https://github.com/PiotrDabkowski/pyjsparser"
|
||||
license=('MIT')
|
||||
arch=('any')
|
||||
depends=('python')
|
||||
makedepends=('python-setuptools')
|
||||
checkdepends=('python-js2py' 'python-pytest')
|
||||
source=("$pkgname-$_commit.tar.gz::https://github.com/PiotrDabkowski/pyjsparser/archive/$_commit.tar.gz")
|
||||
sha512sums=('a91d11e1badd085c1efe72174b304354e8fd5ae922a8b451f36f9099522e1c95454d1ac580eed2a19d7ac48fce22011ed11ef1d9676f9b118c76285a5190c9e4')
|
||||
sha512sums=('2e4b3ee1cd863099da262eaf4df5ec4f364ce54e7c7535558f36d3449e21c9f851460078e1a7057ef8c82e2ed9c82f54944cd92782fe3f8cd05411edca191a40')
|
||||
|
||||
prepare() {
|
||||
mv pyjsparser-{$_commit,$pkgver}
|
||||
@ -24,7 +26,7 @@ build() {
|
||||
|
||||
check() {
|
||||
cd pyjsparser-$pkgver
|
||||
python test.py
|
||||
pytest
|
||||
}
|
||||
|
||||
package_python-pyjsparser() {
|
||||
|
@ -6,7 +6,7 @@
|
||||
|
||||
pkgname=python-pylint
|
||||
pkgver=2.6.0
|
||||
pkgrel=2
|
||||
pkgrel=3
|
||||
pkgdesc="Analyzes Python code looking for bugs and signs of poor quality"
|
||||
arch=('any')
|
||||
url="https://pylint.org"
|
||||
@ -16,8 +16,15 @@ makedepends=('python-pytest-runner' 'python-pytest-benchmark')
|
||||
checkdepends=('mpdecimal')
|
||||
optdepends=('tk: Pylint GUI'
|
||||
'graphviz: To have other output formats than dot or vcg')
|
||||
source=("$pkgname-$pkgver.tar.gz::https://github.com/PyCQA/pylint/archive/pylint-$pkgver.tar.gz")
|
||||
sha512sums=('8e42ae71b407bd926d3dba51a377016c93139777d6dfdd06e70a293e94ef78d1c0d59daa63fb6bab29f20eb5adc99ec808fc3dd0ed15718722b7da29923ece74')
|
||||
source=("$pkgname-$pkgver.tar.gz::https://github.com/PyCQA/pylint/archive/pylint-$pkgver.tar.gz"
|
||||
python-3.9.patch)
|
||||
sha512sums=('8e42ae71b407bd926d3dba51a377016c93139777d6dfdd06e70a293e94ef78d1c0d59daa63fb6bab29f20eb5adc99ec808fc3dd0ed15718722b7da29923ece74'
|
||||
'a4e5702ce706a9a19ba5a5575c0ee493c21c97ff4e0d03ef0e1ad5cee953c0fbc83174be08cfb7137ac6bcf5cece47089a5c77f31df5f3a850ecc1e58b6fae66')
|
||||
|
||||
prepare() {
|
||||
cd pylint-pylint-$pkgver
|
||||
patch -p1 -i ../python-3.9.patch
|
||||
}
|
||||
|
||||
build() {
|
||||
cd pylint-pylint-$pkgver
|
||||
@ -26,7 +33,8 @@ build() {
|
||||
|
||||
check() {
|
||||
cd pylint-pylint-$pkgver
|
||||
python setup.py pytest
|
||||
# https://github.com/PyCQA/pylint/issues/3895
|
||||
python setup.py pytest || echo "Tests failed"
|
||||
}
|
||||
|
||||
package() {
|
||||
|
@ -4,8 +4,8 @@
|
||||
# Contributor: Arnau Sanchez <tokland {at} gmail {dot} com>
|
||||
|
||||
pkgname=python-pyquery
|
||||
pkgver=1.4.1
|
||||
pkgrel=5
|
||||
pkgver=1.4.3
|
||||
pkgrel=1
|
||||
pkgdesc="A jquery-like library for python."
|
||||
arch=('any')
|
||||
url="https://github.com/gawel/pyquery/"
|
||||
@ -15,7 +15,7 @@ optdepends=('python-webob: query wsgi app')
|
||||
makedepends=('python-setuptools')
|
||||
checkdepends=('python-requests' 'python-webob' 'python-nose' 'python-webtest')
|
||||
source=("https://github.com/gawel/pyquery/archive/$pkgver/$pkgname-$pkgver.tar.gz")
|
||||
sha512sums=('25fe43155ecfcafb34863cee0a4690f51f23690b866a9e985f605f9995093e6698dbe867e6a98978f6f389735666fe17328d60c59904456ee1b35ff450eae463')
|
||||
sha512sums=('ab5110232d79209fb861fa3ac61c8803352c28c8372ba5d96b3fe731ebdb0b732c0c1642719c9cebbd0030a27edd2a962a7c368c99a7c966bf0ea77f7ae89a37')
|
||||
|
||||
build() {
|
||||
cd pyquery-$pkgver
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
pkgname=python-pytest-relaxed
|
||||
pkgver=1.1.5
|
||||
pkgrel=4
|
||||
pkgrel=5
|
||||
pkgdesc='Relaxed test discovery for pytest'
|
||||
arch=('any')
|
||||
license=('BSD')
|
||||
@ -23,7 +23,7 @@ check() {
|
||||
|
||||
cd "$srcdir"/pytest-relaxed-$pkgver
|
||||
python setup.py install --root="$PWD/tmp_install" --optimize=1
|
||||
PYTHONPATH="$PWD/tmp_install/usr/lib/python3.9/site-packages:$PYTHONPATH" py.test
|
||||
PYTHONPATH="$PWD/tmp_install/usr/lib/python3.9/site-packages:$PYTHONPATH" pytest || echo "Tests failed"
|
||||
}
|
||||
|
||||
package() {
|
||||
|
@ -6,8 +6,8 @@
|
||||
# Contributor: Fabio Volpe <volpefabio@gmail.com>
|
||||
|
||||
pkgname=python-sphinx
|
||||
pkgver=3.2.1
|
||||
pkgrel=3
|
||||
pkgver=3.3.1
|
||||
pkgrel=2
|
||||
pkgdesc='Python documentation generator'
|
||||
arch=('any')
|
||||
url=http://www.sphinx-doc.org/
|
||||
@ -29,21 +29,14 @@ checkdepends=('cython'
|
||||
'texlive-fontsextra' 'texlive-latexextra')
|
||||
optdepends=('imagemagick: for ext.imgconverter'
|
||||
'texlive-latexextra: for generation of PDF documentation')
|
||||
source=("https://pypi.org/packages/source/S/Sphinx/Sphinx-$pkgver.tar.gz"{,.asc}
|
||||
$pkgname-pygments-2.7.patch::https://github.com/sphinx-doc/sphinx/commit/85b24a2e88ea.patch)
|
||||
sha256sums=('321d6d9b16fa381a5306e5a0b76cd48ffbc588e6340059a729c6fdd66087e0e8'
|
||||
'SKIP'
|
||||
'6b790f4b3b540924a6a7861452fcbac8123f1e0a6c1765f5caafd7cb94fcecec')
|
||||
source=("https://pypi.org/packages/source/S/Sphinx/Sphinx-$pkgver.tar.gz"{,.asc})
|
||||
sha256sums=('1e8d592225447104d1172be415bc2972bd1357e3e12fdc76edf2261105db4300'
|
||||
'SKIP')
|
||||
b2sums=('4eb9d8c9dccfd83690252ad6be05a3e69006e1e801bb0b37b77fb6ccf998f3a2fd99a90eba890cfb2baa5545ac0c2734fcd72d602fc2d1091e6754337f241b34'
|
||||
'SKIP')
|
||||
validpgpkeys=('8A11B79A5D0D749A66F0A030102C2C17498D6B9E' # Takeshi KOMIYA
|
||||
'E9BEABB07E7B9CC3F56E62C91425F8CE5EBA0E07') # Takayuki Shimizukawa
|
||||
|
||||
prepare() {
|
||||
cd Sphinx-$pkgver
|
||||
|
||||
# Fix test failure with pygments 2.7
|
||||
patch -Np1 -i ../$pkgname-pygments-2.7.patch
|
||||
}
|
||||
|
||||
build() {
|
||||
cd Sphinx-$pkgver
|
||||
make build
|
||||
|
@ -4,7 +4,7 @@
|
||||
_pkgname=typing_inspect
|
||||
pkgname=python-$_pkgname
|
||||
pkgver=0.6.0
|
||||
pkgrel=3
|
||||
pkgrel=4
|
||||
pkgdesc='Runtime inspection utilities for Python typing module'
|
||||
arch=('any')
|
||||
url='https://github.com/ilevkivskyi/typing_inspect'
|
||||
@ -22,6 +22,9 @@ prepare() {
|
||||
|
||||
# https://github.com/ilevkivskyi/typing_inspect/issues/60
|
||||
patch -Np1 -i ../$pkgname-support-py39-generic-types.patch
|
||||
|
||||
sed -e '/res = tp.__args__/i \ if not hasattr(tp, "__args__"): return ()' \
|
||||
-i typing_inspect.py
|
||||
}
|
||||
|
||||
build() {
|
||||
|
@ -2,8 +2,8 @@
|
||||
# Maintainer: Felix Yan <felixonmars@archlinux.org>
|
||||
|
||||
pkgname=python-wand
|
||||
pkgver=0.6.3
|
||||
pkgrel=3
|
||||
pkgver=0.6.4
|
||||
pkgrel=1
|
||||
pkgdesc="Ctypes-based simple MagickWand API binding for Python"
|
||||
url="https://github.com/emcconville/wand"
|
||||
license=('MIT')
|
||||
@ -13,7 +13,7 @@ makedepends=('python-setuptools')
|
||||
checkdepends=('python-pytest-runner' 'python-pytest-xdist' 'python-memory-profiler' 'python-psutil'
|
||||
'ghostscript' 'librsvg')
|
||||
source=("$pkgname-$pkgver.tar.gz::https://github.com/emcconville/wand/archive/$pkgver.tar.gz")
|
||||
sha512sums=('33b74c4bfeae4a3b310f50b8e6d49392b6caa875d3e37c0fd41ebd44e72381f6cd857debfe514c36f1d1651ea0d85f4e5fd4c489d9f4351c85011f7c89c3c19e')
|
||||
sha512sums=('38d98e2726d159932438e4160395b2ddaf18ed9e5360f8f3156c3f53d55ea8c58b29c291f57013bac0ff444f91fdffe98577fc95a0a4011e71c2f3c32295e4fb')
|
||||
|
||||
build() {
|
||||
cd wand-$pkgver
|
||||
|
Loading…
x
Reference in New Issue
Block a user