* sync python modules with main arch

This commit is contained in:
Alexander Baldeck 2020-11-16 16:23:10 +01:00
parent 1b03867551
commit 616e86d051
190 changed files with 424 additions and 332 deletions

View File

@ -8,7 +8,7 @@
pkgname=ansible-base
pkgver=2.10.3
pkgrel=2
pkgrel=3
pkgdesc='Radically simple IT automation platform'
arch=('any')
url='https://pypi.org/project/ansible-base/'

View File

@ -3,7 +3,7 @@
pkgname=ansible
pkgver=2.10.3
pkgrel=2
pkgrel=3
pkgdesc='Official assortment of Ansible collections'
arch=('any')
url='https://pypi.org/project/ansible/'

View File

@ -6,7 +6,7 @@
pkgbase=autopep8
pkgname=(autopep8 python2-autopep8)
pkgver=1.5.4
pkgrel=2
pkgrel=3
epoch=1
pkgdesc="A tool that automatically formats Python code to conform to the PEP 8 style guide"
arch=('any')

View File

@ -4,7 +4,7 @@
pkgname=blockdiag
pkgver=2.0.1
pkgrel=3
pkgrel=4
pkgdesc="blockdiag generates block-diagram image from text"
url="http://blockdiag.com"
license=('Apache')

View File

@ -7,7 +7,7 @@
pkgbase=flake8
pkgname=(flake8 python2-flake8)
pkgver=3.8.4
pkgrel=2
pkgrel=3
epoch=1
pkgdesc="The modular source code checker: pep8, pyflakes and co"
arch=('any')

View File

@ -3,7 +3,7 @@
pkgname=httpbin
pkgver=0.7.0
pkgrel=5
pkgrel=6
pkgdesc="HTTP Request and Response Service"
arch=('any')
url="https://github.com/requests/httpbin"

View File

@ -3,7 +3,7 @@
pkgname=pifpaf
pkgver=3.0.0
pkgrel=2
pkgrel=3
pkgdesc='Suite of tools and fixtures to manage daemons for testing'
arch=('any')
license=('Apache')

View File

@ -3,7 +3,7 @@
pkgname=pyalpm
pkgver=0.9.2
pkgrel=0
pkgrel=1
pkgdesc="Python 3 bindings for libalpm"
arch=(x86_64 powerpc64le)
url="https://gitlab.archlinux.org/archlinux/pyalpm"

View File

@ -5,7 +5,7 @@
pkgname=pybind11
pkgver=2.6.0
pkgrel=2
pkgrel=3
pkgdesc='A lightweight header-only library that exposes C++ types in Python and vice versa'
arch=('any')
url='https://pybind11.readthedocs.org/'

View File

@ -5,7 +5,7 @@
pkgname=pylama
pkgver=7.7.1
pkgrel=5
pkgrel=6
pkgdesc="Code audit tool for python"
arch=('any')
url="https://github.com/klen/pylama"

View File

@ -3,7 +3,7 @@
pkgname=python-aioresponses
pkgver=0.7.1
pkgrel=2
pkgrel=3
pkgdesc="A helper to mock/fake web requests in python aiohttp package."
url="https://github.com/pnuckowski/aioresponses"
license=('MIT')

View File

@ -5,7 +5,7 @@
pkgname=python-alembic
pkgver=1.4.3
pkgrel=2
pkgrel=3
pkgdesc='Lightweight database migration tool for usage with SQLAlchemy'
url='https://bitbucket.org/zzzeek/alembic'
arch=('any')
@ -13,13 +13,22 @@ license=('MIT')
depends=('python' 'python-mako' 'python-sqlalchemy' 'python-editor' 'python-dateutil')
makedepends=('python-setuptools' 'python-mako' 'python-sqlalchemy' 'python-editor' 'python-dateutil')
checkdepends=('python-pytest' 'python-mock')
source=(https://pypi.org/packages/source/a/alembic/alembic-${pkgver}.tar.gz{,.asc})
source=(https://pypi.org/packages/source/a/alembic/alembic-${pkgver}.tar.gz{,.asc}
$pkgname-pytest6.patch::https://github.com/sqlalchemy/alembic/commit/869094097654.patch)
sha512sums=('925d8957fd9008d041737a9e79ec8d7a4c5deba1976e980362d355a75348c1638d783d9d48234a5bc3b2dc3f2f09dcb281d0c80ae0f0c5bc32e176c3dfa05463'
'SKIP')
'SKIP'
'9ca880e30f837821c7b237bd9e7db16606817d039434358e8648507ecd94b8431e5e229dc2b208803fae9c4f6b56307a0e69b5ded827658aeb6a1e49d62144cf')
b2sums=('d9c8b6d6aebce7a45194dd6c654f4a2627714a5c1f7cb7a1cf80ed8c3fe861e3bb7857811128787ddd6c093b4370784b40cddb385cfbd30f6134d537fe949d2d'
'SKIP')
'SKIP'
'6a7a579307a951492191f880419d3e3a7e15bbc1e0c419898aae8ce3e2c342552aa1d82509c48db295c0ddd891b51c34156f030e7a8986c3eebff56647989840')
validpgpkeys=('83AF7ACE251C13E6BB7DEFBD330239C1C4DAFEE1') # Michael Bayer <classic@zzzcomputing.com>
prepare() {
cd alembic-${pkgver}
sed -n '/diff --git a\/alembic\/testing/,/elif/p' ../$pkgname-pytest6.patch |
patch -Np1
}
build() {
echo 'Building python...'
(cd alembic-${pkgver}

View File

@ -3,7 +3,7 @@
pkgname=python-aspectlib
pkgver=1.5.1
pkgrel=2
pkgrel=3
pkgdesc="Development library for quickly writing configurable applications and daemons"
arch=('any')
license=('BSD')
@ -15,6 +15,11 @@ checkdepends=('python-mock' 'python-tornado' 'python-process-tests'
source=("$pkgname-$pkgver.tar.gz::https://github.com/ionelmc/python-aspectlib/archive/v$pkgver.tar.gz")
sha512sums=('24e700a14096042f2382910eb1245a9b64d99670c8bd60e2df4afe41113e8f813633bae10c8c2487c52c556f537a77ee43f6672a00af1f05d2ed4a129a92332e')
prepare() {
cd python-aspectlib-$pkgver
sed -i 's/from _dummy_thread import allocate_lock/from _thread import allocate_lock/' src/aspectlib/test.py
}
build() {
cd python-aspectlib-$pkgver
python setup.py build

View File

@ -4,7 +4,7 @@
pkgname=python-astroid
pkgver=2.4.2
pkgrel=3
pkgrel=4
pkgdesc="Useful miscellaneous modules used by Logilab projects"
arch=('any')
url="https://github.com/PyCQA/astroid"
@ -14,11 +14,14 @@ makedepends=('python-setuptools')
checkdepends=('python-dateutil' 'python-pytest' 'python-numpy' 'python-nose' 'python-pytest-runner')
replaces=('python-logilab-astng')
conflicts=('python-logilab-astng')
source=(https://github.com/PyCQA/astroid/archive/astroid-$pkgver.tar.gz)
sha512sums=('5306428e55bb8fec388353844afb842638114d6163096d4eb4335ac488a88b7a09a03d143e3ea991ea07371d9d87e911578981e4d74e45f6b3819e389f227ba0')
source=(https://github.com/PyCQA/astroid/archive/astroid-$pkgver.tar.gz
$pkgname-py39-dict-union.patch::https://github.com/PyCQA/astroid/commit/d18469799108.patch)
sha512sums=('5306428e55bb8fec388353844afb842638114d6163096d4eb4335ac488a88b7a09a03d143e3ea991ea07371d9d87e911578981e4d74e45f6b3819e389f227ba0'
'86be5f3646201d19d56b7c6bd19b642462a5d76b4b6584ee53ef27883e3d69839774b19b3f7b767f3903426cb0f8c838e70f8a94e32c5fe2b9d86a76fd0e323b')
prepare() {
cd astroid-astroid-$pkgver
patch -Np1 -i ../$pkgname-py39-dict-union.patch
sed -i -e 's/six~=[0-9.*]*/six/;s/wrapt~=[0-9.*]*/wrapt/;s/lazy_object_proxy==[0-9.*]*/lazy_object_proxy/' astroid/__pkginfo__.py
}
@ -29,7 +32,8 @@ build() {
check() {
cd astroid-astroid-$pkgver
pytest
# Some tests fail on Python 3.9 (https://github.com/PyCQA/astroid/issues/845)
pytest -k 'not test_namedtuple_few_args and not test_namedtuple_few_fields and not test_namedtuple_inference_nonliteral and not test_dataclasses_subscript_inference_recursion_error'
}
package() {

View File

@ -4,7 +4,7 @@
pkgbase=python-automat
pkgname=('python-automat' 'python2-automat')
pkgver=20.2.0
pkgrel=3
pkgrel=4
arch=('any')
license=('MIT')
pkgdesc="Self-service finite-state machines for the programmer on the go."

View File

@ -4,9 +4,9 @@
# Contributor : Giedrius Slavinskas <giedrius25@gmail.com>
pkgname=python-babel
pkgver=2.8.0
pkgver=2.8.1
_core=36
pkgrel=5
pkgrel=2
pkgdesc="A collection of tools for internationalizing Python applications"
url="http://babel.pocoo.org/"
license=("BSD")
@ -18,7 +18,7 @@ noextract=("cldr-core-$_core.zip")
source=("$pkgname-$pkgver.tar.gz::https://github.com/python-babel/babel/archive/v$pkgver.tar.gz"
"cldr-core-$_core.zip::http://unicode.org/Public/cldr/$_core/core.zip"
"python-3.9.patch")
sha256sums=('2d4d29e73e85afd10ff260579303b5479b332eadc393663089dceb14ff6f8b9c'
sha256sums=('2324e41ffb439a83748813e54718574c094222bb32996d466958a7a3d6c23a47'
'07279e56c1f4266d140b907ef3ec379dce0a99542303a9628562ac5fe460ba43'
'13adbc61cf0c59f215f38cd5b1a4dc3c29f2e35c9e9d054f64a9f03308401b0a')
@ -37,7 +37,9 @@ build(){
check(){
cd "$srcdir/babel-$pkgver"
python setup.py pytest
# the tests fail if running in the wrong timezone:
# https://github.com/python-babel/babel/issues/757
TZ=UTC python setup.py pytest
}
package_python-babel() {

View File

@ -6,7 +6,7 @@
pkgname=python-bcrypt
pkgver=3.2.0
pkgrel=2
pkgrel=3
pkgdesc="Modern password hashing for your software and your servers"
arch=(x86_64 powerpc64le)
url="https://github.com/pyca/bcrypt"

View File

@ -1,5 +1,4 @@
# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
# Maintainer: Felix Yan <felixonmars@archlinux.org>
# Contributor: Richard Murri <admin@richardmurri.com>
# Contributor: Farhad Shahbazi <farhad@enthusiasm.cc>
@ -7,7 +6,7 @@
pkgbase=python-bottle
pkgname=("python-bottle" "python2-bottle")
pkgver=0.12.18
pkgver=0.12.19
pkgrel=2
pkgdesc="A fast and simple micro-framework for small web-applications"
arch=(any)
@ -18,7 +17,7 @@ makedepends=('python-setuptools' 'python2-setuptools' 'git')
checkdepends=('python-mako' 'python-jinja' 'python-cherrypy' 'python-twisted'
'python-tornado' 'python-paste' 'python-gevent' 'python-eventlet')
source=("$pkgname-$pkgver.tar.gz::https://github.com/defnull/bottle/archive/$pkgver.tar.gz")
sha512sums=('90759ecd94dd489a1e66b2ddfadc0a0bbb88bf1b0c666e292f2466a88b9b0195fe3679928683ca58af94b0bbfa4f815269f6497477db51229cc7250b705e73ed')
sha512sums=('58f2510c9982867b4a8aec217a3aefd7784e2384176b13ab3d2558a838e9af88563ceaa5bdbad675c5086a995d034c20146b146b6bd35505357fd8557dc3dd09')
prepare() {
cp -a bottle-$pkgver{,-py2}

View File

@ -3,7 +3,7 @@
pkgname=python-brotlipy
pkgver=0.7.0
pkgrel=7
pkgrel=8
pkgdesc='Python binding to the Brotli library'
arch=(x86_64 powerpc64le)
license=('MIT')

View File

@ -5,7 +5,7 @@
pkgname=python-cairocffi
pkgver=1.2.0
pkgrel=2
pkgrel=3
pkgdesc="cairocffi is a CFFI-based drop-in replacement for Pycairo, a set of Python bindings and object-oriented API for cairo."
arch=('any')
url="https://cairocffi.readthedocs.io/"

View File

@ -5,7 +5,7 @@
pkgname=python-cairosvg
_pkgname=CairoSVG
pkgver=2.5.0
pkgrel=2
pkgrel=3
pkgdesc='SVG converter based on Cairo. It can export SVG files to PDF, PostScript and PNG files'
arch=('any')
url='https://cairosvg.org'

View File

@ -5,7 +5,7 @@
pkgbase=python-cffi
pkgname=(python-cffi python2-cffi)
pkgver=1.14.3
pkgrel=2
pkgrel=3
pkgdesc="Foreign Function Interface for Python calling C code"
arch=(x86_64 powerpc64le)
url="https://cffi.readthedocs.org/"

View File

@ -6,15 +6,15 @@ pkgbase='python-cheroot'
_pkgbase="${pkgbase//python-/}"
pkgname=('python-cheroot' 'python2-cheroot')
pkgdesc="Highly-optimized, pure-python HTTP server"
pkgver=8.4.5
pkgrel=2
pkgver=8.4.7
pkgrel=4
arch=('any')
url="https://github.com/cherrypy/cheroot"
license=('MIT')
makedepends=('python-six' 'python2-six' 'python-setuptools-scm'
'python2-setuptools-scm' 'python2-backports.functools_lru_cache'
'python2-backports.unittest_mock' 'tree' 'python-tox' 'python2-tox'
'python-jaraco' 'git')
'python-jaraco' 'python2-jaraco' 'git')
checkdepends=('python-pytest' 'python-pytest-xdist'
'python-requests' 'python-pyopenssl' 'python-trustme'
'python2-pytest' 'python2-pytest-xdist'
@ -23,7 +23,7 @@ source=("https://files.pythonhosted.org/packages/source/${_pkgbase:0:1}/${_pkgba
"LICENSE"
"disable-broken-tests.patch"
"disable-broken-testmon-stuff.patch")
sha512sums=('2e8c84a67e24772dfeea7fbb397807e6553912d32392c393ec85181ccb381b1f4d3e38cc2366710a5c789869cbc6d15a79bd1b20b6d3845e5c08496b4f4b0e9e'
sha512sums=('53702ae6a88418ea50b1115ab70c4bd357529af6010d9a1f986058a428b02f4711b33ef92c4d0e09def56cbccc59a9ebc5d71e7076517d78174132723871fe03'
'1106afed483b7258e4ae89c5d9459c3834412b31aac90169725ed62d2ab44f61f6f79e894d4c9e4d8bd99e14530ab778df2187784f0b25eaab86d312fad68944'
'488766eeb0ce4e1c95e1848a4d89aeb190317c634b2894dcc696cb4af64bae748554154ea76cc34cf0b666d507c42e631d0e8759a6ed7669fe49bf7f8ef5b9a9'
'67d81874da0f0dca04356155f849908e187c2cf8c268f477c4a3d30c767cc485bc33c6358507f97477a2f630df44deb3f39dbd9a6c38bb28c7cd222bb556226d')
@ -77,7 +77,8 @@ package_python-cheroot() {
package_python2-cheroot() {
depends=('python2-six' 'python2-backports.functools_lru_cache'
'python2-backports.unittest_mock')
'python2-backports.unittest_mock' 'python2-selectors2'
'python2-jaraco')
cd "${srcdir}/${_pkgbase}-${pkgver}-py2"
python2 setup.py install --root="$pkgdir/" --optimize=1

View File

@ -10,7 +10,7 @@
pkgname='python-cherrypy'
_pkgname="${pkgname#python-}"
pkgver=18.6.0
pkgrel=2
pkgrel=4
pkgdesc='A pythonic, object-oriented web development framework'
arch=('any')
url='https://cherrypy.org'
@ -27,10 +27,12 @@ source=(
"${pkgname}-${pkgver}.tar.gz::https://github.com/${_pkgname}/${_pkgname}/archive/v$pkgver.tar.gz"
'disable-sessiontest-file_concurrency.patch'
'disable-broken-testCombinedTools.patch' # https://github.com/cherrypy/cherrypy/issues/1849
'disable-broken-ServerStateTests.test_2_KeyboardInterrupt.patch' # https://github.com/cherrypy/cherrypy/issues/1873
)
sha512sums=('d39e9529e4872437c6d94609561820f4946f00c8ded5aa857facbd2c48e0bafb5a4b70368ad72899dad12593a4f8ea86003c1da62c763d6de0181ef24573c465'
'e8abb7e3f8a064a0da529fcaf393dff305541bc273b539f3129b119d506be3be8cd67894dd4223e067b4dd8b55df8adc5d4feddb8d87188c9e528670c39e252f'
'8160f7a0e43042c233af22712641724bbaff63d603b31eb3f058c810d2b8f1ca0f5a4666464e4492457bb665ebe0eb5da55bc7e8158e36968f5ccb08ad641733')
'8160f7a0e43042c233af22712641724bbaff63d603b31eb3f058c810d2b8f1ca0f5a4666464e4492457bb665ebe0eb5da55bc7e8158e36968f5ccb08ad641733'
'60ba651c113ecf32e865a40b9361dbe176200274f2b3f40f6d17cbea3d4a868dc2eaf6088906230417c423969ce9692c10ae1f2e0f045571e5c443b53d4e07ca')
prepare() {
cd "${srcdir}/${_pkgname}-${pkgver}"

View File

@ -3,7 +3,7 @@
# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
pkgname=python-cliff
pkgver=3.4.0
pkgver=3.5.0
pkgrel=2
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=('ccfb8f27083a349a6cd6c53a22bd15bf2a953f44467118cbc43a9cee6f2ce6e2bde949e6376b769940619240508a0cd54561823d5ce469809f22f03a6a806f45')
sha512sums=('8cae98e70495f988fad4b54e1edd23955149fce705aa59b31ae96bc8cd6899c6ee111148036d714c593471d374def4202fcb564e29933dd53590a4e94216ebda')
export PBR_VERSION=$pkgver

View File

@ -3,8 +3,8 @@
# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
pkgname=python-cmd2
pkgver=1.3.11
pkgrel=3
pkgver=1.4.0
pkgrel=1
pkgdesc="A tool for building interactive command line apps"
arch=('any')
url="https://github.com/python-cmd2/cmd2"
@ -13,7 +13,7 @@ depends=('python-attrs' 'python-colorama' 'python-pyperclip' 'python-wcwidth')
makedepends=('python-setuptools-scm')
checkdepends=('python-pytest-runner' 'python-pytest-xdist' 'python-pytest-mock' 'vi')
source=("$pkgname-$pkgver.tar.gz::https://github.com/python-cmd2/cmd2/archive/$pkgver.tar.gz")
sha512sums=('30319ccc68b66b9d98b92f29dea7466f8e8321caa87118f169e0b5e3e05764f8ba37cfa206a883442852b1fac4e9fe67857248fd6946303beede0f1a4a6cc2a3')
sha512sums=('7e4f44e1d02bb30a6f7ffe3e5ac5714c584b185ae5e53998ad68bf8a79c8b837df169c62d9b57a093c979f1e1b392859e800c1d14510af5f29e542aaa8a93d5e')
export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver

View File

@ -3,7 +3,7 @@
pkgname=python-commentjson
pkgver=0.9.0
pkgrel=2
pkgrel=3
pkgdesc="Add Python and JavaScript style comments in your JSON files"
url="https://github.com/vaidik/commentjson"
license=('MIT')

View File

@ -3,7 +3,7 @@
pkgname=python-cryptography-vectors
pkgver=3.2.1
pkgrel=2
pkgrel=3
pkgdesc="Test vectors for the cryptography package"
arch=('any')
license=('Apache')

View File

@ -4,7 +4,7 @@
pkgbase=python-cryptography
pkgname=('python-cryptography' 'python2-cryptography')
pkgver=3.2.1
pkgrel=2
pkgrel=3
pkgdesc="A package designed to expose cryptographic recipes and primitives to Python developers"
arch=(x86_64 powerpc64le)
license=('Apache')

View File

@ -4,18 +4,22 @@
# Contributor: Kyle Keen <keenerd@gmail.com>
pkgname=python-cssselect2
pkgver=0.3.0
pkgrel=2
pkgver=0.4.1
pkgrel=1
pkgdesc="CSS selectors for Python ElementTree"
url="https://pypi.org/project/cssselect2/"
license=('BSD')
arch=('any')
depends=('python-tinycss2')
makedepends=('python-setuptools')
checkdepends=('python-pytest-flake8' 'python-pytest-cov' 'python-pytest-isort'
'python-pytest-runner')
checkdepends=('python-pytest-cov' 'python-pytest-isort' 'python-pytest-runner')
source=("https://pypi.io/packages/source/c/cssselect2/cssselect2-$pkgver.tar.gz")
sha512sums=('ae59314654d1c1ddf982b77521de7743d1496145a1367f51e02b6067d6757940e7ccb50b67959630f472972473a1e87cec8dfbc8eeb68ad5f16465a36b1447be')
sha512sums=('feafeec3dbe3157ee452d94cd391a09cfcb48ca8bd1563c117c77c9ceb01102c4989611ede39e433ec25d3ddda98a94c4589ccb290b79c729683e673763b42ac')
prepare() {
cd cssselect2-$pkgver
sed -i 's/--flake8//' pyproject.toml
}
build() {
cd cssselect2-$pkgver
@ -24,7 +28,7 @@ build() {
check() {
cd cssselect2-$pkgver
python setup.py pytest
pytest
}
package() {

View File

@ -3,7 +3,7 @@
pkgname=python-csv23
pkgver=0.3.2
pkgrel=3
pkgrel=4
pkgdesc="Python 3 unicode CSV compatibility layer"
url="https://github.com/xflr6/csv23"
license=('MIT')

View File

@ -3,7 +3,7 @@
pkgname=python-curio
pkgver=1.4
pkgrel=2
pkgrel=3
pkgdesc='Concurrent I/O'
arch=(any)
url=https://github.com/dabeaz/curio

View File

@ -3,7 +3,7 @@
pkgname=python-ddt
pkgver=1.4.1
pkgrel=2
pkgrel=3
pkgdesc="Data-Driven/Decorated Tests"
arch=('any')
license=('MIT')

View File

@ -3,7 +3,7 @@
pkgname=python-debtcollector
pkgver=2.2.0
pkgrel=2
pkgrel=3
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'

View File

@ -3,8 +3,8 @@
_pkgname=dephell_pythons
pkgname=python-dephell-pythons
pkgver=0.1.14
pkgrel=3
pkgver=0.1.15
pkgrel=2
pkgdesc="Work with python versions"
arch=('any')
url="https://github.com/dephell/${_pkgname}"
@ -12,9 +12,17 @@ license=('MIT')
depends=('python-attrs' 'python-dephell-specifier' 'python-packaging')
makedepends=('python-setuptools')
checkdepends=('python-pytest')
source=("https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz")
sha256sums=('a2da1ba905084f0935392be6e1fee019b98f45439429e45278a181174cff93a9')
b2sums=('e705f239cea702690607409e45ab766c4766ea13c3c3b2854b3ccddb33a40f9cacf70a744dc8a2339f86070045eba12f9b4e3292eb39d4ad893550d841262151')
source=("https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz"
py39.patch)
sha256sums=('804c29afa2147322aa23e791f591d0204fd1e9983afa7d91e1d1452fc7be1c5c'
'f12e9736ef37020e8d2883a450b184922dc5beddd953eeca68fae2d0a335fd3c')
b2sums=('49a892c221b188407938d0254e7336a9d63697acb6106fb82ecbaef2ce7e81b62a1570431ec0a064d58562e359045406ec206bcd0590548f3afa82153b05b06e'
'3a0ae636ffd37dd3e7b5aeb0d6d9209328606b50e02a1684b021854e609ad59f98805ef665e94b223d52cd3bdb8a08c62eade57539d8a6dd9c19fcc097271ff4')
prepare() {
cd "${srcdir}"/${_pkgname}-${pkgver}
patch -Np1 -i ../py39.patch
}
build(){
cd "${srcdir}"/${_pkgname}-${pkgver}

View File

@ -5,7 +5,7 @@
pkgbase=python-distro
pkgname=('python-distro' 'python2-distro')
pkgver=1.5.0
pkgrel=2
pkgrel=3
pkgdesc='Linux OS platform information API'
url='https://github.com/nir0s/distro'
arch=('any')

View File

@ -8,7 +8,7 @@
pkgname=python-docker
pkgver=4.3.1
pkgrel=2
pkgrel=3
pkgdesc="A Python library for the Docker Engine API"
arch=('any')
url="https://github.com/docker/docker-py"

View File

@ -4,7 +4,7 @@
pkgname=python-doctest-ignore-unicode
pkgver=0.1.2
_commit=ee9412fd155ebf47c42974696d31e6a1510cffa0
pkgrel=2
pkgrel=3
pkgdesc="Nose plugin to ignore unicode literal prefixes in doctests"
arch=(any)
url="https://github.com/gnublade/doctest-ignore-unicode"

View File

@ -3,7 +3,7 @@
pkgname=python-dogpile.cache
pkgver=1.0.2
pkgrel=2
pkgrel=3
pkgdesc="A caching front-end based on the Dogpile lock"
arch=('any')
url="https://pypi.python.org/pypi/dogpile.cache"
@ -12,8 +12,15 @@ depends=('python-decorator' 'python-stevedore')
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=('b49e9005916636aff0a25b9158923ea9362b3edf1f42704d06e65b14892d0cdb6b1da7d620f10d752efb1ae1987a9187b0f642cc30d07de3fc961921e1794a87')
source=("https://pypi.io/packages/source/d/dogpile.cache/dogpile.cache-$pkgver.tar.gz"
$pkgname-pytest6.patch::https://github.com/sqlalchemy/dogpile.cache/commit/625f73ce189b.patch)
sha512sums=('b49e9005916636aff0a25b9158923ea9362b3edf1f42704d06e65b14892d0cdb6b1da7d620f10d752efb1ae1987a9187b0f642cc30d07de3fc961921e1794a87'
'55a7dee9eaa079f4267120999be27b099467b4fb32f2fe1b3748d569477fa0521b4418378c3aeb5a409e46c1cacbedb9d15270e3838f3ff16bf78e66bd225a22')
prepare() {
cd dogpile.cache-$pkgver
patch -Np1 -i ../$pkgname-pytest6.patch
}
build() {
cd dogpile.cache-$pkgver

View File

@ -3,7 +3,7 @@
pkgname=python-dpcontracts
pkgver=0.6.0
pkgrel=6
pkgrel=7
pkgdesc="A simple implementation of contracts for Python"
url="https://github.com/deadpixi/contracts"
license=('LGPL')

View File

@ -4,8 +4,8 @@
pkgbase=python-ecdsa
pkgname=('python-ecdsa' 'python2-ecdsa')
pkgver=0.16.0
pkgrel=4
pkgver=0.16.1
pkgrel=1
pkgdesc="Implementation of ECDSA in Python"
arch=('any')
url="https://github.com/warner/python-ecdsa"
@ -14,7 +14,7 @@ makedepends=('python-setuptools' 'python2-setuptools')
checkdepends=('python-pytest' 'python-hypothesis')
options=(!emptydirs)
source=("https://files.pythonhosted.org/packages/source/e/ecdsa/ecdsa-$pkgver.tar.gz" "LICENSE")
sha512sums=('94ccefe19899a5e56393bb0e6624e9af66bdc60ad370d65900a24a0465c430a3a001ed9c25970e48834cb25ca730bc9279af98d17ecd3ad66189c64c8f864b42'
sha512sums=('935416ff25a71b1e6fe442b11e8d2c1463b1652d539274e094112a4847c2c749ff58eb9f5ed108ed5613b7363d3f2b1c07ba3d01af8cfed4e1b4bec407d3f5a6'
'5519af4e81ecb681e2ef1a26602efed1640d6e3bf100d8c492dd4bbce4dba75de6a5a308115ff78a8dcd5d428630a92dd88fe9abfaeed04cd066b3f4d288b219')
build() {

View File

@ -4,7 +4,7 @@
pkgname=python-email-validator
pkgver=1.1.2
pkgrel=2
pkgrel=3
pkgdesc="A robust email syntax and deliverability validation library for Python 2.x/3.x."
arch=('any')
url="https://github.com/JoshData/python-email-validator"

View File

@ -5,7 +5,7 @@
pkgname=python-factory-boy
pkgver=3.1.0
pkgrel=2
pkgrel=3
pkgdesc="A versatile test fixtures replacement based on thoughtbot's factory_bot for Ruby"
url="https://github.com/FactoryBoy/factory_boy"
license=('MIT')

View File

@ -5,7 +5,7 @@
pkgname=python-faker
pkgver=4.14.2
pkgrel=2
pkgrel=3
pkgdesc='Faker generates fake data for you.'
arch=('any')
url='https://faker.readthedocs.io/en/master/'

View File

@ -4,7 +4,7 @@
pkgbase=python-flaky
pkgname=('python-flaky' 'python2-flaky')
pkgver=3.7.0
pkgrel=2
pkgrel=3
pkgdesc='Plugin for nose or py.test that automatically reruns flaky tests'
arch=('any')
license=('Apache')

View File

@ -5,10 +5,10 @@
pkgname=python-flasgger
pkgver=0.9.5
pkgrel=2
pkgrel=3
pkgdesc="Extract swagger specs from your flask project"
url="https://github.com/flasgger/flasgger"
license=('PerlArtistic')
license=('MIT')
arch=('any')
depends=('python-flask' 'python-yaml' 'python-jsonschema' 'python-mistune' 'python-six')
makedepends=('python-setuptools')
@ -17,6 +17,12 @@ checkdepends=('python-pytest' 'python-flex' 'python-marshmallow' 'python-decorat
source=("$pkgname-$pkgver.tar.gz::https://github.com/flasgger/flasgger/archive/$pkgver.tar.gz")
sha512sums=('d785c272a3d2fc4753ceb061587fff1db2ec726fe7cea7b0ec723a56f2f1f6296545f52249a08a1ae042e2c002c88eb2d9442928c53b00345bdde82442149fae')
prepare() {
cd flasgger-$pkgver
# apispec 4
sed -i 's/schema2parameters(v)/schema2parameters(v, location="body")/' flasgger/marshmallow_apispec.py
}
build() {
cd flasgger-$pkgver
python setup.py build

View File

@ -3,7 +3,7 @@
pkgname=python-flask-restful
pkgver=0.3.8
pkgrel=2
pkgrel=3
pkgdesc="Simple framework for creating REST APIs"
url="https://github.com/flask-restful/flask-restful"
license=('BSD')

View File

@ -6,7 +6,7 @@
_pyname=flask-sqlalchemy
pkgname=python-flask-sqlalchemy
pkgver=2.4.4
pkgrel=2
pkgrel=3
pkgdesc='Adds SQLAlchemy support to your Flask application'
url='http://flask-sqlalchemy.pocoo.org/'
arch=('any')

View File

@ -6,7 +6,7 @@
pkgname=python-flask
pkgver=1.1.2
pkgrel=3
pkgrel=4
pkgdesc='Micro webdevelopment framework for Python'
url='http://flask.pocoo.org/'
arch=('any')

View File

@ -3,7 +3,7 @@
pkgname=python-flexmock
pkgver=0.10.4
pkgrel=5
pkgrel=6
pkgdesc="Mock/Stub/Spy library for Python"
arch=('any')
license=('BSD')

View File

@ -3,7 +3,7 @@
pkgname=python-flup
pkgver=1.0.3
pkgrel=5
pkgrel=6
pkgdesc="Random assortment of WSGI servers"
url="https://www.saddi.com/software/flup/"
license=('BSD')

View File

@ -5,7 +5,7 @@
pkgname=python-fonttools
pkgver=4.16.1
pkgrel=2
pkgrel=3
pkgdesc="A library to manipulate font files from Python"
url="https://github.com/fonttools/fonttools"
license=("MIT")

View File

@ -4,7 +4,7 @@
pkgbase=python-freezegun
pkgname=('python-freezegun' 'python2-freezegun')
pkgver=0.3.15
pkgrel=2
pkgrel=3
pkgdesc="Let your Python tests travel through time"
arch=('any')
license=('Apache')

View File

@ -3,7 +3,7 @@
pkgname=python-fs
pkgver=2.4.11
pkgrel=2
pkgrel=3
pkgdesc="Filesystem abstraction layer"
arch=('any')
license=('BSD')
@ -11,8 +11,14 @@ url="https://pypi.python.org/pypi/fs/"
depends=('python-appdirs' 'python-pytz' 'python-setuptools' 'python-six')
checkdepends=('python-pytest-runner' 'fuse2' 'python-mock' 'python-pyftpdlib' 'python-psutil'
'python-pysendfile')
source=("$pkgname-$pkgver.tar.gz::https://github.com/PyFilesystem/pyfilesystem2/archive/v$pkgver.tar.gz")
sha512sums=('fe4596bf213f9b1721cd3c665e6af180d6617eea07afbaa9d83847dc3f7dfe64bca16c8ccb337d48bbb49bf0d2fef90903e3c4aecc63f61faac6a2b6f6c59cf6')
source=("$pkgname-$pkgver.tar.gz::https://github.com/PyFilesystem/pyfilesystem2/archive/v$pkgver.tar.gz"
$pkgname-python3.9.patch::https://github.com/PyFilesystem/pyfilesystem2/pull/424.patch)
sha512sums=('fe4596bf213f9b1721cd3c665e6af180d6617eea07afbaa9d83847dc3f7dfe64bca16c8ccb337d48bbb49bf0d2fef90903e3c4aecc63f61faac6a2b6f6c59cf6'
'2d1088f46174700ef36d0759993650feccdbd231830d316fdda6dd8fd03e4831ba009cc37a3ed19a6ae1a3cbb6fcce292212b56cdbe87fd3d2af261de4648120')
prepare() {
patch -d pyfilesystem2-$pkgver -p1 < $pkgname-python3.9.patch || :
}
build() {
cd pyfilesystem2-$pkgver

View File

@ -3,7 +3,7 @@
pkgname=python-func-timeout
pkgver=4.3.5
pkgrel=2
pkgrel=3
pkgdesc="Python module which allows you to specify timeouts when calling any existing function. Also provides support for stoppable-threads"
url="https://github.com/kata198/func_timeout"
license=('LGPL')

View File

@ -4,7 +4,7 @@
pkgname=python-gcp-devrel-py-tools
pkgver=0.0.16
_commit=dbc02f5ec965a6672d47a0e8963365970d96db17
pkgrel=2
pkgrel=3
pkgdesc='Tools for Cloud Platform Python libraries and samples'
arch=('any')
license=('Apache')

View File

@ -1,50 +1,33 @@
# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
# Maintainer : Eli Schwartz <eschwartz@archlinux.org>
pkgname=(python-genshi python2-genshi)
pkgver=0.7.3
pkgrel=3
pkgname=python-genshi
pkgver=0.7.4
pkgrel=2
pkgdesc="Python toolkit for stream-based generation of output for the web."
arch=('any')
url="https://genshi.edgewall.org/"
license=("BSD")
arch=(x86_64 powerpc64le)
makedepends=('python-setuptools' 'python2-setuptools')
source=("https://github.com/edgewall/genshi/archive/${pkgver}.tar.gz")
sha256sums=('6b6992618069d9535ec5ee42087ab04846e6df9bba8283157843ceb516ca85b5')
prepare() {
# uses 2to3 so need to build python2/python3 in separate dirs
cp -a "${srcdir}"/genshi-${pkgver}{,-py2}
}
depends=('python')
makedepends=('python-setuptools')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/edgewall/genshi/archive/${pkgver}.tar.gz")
sha256sums=('864d7dc47635950809639b13ad5d604984702fca335565636284cc6af478f454')
build() {
cd "${srcdir}"/genshi-${pkgver}
python setup.py build
cd "${srcdir}"/genshi-${pkgver}-py2
python2 setup.py build
python setup.py build
}
check() {
cd "${srcdir}"/genshi-${pkgver}
python setup.py test
cd "${srcdir}"/genshi-${pkgver}-py2
python2 setup.py test
python setup.py test
}
package_python-genshi() {
depends=('python')
package() {
cd "${srcdir}"/genshi-${pkgver}
python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
install -Dm644 COPYING "${pkgdir}"/usr/share/licenses/${pkgname}/COPYING
}
package_python2-genshi() {
depends=('python2')
cd "${srcdir}"/genshi-${pkgver}-py2
python2 setup.py install --root="${pkgdir}" --optimize=1 --skip-build
install -Dm644 COPYING "${pkgdir}"/usr/share/licenses/${pkgname}/COPYING
}

View File

@ -6,7 +6,7 @@
pkgbase=python-gevent
pkgname=(python-gevent python2-gevent)
pkgver=20.9.0
pkgrel=2
pkgrel=3
arch=(x86_64 powerpc64le)
pkgdesc="Python network library that uses greenlet and libev for easy and scalable concurrency"
license=("MIT")

View File

@ -4,7 +4,7 @@
pkgname=python-glanceclient
pkgver=3.2.2
pkgrel=2
pkgrel=3
pkgdesc="OpenStack Image API Client Library"
arch=('any')
url="https://docs.openstack.org/developer/python-glanceclient"

View File

@ -4,7 +4,7 @@
pkgname=python-google-api-core
pkgver=1.22.4
pkgrel=2
pkgrel=3
pkgdesc="Google API client core library"
arch=('any')
url="https://github.com/googleapis/googleapis"

View File

@ -4,7 +4,7 @@
pkgname=python-google-api-python-client
pkgver=1.12.3
pkgrel=2
pkgrel=3
pkgdesc="Google API Client Library for Python"
arch=('any')
url="https://github.com/google/google-api-python-client"

View File

@ -3,7 +3,7 @@
pkgname=python-google-auth-httplib2
pkgver=0.0.4
pkgrel=2
pkgrel=3
pkgdesc="Google Authentication Library: httplib2 transport"
url="https://github.com/GoogleCloudPlatform/google-auth-library-python-httplib2"
license=('Apache')

View File

@ -3,7 +3,7 @@
pkgname=python-google-auth
pkgver=1.23.0
pkgrel=2
pkgrel=3
pkgdesc="Google Authentication Library"
url="https://github.com/GoogleCloudPlatform/google-auth-library-python"
license=('Apache')

View File

@ -4,7 +4,7 @@
_pkgname=graphviz
pkgname=python-graphviz
pkgver=0.14.2
pkgrel=2
pkgrel=3
pkgdesc="Simple Python interface for Graphviz"
arch=('any')
url="https://github.com/xflr6/${_pkgname}"

View File

@ -2,17 +2,17 @@
# Maintainer: Felix Yan <felixonmars@archlinux.org>
pkgname=python-hacking
pkgver=3.2.0
pkgrel=2
pkgver=4.0.0
pkgrel=1
arch=('any')
pkgdesc='OpenStack Hacking Guideline Enforcement'
url='https://docs.openstack.org/developer/hacking'
license=('Apache')
depends=('flake8')
makedepends=('python-pbr' 'python-setuptools')
checkdepends=('python-oslotest')
checkdepends=('python-ddt' 'python-oslotest')
source=("$pkgname-$pkgver.tar.gz::https://github.com/openstack/hacking/archive/$pkgver.tar.gz")
sha512sums=('199a5320aa7362cc9aea8993d3816fe94710a5618e9052850ed990b03ca407417faf8ee5076acccf2f90ef7ad1232e3925dca9146b648d2bde5bfea5cb6e3d19')
sha512sums=('2006fd222a8ca6047fde5d66bb3dc91b366179d4e508e84ca789e2d4853cbc7405f29133e30c6333e93c7c5fc991be4dac0cda91dd60e475e64c45af5cc7fb87')
export PBR_VERSION=$pkgver

View File

@ -4,7 +4,7 @@
pkgname=python-hypothesis-auto
pkgver=1.1.4
_commit=4ed588ab631d6c44c8959334a3425a8c0d207eff
pkgrel=2
pkgrel=3
pkgdesc="Extends Hypothesis to add fully automatic testing of type annotated functions"
url="https://github.com/timothycrosley/hypothesis-auto"
license=('MIT')

View File

@ -3,7 +3,7 @@
pkgname=python-hypothesis
pkgver=5.41.2
pkgrel=3
pkgrel=4
pkgdesc="Advanced Quickcheck style testing library for Python"
arch=('any')
license=('MPL')
@ -47,4 +47,7 @@ check() {
package() {
cd hypothesis-$pkgver/hypothesis-python
python setup.py install --root="$pkgdir" --optimize=1
# It's only present when tests are enabled, so adding -f
rm -rf "$pkgdir"/usr/lib/python3.9/site-packages/tests
}

View File

@ -2,9 +2,8 @@
# Maintainer: Felix Yan <felixonmars@archlinux.org>
pkgname=python-hypothesmith
pkgver=0.1.6
_commit=40947c2e590f06ea5f3b88c6e75d8a98e9443c63
pkgrel=2
pkgver=0.1.7
pkgrel=1
pkgdesc="Hypothesis strategies for generating Python programs, something like CSmith"
url="https://github.com/Zac-HD/hypothesmith"
license=('MPL')
@ -12,20 +11,20 @@ arch=('any')
depends=('python-hypothesis' 'python-lark-parser' 'python-libcst')
makedepends=('python-setuptools')
checkdepends=('python-black' 'python-parso' 'python-pytest-cov')
source=("https://github.com/Zac-HD/hypothesmith/archive/$_commit/$pkgname-$_commit.tar.gz")
sha512sums=('c93341aaa3397c46331474b6b5b48efab1b50a8cf4e7359b77fa60c9e4952341fc0e8a8c3becca44599ef9b5ed05748072a0022ba79def82a2b78e0dd44e165d')
source=("https://pypi.io/packages/source/h/hypothesmith/hypothesmith-$pkgver.tar.gz")
sha512sums=('2cd24ad00489c086f9ed687ba3824216628d66c7f3eac7dc36f13117110d9a8f9e791a4be0ee7987aa1bd04d6593ccff000d3e6cc7776b905dfdda79ce20cb71')
build() {
cd hypothesmith-$_commit
cd hypothesmith-$pkgver
python setup.py build
}
check() {
cd hypothesmith-$_commit
cd hypothesmith-$pkgver
PYTHONPATH="$PWD/build/lib" pytest
}
package() {
cd hypothesmith-$_commit
cd hypothesmith-$pkgver
python setup.py install --root="$pkgdir" --optimize=1
}

View File

@ -4,7 +4,7 @@
pkgbase=python-importlib-metadata
pkgname=(python-importlib-metadata python2-importlib-metadata)
pkgver=2.0.0
pkgrel=2
pkgrel=3
pkgdesc="Read metadata from Python packages"
url="https://importlib-metadata.readthedocs.io"
license=('Apache')

View File

@ -3,7 +3,7 @@
pkgname=python-iocapture
pkgver=0.1.2
pkgrel=7
pkgrel=8
pkgdesc="Capture stdout, stderr easily"
arch=('any')
license=('MIT')

View File

@ -4,7 +4,7 @@
pkgname=python-isort
pkgver=5.6.4
pkgrel=2
pkgrel=3
pkgdesc="A Python utility / library to sort Python imports."
arch=('any')
url="https://github.com/timothycrosley/isort"
@ -14,11 +14,14 @@ makedepends=('python-dephell')
checkdepends=('git' 'pylama' 'python-black' 'python-hypothesis-auto' 'python-hypothesmith'
'python-libcst' 'python-pip' 'python-pip-api' 'python-pipreqs' 'python-pytest'
'python-pytest-mock' 'python-requirementslib')
source=("https://github.com/timothycrosley/isort/archive/$pkgver/$pkgname-$pkgver.tar.gz")
sha512sums=('11a8eade92c5ef59ca2f15ed0ca5b965d088bb3951e14ae6470c016df1e0cf8d74e15689e9deae8b1fd131ddee62c7ddc4e86dfe7d491ac2c7f8237151abdc13')
source=("https://github.com/timothycrosley/isort/archive/$pkgver/$pkgname-$pkgver.tar.gz"
$pkgname-ignore-tmuxp.patch::https://github.com/PyCQA/isort/commit/7c2cb61e7ce2200a99f6852532e1f40f502d4e2c.patch)
sha512sums=('11a8eade92c5ef59ca2f15ed0ca5b965d088bb3951e14ae6470c016df1e0cf8d74e15689e9deae8b1fd131ddee62c7ddc4e86dfe7d491ac2c7f8237151abdc13'
'e578da287361a4bd971c959888effd2d50c1128633520305f9c5607162fbe9fca184cd6fb345ef8f04cc1cef0b68d60cde8b1350266f4d8f731c4f4812196fe9')
prepare() {
cd isort-$pkgver
patch -p1 -i ../$pkgname-ignore-tmuxp.patch
# Devendor toml
rm -r isort/_vendored

View File

@ -3,7 +3,7 @@
pkgname=python-jaraco.envs
pkgver=2.0.0
pkgrel=3
pkgrel=4
pkgdesc="Classes for orchestrating Python (virtual) environments"
url="https://github.com/jaraco/jaraco.envs"
license=('MIT')

View File

@ -4,7 +4,7 @@
pkgname=python-js2py
pkgver=0.70
_commit=55d6bf39ba75e4e5bea2ec2df9a1314148323046
pkgrel=2
pkgrel=3
pkgdesc="JavaScript to Python Translator & JavaScript interpreter written in 100% pure Python"
url="https://github.com/PiotrDabkowski/Js2Py"
license=('MIT')

View File

@ -6,7 +6,7 @@
pkgname=python-jsonschema
pkgver=3.2.0
pkgrel=3
pkgrel=4
pkgdesc="An implementation of JSON Schema validation for Python"
arch=('any')
url="https://pypi.python.org/pypi/jsonschema"
@ -15,11 +15,18 @@ depends=('python-attrs' 'python-importlib-metadata' 'python-pyrsistent' 'python-
makedepends=('python-setuptools-scm')
checkdepends=('python-twisted' 'python-idna' 'python-jsonpointer' 'python-strict-rfc3339'
'python-rfc3987' 'python-webcolors')
source=("$pkgname-$pkgver.tar.bz2::https://github.com/Julian/jsonschema/archive/v$pkgver.tar.gz")
sha512sums=('a575e9e7b0668220854e7ae45f2afd433643c3f0bfeb9769413cfc072ae01513a8d97bddbb6317f42348e09081e72bbad801d00ee5e3c0ac840bd19e934955cd')
source=("$pkgname-$pkgver.tar.bz2::https://github.com/Julian/jsonschema/archive/v$pkgver.tar.gz"
$pkgname-webcolors.patch::https://github.com/Julian/jsonschema/commit/09595a50f507.patch)
sha512sums=('a575e9e7b0668220854e7ae45f2afd433643c3f0bfeb9769413cfc072ae01513a8d97bddbb6317f42348e09081e72bbad801d00ee5e3c0ac840bd19e934955cd'
'c7e14ab01ca2adb1d4aa5b2670bd95d6e5141ade0f619463f35fe54066a69f045ee0ad929943c4af0edacddf4f93289b7318217bc0038069aa812b1a4428f54d')
export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
prepare() {
cd jsonschema-$pkgver
patch -Np1 -i ../$pkgname-webcolors.patch
}
build() {
cd jsonschema-$pkgver
python setup.py build

View File

@ -9,7 +9,7 @@
pkgname=python-keyring
_pkgname=keyring
pkgver=21.5.0
pkgrel=2
pkgrel=3
pkgdesc='Store and access your passwords safely'
arch=('any')
url='https://github.com/jaraco/keyring'

View File

@ -11,7 +11,7 @@ pkgname=python-keyrings-alt
_pkgname=keyrings.alt
epoch=1
pkgver=4.0.1
pkgrel=2
pkgrel=3
pkgdesc="Alternate keyring implementations"
arch=('any')
url='https://github.com/jaraco/keyrings.alt'

View File

@ -4,7 +4,7 @@
pkgname=python-keystoneauth1
pkgver=4.2.1
pkgrel=2
pkgrel=3
pkgdesc="Authentication Library for OpenStack Identity"
arch=('any')
url="https://docs.openstack.org/developer/keystoneauth"

View File

@ -3,7 +3,7 @@
pkgname=python-kiwisolver
pkgver=1.3.1
pkgrel=2
pkgrel=3
pkgdesc="A fast implementation of the Cassowary constraint solver"
url="https://github.com/nucleic/kiwi"
license=('PerlArtistic')

View File

@ -3,7 +3,7 @@
pkgname=python-mamba
pkgver=0.11.1
pkgrel=2
pkgrel=3
pkgdesc="The definitive testing tool for Python. Born under the banner of Behavior Driven Development."
arch=('any')
license=('MIT')

View File

@ -8,7 +8,7 @@
pkgname=python-markdown
_pkgbasename=Markdown
pkgver=3.3.3
pkgrel=0
pkgrel=2
pkgdesc="Python implementation of John Gruber's Markdown."
arch=('any')
url='https://python-markdown.github.io/'

View File

@ -7,7 +7,7 @@
# Contributor: Douglas Soares de Andrade <dsa@aur.archlinux.org>
pkgname=python-matplotlib
pkgver=3.3.2
pkgver=3.3.3
pkgrel=2
pkgdesc="A python plotting library, making publication quality plots"
arch=(x86_64 powerpc64le)
@ -25,7 +25,8 @@ optdepends=('tk: Tk{Agg,Cairo} backends'
'imagemagick: for saving animated gifs'
'ghostscript: usetex dependencies'
'texlive-bin: usetex dependencies'
'texlive-latexextra: usetex usage with pdflatex')
'texlive-latexextra: usetex usage with pdflatex'
'python-certifi: https support')
makedepends=(git rsync python-setuptools
tk python-pyqt5 python-gobject
python-wxpython python-cairocffi python-tornado
@ -34,30 +35,30 @@ makedepends=(git rsync python-setuptools
checkdepends=(python-pytest-xdist python-pytest-runner xorg-server-xvfb
texlive-core texlive-latexextra inkscape mencoder
ffmpeg imagemagick python-pandas)
source=("https://github.com/matplotlib/matplotlib/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
sha512sums=('553469fe1f4a8608b832f71805b97582dc5df75ed7a4f2e3ff12a9a862069d62909cacd50f01891bb0f6b161e630ea887a7674e904ea1a963c62877dec2ec5cb')
source=("https://github.com/matplotlib/matplotlib/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz")
sha512sums=('11477e9afe15b8c1e7eea3c889187d9ab704c727578c3a1c5dcfbc6bbabf89d964f03bc17e739ee76df4758931e33bd5555587b533f14d7a553c9ff7a5743960')
prepare() {
cd matplotlib-$pkgver
cd matplotlib-${pkgver}
# Use system freetype and qhull
sed -e 's|#system_freetype = False|system_freetype = True|' -e 's|#system_qhull = False|system_qhull = True|' setup.cfg.template > setup.cfg
}
build() {
cd matplotlib-$pkgver
cd matplotlib-${pkgver}
python setup.py build
}
check() {
cd matplotlib-$pkgver
cd matplotlib-${pkgver}
xvfb-run -a -s "+extension GLX +extension RANDR +render -screen 0 1280x1024x24" \
python setup.py pytest --addopts="-n auto" || echo "Tests failed" # Different font rendering details
}
package_python-matplotlib() {
cd matplotlib-$pkgver
python setup.py install --root "$pkgdir" --prefix=/usr --optimize=1 --skip-build
install -Dm644 doc/users/license.rst -t "$pkgdir"/usr/share/licenses/$pkgname/
cd matplotlib-${pkgver}
python setup.py install --root "${pkgdir}" --prefix=/usr --optimize=1 --skip-build
install -Dm644 doc/users/license.rst -t "${pkgdir}"/usr/share/licenses/${pkgname}/
# Needed since https://github.com/matplotlib/matplotlib/pull/14170
rm -r "$pkgdir"/usr/lib/python3.9/site-packages/{matplotlib,mpl_toolkits}/tests/
rm -r "${pkgdir}"$(python -c "import site; print(site.getsitepackages()[0])")/{matplotlib,mpl_toolkits}/tests/
}

View File

@ -5,7 +5,7 @@
pkgbase=python-mccabe
pkgname=(python-mccabe python2-mccabe)
pkgver=0.6.1
pkgrel=6
pkgrel=7
pkgdesc="McCabe complexity checker for Python"
arch=('any')
url="https://github.com/flintwork/mccabe"

View File

@ -6,7 +6,7 @@
pkgname=python-memcached
pkgver=1.59
pkgrel=6
pkgrel=7
url='https://github.com/linsomniac/python-memcached'
arch=('any')
license=('PSF')

View File

@ -3,7 +3,7 @@
pkgname=python-memory-profiler
pkgver=0.57
pkgrel=2
pkgrel=3
pkgdesc="A module for monitoring memory usage of a python program"
url="https://github.com/pythonprofilers/memory_profiler"
license=('BSD')

View File

@ -5,7 +5,7 @@
pkgname=python-mongoengine
pkgver=0.20.0
pkgrel=2
pkgrel=3
pkgdesc="A Python Object-Document-Mapper for working with MongoDB"
url="https://github.com/MongoEngine/mongoengine"
license=('MIT')

View File

@ -3,7 +3,7 @@
pkgname=python-mongomock
pkgver=3.21.0
pkgrel=2
pkgrel=3
pkgdesc="Fake pymongo stub for testing simple MongoDB-dependent code"
url="https://github.com/mongomock/mongomock"
license=('BSD')

View File

@ -6,7 +6,7 @@
pkgname=python-netaddr
_pyname=netaddr
pkgver=0.8.0
pkgrel=2
pkgrel=3
pkgdesc='Pure Python network address representation and manipulation library'
url='https://github.com/drkjam/netaddr'
arch=('any')

View File

@ -5,7 +5,7 @@ pkgbase='python-nine'
_pkgbase="${pkgbase#python-}"
pkgname=('python-nine')
pkgver=1.1.0
pkgrel=2
pkgrel=3
arch=('any')
pkgdesc="Python 3/2 compatibility library, allowing to add py2 compat to py3 code"
url="https://github.com/nandoflorestan/nine/"

View File

@ -4,7 +4,7 @@
_name=notify2
pkgname=python-notify2
pkgver=0.3.1
pkgrel=4
pkgrel=5
pkgdesc="Python interface to DBus notifications"
arch=('any')
url="https://bitbucket.org/takluyver/pynotify2"

View File

@ -4,7 +4,7 @@
pkgname=python-oauth2client
pkgver=4.1.3
pkgrel=5
pkgrel=6
pkgdesc="A client library for OAuth 2.0"
arch=('any')
url="https://github.com/google/oauth2client"

View File

@ -3,7 +3,7 @@
pkgname=python-oauthlib
pkgver=3.1.0
pkgrel=5
pkgrel=6
_libname=oauthlib
pkgdesc="A generic, spec-compliant, thorough implementation of the OAuth request-signing logic"
arch=(any)

View File

@ -4,7 +4,7 @@
pkgbase=python-objgraph
pkgname=(python-objgraph python2-objgraph)
pkgver=3.5.0
pkgrel=2
pkgrel=3
pkgdesc="Draws Python object reference graphs with graphviz"
url="https://github.com/mgedmin/objgraph"
license=('MIT')

View File

@ -4,7 +4,7 @@
pkgname=python-openstacksdk
pkgver=0.51.0
pkgrel=2
pkgrel=3
pkgdesc="An SDK for building applications to work with OpenStack"
arch=('any')
url="https://developer.openstack.org/sdks/python/openstacksdk"

View File

@ -3,7 +3,7 @@
pkgname=python-os-client-config
pkgver=2.1.0
pkgrel=3
pkgrel=4
arch=('any')
pkgdesc='OpenStack Client Configuation Library'
url='https://github.com/openstack/os-client-config'

View File

@ -4,7 +4,7 @@
pkgname=python-oslo-concurrency
pkgver=4.3.1
pkgrel=2
pkgrel=3
pkgdesc="OpenStack library for all concurrency-related code"
arch=('any')
url="https://pypi.python.org/pypi/oslo.concurrency/$pkgver"

View File

@ -4,7 +4,7 @@
pkgname=python-oslo-config
pkgver=8.3.2
pkgrel=2
pkgrel=3
pkgdesc="parsing command line arguments and .ini style configuration files"
arch=('any')
url="https://pypi.python.org/pypi/oslo.config/$pkgver"

View File

@ -4,7 +4,7 @@
pkgname=python-oslo-context
pkgver=3.1.1
pkgrel=2
pkgrel=3
pkgdesc="OpenStack Context library"
arch=('any')
url="https://pypi.python.org/pypi/oslo.context/$pkgver"

View File

@ -4,7 +4,7 @@
pkgname=python-oslo-db
pkgver=8.4.0
pkgrel=2
pkgrel=3
pkgdesc="OpenStack Database Pattern Library"
arch=('any')
url="https://pypi.python.org/pypi/oslo.db/$pkgver"

View File

@ -4,7 +4,7 @@
pkgname=python-oslo-i18n
pkgver=5.0.1
pkgrel=2
pkgrel=3
pkgdesc="Oslo i18n library"
arch=('any')
url="https://pypi.python.org/pypi/oslo.i18n/$pkgver"

View File

@ -4,7 +4,7 @@
pkgname=python-oslo-log
pkgver=4.4.0
pkgrel=2
pkgrel=3
pkgdesc="Oslo Logging Library"
arch=('any')
url="https://pypi.python.org/pypi/oslo.log/$pkgver"

Some files were not shown because too many files have changed in this diff Show More