* update various pip modules

This commit is contained in:
Alexander Baldeck 2022-03-02 16:14:01 +01:00
parent 37d830b748
commit f62ff7747d
94 changed files with 493 additions and 507 deletions

View File

@ -7,7 +7,7 @@
# Contributor: atweiden <archbaum@gmail.com>
pkgname=ansible-core
pkgver=2.12.1
pkgver=2.12.2
pkgrel=1
pkgdesc='Radically simple IT automation platform'
arch=('any')
@ -26,7 +26,7 @@ optdepends=('sshpass: for ssh connections with password'
makedepends=('python-setuptools')
backup=('etc/ansible/ansible.cfg')
source=("https://pypi.python.org/packages/source/a/ansible-core/ansible-core-${pkgver}.tar.gz")
sha512sums=('89468d172dca502da42b94d0a781906578322ac531b3dfc3cece383b0e93fbec0f199d7b76abfd80d24654d5d939ee66a15b74565f50cca0c72d427aab9f4e08')
sha512sums=('a9afc3768d27a7049c275da8780e6dcd7da42263fc9065a1df1aabd0d8c54020313e9065349a6f52138e11eafb176348bf2ec33c0c1b08dc9837b7ac832542af')
build() {
cd ansible-core-${pkgver}

View File

@ -1,7 +1,7 @@
# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
# Maintainer: Sven-Hendrik Haase <svenstaro@archlinux.org>
pkgname=ansible
pkgver=5.2.0
pkgver=5.3.0
pkgrel=1
pkgdesc='Official assortment of Ansible collections'
arch=('any')
@ -23,7 +23,7 @@ optdepends=('python-argcomplete: shell completions'
'acme-tiny: openssl_certificate module')
makedepends=('python-setuptools')
source=("https://pypi.python.org/packages/source/a/ansible/ansible-${pkgver}.tar.gz")
sha512sums=('8aa65099d1843612db260eb674049c0cae4f2a51ba9acbfdd7ecdce42206f360c1c4592de1d728cbf161b50caf265dbd3a5184b91b74a7abac127827ed4012ac')
sha512sums=('15f814f23305ceae3426464bccd6fc5cfb9b7b86b6634ce9b867d20c3d512e669387cbd12cb2ea03a66c352272aa72b53f255dfdd03c3198b70fc286e527f43a')
build() {
cd ansible-${pkgver}

View File

@ -5,7 +5,7 @@
pkgname=(cython cython2)
pkgbase=cython
pkgver=0.29.27
pkgver=0.29.28
pkgrel=1
pkgdesc='C-Extensions for Python'
arch=(x86_64 powerpc64le powerpc riscv64)
@ -13,7 +13,7 @@ url='https://cython.org'
license=(APACHE)
makedepends=(python-setuptools python2-setuptools)
source=(https://github.com/cython/cython/archive/$pkgver/$pkgbase-$pkgver.tar.gz)
sha256sums=('2b4db9f4570c53254fa7e404b9c92eb83fa41ecf278849e8cebc5a7c8f211bcc')
sha256sums=('963c8ca4ce22a954d8b5a8ce248bc9fb7ec01e081aead8709cfc4c3f29272711')
prepare() {
cp -r cython-$pkgver cython2-$pkgver

View File

@ -5,7 +5,7 @@
pkgbase=django
pkgname=('python-django')
pkgver=3.2.10
pkgver=4.0.2
pkgrel=1
pkgdesc="A high-level Python Web framework that encourages rapid development and clean design"
arch=('any')
@ -18,7 +18,7 @@ depends=('python' 'python-pytz' 'python-sqlparse' 'python-asgiref')
optdepends=('python-psycopg2: for PostgreSQL backend'
'python-argon2_cffi: for Argon2 password hashing support')
source=("Django-$pkgver.tar.gz::https://www.djangoproject.com/download/$pkgver/tarball/")
sha512sums=('6b793a1e544ab988d909d9fc5152d9dbba864c4916bb1f703a07c72f1a945ba93ba53b2f8843b67a16d0e68a736c43faf2f3d8aaa0867de1668c3845c24da7da')
sha512sums=('c64b25aa69b826805cc7a3efcd63ae41bbc31a61e68cdbda90e6bcec6bd8e2c5fc47b82176d0c1708f55d2c7b082c71939b89cb0621fcf1929d1475e3d393a97')
build() {
cd "$srcdir/Django-$pkgver"

View File

@ -2,7 +2,7 @@
# Maintainer: Maxime Gauduin <alucryd@archlinux.org>
pkgname=hypercorn
pkgver=0.13.1
pkgver=0.13.2
pkgrel=1
pkgdesc='An ASGI Server based on Hyper libraries and inspired by Gunicorn'
url=https://gitlab.com/pgjones/hypercorn
@ -32,7 +32,7 @@ checkdepends=(
python-trio
)
optdepends=('python-trio: trio support')
_tag=da787f7b36e15ba302d6ee7f1247e10b6c822b4d
_tag=0ff11ac1eab5e0190a8b45a44c03f6f116460e64
source=(git+https://gitlab.com/pgjones/hypercorn.git#tag=${_tag})
sha256sums=(SKIP)

View File

@ -6,8 +6,8 @@
pkgname=('libvirt-python')
epoch=1
pkgver=7.8.0
pkgrel=3
pkgver=8.0.0
pkgrel=1
pkgdesc="libvirt python binding"
arch=(x86_64 powerpc64le powerpc riscv64)
url="https://pypi.python.org/pypi/libvirt-python"
@ -16,7 +16,7 @@ makedepends=('python' 'libvirt')
depends=('python' 'libvirt')
options=('emptydirs')
source=("https://libvirt.org/sources/python/libvirt-python-${pkgver}.tar.gz")
sha512sums=('e50dacc8214849dc2fa752e21061826463753b912765c3186948c9d634c18f0be8b579acd7765878aea27b2cd6f65e7113a8f8b90791ad76c69834d4e947b6cd')
sha512sums=('9eb85ae3048274a239908b658c0dacf0588538b356fc59c388900bca7164612d7370f3dddd2eb4c81e88fff7671118517bf0f5fd4382c5a88102212349dff4ec')
validpgpkeys=('C74415BA7C9C7F78F02E1DC34606B8A5DE95BC1F')
package() {

View File

@ -3,13 +3,14 @@
pkgname=pyalpm
pkgver=0.10.6
pkgrel=3
pkgrel=4
pkgdesc="Python 3 bindings for libalpm"
arch=(x86_64 powerpc64le powerpc riscv64)
url="https://gitlab.archlinux.org/archlinux/pyalpm"
license=('GPL')
makedepends=('git' 'python-setuptools' 'python-pytest' 'python-pkgconfig' 'python-pytest-pacman')
depends=('python' 'pacman')
options=(debug)
source=("git+https://gitlab.archlinux.org/archlinux/pyalpm.git#tag=$pkgver")
validpgpkeys=('E499C79F53C96A54E572FEE1C06086337C50773E')
sha512sums=('SKIP')

View File

@ -4,7 +4,7 @@
# Contributor: Matthew Ellison <matt+aur@arroyonetworks.com>
pkgname=pybind11
pkgver=2.9.0
pkgver=2.9.1
pkgrel=1
pkgdesc='A lightweight header-only library that exposes C++ types in Python and vice versa'
arch=('any')
@ -15,7 +15,7 @@ makedepends=('cmake' 'boost' 'eigen' 'python' 'python-setuptools' 'python-pytest
#'python-sphinx' 'python-sphinx_rtd_theme' 'python-breathe')
checkdepends=('python-numpy' 'python-scipy')
source=("https://github.com/pybind/pybind11/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz")
sha256sums=('057fb68dafd972bc13afb855f3b0d8cf0fa1a78ef053e815d9af79be7ff567cb')
sha256sums=('c6160321dc98e6e1184cc791fbeadd2907bb4a0ce0e447f2ea4ff8ab56550913')
build () {
cd "${pkgname}-${pkgver}"

View File

@ -3,7 +3,7 @@
pkgname=pypy3
pkgver=7.3.7
pkgrel=1
pkgrel=2
pkgdesc="A Python3 implementation written in Python, JIT enabled"
url="https://pypy.org"
arch=(x86_64 powerpc64le)
@ -13,11 +13,11 @@ optdepends=('sqlite: sqlite module'
'tk: tk module')
options=(!buildflags)
license=('MIT')
source=("https://downloads.python.org/pypy/pypy3.7-v${pkgver}-src.zip")
sha512sums=('ed1a40b921f47e75be33758da89db4ea87a5d58d0cfd1d44e655d036cc6004dbf6ea11b8f4bbe8686f8b8ce6d1796b6f3e0c3370f4a4812da0c2673ba18b98b4')
source=("https://downloads.python.org/pypy/pypy3.8-v${pkgver}-src.zip")
sha512sums=('dba59061ed5d8023d1b32aeaf5c99c85510cae9c142a35f19540bd6a957189f9e2e08b3f6ce068fb00af9130a70739d62a728adfd8a8f438160665ccff598598')
build() {
cd pypy3.7-v${pkgver}-src/pypy/goal
cd pypy3.8-v${pkgver}-src/pypy/goal
pypy ../../rpython/bin/rpython -Ojit --shared targetpypystandalone
@ -26,22 +26,18 @@ build() {
}
package() {
cd pypy3.7-v${pkgver}-src
cd pypy3.8-v${pkgver}-src
# Prepare installation
pypy pypy/tool/release/package.py --archive-name pypy --targetdir .
mkdir -p unpacked
mkdir unpacked
tar xf pypy.tar.bz2 -C unpacked
# Install pypy
cd unpacked
install -Dm755 pypy/bin/pypy3 "${pkgdir}"/opt/pypy3/bin/pypy3
install -Dm755 pypy/bin/libpypy3-c.so "${pkgdir}"/opt/pypy3/bin/libpypy3-c.so
cp -r pypy/include pypy/lib_pypy pypy/lib-python pypy/site-packages "${pkgdir}"/opt/pypy3
cd ..
mkdir -p "${pkgdir}"/usr/bin "${pkgdir}"/usr/lib "${pkgdir}"/opt/pypy3
cp -r unpacked/pypy/* "${pkgdir}"/opt/pypy3
# Install symlinks
mkdir -p "${pkgdir}"/usr/bin "${pkgdir}"/usr/lib
ln -s /opt/pypy3/bin/pypy3 "${pkgdir}"/usr/bin/pypy3
ln -s /opt/pypy3/bin/libpypy3-c.so "${pkgdir}"/usr/lib/libpypy3-c.so

View File

@ -6,7 +6,7 @@ pkgbase=pyqt5-webengine
pkgname=(python-pyqt5-webengine)
pkgdesc="Python bindings for QtWebEngine"
pkgver=5.15.5
pkgrel=3
pkgrel=4
arch=(x86_64 powerpc64le)
url="https://www.riverbankcomputing.com/software/pyqtwebengine/intro"
license=(GPL)
@ -18,6 +18,7 @@ provides=(python-pyqtwebengine)
replaces=(python-pyqtwebengine)
source=("https://pypi.python.org/packages/source/P/PyQtWebEngine/PyQtWebEngine-$pkgver.tar.gz")
sha256sums=('ab47608dccf2b5e4b950d5a3cc704b17711af035024d07a9b71ad29fc103b941')
options=(debug)
build() {
cd PyQtWebEngine-$pkgver

View File

@ -10,7 +10,7 @@ pkgbase=pyqt5
pkgname=('python-pyqt5')
pkgdesc="A set of Python bindings for the Qt5 toolkit"
pkgver=5.15.6
pkgrel=1
pkgrel=7
arch=(x86_64 powerpc64le powerpc)
url="https://riverbankcomputing.com/software/pyqt/intro"
license=('GPL')
@ -38,6 +38,7 @@ makedepends=('sip' 'pyqt-builder' 'python-opengl' 'python-dbus'
conflicts=('pyqt5-common')
source=("https://pypi.python.org/packages/source/P/PyQt5/PyQt5-$pkgver.tar.gz")
sha256sums=('80343bcab95ffba619f2ed2467fd828ffeb0a251ad7225be5fc06dcc333af452')
options=(debug)
build() {
cd PyQt5-$pkgver
@ -59,6 +60,4 @@ package_python-pyqt5(){
# compile Python bytecode
python -m compileall -d / "$pkgdir"/usr/lib
python -O -m compileall -d / "$pkgdir"/usr/lib
#mv "$pkgdir"/usr/sbin "$pkgdir"/usr/bin
}

View File

@ -2,8 +2,8 @@
# Maintainer: Felix Yan <felixonmars@archlinux.org>
pkgname=python-aioresponses
pkgver=0.7.2
pkgrel=3
pkgver=0.7.3
pkgrel=1
pkgdesc="A helper to mock/fake web requests in python aiohttp package."
url="https://github.com/pnuckowski/aioresponses"
license=('MIT')
@ -12,7 +12,7 @@ depends=('python-aiohttp')
makedepends=('python-pbr')
checkdepends=('python-pytest-runner' 'python-ddt' 'python-asynctest')
source=("$pkgname-$pkgver.tar.gz::https://github.com/pnuckowski/aioresponses/archive/$pkgver.tar.gz")
sha512sums=('accd34f4781fd94080f2326053c1c3af0ca199007c7cffc2439ea1886df0750dc6216aa9d8f3d46cef46f8d7f4a7b0cdb51b20b1a85aa03b1e3d50f0510600a7')
sha512sums=('3b85e2e54364267e5e93e80d519bdc6b9d80d3612f88d6a6d31d03ee654e433d95644df763611c0d09dfb17ea339bef0651c5d607b27ff0709f7f49cbf99e135')
prepare() {
export PBR_VERSION=$pkgver

View File

@ -4,8 +4,8 @@
pkgname=python-argcomplete
_pyname=argcomplete
pkgver=1.12.3
_gitcommit=ce54b6dfd51f9f01b4ef85bb8692a9f804a11771
pkgver=2.0.0
_gitcommit=bf16566adcfb2fd0307c6ecdf24304b21b0b5752
pkgrel=1
pkgdesc='Easy, extensible command line tab completion of arguments for your Python script'
url='https://github.com/kislyuk/argcomplete'
@ -30,7 +30,9 @@ build() {
check() {
cd ${_pyname}
LC_CTYPE=en_US.UTF-8 python test/test.py -v
# workaround for https://github.com/kislyuk/argcomplete/issues/337
echo "set enable-bracketed-paste off" > .inputrc
INPUTRC=$PWD/.inputrc python test/test.py -v
}
package() {

View File

@ -2,8 +2,8 @@
# Maintainer: Jelle van der Waa <jelle@archlinux.org>
pkgname=python-asgiref
pkgver=3.4.1
pkgrel=3
pkgver=3.5.0
pkgrel=1
pkgdesc="Reference ASGI adapters and channel layers"
arch=(any)
url="http://github.com/django/asgiref"
@ -12,7 +12,7 @@ makedepends=('python-setuptools')
checkdepends=(python-pytest python-pytest-asyncio)
depends=('python')
source=("https://pypi.io/packages/source/a/asgiref/asgiref-${pkgver}.tar.gz")
sha256sums=('4ef1ab46b484e3c706329cedeff284a5d40824200638503f5768edb6de7d58e9')
sha256sums=('2f8abc20f7248433085eda803936d98992f1343ddb022065779f37c5da0181d0')
build() {
cd "asgiref-${pkgver}"

View File

@ -2,7 +2,7 @@
# Maintainer: Felix Yan <felixonmars@archlinux.org>
pkgname=python-attrs
pkgver=21.3.0
pkgver=21.4.0
pkgrel=1
pkgdesc="Attributes without boilerplate."
arch=('any')
@ -12,7 +12,7 @@ depends=('python')
makedepends=('python-setuptools')
checkdepends=('python-pytest' 'python-cloudpickle' 'python-hypothesis' 'python-zope-interface')
source=("https://pypi.io/packages/source/a/attrs/attrs-$pkgver.tar.gz")
sha512sums=('23b2ba52af809581e9907ad7c6d18ed050d415645a249ae912af3f1398276ea5bf67f11991d7958f3eeafe759d8d62a65009555ae8f75580cfa464c5b4a37742')
sha512sums=('5a52776eb505c8a354912fa037a9710e49830fa6ad37272cb6d8c3298f4179a5b237e36cd7db3b1c9af19fbf0194ad6b83c3db9a473f9349769180073273ba65')
build() {
cd "$srcdir"/attrs-$pkgver

View File

@ -4,34 +4,25 @@
# Contributor: James Zhu <jameszhu@berkeley.edu>
pkgname=python-black
pkgver=21.12b0
pkgrel=4
pkgver=22.1.0
pkgrel=2
pkgdesc='Uncompromising Python code formatter'
arch=('any')
url=https://github.com/psf/black
license=('MIT')
depends=('python' 'python-click' 'python-mypy_extensions' 'python-pathspec'
'python-platformdirs' 'python-tomli' 'python-typing_extensions')
makedepends=('python-build' 'python-install' 'python-setuptools-scm'
makedepends=('python-build' 'python-installer' 'python-setuptools-scm'
'python-wheel')
checkdepends=('ipython' 'python-aiohttp' 'python-parameterized' 'python-pytest'
'python-typed-ast' 'python-tokenize-rt')
optdepends=('ipython: for Jupyter notebook support'
'python-tokenize-rt: for Jupyter notebook support'
'python-aiohttp: for the blackd HTTP server'
'python-colorama: for colored diffs'
'python-typed-ast: to format Python 2 code')
source=("https://files.pythonhosted.org/packages/source/b/black/black-$pkgver.tar.gz"
'black-tomli2-compat.patch::https://github.com/psf/black/commit/389e9c23a9e622ee6090d902cc5f56c5f76cdee9.patch')
sha256sums=('77b80f693a569e2e527958459634f18df9b0ba2625ba4e0c2d5da5be42e6f2b3'
'72c9e6bd7576d1dbe38e2344f02efc28a0232c17b28634065adcf5b0df0d36fb')
b2sums=('95a00f89ba76a49050a5699531dac54fb08023337b69ee6c65eadf36e29e8389a7546dadb0e8a9e64e31ee551b22822ecc2507f3f57a816589784689114c567e'
'8ed3f7fbeee76ed60b78d7502e89c6067448842dd733a02775dd6e1c06989300760766a12019d041d3bf4419135c8d85027d86e60647d9529e1590bf2fd5a6b9')
prepare() {
cd "black-$pkgver"
patch --forward --strip=1 --input=../black-tomli2-compat.patch || true
}
'python-colorama: for colored diffs')
source=("https://files.pythonhosted.org/packages/source/b/black/black-$pkgver.tar.gz")
sha256sums=('a7c0192d35635f6fc1174be575cb7915e92e5dd629ee79fdaf0dcfa41a80afb5')
b2sums=('010f04e01f920f79b27d2dfcf3cda3185f6a4ef24f710af41629856dc0baff011393733c90585dc4b12494b983cf628e480adaee05d2d44736dbce26732388e3')
build() {
cd "black-$pkgver"
@ -41,20 +32,13 @@ build() {
check() {
cd "black-$pkgver"
python -m venv --system-site-packages test-env
test-env/bin/python -m install --optimize=1 dist/*.whl
chmod +x test-env/bin/black # https://github.com/FFY00/python-install/pull/6
PATH="$PWD/test-env/bin:$PATH" test-env/bin/python -m pytest --run-optional no_python2
test-env/bin/python -m installer --compile-bytecode=1 dist/*.whl
PATH="$PWD/test-env/bin:$PATH" test-env/bin/python -m pytest
}
package() {
cd "black-$pkgver"
python -m install --optimize=1 --destdir="$pkgdir" dist/*.whl
# https://github.com/FFY00/python-install/issues/7
sed -i 's/patched_main \[d]/patched_main/' "$pkgdir"/usr/bin/blackd
# https://github.com/FFY00/python-install/pull/6
chmod +x "$pkgdir"/usr/bin/*
python -m installer --destdir="$pkgdir" --compile-bytecode=1 dist/*.whl
# Symlink license file
local site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
@ -64,6 +48,7 @@ package() {
# vim plugin
install -Dm644 plugin/black.vim "$pkgdir/usr/share/vim/vimfiles/plugin/black.vim"
install -Dm644 autoload/black.vim "$pkgdir/usr/share/vim/vimfiles/autoload/black.vim"
}
# vim:set ts=2 sw=2 et:

View File

@ -4,18 +4,18 @@
# Contributor: Simon Boulay <simon.boulay@alkeona.net>
pkgname=python-breathe
pkgver=4.31.0
pkgrel=3
pkgver=4.33.1
pkgrel=1
pkgdesc="An extension to reStructuredText and Sphinx to be able to read and render Doxygen xml output"
arch=('any')
url="https://breathe.readthedocs.org/en/latest/"
license=('BSD')
depends=('python' 'python-sphinx' 'python-docutils' 'python-six')
makedepends=('git' 'python-setuptools')
depends=('python' 'python-sphinx' 'python-docutils')
makedepends=('python-setuptools')
checkdepends=('python-pytest')
source=("https://github.com/michaeljones/breathe/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz"
"${pkgname}-${pkgver}.tar.gz.sig"::"https://github.com/michaeljones/breathe/releases/download/v${pkgver}/breathe-${pkgver}.tar.gz.sig")
sha512sums=('f6fd7db50ca68cad64d150fcb76227deb282c08109c38b343749f8ce9ee607ccddf767e3020328a61a7570e7a0c1159607148b773bc0b695e87d6b17a6068eac'
sha512sums=('770c0fd8eaca798c84cbbf138b0b4b1a348e2010cedf5efec085fff348e8b0e548ccbe160ecb112709929ee0cf8fd0d977c5032ae03f74cd39f4bb2ae1d5f14b'
'SKIP')
validpgpkeys=('8AED58021FEACDD5F27BA0E6A72F627716EA9D96') # Melvin Vermeeren <vermeeren@vermwa.re>

View File

@ -2,8 +2,8 @@
# Maintainer: Felix Yan <felixonmars@archlinux.org>
pkgname=python-cachetools
pkgver=4.2.4
pkgrel=3
pkgver=5.0.0
pkgrel=1
pkgdesc="Extensible memoizing collections and decorators"
url="https://github.com/tkem/cachetools"
license=('MIT')
@ -12,7 +12,7 @@ depends=('python')
makedepends=('python-setuptools')
checkdepends=('python-pytest-runner')
source=("$pkgname-$pkgver.tar.gz::https://github.com/tkem/cachetools/archive/v$pkgver.tar.gz")
sha512sums=('3850dd04e68b839b53c01bf411c5226374b07c0fc9f6965824c1111f86d417e7c9a3e42fc1957d82863eb4c0afb7a9b9048a049ae252d7e1727c9d81ebd5e061')
sha512sums=('3fae1fad34e8be963a3c8249b340a327de55e586faed28c38b99dd3fe0b294461669a6a60264ac308d7d3d159eaca400dd77782562f602703f9c7c44430db0d4')
build() {
cd "$srcdir"/cachetools-$pkgver

View File

@ -6,8 +6,8 @@ pkgbase='python-cheroot'
_pkgbase="${pkgbase//python-/}"
pkgname=('python-cheroot')
pkgdesc="Highly-optimized, pure-python HTTP server"
pkgver=8.5.2
pkgrel=6
pkgver=8.6.0
pkgrel=1
arch=('any')
url="https://github.com/cherrypy/cheroot"
license=('MIT')
@ -19,7 +19,7 @@ checkdepends=('python-pytest' 'python-pytest-xdist'
source=("https://files.pythonhosted.org/packages/source/${_pkgbase:0:1}/${_pkgbase}/${_pkgbase}-${pkgver}.tar.gz"
"LICENSE"
"disable-broken-tests.patch")
sha512sums=('245c4157f5e11741d94375099878ef5b31945412a2b02961502e762b9770fd968f4f977fe2d74744aa6596c668079d7f07b6f129fa11438783a95d3a5ee088fa'
sha512sums=('26e48c935fe32d4ce3cf6ae20b5b272416ca53bd8496527c2958ec2ebe87529c831f283ae900e13271b610e39531b682df0376935ecc3bcfcca11c299cd2a893'
'1106afed483b7258e4ae89c5d9459c3834412b31aac90169725ed62d2ab44f61f6f79e894d4c9e4d8bd99e14530ab778df2187784f0b25eaab86d312fad68944'
'488766eeb0ce4e1c95e1848a4d89aeb190317c634b2894dcc696cb4af64bae748554154ea76cc34cf0b666d507c42e631d0e8759a6ed7669fe49bf7f8ef5b9a9')

View File

@ -3,7 +3,7 @@
# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
pkgname=python-cliff
pkgver=3.9.0
pkgver=3.10.0
pkgrel=1
pkgdesc="Command Line Interface Formulation Framework"
arch=('any')
@ -15,7 +15,7 @@ makedepends=('git')
checkdepends=('python-stestr' 'python-mock' 'python-sphinx' 'python-testscenarios')
options=('!emptydirs')
source=("$pkgname-$pkgver.tar.gz::https://github.com/openstack/cliff/archive/$pkgver.tar.gz")
sha512sums=('832b67544a16a20f28e8079aaf40b43ef024299b64ad51c7df766b2757d622dafbf3189b490ced19a3b73f86e1931ebfb62dfd25a704f8396400865540ac462b')
sha512sums=('90e871943da3ef287863372cb7a2592f7f97c6706a0497aa434585a4dbd0e796423f2f0f6ca6ebfeb0a063444a667c36c8ce49065a0ebfe7cf1f0729d89447b5')
export PBR_VERSION=$pkgver

View File

@ -2,8 +2,8 @@
# Maintainer: Felix Yan <felixonmars@archlinux.org>
pkgname=python-debtcollector
pkgver=2.3.0
pkgrel=3
pkgver=2.4.0
pkgrel=1
arch=('any')
pkgdesc='A collection of Python deprecation patterns and strategies that help you collect your technical debt in a non-destructive manner.'
url='https://docs.openstack.org/developer/debtcollector'
@ -12,7 +12,7 @@ depends=('python-six' 'python-pbr' 'python-babel' 'python-wrapt')
makedepends=('python-setuptools')
checkdepends=('python-oslotest')
source=("$pkgname-$pkgver.tar.gz::https://github.com/openstack/debtcollector/archive/$pkgver.tar.gz")
sha512sums=('cd7173beab34e23e72d089374fd9e2188e4649230e61f0e2a1ebda9d740b7a4c2d5e290ed137be0a05431b0a17c9b84536c117dbec09c1d9d855c60d9f1833ce')
sha512sums=('ba04507fb7579e63b0a03623b40df5b97fe24396589a2b88ba6bd1338b1934e004fe671bfbe32e7463ebfcab21191afc307beaadb270f96257f69d5cddb7fa53')
prepare() {
export PBR_VERSION=$pkgver

View File

@ -4,8 +4,8 @@
_name=decorator
pkgname=python-decorator
pkgver=5.1.0
pkgrel=3
pkgver=5.1.1
pkgrel=1
pkgdesc='Python Decorator module'
arch=('any')
url='https://pypi.python.org/pypi/decorator'
@ -14,7 +14,7 @@ depends=('python')
makedepends=('python' 'python-setuptools')
source=("https://pypi.python.org/packages/source/${_name:0:1}/${_name}/${_name}-${pkgver}.tar.gz"
'LICENSE.txt')
sha512sums=('4acc0967af79f61c56adea3084c4e9f9de1c34fcbc7906db4bb1b0759e07ffed6eff0e4b21645dda5f37e96662742621f3d043e8c06a401841c7199a915afe18'
sha512sums=('584857ffb0c3e52344b473ceb9e28adfd7d789d480a528471f8ab37be055ebe5feb170f41077010e25350e1c311189d45b90773cf12f0043de98ea8ebcde20ab'
'0a06dfb3f470b8d3b056bd4e4776df715876d04d0acc86dec536fa7cff0214ba5255833923558d1778db730d080960f31d5e12f939e761530823b6e70646b5c2')
build() {

View File

@ -1,42 +1,39 @@
# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
# Maintainer: Eli Schwartz <eschwartz@archlinux.org>
# Maintainer: Caleb Maclennan <caleb@alerque.com>
# Contributor: Eli Schwartz <eschwartz@archlinux.org>
_pkgname=dephell_setuptools
pkgname=python-dephell-setuptools
_pyname=dephell_setuptools
pkgver=0.2.4
pkgrel=3
pkgdesc="Extract meta information from setup.py"
arch=('any')
url="https://github.com/dephell/${_pkgname}"
license=('MIT')
depends=('python-setuptools')
checkdepends=('python-pytest')
source=("https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz")
pkgrel=4
pkgdesc='Extract meta information from setup.py'
arch=(any)
url="https://github.com/dephell/$_pyname"
license=(MIT)
depends=(python-setuptools)
checkdepends=(python-pytest)
_archive="$_pyname-$pkgver"
source=("https://files.pythonhosted.org/packages/source/${_pyname:0:1}/$_pyname/$_archive.tar.gz")
sha256sums=('663629e1ebf7b20bf7e372ee2a2e7ebf1a15aeb3bc6d46ad32e1bcb21044ca29')
b2sums=('db637f00d59e931c9604a5f5755a9987d00771bc601fd3f8af39876320ddaeeea668e08fd66bfba3c61636dfb945e13986f6b4a205952e596701f8fd223b3135')
prepare() {
cd "${srcdir}"/${_pkgname}-${pkgver}
cd "$_archive"
# pycache slipped into release tarballs
find . -name \*.pyc -delete
}
build(){
cd "${srcdir}"/${_pkgname}-${pkgver}
cd "$_archive"
python setup.py build
}
check() {
cd "${srcdir}"/${_pkgname}-${pkgver}
cd "$_archive"
python -m pytest
}
package() {
cd "${srcdir}"/${_pkgname}-${pkgver}
python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
cd "$_archive"
python setup.py install --root="$pkgdir" --optimize=1 --skip-build
install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE
}

View File

@ -1,22 +1,47 @@
# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
# Maintainer: Eli Schwartz <eschwartz@archlinux.org>
# Maintainer: Caleb Maclennana <caleb@alerque.com>
# Contributor: Eli Schwartz <eschwartz@archlinux.org>
_pkgname=dephell
_pyname=dephell
pkgname=python-dephell
pkgver=0.8.3
pkgrel=6
pkgdesc="universal Python project management: convert between formats, build, manage venvs"
arch=('any')
url="https://github.com/dephell/${_pkgname}"
pkgrel=7
pkgdesc='universal Python project management: convert between formats, build, manage venvs'
arch=(any)
url="https://github.com/dephell/$_pyname"
license=('ISC')
_d_deps=('archive' 'argparse' 'changelogs' 'discover' 'licenses' 'links' 'markers'
'pythons' 'setuptools' 'shells' 'specifier' 'venvs' 'versioning')
_deps=('aiohttp' 'appdirs' 'attrs' 'bowler' 'cerberus' 'colorama' "${_d_deps[@]/#/dephell-}"
'html5lib' 'jinja' 'packaging'
'pip' 'pygments' 'requests' 'ruamel-yaml' 'tabulate' 'tomlkit' 'yaspin')
depends=("${_deps[@]/#/python-}" 'm2r')
checkdepends=('git' 'python-pytest' 'python-aioresponses' 'python-requests-mock'
'python-moreorless')
_dhdeps=(archive
argparse
changelogs
discover
licenses
links markers
pythons
setuptools
shells
specifier
venvs
versioning)
_pydeps=(aiohttp
appdirs
attrs
bowler
cerberus
colorama
"${_dhdeps[@]/#/dephell-}"
html5lib
jinja
packaging
pip
pygments
requests
ruamel-yaml
tabulate
tomlkit
yaspin)
depends=("${_pydeps[@]/#/python-}" m2r)
checkdepends=(git python-pytest python-aioresponses python-requests-mock
python-moreorless)
optdepends=('python-aiofiles: speed up file writes for files downloaded from warehouse'
'python-docker: for the docker subcommand'
'python-dockerpty: for the docker subcommand'
@ -24,9 +49,10 @@ optdepends=('python-aiofiles: speed up file writes for files downloaded from war
'python-graphviz: print deps tree as a graph'
'autopep8: make setup.py converter produce formatted pep8 output'
'yapf: make setup.py converter produce google yapf-formatted output')
source=("https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz"
"new-pip-parser-api.patch"
"0001-Do-not-override-the-system-SSL-certificates-with-the.patch")
_archive="$_pyname-$pkgver"
source=("https://files.pythonhosted.org/packages/source/${_pyname:0:1}/${_pyname}/$_archive.tar.gz"
'new-pip-parser-api.patch'
'0001-Do-not-override-the-system-SSL-certificates-with-the.patch')
sha256sums=('a9fcc528a0c6f9f5d721292bdf846e5338e4dca7cd6fef1551fbe71564dfe61e'
'85ac9db84375d9063fae8cbc91ad7cbcec5b0da8cfe800ed400bcc92f0412934'
'acbe38854daef23a6cb752bfa98323ae5c7f85cca8562cb070d59e11e05991b0')
@ -35,50 +61,51 @@ b2sums=('7ab8e2022134ff11a39476e121388e627b434b5568bd39879f60a9f14cb27cfee153d27
'b69a0f264700c93144adddf86ee133ca15a5e373dc077bc9d24010cce6238a779435e48cab41bf47b72482c357e790ac9bafeafb89b85a36c29769601300a2cf')
prepare() {
cd "${srcdir}"/${_pkgname}-${pkgver}
cd "$_archive"
# https://github.com/dephell/dephell/pull/473
patch -Np1 -i ../new-pip-parser-api.patch
# https://github.com/dephell/dephell/pull/473
patch -Np1 -i ../new-pip-parser-api.patch
# bad certifi
patch -p1 -i ../0001-Do-not-override-the-system-SSL-certificates-with-the.patch
# bad certifi
patch -p1 -i ../0001-Do-not-override-the-system-SSL-certificates-with-the.patch
# don't lock pip version to below pip 20:
# https://github.com/dephell/dephell/pull/363#issuecomment-606150965
# because https://github.com/pypa/pip/issues/7629 seems insufficient
# to hold up non-PyPY platforms :/
sed -i 's/pip<=19.3.1,>=18.0/pip/' setup.py
# don't lock pip version to below pip 20:
# https://github.com/dephell/dephell/pull/363#issuecomment-606150965
# because https://github.com/pypa/pip/issues/7629 seems insufficient
# to hold up non-PyPY platforms :/
sed -i 's/pip<=19.3.1,>=18.0/pip/' setup.py
}
build(){
cd "${srcdir}"/${_pkgname}-${pkgver}
python setup.py build
cd "$_archive"
python setup.py build
}
check() {
cd "${srcdir}"/${_pkgname}-${pkgver}
cd "$_archive"
# skip git tests, which rely on being run from dephell's own git repo
# skip doc test, which tests whether html docs not in the tarball, cover all commands
python -m pytest -k 'not test_git_git and not test_docs' --no-network \
--deselect tests/test_actions/test_entrypoints.py::test_smoke_get_entrypoints \
--deselect tests/test_commands/test_vendor_import.py::test_patch_imports
# skip git tests, which rely on being run from dephell's own git repo
# skip doc test, which tests whether html docs not in the tarball, cover all commands
python -m pytest \
-k 'not test_git_git and not test_docs' \
--no-network \
--deselect tests/test_actions/test_entrypoints.py::test_smoke_get_entrypoints \
--deselect tests/test_commands/test_vendor_import.py::test_patch_imports
}
package() {
cd "${srcdir}"/${_pkgname}-${pkgver}
cd "$_archive"
python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
python setup.py install --root="$pkgdir" --optimize=1 --skip-build
install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE
# make shell completions
python -c 'from dephell.actions._autocomplete import make_bash_autocomplete as comp; print(comp())' | \
install -Dm644 /dev/stdin "${pkgdir}"/usr/share/bash-completion/completions/dephell
# make shell completions
python -c 'from dephell.actions._autocomplete import make_bash_autocomplete as comp; print(comp())' |
install -Dm0644 /dev/stdin "$pkgdir/usr/share/bash-completion/completions/$_pyname"
# rewrite zsh completion to support autoloading
{ printf '#compdef dephell\n'
python -c 'from dephell.actions._autocomplete import make_zsh_autocomplete as comp; print(comp())' | \
sed 's/^compdef _dephell dephell$/_dephell/'
} | install -Dm644 /dev/stdin "${pkgdir}"/usr/share/zsh/site-functions/_dephell
# rewrite zsh completion to support autoloading
{ printf '#compdef dephell\n'
python -c 'from dephell.actions._autocomplete import make_zsh_autocomplete as comp; print(comp())' |
sed 's/^compdef _dephell dephell$/_dephell/'
} | install -Dm0644 /dev/stdin "$pkgdir/usr/share/zsh/site-functions/_$_pyname"
}

View File

@ -4,15 +4,15 @@
_name=dnspython
pkgname=python-dnspython
pkgver=2.1.0
pkgrel=3
pkgver=2.2.0
pkgrel=1
epoch=1
pkgdesc="A DNS toolkit for Python"
arch=('any')
url="http://www.dnspython.org"
license=('ISC')
depends=('python')
makedepends=('python-setuptools')
makedepends=('python-setuptools' 'python-setuptools-scm' 'python-pip')
checkdepends=('python-idna' 'python-cryptography' 'python-trio' 'python-pytest')
optdepends=('python-cryptography: DNSSEC support'
'python-requests-toolbelt: DoH support'
@ -20,8 +20,8 @@ optdepends=('python-cryptography: DNSSEC support'
'python-curio: async support'
'python-trio: async support'
'python-sniffio: async support')
source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.zip")
sha256sums=('e4a87f0b573201a0f3727fa18a516b055fd1107e0e5477cded4a2de497df1dd4')
source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
sha256sums=('e79351e032d0b606b98d38a4b0e6e2275b31a5b85c873e587cc11b73aca026d6')
validpgpkeys=('A580DEE052FEC78D8ACF383DF24B3AFC8CA2F5C7') # Bob Halley <halley@dnspython.org>
prepare() {

View File

@ -2,8 +2,8 @@
# Maintainer: Felix Yan <felixonmars@archlinux.org>
pkgname=python-dogpile.cache
pkgver=1.1.4
pkgrel=3
pkgver=1.1.5
pkgrel=1
pkgdesc="A caching front-end based on the Dogpile lock"
arch=('any')
url="https://pypi.python.org/pypi/dogpile.cache"
@ -13,7 +13,7 @@ makedepends=('python-setuptools')
checkdepends=('memcached' 'pifpaf' 'redis' 'python-mako' 'python-redis' 'python-pytest' 'python-mock'
'python-pytest-cov' 'python-pylibmc')
source=("https://pypi.io/packages/source/d/dogpile.cache/dogpile.cache-$pkgver.tar.gz")
sha512sums=('d70f0ad1097f7de5bc887cfd0835f02a10bd6096433d39e6fe2fad5ed294f019ee043ced670c08bacb8ad1f6cf32ada36a62149a9b6db6205e72f49fa68bf4c4')
sha512sums=('b6d453121ef8e58da60478e2e1e2db57804dfa3b17cceeace930ba75d159629dfba4b5d63c50fbbc2eafeadbfcd6e1e4cbe22c8da1f54c90473f8ee677d764f8')
build() {
cd dogpile.cache-$pkgver

View File

@ -4,7 +4,7 @@
_name=dulwich
pkgname=python-dulwich
pkgver=0.20.30
pkgver=0.20.32
pkgrel=1
pkgdesc='Pure-Python implementation of the Git file formats and protocols'
arch=(x86_64 powerpc64le powerpc riscv64)
@ -19,8 +19,8 @@ optdepends=('python-fastimport: for fast-import support'
'python-pyopenssl: for HTTPS support via urllib3'
'python-pyinotify: to watch for changes to refs')
source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
sha256sums=('42c090a96bf617ba198611257b0333b07c37bce6975fb4c090b32e309c534e41')
b2sums=('6b5b10a37f2901424b632dad081b9972da5af7475e11389c73f8a64a57ebf421700c6591bfddc5418b9c02d61916894aeeb2371a3ceb514532fd1b9e63dffb2c')
sha256sums=('dc5498b072bdc12c1effef4b6202cd2a4542bb1c6dbb4ddcfc8c6d53e08b488c')
b2sums=('21d41a7b1e491848a11ab3e3b1b63bfbe1798b38ef331136b07609f004e780672477e91a637dd3b1ccd3b26e359461e1a16d759ac2cb98d1091fbdb1968c00a9')
build() {
cd $_name-$pkgver

View File

@ -3,8 +3,8 @@
pkgname=python-entrypoints
_name=entrypoints
pkgver=0.3
pkgrel=8
pkgver=0.4
pkgrel=1
pkgdesc="Discover and load entry points from installed packages."
arch=('any')
url="https://github.com/takluyver/entrypoints"
@ -16,11 +16,11 @@ makedepends=('python')
# several sources because the WHL doesn't come with a license
# and pypi version is the only one with setup.py
source=("$pkgname-$pkgver.tgz::https://github.com/takluyver/entrypoints/archive/$pkgver.tar.gz"
"https://files.pythonhosted.org/packages/py2.py3/e/$_name/$_name-$pkgver-py2.py3-none-any.whl"
"https://files.pythonhosted.org/packages/py3/e/$_name/$_name-$pkgver-py3-none-any.whl"
"$pkgname-pypi-$pkgver.tgz::https://pypi.io/packages/source/e/$_name/$_name-$pkgver.tar.gz")
md5sums=('3b2d456ff069b080aa95f162a53a6679'
'c47396b6c43dadc81e25d29b9fac8bd3'
'c5c61ea2e46a0c50ea08f4af7955a0b1')
md5sums=('9d37abd7147c6b7e0af55adc95691062'
'1c8f717951f0d2f0125739753eda6bdc'
'3acd8b72119a8fb1eac7030c24ac6b49')
package() {
cd "$srcdir"

View File

@ -4,7 +4,7 @@
# Contributor: dnuux <dnuuxx@gmail.com>
pkgname=python-faker
pkgver=8.16.0
pkgver=9.0.0
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' 'python-pillow')
source=("$pkgname-$pkgver.tar.gz::https://github.com/joke2k/faker/archive/v$pkgver.tar.gz")
sha512sums=('98def8998b4f6e2bdb49b52401c0b2e5a97b12a15d052a552c99d51c4f1f43068cb14e162e9557e08df74f5a380bcb4cdcc8b2c294fcf13267bcd18cb7ca220f')
sha512sums=('ff830de1783fa51039173aca52102de2f7a674929342ba17ee077e77d88bb2483f457736dbe9ffc11018053470a846568eba486cfb3a8447109c2fbb2b66d2e7')
prepare() {
sed -i -e 's/==/>=/' faker-$pkgver/setup.py

View File

@ -2,8 +2,8 @@
# Maintainer: Felix Yan <felixonmars@archlinux.org>
pkgname=python-filelock
pkgver=3.4.0
pkgrel=3
pkgver=3.4.1
pkgrel=1
pkgdesc="A platform independent file lock"
url="https://github.com/benediktschmitt/py-filelock"
license=('custom:Unlicense')
@ -12,7 +12,7 @@ depends=('python')
makedepends=('python-setuptools' 'python-setuptools-scm')
checkdepends=('python-pytest' 'python-pytest-timeout')
source=("$pkgname-$pkgver.tar.gz::https://github.com/benediktschmitt/py-filelock/archive/$pkgver.tar.gz")
sha512sums=('0dc85f083a8c60605dfbd0b6fe55a96b5872e5b8ce3fd746925444571d02e243459bed6cd2d8aa9d7eda7d197bdc31b289cfcf1f0aef295779ca900d24abcbd8')
sha512sums=('a745aa036a361813d760b1ed0eaef96851db2a3827a1c0940482cf6f41c32fd681dc4f076bbececc278bcc4bed1c32c5952a6bd68137263ffbde09f63140befe')
export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver

View File

@ -6,7 +6,7 @@
pkgname=python-fonttools
_pyname=${pkgname#python-}
pkgver=4.28.5
pkgver=4.29.1
pkgrel=1
pkgdesc='A library to manipulate font files from Python'
url="https://github.com/fonttools/$_pyname"
@ -31,7 +31,7 @@ optdepends=('python-brotli: to compress/decompress WOFF 2.0 web fonts'
'python-unicodedata2: for displaying the Unicode character names when dumping the cmap table with ttx'
'python-zopfli: faster backend fom WOFF 1.0 web fonts compression')
source=("$url/archive/$pkgver/$_pyname-$pkgver.tar.gz")
sha256sums=('77d22ec2684d75f48176fe21f317c8f13a5abed3f00e2d4772b2f4a3acc012d1')
sha256sums=('db2ec36d9d202af630be1e0cf05108afd8eda5aa66b82957e3ed75065d3e2cdd')
build() {
cd "$_pyname-$pkgver"

View File

@ -2,7 +2,7 @@
# Maintainer: Felix Yan <felixonmars@archlinux.org>
pkgname=python-fs
pkgver=2.4.14
pkgver=2.4.15
pkgrel=1
pkgdesc="Filesystem abstraction layer"
arch=('any')
@ -12,7 +12,7 @@ depends=('python-appdirs' 'python-pytz' 'python-setuptools' 'python-six')
checkdepends=('python-pytest-runner' 'fuse2' 'python-pyftpdlib' 'python-psutil' 'python-pysendfile'
'python-parameterized')
source=("https://github.com/PyFilesystem/pyfilesystem2/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
sha512sums=('7bc69e23e6477a68fdf87d18403ba0bff2ff4eb2d0cf3cd9c7b0078885ed9d718e3f4f5f22bd77c6bcca6ebfa990045104a2d5abcf473a9d77a28aa94884650b')
sha512sums=('7bb153dad5ea03eec7cb1af8d1b5a851845984e194f288687b0e737e1f32c74bf4c1a8d62a9105c8637cd5a29ab82810df9fc11055b894ab0df899cb20a4e1c1')
build() {
cd pyfilesystem2-$pkgver

View File

@ -1,8 +1,8 @@
# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
# Maintainer: Sven-Hendrik Haase <svenstaro@gmail.com>
# Maintainer: Sven-Hendrik Haase <svenstaro@archlinux.org>
pkgname=python-gast
pkgver=0.5.2
pkgrel=3
pkgver=0.5.3
pkgrel=1
pkgdesc="AST that abstracts the underlying Python version "
url="https://github.com/serge-sans-paille/gast"
arch=(any)
@ -10,7 +10,7 @@ license=('BSD')
depends=('python')
makedepends=('python-setuptools')
source=("https://pypi.io/packages/source/g/gast/gast-${pkgver}.tar.gz")
sha512sums=('2a06245ba93f2c0715f662e32e0865732828deb672bc70c3d70a4969c8a2e4c518354a4a63760eddeba53932d4f8bf0ae0ffab64f1a1ad3b20d5b2d18285cd6a')
sha512sums=('a836be76303591ca7c40596d98a29dbd53f281e277c8c23e3821b2003d4e8aaf4d806e7f532f27c0eadd4bdca5a28dc0a3902245505ab97497b9afbfee0c2e52')
build() {
cd gast-$pkgver

View File

@ -4,8 +4,8 @@
# Contributor: Kaizhao Zhang <zhangkaizhao@gmail.com>
pkgname=python-google-api-core
pkgver=2.4.0
pkgrel=2
pkgver=2.5.0
pkgrel=1
pkgdesc="Google API client core library"
arch=('any')
url="https://github.com/googleapis/googleapis"
@ -13,7 +13,7 @@ license=('Apache')
depends=('python-setuptools' 'python-pytz' 'python-requests' 'python-googleapis-common-protos' 'python-google-auth')
optdepends=('python-grpcio: for grpc support')
source=("https://files.pythonhosted.org/packages/source/g/google-api-core/google-api-core-${pkgver}.tar.gz")
sha256sums=('ba8787b7c61632cd0340f095e1c036bef9426b2594f10afb290ba311ae8cb2cb')
sha256sums=('f33863a6709651703b8b18b67093514838c79f2b04d02aa501203079f24b8018')
build() {
cd "google-api-core-${pkgver}"

View File

@ -4,7 +4,7 @@
# Contributor: shadyabhi <abhijeet.1989@gmail.com>
pkgname=python-google-api-python-client
pkgver=2.33.0
pkgver=2.37.0
pkgrel=1
pkgdesc="Google API Client Library for Python"
arch=('any')
@ -14,7 +14,7 @@ depends=('python-google-auth-httplib2' 'python-uritemplate' 'python-google-api-c
optdepends=('python-oauth2client: optional backend')
makedepends=('python-setuptools')
source=("google-api-python-client-${pkgver}.tar.gz::https://github.com/google/google-api-python-client/archive/v${pkgver}.tar.gz")
sha256sums=('f23fb06d94aed27a88691179d52a8639afbd1d1a2fff1eb0de63620ca52530df')
sha256sums=('6162e68dfcbe72dc4671e3e730fb6a511b756b49431ed3d5a6bf4d8ae93592c9')
build() {
cd "google-api-python-client-${pkgver}"

View File

@ -3,7 +3,7 @@
pkgname=python-idna
pkgver=3.3
pkgrel=3
pkgrel=4
pkgdesc="Internationalized Domain Names in Applications (IDNA)"
arch=('any')
license=('BSD')
@ -30,5 +30,5 @@ check() {
package() {
cd idna-$pkgver
python setup.py install --root="$pkgdir" --optimize=1 --skip-build
#install -Dm644 LICENSE.md -t "$pkgdir"/usr/share/licenses/$pkgname/
install -Dm644 LICENSE.md -t "$pkgdir"/usr/share/licenses/$pkgname/
}

View File

@ -2,13 +2,14 @@
# Maintainer: Kyle Keen <keenerd@gmail.com>
pkgname=python-jaraco
pkgver=2021.12.20
pkgrel=1
pkgver=2022.1.24
pkgrel=2
pkgdesc='A gaggle of idiosyncratic and questionable wrappers for the stdlib.'
arch=('any')
url='https://github.com/jaraco?page=1&tab=repositories&utf8=%E2%9C%93&q=jaraco'
license=('MIT')
depends=('python-six' 'python-pytz' 'python-more-itertools' 'python-toml')
depends=('python-six' 'python-pytz' 'python-more-itertools' 'python-toml'
'python-jaraco.context')
makedepends=('python-setuptools-scm')
provides=('python-jaraco-text'
'python-jaraco-functools'
@ -21,9 +22,9 @@ provides=('python-jaraco-text'
# These should not exist and do not deserve so many packages.
# Furthermore, try to make a replacement for python-irc so we can nuke it all.
# And now cherrypy depends on this too :-(
_text=3.6.0
_text=3.7.0
_functools=3.5.0
_collections=3.4.0
_collections=3.5.1
_classes=3.2.1
_stream=3.0.3
_logging=3.1.0
@ -37,9 +38,9 @@ source=("$_pyhost/j/jaraco.text/jaraco.text-$_text.tar.gz"
"$_pyhost/j/jaraco.stream/jaraco.stream-$_stream.tar.gz"
"$_pyhost/j/jaraco.logging/jaraco.logging-$_logging.tar.gz"
"$_pyhost/j/jaraco.itertools/jaraco.itertools-$_itertools.tar.gz")
sha512sums=('74e6f199372b62ee767fd5f5829ab636d6d87c38998d93cb4ed7dddbe53db27e5c3caf45f36f7b5690b3c12367df0c93702fac59ee99ffcb03f53e70b8b18f96'
sha512sums=('559dc5ed0f2c0b46dd0cbbc112ab01bbdb68bc12923cff8f745a5e233696ca9f50cef6dbf60116df5121f4761457574deebea142c2a23ca6c4664d7395b5607e'
'7257f41506f90ca2fda1bd12fed58fa4d4ff5738547f8cdae8ccad1901e0c818afb701dd8e9050fc77ca1271bc2466d5a542990138bc3db2cf9b04d12850844c'
'8e427f98dbcfad3f9042d1f080b2bf8012fdaaf084e230f9b46ff078623b047c2d9dab41ed0303df5dd070abce2a25289281113a97e8ab8d819048d30b8d314a'
'2918be537296ca81e5f78a3966a47451dc9dc2d233d997c3f01461c489b44051c497dab55496f85883ac1b91a28850a9d77ff154a3f5e074da1ed07f3259c246'
'4c85cfdd1da88de01596867365147be6cadd7e1d230798683236fdfde579747e3309aac95ae4f3ef86c91bb4493f3096c4ecc14e3db764ef308aab41ead88e23'
'fe50c21b26e734c9c2d0b7cf8a1c8cc8bab80417adf073a4ae213ba4067aa33e2f6c8886aac996971d2f98aacd295d9999aa3ac7dba24dd952cc27d15bef22e2'
'ce9a9cbad6d6bb448615eac986d361f9c6ff477b1209e85433f12a49055a9e30125cd49bebcf915a08b8efe0732439a8e1d336e63f6454369b3e846a9a1383ba'

View File

@ -4,7 +4,7 @@
pkgbase=python-lxml
pkgname=('python-lxml' 'python-lxml-docs')
pkgver=4.7.1
pkgver=4.8.0
pkgrel=1
pkgdesc="Python3 binding for the libxml2 and libxslt libraries"
arch=(x86_64 powerpc64le powerpc riscv64)
@ -19,7 +19,7 @@ makedepends=('python-setuptools' 'python-pygments' 'python-sphinx' 'python-sphin
'cython')
checkdepends=('python-cssselect' 'python-html5lib' 'python-beautifulsoup4')
source=("https://github.com/lxml/lxml/archive/lxml-$pkgver.tar.gz")
sha512sums=('33c88ff07152437a09268f3348ada97549686b5a59e2135631991ecc79ad02f35c20aae5d8363d2795bf058b05ef70fa6fbb56b081308cd89b073e176f4872d9')
sha512sums=('bbcd8ea001cfa2820dcac4e00de6ded81700b2f0bd4a58bcdd4da05a19a107f57cd56280c4838fe19ee7ecd6be105878bf8c2f1c0e5111899c4ad1a2ba03537f')
prepare() {
mv lxml-lxml-$pkgver lxml-$pkgver

View File

@ -8,7 +8,7 @@
pkgname=python-matplotlib
pkgver=3.5.1
pkgrel=1
pkgrel=2
pkgdesc="A python plotting library, making publication quality plots"
arch=(x86_64 powerpc64le powerpc riscv64)
url="https://matplotlib.org"
@ -39,10 +39,10 @@ checkdepends=(python-pytest python-pytest-xdist python-pytest-runner python-pyte
_tag=312c1fb08c5d46aaccaf8b62c8673e4202523e8a # git rev-parse v${pkgver}
_ftver=2.11.0
source=(git+https://github.com/matplotlib/matplotlib.git#tag=${_tag}?signed
https://github.com/QuLogic/mpl-images/archive/v3.5.0-with-freetype-${_ftver}/mpl-images-3.5.0-ft${_ftver}.tar.gz
https://github.com/QuLogic/mpl-images/archive/v${pkgver}-with-freetype-${_ftver}/mpl-images-${pkgver}-ft${_ftver}.tar.gz
freetype.patch)
b2sums=('SKIP'
'fed606dcd4d338c6b1c7dd2add58b42b0e819598129618289036dda0499584287315819cce647c35999eb8375875e0488ca20311b03c79cf76dddb2bbdf366ba'
'85e4298a7b36c6eedc6a4f7b81f803ab45536697937dccd1a039471e257a4f23f547f16e244bebb77a1d3260397a3da0a7f4ee70869a47c8f68b603f0e287d89'
'514324b3e17e832d5199eaa6592c05ca662b1164ddc95f16ea076d6a1063b06e6a8fa4eac7740e5f73afbcc9d17244c5cc41373d5787f62cd58eab10249302c9')
validpgpkeys=(23CAB59E3332F94D26BEF0378D86E7FAE5EB0C10) # Elliott Sales de Andrade <quantum.analyst@gmail.com>
@ -57,10 +57,9 @@ prepare() {
# Install tests for check()
sed -i 's|#tests = False|tests = True|' mplsetup.cfg
# Use appropriate baseline images for tests
rm ../mpl-images-3.5.0-with-freetype-${_ftver}/matplotlib/test_streamplot/streamplot_startpoints.*
for _module in matplotlib mpl_toolkits
do
cp -r ../mpl-images-3.5.0-with-freetype-${_ftver}/${_module}/* lib/${_module}/tests/baseline_images/
cp -r ../mpl-images-${pkgver}-with-freetype-${_ftver}/${_module}/* lib/${_module}/tests/baseline_images/
done
}
@ -73,10 +72,9 @@ check() {
cd matplotlib
python -m venv --system-site-packages test-env
test-env/bin/python setup.py install --skip-build
# test_ipynb: https://github.com/matplotlib/matplotlib/issues/21654
# test_pcolornearestunits: https://github.com/matplotlib/matplotlib/issues/21271
# test_ipynb: https://github.com/matplotlib/matplotlib/issues/21654 fixed but jupyter does not see matplotlib?
xvfb-run -a -s "-screen 0 640x480x24" \
test-env/bin/python -m pytest -ra -n auto -v --color=yes --pyargs matplotlib mpl_toolkits.tests -k 'not test_ipynb and not test_pcolornearestunits'
test-env/bin/python -m pytest -ra -n auto -v --color=yes --pyargs matplotlib mpl_toolkits.tests -k 'not test_ipynb'
}
package() {

View File

@ -5,8 +5,8 @@
_pkgname=mistune
pkgname=python-mistune
pkgver=2.0.0
pkgrel=2
pkgver=2.0.2
pkgrel=1
pkgdesc="A fast yet powerful Python Markdown parser with renderers and plugins"
arch=(any)
url="https://github.com/lepture/mistune"
@ -15,8 +15,8 @@ depends=(python)
makedepends=(python-build python-install python-setuptools python-wheel)
checkdepends=(python-pytest)
source=("$pkgname-$pkgver.tar.gz::https://github.com/lepture/mistune/archive/refs/tags/v${pkgver}.tar.gz")
sha512sums=('4d63695f7153e409adcadec2e053987e6f4c7e627a73c0338a163fe04a8eb2f0e0c6f0222063dc49b724f89f6a56eeebf6404aef30146a49760311e5a87c5d7b')
b2sums=('bebebe26ed581095824c86d044d4f4564915c5bdba3e1fab5470a6b6ebb0775d8c1ec995d38a281b31f8d23d221f1d0024375bfd19adec284245ee9a155d6c8e')
sha512sums=('b11bda3f265a74959ea66b19bc0122f6951beb68af7eced1ff4c2106e179c65bba0566f7f7146e087307ca3f78ad0a1fdc78dc3955e6cb1ea2a0ce5c2e1aeecb')
b2sums=('420db59d5a4813ca743dadf09f8618f3bea673629ff049b2b13e11af9130256f56d0a93883edb319ab595db0de6f820310adfb4a2b21fbaab87defb70d6daa56')
build() {
cd "${_pkgname}-$pkgver"

View File

@ -7,17 +7,17 @@
_pkg=mpi4py
pkgname=python-${_pkg}
pkgver=3.1.1
pkgrel=3
pkgver=3.1.3
pkgrel=1
pkgdesc="Python bindings for the Message Passing Interface (MPI) standard"
arch=(x86_64 powerpc64le powerpc riscv64)
url="https://bitbucket.org/mpi4py/mpi4py"
url="https://github.com/mpi4py/mpi4py"
license=(BSD)
depends=(python openmpi)
makedepends=(python-setuptools cython)
checkdepends=(inetutils)
source=(https://files.pythonhosted.org/packages/source/${_pkg::1}/${_pkg}/${_pkg}-${pkgver}.tar.gz)
sha256sums=('e11f8587a3b93bb24c8526addec664b586b965d83c0882b884c14dc3fd6b9f5c')
sha256sums=('f1e9fae1079f43eafdd9f817cdb3fd30d709edc093b5d5dada57a461b2db3008')
build() {
cd ${_pkg}-${pkgver}

View File

@ -5,7 +5,7 @@
# Contributor: Angel 'angvp' Velasquez <angvp[at]archlinux.com.ve>
pkgname=python-numpy
pkgver=1.22.0
pkgver=1.22.2
pkgrel=1
pkgdesc="Scientific tools for Python"
arch=(x86_64 powerpc64le powerpc riscv64)
@ -16,8 +16,8 @@ optdepends=('openblas: faster linear algebra')
makedepends=('python-setuptools' 'gcc-fortran' 'cython')
checkdepends=('python-pytest' 'python-hypothesis')
options=('staticlibs')
source=("https://github.com/numpy/numpy/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
sha512sums=('dc52d4ef46b2c0ae323f1965cee70cdfb8ffc60c8b95408edeb8f35d118027fcedf69e25d8257522c0fc755aa1387f214950129704fc5b4acfe35ae19dc3a571')
source=("https://github.com/numpy/numpy/releases/download/v$pkgver/numpy-$pkgver.tar.gz")
sha512sums=('38b759fa0e6491386cfa34b091fc395a14de18643425187ac44a07f9ad92d4c2a94269c0e1c77ee1fb38c6531878540bbe1135376075cef5dc3cda78cb1c74cf')
build() {
cd numpy-$pkgver

View File

@ -3,7 +3,7 @@
# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
pkgname=python-oslo-context
pkgver=3.4.0
pkgver=4.0.0
pkgrel=1
pkgdesc="OpenStack Context library"
arch=('any')
@ -12,9 +12,8 @@ license=('Apache')
depends=('python-pbr' 'python-debtcollector')
makedepends=('python-setuptools')
checkdepends=('python-mock' 'python-oslotest')
options=('!emptydirs')
source=("$pkgname-$pkgver.tar.gz::https://github.com/openstack/oslo.context/archive/$pkgver.tar.gz")
sha512sums=('5d4ccf25bf06abe0c62f6082f19c49b74212c0f813cf147b38734b0d0fee1af4eec193b1761ff4b1c813087f701439f316e57948f89aadbf14d5ae7ada8964e2')
source=("https://github.com/openstack/oslo.context/archive/$pkgver/$pkgname-$pkgver.tar.gz")
sha512sums=('e9d6a545ae8bbde1af722cf0eee4d0c22bd40f940ac669b7c80a9be29fee6a748fb281da55df83200b9f633e242dfc6ae43075b4dc5760f0253bf2ff18ce6fcd')
export PBR_VERSION=$pkgver

View File

@ -14,7 +14,7 @@
# TODO: move python-pyarrow from AUR to community (Feather Format and Apache Parquet)
pkgname=python-pandas
pkgver=1.3.5
pkgver=1.4.1
pkgrel=1
pkgdesc='High-performance, easy-to-use data structures and data analysis tools for Python'
arch=(x86_64 powerpc64le powerpc riscv64)
@ -48,7 +48,7 @@ optdepends=('python-pandas-datareader: pandas.io.data replacement (recommended)'
'xsel: needed for read_clipboard function (only one needed)'
'zlib: needed for compression for msgpack')
source=("https://github.com/pandas-dev/pandas/releases/download/v${pkgver}/pandas-${pkgver}.tar.gz")
sha256sums=('1e4285f5de1012de20ca46b188ccf33521bff61ba5c5ebd78b4fb28e5416a9f1')
sha256sums=('8db93ec98ac7cb5f8ac1420c10f5e3c43533153f253fe7fb6d891cf5aa2b80d2')
build() {
cd pandas-${pkgver}

View File

@ -4,8 +4,8 @@
# Contributor: Limao Luo <luolimao+AUR@gmail.com>
pkgname=python-pbr
pkgver=5.8.0
pkgrel=2
pkgver=5.8.1
pkgrel=1
pkgdesc="Python Build Reasonableness"
arch=('any')
url='https://pypi.python.org/pypi/pbr'
@ -14,14 +14,10 @@ depends=('python-setuptools')
checkdepends=('python-stestr' 'python-testscenarios' 'python-testresources' 'python-testrepository'
'python-mock' 'python-virtualenv' 'python-wheel' 'python-sphinx' 'git')
source=("$pkgname-$pkgver.tar.gz::https://github.com/openstack-dev/pbr/archive/$pkgver.tar.gz")
sha512sums=('221ec7eca278d3f6694958f966c0819a97143fe87b95fd786607eb3b8cf825ce82df70a74808b9a5904827b7008ce094b52cf579641cc347cdb193881a07de45')
sha512sums=('a2cd53ec9c1d3c529a651c762e71645097a616f83f1299b5509e41c57ceb42cd96537e92fbd12bd825c3cfac7e6995ecc1ff9938f7760d48e2488fe8b63e28e5')
export PBR_VERSION=$pkgver
prepare() {
sed -i 's/virtualenv.create_environment(path, clear=True)/virtualenv.cli_run([path, "--clear"])/' pbr-$pkgver/pbr/tests/test_packaging.py
}
build() {
cd "$srcdir"/pbr-$pkgver
python setup.py build
@ -29,7 +25,8 @@ build() {
check() {
cd pbr-$pkgver
stestr run
# TODO: find out this failure
stestr run --exclude-regex "pbr.tests.test_packaging.TestPackagingWheels.test_metadata_directory_has_pbr_json"
}
package() {

View File

@ -3,7 +3,7 @@
# Contributor: minder
pkgname=python-pillow
pkgver=9.0.0
pkgver=9.0.1
pkgrel=1
_appname=Pillow
_py3basever=3.10
@ -19,7 +19,7 @@ optdepends=('libwebp: for webp images'
makedepends=('python-setuptools' 'libwebp' 'tk')
checkdepends=('python-pytest')
source=("https://files.pythonhosted.org/packages/source/P/$_appname/$_appname-$pkgver.tar.gz")
md5sums=('c5af6e413d2fe9247cf16ce25c816b14')
md5sums=('8deffccb4f402df154fd2fd504d8487c')
prepare() {
cd "$srcdir/$_appname-$pkgver"

View File

@ -4,8 +4,8 @@
# Contributor: Sebastien Binet <binet@lblbox>
pkgname=python-pip
pkgver=20.3.4
pkgrel=4
pkgver=21.0
pkgrel=1
pkgdesc="The PyPA recommended tool for installing Python packages"
url="https://pip.pypa.io/"
arch=('any')
@ -16,13 +16,13 @@ _deps=('appdirs' 'cachecontrol' 'colorama' 'contextlib2' 'distlib' 'distro' 'htm
'pyopenssl')
depends=("${_deps[@]/#/python-}")
makedepends=("${_deps[@]/#/python-}" 'python-sphinx'
'python-sphinx-inline-tabs')
'python-sphinx-inline-tabs' 'python-sphinxcontrib-towncrier')
checkdepends=('python-pytest-runner' 'python-scripttest' 'python-virtualenv' 'python-pretend'
'python-yaml' 'python-mock' 'python-freezegun' 'python-cryptography' 'python-pip'
'python-wheel' 'python-werkzeug' 'python-csv23' 'git' 'subversion')
source=("pip-${pkgver}.tar.gz::https://github.com/pypa/pip/archive/${pkgver}.tar.gz"
resolvelib-0.5.5.patch)
sha512sums=('30e9d6d5dfc54681ca07e5701e26cdde202326848f6b37a013fe1fcc38402efa81284e15d7750de97d871e0da995cf5363e5c9676a036d271ff06bb0052cc1ec'
sha512sums=('ac77a7204423f1fdc3a4d328dab1860258efccde0123cff3217f357637c4ce3d85772ab81a230122ff813be2cfa40f2862e5d499390289efe1dcde3a31a42264'
'f339a20e965c583c1dc741d9fff90749aab049d591f0ac974e2187d4f41842661802b96266e8e35454b65d61d65c337a770d58b81119af07483fde0eda48001b')
shopt -s extglob

View File

@ -1,6 +1,7 @@
poetry habitually engages in:
- dependency versions which are known to be too pessimistic
- multiple editions of dependencies per python version
* dependency versions which are known to be too pessimistic
* multiple editions of dependencies per python version
The former all work just fine in reported use and should not be pinned; we
package versions in Arch which are "too new". This is what unittests are
@ -11,16 +12,17 @@ it twice, once with more relaxed pinning for older versions of python.
If an old version works, it works irrespective of the python version,
and you don't need to use minimum requirements as your mallet to force
people to upgrade to the latest version anyway.
https://github.com/dephell/dephell/issues/330
---
pyproject.toml | 11 ++---------
1 file changed, 2 insertions(+), 9 deletions(-)
pyproject.toml | 17 +++--------------
1 file changed, 3 insertions(+), 14 deletions(-)
diff --git a/pyproject.toml b/pyproject.toml
index 8c1f137..81ebc89 100644
index 4fff27d..ea11504 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -31,10 +31,7 @@
@@ -31,10 +31,7 @@ crashtest = { version = "^0.3.0", python = "^3.6" }
requests = "^2.18"
cachy = "^0.3.0"
requests-toolbelt = "^0.9.1"
@ -28,18 +30,18 @@ index 8c1f137..81ebc89 100644
- { version = "^0.12.4", extras = ["filecache"], python = "<3.6" },
- { version = "^0.12.9", extras = ["filecache"], python = "^3.6" }
-]
+cachecontrol = { version = "*", extras = ["filecache"] }
+cachecontrol = { version = "*", extras = ["filecache"] }
pkginfo = "^1.4"
html5lib = "^1.0"
shellingham = "^1.1"
@@ -54,20 +51,13 @@
@@ -54,21 +51,13 @@ futures = { version = "^3.3.0", python = "~2.7" }
glob2 = { version = "^0.6", python = "~2.7" }
# functools32 is needed for Python 2.7
functools32 = { version = "^3.2.3", python = "~2.7" }
-keyring = [
- { version = "^18.0.1", python = "~2.7" },
- { version = "^20.0.1", python = "~3.5" },
- { version = "^21.2.0", python = "^3.6" }
- { version = ">=21.2.0", python = "^3.6" }
-]
+keyring = "*"
# Use subprocess32 for Python 2.7
@ -49,9 +51,13 @@ index 8c1f137..81ebc89 100644
[tool.poetry.dev-dependencies]
-pytest = [
- {version = "^4.1", python = "<3.5"},
- {version = "^5.4.3", python = ">=3.5"}
- {version = "^5.4.3", python = "~3.5"},
- {version = "^6.2.5", python = ">=3.6"}
-]
+pytest = "*"
pytest-cov = "^2.5"
pytest-mock = "^1.9"
pre-commit = { version = "^2.6", python = "^3.6.1" }
--
2.35.1

View File

@ -3,10 +3,12 @@
# Contributor: Sven-Hendrik Haase <svenstaro@gmail.com>
# Contributor: Eli Schwartz <eschwartz@archlinux.org>
BUILDENV+=(!check)
_pkgname=poetry
pkgname=python-poetry
pkgver=1.1.12
pkgrel=3
pkgver=1.1.13
pkgrel=1
pkgdesc='Python dependency management and packaging made easy'
arch=(any)
url=https://python-poetry.org
@ -38,15 +40,15 @@ source=("https://github.com/$pkgname/$_pkgname/archive/$pkgver/$_archive.tar.gz"
0001-Suppress-dependency-versions-which-are-known-to-be-t.patch
0001-tests-cleanup-cache-and-http-usage.patch
poetry-completions-generator)
sha256sums=('9e43946a1a1e021ad7ed579470dc847d53dc3f7db5aeeec380c1064a7d5bff3d'
'db185e7c46a2c747baa4ed19f131a47f072aa149607a6076d23e64e0c766496a'
sha256sums=('c2f4691a00d82e717a5861f62c6234757852ed1cd9b662e1d2d803157e7a7018'
'06afd8fc75287658d7b240b6eac9e4b84e36f8393545bc6c2c45170a818cadff'
'4658321c04f36fb3aced9acc44b61f2cf22c5f9d8b8c715111881b24c3e0c99b'
'970225289188ea8dc49fbec8a2bfe0c891aee80ff56ba6e69bdd8afef8bccab6')
prepare() {
cd "$_archive"
# fix various overly restrictive version pinning
patch -p1 -i ../0001-Suppress-dependency-versions-which-are-known-to-be-t.patch
patch -p1 -i ../0001-Suppress-dependency-versions-which-are-known-to-be-t.patch
# fix tests trying to write to the root directory
# See: https://github.com/python-poetry/poetry/issues/1645
patch -p1 -i ../0001-tests-cleanup-cache-and-http-usage.patch

View File

@ -5,8 +5,8 @@
_pkgname=prettytable
pkgname=python-prettytable
pkgver=1.0.0
pkgrel=3
pkgver=2.2.0
pkgrel=1
pkgdesc="A simple Python library for easily displaying tabular data"
url="https://github.com/jazzband/prettytable"
arch=('any')
@ -14,19 +14,12 @@ license=('BSD')
depends=('python-wcwidth')
makedepends=('python-setuptools-scm')
checkdepends=('python-pytest')
source=("https://files.pythonhosted.org/packages/source/p/prettyTable/prettytable-${pkgver}.tar.gz"
'0001-Fix-column-spacing-with-xterm-reset-escape-sequence.patch')
sha512sums=('2b19d46e375fcc6f6f518d335e5d1e14eac854d0545000581496a13df03292a888ed05e7c9952afccc06706fc5258f7beb27c60291b336d586cebe432b784713'
'86cf8be475f62b0dfaa2483a37293cefd61e97bfe3c1226076cacc199da69bc5ea7e561bc311dd1b65f808f4fab202a0d38f702568ab7fbc091f285d2e52c924')
conflicts=('python-ptable')
source=("https://files.pythonhosted.org/packages/source/p/prettyTable/prettytable-${pkgver}.tar.gz")
sha512sums=('df8ae2a1103a4965a351ba16a95ef9659107075bb023090bd9bffd69805ce647dcb26f49164f07f5af0c0b03503373c0353935b32a0fb18edf969dc984aecda7')
export SETUPTOOLSA_SCM_PRETEND_VERSION=$pkgver
prepare() {
pushd prettytable-$pkgver
patch -p1 -i "$srcdir"/0001-Fix-column-spacing-with-xterm-reset-escape-sequence.patch
popd
}
build() {
cd prettytable-$pkgver
python setup.py build
@ -34,11 +27,11 @@ build() {
check() {
cd prettytable-$pkgver
pytest
python setup.py egg_info
PYTHONPATH="$PWD/src" pytest
}
package() {
cd prettytable-$pkgver
chmod 644 -R prettytable.egg-info
python setup.py install --root="$pkgdir/"
}

View File

@ -2,8 +2,8 @@
# Maintainer: Johannes Löthberg <johannes@kyriasis.com>
pkgname=python-prometheus_client
pkgver=0.11.0
pkgrel=3
pkgver=0.12.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=('5e644d781b7fcc3e0e386a2244f524ccaf978f1eab87b1d6d8009ac3f10fe2ca4adf2c76c2a2ffa47b4b54237cd906807d55bd99530a92d82cd3825de93280dc')
sha512sums=('ebcbbed706a96a9402eb985f5da15ee8fae09de952144a89a3323e147c0d16615ccd9be58b50b5b8ede37d4f66de1e2ce93ed53c4da939ca2e44c7aac687a1f7')
build() {
cd client_python-$pkgver

View File

@ -2,8 +2,8 @@
# Maintainer: Felix Yan <felixonmars@archlinux.org>
pkgname=python-pyaml
pkgver=21.8.3
pkgrel=3
pkgver=21.10.1
pkgrel=1
pkgdesc="PyYAML-based module to produce pretty and readable YAML-serialized data"
url="https://pypi.python.org/pypi/pyaml"
license=('BSD')
@ -13,7 +13,7 @@ makedepends=('python-setuptools' 'python-yaml')
checkdepends=('python-unidecode')
optdepends=('python-unidecode: Needed if same-id objects or recursion is used within serialized data')
source=("https://pypi.io/packages/source/p/pyaml/pyaml-$pkgver.tar.gz")
sha512sums=('69b1181511f7d3ac1263b710fa49b18a162e096e28414d83300bc2e9038222363cef995a0d3248387560e7066973736f9cee06b67042ee957427b4790c269653')
sha512sums=('3a98a021856446584f079bfb7427c63feaf6fdd1bd0d809d46aa0c646b2cb9533c393ed0167240be587aad7b94209b6e5bfe2c09918b45ec9a86ad9781bdf9f2')
build() {
cd "$srcdir"/pyaml-$pkgver

View File

@ -5,7 +5,7 @@
pkgname=python-pybtex
pkgver=0.24.0
pkgrel=3
pkgrel=4
pkgdesc="A BibTeX-compatible bibliography processor written in Python"
arch=("any")
url="https://pybtex.org"
@ -17,20 +17,24 @@ checkdepends=('python-pytest')
source=("https://pypi.io/packages/source/p/pybtex/pybtex-$pkgver.tar.gz")
sha256sums=('818eae35b61733e5c007c3fcd2cfb75ed1bc8b4173c1f70b56cc4c0802d34755')
get_pyver () {
python -c 'import sys; print(str(sys.version_info[0]) + "." + str(sys.version_info[1]))'
}
build() {
cd "$srcdir/pybtex-$pkgver"
cd "${srcdir}/pybtex-${pkgver}"
python setup.py build
}
check() {
cd "$srcdir/pybtex-$pkgver"
cd "${srcdir}/pybtex-${pkgver}"
pytest
}
package() {
cd "$srcdir/pybtex-$pkgver"
python setup.py install --root="$pkgdir" --optimize=1 --skip-build
cd "${srcdir}/pybtex-${pkgver}"
python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
# Files under site-packages/tests/ conflict with other python packages.
rm -rf "$pkgdir"/usr/lib/python3.?/site-packages/tests/
rm -rf "${pkgdir}/usr/lib/python$(get_pyver)"/site-packages/tests
}

View File

@ -1,17 +1,18 @@
# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
# Maintainer: Felix Yan <felixonmars@archlinux.org>
# Maintainer: Caleb Maclennan <caleb@alerque.com>
# Contributor: Josip Ponjavic <josipponjavic at gmail dot com>
pkgbase=python-pycryptodome
pkgname=('python-pycryptodome' 'python2-pycryptodome')
pkgver=3.12.0
pkgver=3.14.1
pkgrel=1
license=('BSD')
arch=(x86_64 powerpc64le powerpc riscv64)
url='https://www.pycryptodome.org/'
makedepends=('gmp' 'python-setuptools' 'python2-setuptools')
source=("pycryptodome-${pkgver}.tar.gz::https://github.com/Legrandin/pycryptodome/archive/v${pkgver}.tar.gz")
sha512sums=('67f2a814d74305614fdf9dfb633c4fd9d80d2064119d0ecab24ae52fd8ce4b6de1a1e82c6ba7bcf22fb7db1a5a850adf078e22317b4c07229cd7cb8cb7f1ffd4')
sha512sums=('08e904aa2f3df19fcc75a8283fc867349617afe3919532912801d8abc9610f1cb64b878b56202cbdf0759cf5506ec5f793123093e21f18ba99acbf42fa4d9cf1')
prepare() {
cp -a "pycryptodome-$pkgver"{,-python2}

View File

@ -2,8 +2,8 @@
# Maintainer: Maxime Gauduin <alucryd@archlinux.org>
pkgname=python-pyfakefs
pkgver=4.5.3
pkgrel=3
pkgver=4.5.4
pkgrel=1
pkgdesc='pyfakefs implements a fake file system that mocks the Python file system modules'
url=https://github.com/jmcgeheeiv/pyfakefs/
license=(APACHE)
@ -16,7 +16,7 @@ makedepends=(
checkdepends=(
python-tox
)
_tag=60c2a677acd2317c221c01922a1153d8e3378e6d
_tag=411ec03b74129f2af55839a7ee1600df2b24389b
source=(git+https://github.com/jmcgeheeiv/pyfakefs.git#tag=${_tag})
sha256sums=(SKIP)

View File

@ -3,8 +3,8 @@
# Maintainer: Caleb Maclennan <caleb@alerque.com>
pkgname=python-pypandoc
pkgver=1.6.4
pkgrel=3
pkgver=1.7.2
pkgrel=1
pkgdesc="Thin wrapper for pandoc"
arch=('any')
license=('MIT')
@ -13,11 +13,11 @@ depends=('pandoc')
makedepends=('python-setuptools')
checkdepends=('texlive-core' 'texlive-latexextra')
source=("https://github.com/bebraw/pypandoc/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
sha512sums=('f01a999040f48b858452d7de29fd0c44f7c247ff088fddfcd84ea47826327ce4572119e23a26bd929b6ff282d67974e23a61cdb5e4956ffd35af36cb991c199a')
sha512sums=('e2c5de6d56781484c306214a8757b18f7aa23e64489041ae3876ef8b2c0bf8771cc48246ecc97bf8ae67762364e35d9af5212ca6549f7b81ee16d75b1a85557e')
prepare() {
# We don't really need pip and wheel at runtime
sed -i "s/install_requires = .*/install_requires = ['setuptools'],/" pypandoc-$pkgver/setup.py
sed -i "/install_requires = /d" pypandoc-$pkgver/setup.py
}
build() {

View File

@ -7,45 +7,35 @@
# Contributor: Michael Krauss <hippodriver@gmx.net>
pkgname=python-pyparsing
pkgname=('python-pyparsing' 'python2-pyparsing')
pkgver=2.4.7
pkgrel=6
pkgver=3.0.0
pkgrel=1
pkgdesc='General parsing module for Python'
arch=('any')
url='https://github.com/pyparsing/pyparsing/'
makedepends=('python-setuptools' 'python2-setuptools')
license=('MIT')
depends=('python')
makedepends=('python-setuptools')
checkdepends=('python-jinja' 'python-railroad-diagrams')
optdepends=('python-railroad-diagrams: for generating Railroad Diagrams'
'python-jinja: for generating Railroad Diagrams')
source=("https://github.com/pyparsing/pyparsing/archive/pyparsing_$pkgver.tar.gz")
sha512sums=('c7a546729f86a2b5176e2482b566b9fd715b03e495aaef4d720b21307bb03f385dbc849247f8d266cb3d92be0a83c34ce4995b655ce85318355d5a0d42d6991e')
sha512sums=('1400370a6e7518940b7965645578028588af5a4ec1c379d57c924f036c86e342a9a60f1dd5c700ce8a4dbcd16afb55a2a4c371548c8bac6c53338b5cc349f4d8')
build() {
cd pyparsing-pyparsing_$pkgver
python setup.py build
python2 setup.py build
}
check() {
cd pyparsing-pyparsing_$pkgver
python unitTests.py
python2 unitTests.py
python -m unittest
}
package_python-pyparsing() {
depends=('python')
package() {
cd pyparsing-pyparsing_$pkgver
python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
package_python2-pyparsing() {
depends=('python2')
cd pyparsing-pyparsing_$pkgver
python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
# vim:set ts=2 sw=2 et:

View File

@ -2,8 +2,8 @@
# Maintainer: Antonio Rojas <arojas@archlinux.org>
pkgname=python-pyqt5-sip
pkgver=12.9.0
pkgrel=3
pkgver=12.9.1
pkgrel=1
arch=(x86_64 powerpc64le powerpc riscv64)
pkgdesc='The sip module support for PyQt5'
url='https://riverbankcomputing.com/software/pyqt/intro'
@ -11,7 +11,8 @@ license=(GPL)
depends=(python)
makedepends=(python-setuptools)
source=(https://pypi.python.org/packages/source/P/PyQt5-sip/PyQt5_sip-$pkgver.tar.gz)
sha256sums=('d3e4489d7c2b0ece9d203ae66e573939f7f60d4d29e089c9f11daa17cfeaae32')
sha256sums=('2f24f299b44c511c23796aafbbb581bfdebf78d0905657b7cee2141b4982030e')
options=(debug)
build() {
cd PyQt5_sip-$pkgver

View File

@ -2,8 +2,8 @@
# Maintainer: Felix Yan <felixonmars@archlinux.org>
pkgname=python-pyrsistent
pkgver=0.18.0
pkgrel=3
pkgver=0.18.1
pkgrel=1
pkgdesc="Persistent/Functional/Immutable data structures"
arch=(x86_64 powerpc64le powerpc riscv64)
license=('MIT')
@ -13,7 +13,7 @@ makedepends=('python-setuptools')
checkdepends=('python-pytest' 'python-hypothesis')
source=("https://pypi.io/packages/source/p/pyrsistent/pyrsistent-$pkgver.tar.gz"
LICENCE.mit)
sha512sums=('f56062430f914a884a9317ecf5278ccc09d98f1d6867716f89173db47996b8d4c1ef4f5c0121c955d81fc4fe8aba7d30f38679baea6208168c3952846064cfeb'
sha512sums=('353ad6e9165e1afdde37730a9289cf8dde28491abb688d702a8c8f5279e24f5ce387a5d00ac4a077322299f9c1a535781bcacdcd1cb914ddb317b3ca9641778b'
'036bd5cc2a62b004576ecc50a84dc7d187d8108f52cb886f7e32bed324327af2dc132100e1c8f1dd2ce35b774f74898020f04a315e5137319deda18a449e791a')
prepare() {

View File

@ -2,23 +2,19 @@
# Maintainer: Felix Yan <felixonmars@archlinux.org>
pkgname=python-pytest-asyncio
pkgver=0.16.0
pkgrel=4
pkgver=0.17.0
pkgrel=1
pkgdesc="Pytest support for asyncio."
arch=('any')
license=('Apache')
url="https://github.com/pytest-dev/pytest-asyncio/"
depends=('python-pytest')
makedepends=('python-setuptools')
checkdepends=('python-coverage' 'python-async_generator' 'python-hypothesis')
makedepends=('python-setuptools-scm')
checkdepends=('python-flaky' 'python-hypothesis')
source=("$pkgname-$pkgver.tar.gz::https://github.com/pytest-dev/pytest-asyncio/archive/v$pkgver.tar.gz")
sha512sums=('f0059a6d05bf0c4e208f0058e30d5baf8284e630b8b91fa217f52eec18abe6b057dabfdadce2c5282e02bd4ea4cdb27f9ef62c4c308375cce1795d75a036db22')
sha512sums=('cfff79cf0632153819c511d3751777858e87081b074bfb49f3fe49417d1be647b4d07a4b64149acec36b4e6b1872ac03f1055703c70cccce18648482c9b727db')
prepare() {
cd pytest-asyncio-$pkgver
# Don't treat DeprecationWarnings as errors
sed -i '/filterwarnings = error/d' setup.cfg
}
export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
build() {
cd pytest-asyncio-$pkgver

View File

@ -2,8 +2,8 @@
# Maintainer: Felix Yan <felixonmars@archlinux.org>
pkgname=python-pytest-forked
pkgver=1.3.0
pkgrel=6
pkgver=1.4.0
pkgrel=1
pkgdesc='run tests in isolated forked subprocesses'
arch=('any')
license=('MIT')
@ -11,7 +11,7 @@ url='https://github.com/pytest-dev/pytest-forked'
makedepends=('python-pytest' 'python-setuptools-scm')
depends=('python-pytest')
source=("$pkgbase-$pkgver.tar.gz::https://github.com/pytest-dev/pytest-forked/archive/v$pkgver.tar.gz")
sha512sums=('3fbbde21b4157eb8d2f72ae4285e2a84718a1ba85781ee10b53cc36d8de21512c6f2285fad5fa3cf40dcb6df767cc87fc8e749897011d89e84dcf153fc466ba6')
sha512sums=('f5ccf71d7f335073b5cfef15d44a65b315824c1087017ee692118354fc2f17da697ed6b0a7d7030b6259a4c3ceb9356ebd015f7867f3b4a5673eae12fd9ec952')
prepare() {
export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver

View File

@ -2,8 +2,8 @@
# Maintainer: Felix Yan <felixonmars@archlinux.org>
pkgname=python-pytest-httpbin
pkgver=1.0.0
pkgrel=8
pkgver=1.0.1
pkgrel=1
pkgdesc='A py.test fixture for httpbining code'
arch=('any')
license=('MIT')
@ -12,7 +12,7 @@ depends=('python-pytest' 'python-six' 'httpbin')
checkdepends=('python-requests')
source=("$pkgname-$pkgver.tar.gz::https://github.com/kevin1024/pytest-httpbin/archive/v$pkgver.tar.gz"
LICENSE)
sha512sums=('2794134cc005cb969752e0c1119459d3f1e106f679942880a6b9ff507f2ee31c8ac4146a9c01b9a920368ea516443954b1b7044f7b1c270fe251f7d36adf7661'
sha512sums=('3a11073d85478e7b748cfae5a7f639b2cf6ebc396ebb9972f39ead3d869ab1abaf0afa90f113e2393652ed08621716e54c9c5dcb41c59ff67341f7b28445544d'
'949cb93164ce92e0a5acc184cca2da5580e31def2d153771ebfa386030fa2da65bcd48670780096d2cefe3e631dc755fc3024ae417f2d1bb3333bd85a39baf22')
build() {
@ -22,10 +22,11 @@ build() {
check() {
# Hack entry points by installing it
# https://github.com/kevin1024/pytest-httpbin/issues/64
cd pytest-httpbin-$pkgver
python setup.py install --root="$PWD/tmp_install" --optimize=1
PYTHONPATH="$PWD/tmp_install/usr/lib/python3.10/site-packages:$PYTHONPATH" python -m pytest
PYTHONPATH="$PWD/tmp_install/usr/lib/python3.10/site-packages:$PYTHONPATH" pytest --deselect tests/test_server.py::test_redirect_location_is_https_for_secure_server
}
package() {

View File

@ -2,8 +2,8 @@
# Maintainer: Felix Yan <felixonmars@archlinux.org>
pkgname=python-pytest-mock
pkgver=3.6.1
pkgrel=3
pkgver=3.7.0
pkgrel=1
pkgdesc="Thin-wrapper around the mock package for easier use with py.test"
arch=('any')
license=('LGPL3')
@ -12,7 +12,7 @@ depends=('python-pytest')
makedepends=('python-setuptools-scm')
checkdepends=('python-pytest-asyncio')
source=("https://github.com/pytest-dev/pytest-mock/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
sha512sums=('0a227799af85e4703bef32cf7922573a69ec84fbe35b502b5b96a660a8baa42b9fb1ff8d93115461d23af0c1b18c45cdc67e4695a31713c6553ffc73053448ad')
sha512sums=('567e6f4144304b32d395a67e5762006202889b6b078a8a5064495684caaecce1205d37982c116ccc2f43cac4de5695cdc38c3197c40598424e41a2967053f520')
build() {
cd pytest-mock-$pkgver

View File

@ -2,8 +2,8 @@
# Maintainer: Felix Yan <felixonmars@archlinux.org>
pkgname=python-pytest-mypy
pkgver=0.8.1
pkgrel=3
pkgver=0.9.0
pkgrel=1
pkgdesc='Mypy static type checker plugin for Pytest'
arch=('any')
license=('MIT')
@ -11,18 +11,11 @@ url='https://github.com/dbader/pytest-mypy'
depends=('mypy' 'python-filelock' 'python-pytest')
makedepends=('python-setuptools-scm')
checkdepends=('python-pytest-xdist' 'python-pexpect')
source=("$pkgname-$pkgver.tar.gz::https://github.com/dbader/pytest-mypy/archive/v$pkgver.tar.gz"
$pkgname-mypy-0.9x.patch::https://github.com/dbader/pytest-mypy/commit/4b0a8bf541bd.patch)
sha512sums=('69f6ddf605bfcd075d6780f516f2f9821675762f8fee6a3d042f450f3544d8565ea0a3a905b5dd5d560278bffc28773faba9a09554ac9758ffcc24d13e3f316e'
'b1afc1fe631b636692998f019d803ec751cf5476e9feeb1263ac177022bfe3fafec8423d67ba52288d2ed687fdf1159911a3d04f0556f1f919afdf6e2a262d27')
source=("https://github.com/dbader/pytest-mypy/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
sha512sums=('4417d585b3e50f9c32a6b8e12f32737f3483b6a9d90df978f4fdfef7d7b4355a244e9ec6d4d25488d35651e2745173d64b7ceae313b09f9c3b2af916f097baf0')
export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
prepare() {
cd pytest-mypy-$pkgver
patch -Np1 -i ../$pkgname-mypy-0.9x.patch
}
build() {
cd pytest-mypy-$pkgver
python setup.py build

View File

@ -4,7 +4,7 @@
pkgbase=python-pytest-plugins
pkgname=('python-pytest-fixture-config' 'python-pytest-shutil' 'python-pytest-virtualenv')
pkgver=1.7.0
pkgrel=6
pkgrel=8
arch=('any')
license=('BSD')
url='https://github.com/manahl/pytest-plugins'
@ -41,7 +41,7 @@ check() {
for _pkg in pytest-fixture-config pytest-shutil pytest-virtualenv; do
cd "$srcdir"/pytest-plugins-$pkgver/$_pkg
python setup.py install --root="$srcdir"/tmp_install --optimize=1
PYTHONPATH="$srcdir"/tmp_install/usr/lib/python3.9/site-packages py.test
PYTHONPATH="$srcdir"/tmp_install/usr/lib/python3.10/site-packages py.test
done
}

View File

@ -2,27 +2,27 @@
# Maintainer: Felix Yan <felixonmars@archlinux.org>
pkgname=python-pytest-timeout
pkgver=1.4.2
pkgrel=7
pkgver=2.0.1
pkgrel=1
pkgdesc='py.test plugin to abort hanging tests'
arch=('any')
license=('MIT')
url='https://bitbucket.org/pytest-dev/pytest-timeout'
url='https://github.com/pytest-dev/pytest-timeout'
depends=('python-pytest')
makedepends=('python-setuptools' 'python-pytest')
checkdepends=('python-pexpect' 'python-pytest-cov')
source=("https://github.com/pytest-dev/pytest-timeout/archive/$pkgver/$pkgname-$pkgver.tar.gz")
sha512sums=('062ce6c832a7139874ad8f165818c2a7d9cef4a2fe2c53a6c37d4f0a060cf920204f1d2d255e4d31953c0da268e708c1d305f362cd6d0ea103bc101ffb51b098')
sha512sums=('18c123611c9203620ee09332d9e8062bf8de8b0e2698459674a8a101713b1672487b538c7bfd111c82d8fb3aae2ed9f2f3ad1b754302145e8f003732ed391351')
build() {
cd "$srcdir"/pytest-timeout-$pkgver
cd pytest-timeout-$pkgver
python setup.py build
}
check() {
# Hack entry points by installing it
cd "$srcdir"/pytest-timeout-$pkgver
cd pytest-timeout-$pkgver
python setup.py install --root="$PWD/tmp_install" --optimize=1
PYTHONPATH="$PWD/tmp_install/usr/lib/python3.10/site-packages:$PYTHONPATH" py.test
}
@ -30,7 +30,7 @@ check() {
package() {
cd pytest-timeout-$pkgver
python setup.py install --root="$pkgdir"/ --optimize=1
install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
}
# vim:set ts=2 sw=2 et:

View File

@ -2,8 +2,8 @@
# Maintainer: Felix Yan <felixonmars@archlinux.org>
pkgname=python-pytest-xdist
pkgver=2.4.0
pkgrel=3
pkgver=2.5.0
pkgrel=1
pkgdesc='py.test xdist plugin for distributed testing and loop-on-failing modes'
arch=('any')
license=('MIT')
@ -12,7 +12,7 @@ depends=('python-execnet' 'python-psutil' 'python-pytest-forked')
makedepends=('python-setuptools-scm')
checkdepends=('python-filelock')
source=("https://github.com/pytest-dev/pytest-xdist/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
sha512sums=('ccaaa76b18363891b45a9374c73199702e5a543d838ac86f65b3919881e45c327edccb9af5b9a5d85e35474b1863c75b4dda103feac63c3bd9536a8e9d437f80')
sha512sums=('41f71b18e294909f2f03ecd61cba4209249a0ec77cdfb57d5fe42efd3011057e6aa70e9d629cd274e54bdaa4206c7d640c782c9e231163c70718f9972c33af90')
export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver

View File

@ -4,14 +4,14 @@
# Contributor: Felix Kaiser <felix.kaiser@fxkr.net>
pkgname=python-pytest
pkgver=6.2.5
pkgrel=3
pkgver=7.0.0
pkgrel=1
pkgdesc="Simple powerful testing with Python"
arch=('any')
license=('MIT')
url="https://pytest.org/"
depends=('python-attrs' 'python-iniconfig' 'python-packaging' 'python-pluggy'
'python-py' 'python-toml')
'python-py' 'python-tomli')
makedepends=('python-setuptools')
checkdepends=('python-argcomplete' 'python-hypothesis' 'python-mock'
'python-nose' 'python-requests' 'python-xmlschema'
@ -20,17 +20,16 @@ checkdepends=('python-argcomplete' 'python-hypothesis' 'python-mock'
'python-jinja' 'python-numpy' 'python-pexpect' 'python-pygments'
'python-pytest-xdist' 'python-twisted')
source=("https://files.pythonhosted.org/packages/source/p/pytest/pytest-$pkgver.tar.gz")
sha256sums=('131b36680866a76e6781d13f101efb86cf674ebb9762eb70d3082b6f29889e89')
b2sums=('9dfc87279617be58353566009325f929e6fa53d54fd4c665a75f3b359ab5415972d745a680eb85ab21ca9eaec84450bc1decd50566b0ccdf90d7551f3d03ee70')
sha256sums=('dad48ffda394e5ad9aa3b7d7ddf339ed502e5e365b1350e0af65f4a602344b11')
b2sums=('3af132da903252323086b21eb052d35973f1e81189972d7f1880a22c5dd8a2b779bf2450f394ef9b1e156b780bcf6f677a0b043db204bcb6038a9a85c7f393e6')
# Remove dep on setuptools_scm and workaround test failures
# Remove dep on setuptools_scm
prepare() {
cd pytest-$pkgver
sed -i "/^\[metadata\]/a version = $pkgver
/setuptools-scm/d" setup.cfg
sed -i '/setuptools-scm\|wheel/d
/\[tool.setuptools_scm\]/,/^$/d
/_pytest.warning_types.PytestUnknownMarkWarning/a \ "ignore:Creating a LegacyVersion has been deprecated and will be removed in the next major release:DeprecationWarning",' pyproject.toml
/\[tool.setuptools_scm\]/,/^$/d' pyproject.toml
}
build() {

View File

@ -1,8 +1,8 @@
# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
# Maintainer: Kyle Keen <keenerd at gmail dot com>
pkgname=python-pyzmq
pkgver=22.2.1
pkgrel=3
pkgver=22.3.0
pkgrel=1
pkgdesc="Python3 bindings for zeromq, written in Cython"
arch=(x86_64 powerpc64le powerpc riscv64)
url="http://www.zeromq.org/bindings:python"
@ -13,7 +13,7 @@ checkdepends=('python-nose' 'python-tornado' 'python-pytest' 'cython')
#source=("https://github.com/zeromq/pyzmq/downloads/pyzmq-$pkgver.tar.gz")
#source=("https://pypi.python.org/packages/source/p/pyzmq/pyzmq-$pkgver.tar.gz")
source=("https://files.pythonhosted.org/packages/source/p/pyzmq/pyzmq-$pkgver.tar.gz")
md5sums=('f261acf884460e93d30f7113c8e9242e')
md5sums=('ecf13c72fbea05ba5ddc771295409d48')
check() {
cd "$srcdir/pyzmq-$pkgver"

View File

@ -4,12 +4,12 @@
pkgname=python-raven
pkgver=6.10.0
pkgrel=9
pkgrel=10
pkgdesc="Python client for Sentry"
arch=('any')
url="https://pypi.python.org/pypi/raven"
license=('BSD')
depends=('python')
depends=('python' 'ca-certificates')
makedepends=('python-setuptools')
checkdepends=('python-pytest-cov' 'python-bottle' 'python-celery' 'python-django'
'python-pycodestyle' 'python-mock' 'python-nose' 'python-pytz' 'python-exam'
@ -18,11 +18,18 @@ checkdepends=('python-pytest-cov' 'python-bottle' 'python-celery' 'python-django
'python-pytest-django' 'python-flask-login' 'python-pytest-timeout' 'python-zconfig'
'python-pytest-xdist')
optdepends=('python-setuptools: for "raven" script')
source=("$pkgbase-$pkgver.tar.gz::https://github.com/getsentry/raven-python/archive/$pkgver.tar.gz")
sha512sums=('4e65c03b1c5d084588ef381223b06c7b2ded3239fb2f2da4b2694fcf897a590ba5b03ac421b6dd88e0ce408f2fafd605d92a2b544b4f975ece5510eb6010583b')
source=("https://github.com/getsentry/raven-python/archive/$pkgver/$pkgname-$pkgver.tar.gz"
system-ca-certificates.patch)
sha512sums=('4e65c03b1c5d084588ef381223b06c7b2ded3239fb2f2da4b2694fcf897a590ba5b03ac421b6dd88e0ce408f2fafd605d92a2b544b4f975ece5510eb6010583b'
'540725fa9bd02b00a26795462787bc3d3965ced5d2383f2e90eb1b58e70f6c29f486c206b2ef725d99985238e25dde1c9b0da6e92d1446f3664a9d8f2d9ce1d7')
prepare() {
patch -d raven-python-$pkgver -p1 < system-ca-certificates.patch
sed -i 's/get_marker/get_closest_marker/' raven-python-$pkgver/conftest.py
}
build() {
cd "$srcdir"/raven-python-$pkgver
cd raven-python-$pkgver
python setup.py build
}
@ -30,14 +37,21 @@ check() {
# Hack distribution check by installing it
# "-p no:logging": https://github.com/getsentry/raven-python/issues/1164
cd "$srcdir"/raven-python-$pkgver
cd raven-python-$pkgver
python setup.py install --root="$PWD/tmp_install" --optimize=1
# https://github.com/getsentry/raven-python/issues/1275
# Doesn't work with tornado 5 and celery 5
PYTHONPATH="$PWD/tmp_install/usr/lib/python3.10/site-packages:$PYTHONPATH" \
py.test -p no:logging tests || echo "https://github.com/getsentry/raven-python/issues/1275"
py.test -p no:logging tests --ignore tests/contrib/django/tests.py \
--ignore tests/contrib/tornado/tests.py \
--deselect tests/contrib/django/test_resolver.py::test_newstyle_django20_urlconf \
--deselect tests/contrib/flask/tests.py::FlaskTest::test_get \
--deselect tests/transport/tornado/tests.py::TornadoTransportTests::test__sending_successfully_calls_success_callback \
--deselect tests/transport/tornado/tests.py::TornadoTransportTests::test_send
}
package() {
cd "$srcdir"/raven-python-$pkgver
cd raven-python-$pkgver
python setup.py install --root="$pkgdir" --optimize=1
install -Dm664 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}

View File

@ -4,17 +4,17 @@
# Contributor: Pierre Gueth <pierre.gueth@gmail.com>
pkgname=python-redis
pkgver=3.5.3
pkgrel=5
pkgver=4.0.0
pkgrel=1
pkgdesc='The Python interface to the Redis key-value store'
arch=('any')
url="https://github.com/andymccurdy/redis-py"
license=('MIT')
depends=('python')
depends=('python-deprecated')
makedepends=('python-setuptools')
checkdepends=('python-pytest' 'python-mock' 'pifpaf' 'redis')
checkdepends=('python-pytest' 'pifpaf' 'redis')
source=("https://pypi.io/packages/source/r/redis/redis-$pkgver.tar.gz")
sha512sums=('eae6ac6b3e0f1366a9c29e5e2d9a5210e4627e62e3006159b1c290f36cd9c1c2c12cafe0944f7a010e04632b517874f230aa9411491993b7ecf2080546217206')
sha512sums=('5975407b427d9edc87903aeb015e3f62a88bcc417be9fc91de56f852eed7d1bad9cd865ba40540a7c950b1a4e9bdfde20d6d7c4616ed859b6520adcca8085ea9')
build() {
cd "$srcdir"/redis-$pkgver

View File

@ -5,7 +5,7 @@
_origname=reportlab
pkgname=python-reportlab
pkgver=3.6.5
pkgver=3.6.6
pkgrel=1
pkgdesc="A proven industry-strength PDF generating solution"
arch=(x86_64 powerpc64le powerpc riscv64)
@ -15,7 +15,7 @@ depends=('python' 'python-pillow')
makedepends=('freetype2' 'python-pillow' 'mercurial')
license=('BSD')
source=(https://files.pythonhosted.org/packages/source/${_origname::1}/${_origname}/${_origname}-${pkgver}.tar.gz)
sha256sums=('d8fe27ad312671c9347cf5997f7c1017833fac17233f33296281ba9fa0de189a')
sha256sums=('dd1cdb62dc123f5859ca514eb639f70660bdc818c95fb0ee2370a175a0e20ce4')
build() {
cd ${_origname}-${pkgver}

View File

@ -2,26 +2,24 @@
# Maintainer: Felix Yan <felixonmars@archlinux.org>
# Contributor: Massimiliano Torromeo <massimiliano.torromeo@gmail.com>
pkgbase=python-requests
pkgname=('python-requests')
pkgver=2.26.0
pkgrel=5
pkgname=python-requests
pkgver=2.27.1
pkgrel=1
pkgdesc="Python HTTP for Humans"
arch=('any')
url="http://python-requests.org"
license=('Apache')
depends=('python-urllib3' 'python-chardet' 'python-idna')
makedepends=('python-setuptools' 'python-chardet'
'python-urllib3' 'python-idna')
makedepends=('python-setuptools' 'python-chardet' 'python-urllib3' 'python-idna')
checkdepends=('python-pytest-httpbin' 'python-pytest-mock' 'python-pysocks' 'python-trustme')
optdepends=('python-pysocks: SOCKS proxy support')
source=("$pkgbase-$pkgver.tar.gz::https://github.com/psf/requests/archive/v$pkgver.tar.gz"
source=("https://github.com/psf/requests/archive/v$pkgver/$pkgname-$pkgver.tar.gz"
certs.patch)
sha512sums=('df7b3fbef42e600434764b2ae3906546a778f8caab0111d818adef7c747d4d58e9977ac9ae25092e1170a2cde78234e64b779ba4afd84bb2bf7dbce6efb380e9'
sha512sums=('191f8e0d566d541ab4e0c17bc9a637eb79e841605f6bbb9a0e559bd7bf0f00a71be99e21fa5b5431b9d49cb4a64debd0d7083658f98b723cf976833bb685cb9a'
'424a3bb01b23409284f6c9cd2bc22d92df31b85cfd96e1d1b16b5d68adeca670dfed4fff7977d8b10980102b0f780eacc465431021fcd661f3a17168a02a39a3')
prepare() {
cd "$srcdir"/requests-$pkgver
cd requests-$pkgver
# Stay with chardet for now: https://github.com/psf/requests/issues/5871
sed -e '/certifi/d' \
-e "s/,<.*'/'/" \
@ -31,7 +29,7 @@ prepare() {
}
build() {
cd "$srcdir"/requests-$pkgver
cd requests-$pkgver
python setup.py build
}
@ -45,6 +43,6 @@ check() {
}
package() {
cd "$srcdir"/requests-$pkgver
cd requests-$pkgver
python setup.py install --skip-build -O1 --root="$pkgdir"
}

View File

@ -2,7 +2,7 @@
# Maintainer: Felix Yan <felixonmars@archlinux.org>
pkgname=python-responses
pkgver=0.16.0
pkgver=0.18.0
pkgrel=1
pkgdesc='A utility library for mocking out the `requests` Python library.'
arch=('any')
@ -12,7 +12,7 @@ depends=('python-requests' 'python-biscuits' 'python-six')
makedepends=('python-setuptools')
checkdepends=('python-pytest' 'python-pytest-localserver')
source=("https://github.com/getsentry/responses/archive/$pkgver/$pkgname-$pkgver.tar.gz")
sha512sums=('d414e4cf281f64a953acdaf66b132fbd5e26edc978efdf545a3f8eecc5afdd6473c33a51f6086020c86c20f4de7aa94cf676c81d88a80ce5c7b84f7a741477ad')
sha512sums=('b7e952897d8aa03b6454a4d8633357fd58d5f6e7edb528d245429deeea36b4dfd7fd3cabc18fd599e9bff4eff1c0458f9f8a70a76264ae7e30e8bf511cad3014')
build() {
cd responses-$pkgver

View File

@ -3,7 +3,7 @@
# Contributor: Hao Long <imlonghao@archlinuxcn.org>
pkgname=python-rich
pkgver=11.0.0
pkgver=11.2.0
pkgrel=1
pkgdesc='Render rich text, tables, progress bars, syntax highlighting, markdown and more to the terminal'
arch=(any)
@ -12,7 +12,7 @@ license=('MIT')
depends=('python-colorama' 'python-pygments' 'python-typing_extensions' 'python-commonmark')
makedepends=('python-pip' 'python-poetry')
source=("https://github.com/willmcgugan/rich/archive/v${pkgver}/rich-${pkgver}.tar.gz")
b2sums=('bd38f84a7e0623dc9474bdc369b452fc668cd4756f00f6dd1b185f95dffb3d55f6b95a7f6dfaed5ee1ec5f2d9514af6080835b9ffd010f150005b15afb761d97')
b2sums=('520f512a7e26613a4cc881834f8c150963b84a6dc3a43029dde6d64d1e405d82422b9c6f0098293b6f9bdb55749c7929426dad14840c9a287889c1a6a70f6bf2')
build() {
cd rich-${pkgver}

View File

@ -6,7 +6,7 @@
_pkg=ruamel.yaml
pkgname=python-${_pkg/./-}
pkgver=0.17.18
pkgver=0.17.21
pkgrel=1
pkgdesc="YAML parser/emitter that supports roundtrip preservation of comments, seq/map flow style, and map key order"
arch=('any')
@ -15,7 +15,7 @@ license=('MIT')
depends=('python-ruamel.yaml.clib')
makedepends=('python-setuptools')
source=(https://files.pythonhosted.org/packages/source/r/${_pkg}/${_pkg}-${pkgver}.tar.gz)
sha512sums=('9cde254b8e3f989c8e142af0845329d2ef1eabeaea304c8535f4856ba23b7c2acddd503e6d578385b62ab92b2d3a3da0e93381f8f86324209730d1ac73da9b3a')
sha512sums=('1ecda5ecacf913a499e40b4df8d5d6112b8c2facf5ce42c36eedad1ea4745884f98919b70a9d51ba8b095463e27371f6b84e314fe8f512c318963ab32f2cbf17')
build() {
cd ${_pkg}-${pkgver}

View File

@ -9,28 +9,22 @@
_name=scipy
pkgname=python-scipy
pkgver=1.7.3
pkgrel=3
pkgver=1.8.0
pkgrel=1
pkgdesc='Open-source software for mathematics, science, and engineering'
arch=(x86_64 powerpc64le powerpc riscv64)
url='https://www.scipy.org/'
license=(BSD)
depends=(python-numpy)
provides=(scipy)
makedepends=(gcc-fortran python-setuptools cython pybind11)
makedepends=(gcc-fortran python-setuptools cython python-pythran pybind11)
checkdepends=(python-pytest)
optdepends=('python-pillow: for image saving module')
source=(https://pypi.python.org/packages/source/${_name:0:1}/$_name/$_name-$pkgver.tar.gz)
sha256sums=('ab5875facfdef77e0a47d5fd39ea178b58e60e454a4c85aa1e52fcb80db7babf')
sha256sums=('31d4f2d6b724bc9a98e527b5849b8a7e589bf1ea630c33aa563eda912c9ff0bd')
build() {
cd scipy-${pkgver}
curl -o get-pip.py https://bootstrap.pypa.io/get-pip.py
sudo python get-pip.py
sudo pip install pythran
python setup.py config_fc build
}

View File

@ -4,8 +4,8 @@
# Contributor: Kyle Keen <keenerd@gmail.com>
pkgname=python-semantic-version
pkgver=2.8.5
pkgrel=5
pkgver=2.9.0
pkgrel=1
pkgdesc="A library implementing the 'SemVer' scheme."
url="https://github.com/rbarrois/python-semanticversion"
license=('BSD')
@ -13,8 +13,8 @@ arch=('any')
depends=('python')
makedepends=('python-setuptools')
checkdepends=('python-pytest' 'python-django')
source=("$pkgname-$pkgver.tar.gz::https://github.com/rbarrois/python-semanticversion/archive/$pkgver.tar.gz")
sha512sums=('e59508b12ac0f1b46f1d97f633f5bead99c41542c51c2714a4074eda9da6a04cd103be20eafd031b541834b6ee99b4f9f9ee9baec58b9f8a313d0c727aeab68d')
source=("https://github.com/rbarrois/python-semanticversion/archive/$pkgver/$pkgname-$pkgver.tar.gz")
sha512sums=('6db53e9993b635a7bb2e2b168329d359136d914fb146aa5102a5cd0e8395978942fa84e7bed0fdb00b1768b1acd38e1a1b0cedfdc2efc073dddf4973178043db')
build() {
cd python-semanticversion-$pkgver
@ -23,11 +23,12 @@ build() {
check() {
cd python-semanticversion-$pkgver
py.test
python setup.py egg_info
pytest
}
package() {
cd python-semanticversion-$pkgver
python setup.py install --root="$pkgdir" --optimize=1
install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
}

View File

@ -5,8 +5,8 @@
_name=setuptools_scm
pkgname=python-setuptools-scm
pkgver=6.3.2
pkgrel=3
pkgver=6.4.2
pkgrel=1
pkgdesc="Handles managing your python package versions in scm metadata"
arch=('any')
url="https://github.com/pypa/setuptools_scm"
@ -15,8 +15,8 @@ depends=('python-packaging' 'python-setuptools' 'python-tomli')
checkdepends=('git' 'mercurial' 'python-pip' 'python-pytest'
'python-virtualenv')
source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
sha256sums=('a49aa8081eeb3514eb9728fa5040f2eaa962d6c6f4ec9c32f6c1fba88f88a0f2')
b2sums=('4291f3810dc5ea111a6bad1bf37c8704a7eb6cdd112ea476d629d6175c43cc7d8f78d450181c0e588a5f3fc0fc092fedb41fcb6e198a42f730f9fc6b8d96e343')
sha256sums=('6833ac65c6ed9711a4d5d2266f8024cfa07c533a0e55f4c12f6eff280a5a9e30')
b2sums=('e1b5191425cf5db8334761a6857b0bc39c547c167901cbdf8401af441c5941cd75744162417ff42dbac792ae867d71c7576c5e9e533fe8039a75954f4c2ba439')
build() {
cd $_name-$pkgver

View File

@ -4,7 +4,7 @@
# Contributor: Eli Schwartz <eschwartz@archlinux.org>
pkgname=python-setuptools
pkgver=59.1.1
pkgver=59.3.0
pkgrel=1
epoch=1
pkgdesc="Easily download, build, install, upgrade, and uninstall Python packages"
@ -20,7 +20,7 @@ checkdepends=('python-jaraco.envs' 'python-jaraco.path' 'python-mock' 'python-pi
provides=('python-distribute')
replaces=('python-distribute')
source=("$pkgname-$pkgver.tar.gz::https://github.com/pypa/setuptools/archive/v$pkgver.tar.gz")
sha512sums=('50a918000b7fb163591838bf7cde534aac86de9d110148b6f06eb376fd41bafbe2466026e8d59bf311a0108654bad820a0159152e447838bb6680f1afdeb7775')
sha512sums=('6f9711c975ac62b6c07c1274dd723ef915c8f9741716c1a6b965d3b98a1019427db356c24dcf385147b4e5fb60c41c84790c029e0dedb3fe5395782bafe3e8c3')
export SETUPTOOLS_INSTALL_WINDOWS_SPECIFIC_FILES=0

View File

@ -2,8 +2,8 @@
# Maintainer: Felix Yan <felixonmars@archlinux.org>
pkgname=python-soupsieve
pkgver=2.2.1
pkgrel=4
pkgver=2.3
pkgrel=1
pkgdesc="A CSS4 selector implementation for Beautiful Soup"
url="https://github.com/facelessuser/soupsieve"
license=('MIT')
@ -12,7 +12,7 @@ depends=('python')
makedepends=('python-setuptools')
checkdepends=('python-pytest' 'python-beautifulsoup4' 'python-html5lib' 'python-lxml')
source=("https://github.com/facelessuser/soupsieve/archive/$pkgver/$pkgname-$pkgver.tar.gz")
sha512sums=('c1339cfca237af7f8915b6d644b8271f769f9a37aa68f8acf536236551baaf9bb44a2f2a736f9168a7649cde14d37b8c24614c9491acbf81e3f4fdaea96b4928')
sha512sums=('c5d46703aba737c6eea7cc482311fd75dbaaa4929ebf3ed45b580d7e89d1d0be806608adbab974803acd8df5d74435efe1e149bce5cdbd74f77c90bba960859a')
build() {
cd soupsieve-$pkgver

View File

@ -6,7 +6,7 @@
# Contributor: Fabio Volpe <volpefabio@gmail.com>
pkgname=python-sphinx
pkgver=4.3.2
pkgver=4.4.0
pkgrel=1
pkgdesc='Python documentation generator'
arch=('any')
@ -19,10 +19,10 @@ depends=('python-babel'
'python-packaging'
'python-pygments'
'python-requests'
'python-setuptools'
'python-snowballstemmer'
'python-sphinx-alabaster-theme'
'python-sphinxcontrib-'{{apple,dev,html}help,jsmath,qthelp,serializinghtml})
makedepends=('python-setuptools')
checkdepends=('cython'
'imagemagick' 'librsvg'
'python-html5lib'
@ -31,9 +31,9 @@ checkdepends=('cython'
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})
sha256sums=('0a8836751a68306b3fe97ecbe44db786f8479c3bf4b80e3a7f5c838657b4698c'
sha256sums=('6caad9786055cb1fa22b4a365c1775816b876f91966481765d7d50e9f0dd35cc'
'SKIP')
b2sums=('952cecc20e3f7e046c3ae2abc8524091af82f7947f889320deab3ec82947f793d4dab86ae47f117c84ecdb2e4e50fe531469dffca2806c45500a06c7322bb11b'
b2sums=('5f63a6a70b8fb663ff1729766183f8936c9cd3bab81437526fb099ccc2a49c2abd42b602e2fc37af79254a9c8f1238fb4c99f2659142e9b9c2c1a2bd385ac100'
'SKIP')
validpgpkeys=('8A11B79A5D0D749A66F0A030102C2C17498D6B9E' # Takeshi KOMIYA <i.tkomiya@gmail.com>
'E9BEABB07E7B9CC3F56E62C91425F8CE5EBA0E07') # Takayuki Shimizukawa <shimizukawa@gmail.com>

View File

@ -4,7 +4,7 @@
# Contributor: Sébastien Luttringer <seblu@aur.archlinux.org>
pkgname=python-sqlalchemy
pkgver=1.4.29
pkgver=1.4.30
pkgrel=1
arch=(x86_64 powerpc64le powerpc riscv64)
url="https://www.sqlalchemy.org/"
@ -16,7 +16,7 @@ makedepends=('python-setuptools')
checkdepends=('python-pytest-runner' 'python-pytest-xdist' 'python-mock')
source=("https://pypi.io/packages/source/S/SQLAlchemy/SQLAlchemy-$pkgver.tar.gz"{,.asc})
validpgpkeys=('83AF7ACE251C13E6BB7DEFBD330239C1C4DAFEE1')
sha512sums=('40f7b30db6c080061aa2d38c8257c1d9df4cd5a99425becc89ffb339bd764f60c6174fc85fc2dad8be248baf8e78c20b9ac28a5ddff0f58033fa7756517bb50f'
sha512sums=('13b80779b30a10af7f173ad162d54d38d807e7372d381f7b96adf2f728ccf20bb6a86d8f8b06ec828e71d0b4aa22d022686d290ea6b03629564f0fb2a80eca80'
'SKIP')
prepare() {

View File

@ -4,8 +4,8 @@
pkgname='python-tempora'
_pkgbase="${pkgname//python-/}"
pkgver=4.1.2
pkgrel=3
pkgver=5.0.1
pkgrel=1
pkgdesc="Objects and routines pertaining to date and time (tempora)."
arch=('any')
url="https://github.com/jaraco/tempora"
@ -18,7 +18,7 @@ checkdepends=('python-pytest' 'python-pytest-flake8' 'python-pytest-cov'
'python-pytest-mypy')
source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz"
'LICENSE')
sha512sums=('9f7a6bb3f2b22c9e8616b815f385f0c986612bef43de0e65a00a89ddc1080e4c35b9128e0fc32c3c7dbf507a62041bba40c8e51673613299037cfdf63ee451a3'
sha512sums=('5071091aaf7607d6fc7026b62bae2e418e006611a36a32a1e944cc40862df5e3f2c8fbc74015704cbe631110970238f8e27f346280a2e6e7a81e5b67eda1679b'
'1106afed483b7258e4ae89c5d9459c3834412b31aac90169725ed62d2ab44f61f6f79e894d4c9e4d8bd99e14530ab778df2187784f0b25eaab86d312fad68944')
# setuptools won't find version from git tag
@ -26,7 +26,7 @@ export SETUPTOOLS_SCM_PRETEND_VERSION="${pkgver}"
build() {
cd "${srcdir}/${_pkgbase}-${pkgver}"
python ./setup.py build
python -c 'from setuptools import setup; setup()' build
}
check() {
@ -36,7 +36,7 @@ check() {
package() {
cd "${srcdir}/${_pkgbase}-${pkgver}"
python ./setup.py install --root="${pkgdir}" --optimize=1
python -c 'from setuptools import setup; setup()' install --root="${pkgdir}" --optimize=1
# the author has promised to include a LICENSE file in future releases:
# https://github.com/jaraco/skeleton/issues/1

View File

@ -5,7 +5,7 @@
_pkgname=tomlkit
pkgname=python-tomlkit
pkgver=0.8.0
pkgver=0.9.2
pkgrel=1
pkgdesc="Style-preserving TOML library for Python"
url="https://github.com/sdispater/tomlkit"
@ -16,7 +16,7 @@ makedepends=('python-setuptools')
checkdepends=('python-pytest'
'python-yaml')
source=("https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz")
sha512sums=('77b267201021e740d8134d0d5edfbef2cf077adac0b320d80887fdedda3f63f74df1957e8230976f16c80fcc58fd4cfabb195cccf0eda7d6cd29f5f65d362147')
sha512sums=('9a5a422ad7f2602d164b486dea816f878791393675a17ae30d10f12b6eed0ca73cbfaac7c359f1a57aea4f734b5ba31ee3bbbb95c521e41ce608eae972c2059b')
build() {
cd tomlkit-$pkgver

View File

@ -2,7 +2,7 @@
# Maintainer: Morten Linderud <foxboron@archlinux.org>
pkgname=python-typed-ast
pkgver=1.5.1
pkgver=1.5.2
pkgrel=1
pkgdesc="a fork of Python 2 and 3 ast modules with type comment support"
arch=(x86_64 powerpc64le powerpc riscv64)
@ -11,7 +11,7 @@ license=('Apache')
depends=('python')
makedepends=('python-setuptools')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/python/typed_ast/archive/${pkgver}.tar.gz")
sha256sums=('f0bf5ca76fef9458cb31c53609c026016a26400942ed9a4ea176fdaaa041d254')
sha256sums=('b8475b94bf77991d2db0bcce3dc14421b8518139f2994dafcd6a7fb2e8f5e261')
build(){
cd "typed_ast-$pkgver"

View File

@ -4,7 +4,7 @@
# Contributor: Michael Yeatts <mwyeatts@gmail.com>
pkgname=python-typing_extensions
pkgver=4.0.1
pkgver=4.1.0
pkgrel=1
pkgdesc='Backported and Experimental Type Hints for Python 3.5+'
arch=(any)

View File

@ -6,37 +6,31 @@
# Contributor: Daniel YC Lin <dlin.tw at gmail>
# Contributor: Florian Bruhin <archlinux.org@the-compiler.org>
_pkgbase='websocket-client'
pkgname=python-$_pkgbase
pkgver=0.59.0
pkgrel=3
pkgname=python-websocket-client
pkgver=1.2.3
pkgrel=2
pkgdesc="WebSocket client library for Python"
arch=('any')
url="https://github.com/$_pkgbase/$_pkgbase"
url="https://github.com/websocket-client/websocket-client"
license=('LGPL')
depends=('python-six')
depends=('python')
makedepends=('python-setuptools')
checkdepends=('python-pysocks')
source=("https://pypi.io/packages/source/w/$_pkgbase/$_pkgbase-$pkgver.tar.gz")
sha512sums=('c7f4a0336093de86fd00828049a836477a3c859cc4bddebd9e7d31eb746dab4de8fa11205a5fb182e5df3590964aa73f279310575dfabc4abc32157e80df42b1')
prepare() {
# Not sure why the conditions are not working :/
sed -i "s/'backports.ssl_match_hostname'//" $_pkgbase-$pkgver/setup.py
}
checkdepends=('python-pytest')
source=("https://pypi.io/packages/source/w/websocket-client/websocket-client-$pkgver.tar.gz")
sha512sums=('5e5e00d43b7b4da5e2cb0d00d1e743e420791856e51e2b3d28d78219edcd7a2eace834ae4d7ee2faf89ab27c2b65f063e508f0e470a47ff9d88c36748b3dd113')
build() {
cd $_pkgbase-$pkgver
cd websocket-client-$pkgver
python setup.py build
}
check() {
cd $_pkgbase-$pkgver
python setup.py test
cd websocket-client-$pkgver
pytest
}
package() {
cd $_pkgbase-$pkgver
cd websocket-client-$pkgver
python setup.py install --root="$pkgdir" --optimize=1
install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
}

View File

@ -3,32 +3,25 @@
# Contributor: Troy C < rstrox -ta yahoo -tod com >
pkgname=python-wrapt
pkgver=1.12.1
pkgrel=6
pkgver=1.13.3
pkgrel=1
pkgdesc="A Python module for decorators, wrappers and monkey patching"
arch=(x86_64 powerpc64le powerpc riscv64)
url="https://pypi.python.org/pypi/wrapt"
license=("BSD")
depends=('python')
makedepends=('python')
makedepends=('python-setuptools')
checkdepends=('python-pytest')
source=("$pkgname-$pkgver.tar.gz::https://github.com/GrahamDumpleton/wrapt/archive/$pkgver.tar.gz"
py39.patch)
sha512sums=('33e964cb3aa2437bc7d084a98f622f7c5c8c719d97806796ae0317d35130bdb2679a9dd87be7077e2cae1eb32b65d152349fa7cc138cb392d5999cbfdcecc9ac'
'372323f80578bc1fe2fdf8d3a5dc67b79956180048f8036be429b3e2fed4c9f3ce3d29a2c9e8b6128a2ab64cf7d21dc1e7026e8df14a062a94bd8518aca5b50a')
prepare() {
cd "$srcdir"/wrapt-$pkgver
patch -Np1 -i ../py39.patch # https://github.com/GrahamDumpleton/wrapt/issues/160
}
source=("https://github.com/GrahamDumpleton/wrapt/archive/$pkgver/$pkgname-$pkgver.tar.gz")
sha512sums=('c6cc83baacf2688aa49ec0fe44db612edc61e50982a667de177df0d3a972e9bd5f38f4d5166eefc6075a5cfae194298835beca93ee98eefb50eec5aad7f36a1c')
build() {
cd "$srcdir"/wrapt-$pkgver
cd wrapt-$pkgver
python setup.py build
}
check() {
cd "$srcdir"/wrapt-$pkgver
cd wrapt-$pkgver
PYTHONPATH="$PWD/build/lib.linux-$CARCH-3.10:$PYTHONPATH" py.test
}

View File

@ -4,20 +4,19 @@
pkgname=python-xcffib
pkgver=0.11.1
pkgrel=3
pkgrel=4
pkgdesc="Python3 drop in replacement for xpyb, an XCB python binding"
arch=('any')
url="https://pypi.python.org/pypi/xcffib"
license=('Apache')
depends=('python-six' 'python-cffi' 'libxcb')
makedepends=('python-setuptools' 'python-cffi' 'python-six' 'libxcb' 'haskell-xcffib')
makedepends=('python-setuptools' 'python-cffi' 'python-six' 'libxcb')
checkdepends=('python-nose' 'xorg-server-xvfb' 'xorg-xeyes')
source=("https://github.com/tych0/xcffib/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
sha512sums=('7fa2b6aea16375311c09f2daebab47db6ecb2f64ad39a7657d88bf3bc21dc06e29a91b0e9376bf41518161847d06e6cd36fb672ea7d62da6c128913c66d26f86')
build() {
cd xcffib-$pkgver
make xcffib GEN=xcffibgen CABAL=true
python setup.py build
}

View File

@ -2,7 +2,7 @@
# Maintainer: Felix Yan <felixonmars@archlinux.org>
pkgname=python-xmlschema
pkgver=1.9.1
pkgver=1.9.2
pkgrel=1
pkgdesc="An XML Schema validator and decoder"
url="https://github.com/sissaschool/xmlschema"
@ -12,7 +12,7 @@ depends=('python-elementpath')
makedepends=('python-pip')
checkdepends=('python-lxml')
source=("$pkgname-$pkgver.tar.gz::https://github.com/sissaschool/xmlschema/archive/v$pkgver.tar.gz")
sha512sums=('bab6e3fb3bf462e13808c433cfe88d83b778053d8df13142511aea4174ed7439c9693d29b88961d38b49899990cd4078411d133f3cef5e7e512bd7398d4048ed')
sha512sums=('bca2b583eb40cd777fb76d72b892d629507941044f806e1de04f91381af145c192f38ede36d64c4496dfb4a3a8714cae951522743c9b36c4778bb4df2e7ecb70')
prepare() {
sed -i 's/~=/>=/' xmlschema-$pkgver/setup.py

View File

@ -1,39 +1,42 @@
# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: David Runge <dvzrv@archlinux.org>
# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Michal Bozon <michal.bozon__at__gmail.com>
_name=PyYAML
pkgname=python-yaml
pkgver=5.4.1.1
pkgrel=4
pkgver=6.0
pkgrel=1
pkgdesc='Python bindings for YAML, using fast libYAML library'
url='https://pyyaml.org/wiki/PyYAML'
arch=(x86_64 powerpc64le powerpc riscv64)
license=('MIT')
depends=('python' 'libyaml')
makedepends=('python-setuptools' 'libyaml' 'cython')
source=(pyyaml-${pkgver}.tar.gz::https://github.com/yaml/pyyaml/archive/${pkgver}.tar.gz)
sha512sums=('bcbe911fbef7e6e8ef8a76293593d4d792dbbf0931a2d031cdeacddf7064b69f958484217bc60d1b7614dcc83ef56cd5c0cd48a0339ab9add623ef70cb2d0a20')
url='https://pyyaml.org/wiki/PyYAML'
license=(MIT)
depends=(libyaml python)
makedepends=(cython python-setuptools)
provides=(python-pyyaml)
source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
sha512sums=('b402993073282e7f4202823b051d364b91929362edd5b3aebe93b56833956ec9279c1ba82b97f8bc8a2b82d20e1060e4ec9fc90400a6ed902adce3e4f83a6e0e')
b2sums=('00a871f6a6ea8b0a3f7aec4279b03e102af2c2b75ce45f2bcf68584f67843b2a0b37113bd431c73d9c84b2abaaf48bd97163aa970074afb8e7ef04247938f271')
build() {
(
cd pyyaml-$pkgver
python setup.py --with-libyaml build
)
cd $_name-$pkgver
python setup.py --with-libyaml build
}
check() {
(
cd pyyaml-$pkgver
python -B setup.py test
)
local _py_ver="$(python3 -c "import sys; print(str(sys.version_info.major)+'.'+str(sys.version_info.minor))")"
cd $_name-$pkgver
export PYTHONPATH="tests/lib:build/lib.linux-$CARCH-$_py_ver:$PYTHONPATH"
python -m tests.lib.test_all
}
package() {
cd pyyaml-$pkgver
python setup.py --with-libyaml install --prefix=/usr --root="${pkgdir}" -O1 --skip-build
cd $_name-$pkgver
python setup.py install --optimize=1 --root="$pkgdir"
install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}
install -Dm 644 CHANGES README -t "${pkgdir}"/usr/share/doc/${pkgname}
install -Dm 644 CHANGES README.md -t "${pkgdir}"/usr/share/doc/${pkgname}
}
# vim: ts=2 sw=2 et:

View File

@ -2,8 +2,8 @@
# Maintainer: Felix Yan <felixonmars@archlinux.org>
pkgname=python-zipp
pkgver=3.6.0
pkgrel=3
pkgver=3.7.0
pkgrel=1
pkgdesc="Pathlib-compatible object wrapper for zip files"
url="https://github.com/jaraco/zipp"
license=('MIT')
@ -12,7 +12,7 @@ depends=('python')
makedepends=('python-setuptools-scm' 'python-toml')
checkdepends=('python-jaraco' 'python-func-timeout')
source=("$pkgname-$pkgver.tar.gz::https://github.com/jaraco/zipp/archive/v$pkgver.tar.gz")
sha512sums=('143ad7fdf011d29deacbcd071127535050a66a9a960931066fd3e18d2c8a9fe497a7928d3829dbd869df0a3b6665c0026f9d7e59f4a5bb1cee238efa1aa7e3ae')
sha512sums=('3bbcd9a30548fa7537d8e9bebbfae1f6cf66ceb197d953511e2e105ea83fe53b9352d8228978dfe9bcecc2f07113e936aded79d84e67bc7f570801a4bc60747a')
export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver

View File

@ -2,8 +2,8 @@
# Maintainer: Antonio Rojas <arojas@archlinux.org>
pkgname=sip
pkgver=6.5.0
pkgrel=2
pkgver=6.5.1
pkgrel=1
arch=(x86_64 powerpc64le powerpc riscv64)
pkgdesc='A tool that makes it easy to create Python bindings for C and C++ libraries'
url='https://www.riverbankcomputing.com/software/sip/intro'
@ -12,7 +12,8 @@ depends=(python-toml python-packaging python-setuptools)
conflicts=(sip5)
replaces=(sip5)
source=(https://pypi.python.org/packages/source/s/sip/$pkgname-$pkgver.tar.gz)
sha256sums=('a1cf8431a8eb9392b3ff6dc61d832d0447bfdcae5b3e4256a5fa74dbc25b0734')
sha256sums=('204f0240db8999a749d638a987b351861843e69239b811ec3d1881412c3706a6')
options=(debug)
build() {
cd $pkgname-$pkgver