community/py3-h*: split -pyc

This commit is contained in:
ptrcnull 2023-04-18 22:38:15 +02:00 committed by alice
parent e6f07a0f7e
commit 063c313d6e
32 changed files with 64 additions and 35 deletions

View File

@ -2,7 +2,7 @@
# Maintainer:
pkgname=py3-h11
pkgver=0.14.0
pkgrel=1
pkgrel=2
pkgdesc="pure-python, bring-your-own-I/O implementation of HTTP/1.1"
url="https://github.com/python-hyper/h11"
arch="noarch"
@ -10,6 +10,7 @@ license="MIT"
depends="python3"
makedepends="py3-setuptools"
checkdepends="py3-pytest py3-pytest-cov"
subpackages="$pkgname-pyc"
source="py3-h11-$pkgver.tar.gz::https://github.com/python-hyper/h11/archive/v$pkgver.tar.gz"
builddir="$srcdir/h11-$pkgver"

View File

@ -4,7 +4,7 @@
pkgname=py3-h2
_pkgname=h2
pkgver=4.1.0
pkgrel=1
pkgrel=2
pkgdesc="HTTP/2 State-Machine based protocol implementation"
url="https://github.com/python-hyper/h2"
arch="noarch"
@ -16,6 +16,7 @@ depends="
"
makedepends="py3-setuptools"
checkdepends="py3-pytest py3-hypothesis"
subpackages="$pkgname-pyc"
source="$_pkgname-$pkgver.tar.gz::https://github.com/python-hyper/h2/archive/refs/tags/v$pkgver.tar.gz
skip-broken-tests.patch
py311.patch

View File

@ -2,7 +2,7 @@
# Maintainer: James White <stegoxorus@gmail.com>
pkgname=py3-h5py
pkgver=3.8.0
pkgrel=0
pkgrel=1
pkgdesc="Read and write HDF5 files from Python"
url="https://www.h5py.org"
arch="all"
@ -24,6 +24,7 @@ checkdepends="
py3-pytest-mpi
py3-pytest-xdist
"
subpackages="$pkgname-pyc"
source="https://github.com/h5py/h5py/releases/download/$pkgver/h5py-$pkgver.tar.gz"
case "$CARCH" in
x86|armv7|ppc64le) options="!check" ;; # Failing

View File

@ -3,7 +3,7 @@
pkgname=py3-habanero
_pkgorig=habanero
pkgver=1.2.3
pkgrel=0
pkgrel=1
pkgdesc="A low level client for working with Crossrefs search API"
url="https://github.com/sckott/habanero"
arch="noarch"
@ -12,6 +12,7 @@ options="!check" # disable due to the network tests
depends="python3 py3-requests py3-tqdm"
makedepends="py3-setuptools_scm"
checkdepends="py3-pytest py3-pytest-cov"
subpackages="$pkgname-pyc"
source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/h/habanero/habanero-$pkgver.tar.gz"
builddir="$srcdir/$_pkgorig-$pkgver"

View File

@ -2,7 +2,7 @@
# Maintainer: Aiden Grossman <agrossman154@yahoo.com>
pkgname=py3-hatch-jupyter-builder
pkgver=0.8.3
pkgrel=0
pkgrel=1
pkgdesc="A hatch plugin to help build Jupyter packages"
url="https://github.com/jupyterlab/hatch-jupyter-builder"
arch="noarch"
@ -10,6 +10,7 @@ license="BSD-3-Clause"
depends="py3-hatchling"
makedepends="py3-gpep517 py3-setuptools"
checkdepends="py3-pytest py3-tomli py3-pytest-mock"
subpackages="$pkgname-pyc"
source="$pkgname-$pkgver.tar.gz::https://github.com/jupyterlab/hatch-jupyter-builder/archive/refs/tags/v$pkgver.tar.gz"
builddir="$srcdir/hatch-jupyter-builder-$pkgver"

View File

@ -2,7 +2,7 @@
# Maintainer: Aiden Grossman <agrossman154@yahoo.com>
pkgname=py3-hatch-nodejs-version
pkgver=0.3.1
pkgrel=1
pkgrel=2
pkgdesc="Hatch plugin for versioning from a Node.js package.json"
url="https://github.com/agoose77/hatch-nodejs-version"
arch="noarch"
@ -10,6 +10,7 @@ license="MIT"
depends="py3-hatchling"
makedepends="py3-gpep517 py3-installer"
checkdepends="py3-pytest"
subpackages="$pkgname-pyc"
source="https://github.com/agoose77/hatch-nodejs-version/archive/v$pkgver/python-hatch-nodejs-version-$pkgver.tar.gz"
builddir="$srcdir/hatch-nodejs-version-$pkgver"

View File

@ -2,7 +2,7 @@
# Maintainer: Duncan Bellamy <dunk@denkimushi.com>
pkgname=py3-hatch-vcs
pkgver=0.3.0
pkgrel=1
pkgrel=2
pkgdesc="Hatch plugin for versioning with your preferred VCS"
url="https://github.com/ofek/hatch-vcs"
arch="noarch"
@ -10,6 +10,7 @@ license="MIT"
depends="python3 py3-hatchling py3-setuptools_scm"
makedepends="py3-gpep517 py3-installer py3-wheel"
checkdepends="py3-pytest"
subpackages="$pkgname-pyc"
source="https://files.pythonhosted.org/packages/source/h/hatch-vcs/hatch_vcs-$pkgver.tar.gz
$pkgname-$pkgver-scm.patch::https://github.com/ofek/hatch-vcs/commit/47364faf5563df0eaa631ed10383817762c6b547.patch
"

View File

@ -2,13 +2,14 @@
# Maintainer: Duncan Bellamy <dunk@denkimushi.com>
pkgname=py3-hatchling
pkgver=1.14.0
pkgrel=0
pkgrel=1
pkgdesc="Modern, extensible Python build backend"
url="https://hatch.pypa.io/latest/"
license="MIT"
arch="noarch"
depends="python3 py3-editables py3-packaging py3-pathspec py3-pluggy py3-trove-classifiers"
makedepends="py3-installer"
subpackages="$pkgname-pyc"
source="https://files.pythonhosted.org/packages/py3/h/hatchling/hatchling-$pkgver-py3-none-any.whl"
options="!check"

View File

@ -2,7 +2,7 @@
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=py3-heapdict
pkgver=1.0.1
pkgrel=3
pkgrel=4
pkgdesc="A heap with decrease-key and increase-key operations"
url="https://stutzbachenterprises.com"
arch="noarch"
@ -10,6 +10,7 @@ license="BSD-3-Clause"
depends="python3"
makedepends="py3-setuptools"
checkdepends="py3-pytest"
subpackages="$pkgname-pyc"
source="https://pypi.python.org/packages/source/H/HeapDict/HeapDict-$pkgver.tar.gz"
options="!check" # Uses internal private API python module
builddir="$srcdir/HeapDict-$pkgver"

View File

@ -3,7 +3,7 @@
pkgname=py3-hglib
_pkgname=python-hglib
pkgver=2.6.2
pkgrel=4
pkgrel=5
pkgdesc="fast and convenient interface to Mercurial's command server"
# hglib.error.CommandError: (255, b'', b'abort: creating obsolete markers is not enabled on this repo')
# options="!check"
@ -13,6 +13,7 @@ license="MIT"
depends="python3"
makedepends="mercurial py3-setuptools"
checkdepends="py3-nose"
subpackages="$pkgname-pyc"
source="https://files.pythonhosted.org/packages/source/p/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"

View File

@ -2,7 +2,7 @@
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=py3-hid-parser
pkgver=0.0.3
pkgrel=0
pkgrel=1
pkgdesc="Typed pure Python library to parse HID report descriptors"
url="https://github.com/usb-tools/python-hid-parser"
arch="noarch"
@ -13,6 +13,7 @@ checkdepends="
py3-hypothesis
py3-pytest
"
subpackages="$pkgname-pyc"
source="https://github.com/usb-tools/python-hid-parser/archive/$pkgver/py3-hid-parser-$pkgver.tar.gz"
builddir="$srcdir/python-hid-parser-$pkgver"

View File

@ -2,7 +2,7 @@
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=py3-hijri-converter
pkgver=2.2.4
pkgrel=1
pkgrel=2
pkgdesc="Accurate Hijri-Gregorian date converter based on the Umm al-Qura calendar"
url="https://github.com/mhalshehri/hijri-converter"
arch="noarch"
@ -10,6 +10,7 @@ license="MIT"
depends="python3"
makedepends="py3-setuptools"
checkdepends="py3-pytest"
subpackages="$pkgname-pyc"
source="https://github.com/mhalshehri/hijri-converter/archive/v$pkgver/hijri-converter-v$pkgver.tar.gz"
builddir="$srcdir/hijri-converter-$pkgver"

View File

@ -1,13 +1,14 @@
# Maintainer: Eivind Uggedal <eu@eju.no>
pkgname=py3-hiredis
pkgver=2.2.2
pkgrel=0
pkgrel=1
pkgdesc="Python extension that wraps hiredis"
url="https://github.com/redis/hiredis-py"
arch="all"
license="BSD-3-Clause"
makedepends="python3-dev py3-gpep517 py3-wheel py3-setuptools"
checkdepends="py3-pytest"
subpackages="$pkgname-pyc"
source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/h/hiredis/hiredis-$pkgver.tar.gz"
builddir="$srcdir"/hiredis-$pkgver
options="!check" # no tests in tarball

View File

@ -2,7 +2,7 @@
# Maintainer: Galen Abell <galen@galenabell.com>
pkgname=py3-hjson
pkgver=3.1.0
pkgrel=1
pkgrel=2
pkgdesc="Hjson for Python"
url="https://github.com/hjson/hjson-py"
arch="noarch"
@ -11,6 +11,7 @@ depends="python3"
makedepends="py3-setuptools"
checkdepends="py3-pytest"
options="!check" # https://github.com/hjson/hjson-py/pull/19
subpackages="$pkgname-pyc"
source="https://files.pythonhosted.org/packages/source/h/hjson/hjson-$pkgver.tar.gz"
builddir="$srcdir/hjson-$pkgver"

View File

@ -2,7 +2,7 @@
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=py3-holidays
pkgver=0.22
pkgrel=0
pkgrel=1
pkgdesc="Generate and work with holidays in Python"
url="https://github.com/dr-prodigy/python-holidays"
arch="noarch"
@ -16,7 +16,7 @@ depends="
"
makedepends="py3-setuptools"
checkdepends="py3-pytest"
subpackages="$pkgname-lang"
subpackages="$pkgname-lang $pkgname-pyc"
source="https://pypi.python.org/packages/source/h/holidays/holidays-$pkgver.tar.gz"
builddir="$srcdir/holidays-$pkgver"
# AttributeError: 'TestAllInSameYear' object has no attribute '_feedErrorsToResult'

View File

@ -2,7 +2,7 @@
# Maintainer:
pkgname=py3-hpack
pkgver=4.0.0
pkgrel=5
pkgrel=6
pkgdesc="HTTP/2 framing layer for Python"
url="https://python-hyper.org/projects/hpack/en/latest/"
arch="noarch"
@ -10,6 +10,7 @@ license="MIT"
depends="python3"
checkdepends="py3-pytest py3-hypothesis"
makedepends="py3-setuptools"
subpackages="$pkgname-pyc"
source="https://files.pythonhosted.org/packages/source/h/hpack/hpack-$pkgver.tar.gz"
builddir="$srcdir/hpack-$pkgver"
options="!check" # testsuite appears to miss some py3-pytest-* dependency

View File

@ -2,7 +2,7 @@
# Maintainer: Newbyte <newbyte@disroot.org>
pkgname=py3-hsluv
pkgver=5.0.3
pkgrel=1
pkgrel=2
pkgdesc="Python implementation of HSLuv (revision 4)"
url="https://www.hsluv.org/"
arch="noarch"
@ -10,6 +10,7 @@ license="MIT"
depends="python3"
makedepends="py3-setuptools"
checkdepends="py3-pytest"
subpackages="$pkgname-pyc"
source="https://files.pythonhosted.org/packages/source/h/hsluv/hsluv-$pkgver.tar.gz"
builddir="$srcdir/hsluv-$pkgver"

View File

@ -2,7 +2,7 @@
# Maintainer: Newbyte <newbie13xd@gmail.com>
pkgname=py3-html-sanitizer
pkgver=1.9.3
pkgrel=1
pkgrel=2
pkgdesc="Allowlist-based and opinionated HTML sanitizer"
url="https://github.com/matthiask/html-sanitizer"
arch="noarch"
@ -18,6 +18,7 @@ makedepends="
checkdepends="
py3-tox
"
subpackages="$pkgname-pyc"
source="html-sanitizer-$pkgver.tar.gz::https://github.com/matthiask/html-sanitizer/archive/$pkgver.tar.gz"
builddir="$srcdir/html-sanitizer-$pkgver"
options="!check" # fail with new beautifulsoup in diff

View File

@ -3,7 +3,7 @@
pkgname=py3-html2text
_pyname=html2text
pkgver=2020.1.16
pkgrel=3
pkgrel=4
pkgdesc="Convert HTML to Markdown-formatted text"
url="https://github.com/Alir3z4/html2text"
arch="noarch"
@ -11,7 +11,7 @@ license="GPL-3.0-only"
depends="python3"
makedepends="py3-setuptools"
checkdepends="py3-pytest"
subpackages="$pkgname-doc"
subpackages="$pkgname-doc $pkgname-pyc"
source="$_pyname-$pkgver.tar.gz::https://github.com/Alir3z4/html2text/archive/$pkgver.tar.gz"
builddir="$srcdir/$_pyname-$pkgver"

View File

@ -4,7 +4,7 @@
pkgname=py3-html5lib
_pkgname=html5lib
pkgver=1.1
pkgrel=3
pkgrel=4
pkgdesc="A Python HTML parser"
options="!check" # 1 test fail TypeError: object of type 'MarkDecorator' has no len()
url="https://github.com/html5lib/html5lib-python"
@ -13,6 +13,7 @@ license="MIT"
depends="py3-six py3-webencodings"
checkdepends="py3-pytest py3-pytest-expect py3-mock"
makedepends="py3-setuptools"
subpackages="$pkgname-pyc"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver

View File

@ -2,7 +2,7 @@
pkgname=py3-httpbin
_pyname=httpbin
pkgver=0.7.0
pkgrel=5
pkgrel=6
pkgdesc="HTTP Request and Response Service"
url=https://github.com/postmanlabs/httpbin
arch="noarch"
@ -10,6 +10,7 @@ license="ISC"
depends="py3-flask py3-six py3-raven py3-blinker py3-brotli py3-decorator"
makedepends="py3-setuptools"
_pypiprefix="${_pyname%${_pyname#?}}"
subpackages="$pkgname-pyc"
source="https://files.pythonhosted.org/packages/source/$_pypiprefix/$_pyname/$_pyname-$pkgver.tar.gz
0001-Use-Brotli-instead-of-brotlipy.patch
fix-werkzeug-compat.patch

View File

@ -2,7 +2,7 @@
# Maintainer: Michał Polański <michal@polanski.me>
pkgname=py3-httpcore
pkgver=0.17.0
pkgrel=0
pkgrel=1
pkgdesc="Minimal HTTP client"
url="https://www.encode.io/httpcore/"
license="BSD-3-Clause"
@ -24,6 +24,7 @@ checkdepends="
py3-pytest-trio
py3-socksio
"
subpackages="$pkgname-pyc"
source="https://github.com/encode/httpcore/archive/$pkgver/py3-httpcore-$pkgver.tar.gz"
builddir="$srcdir/httpcore-$pkgver"

View File

@ -2,7 +2,7 @@
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-httplib2
pkgver=0.22.0
pkgrel=0
pkgrel=1
pkgdesc="Python3 HTTP client library"
url="https://github.com/httplib2/httplib2"
arch="noarch"
@ -23,6 +23,7 @@ checkdepends="
py3-pytest-timeout
py3-six
"
subpackages="$pkgname-pyc"
source="httplib2-$pkgver.tar.gz::https://github.com/httplib2/httplib2/archive/refs/tags/v$pkgver.tar.gz"
builddir="$srcdir/httplib2-$pkgver"

View File

@ -2,13 +2,14 @@
# Contributor: Valery Kartel <valery.kartel@gmail.com>
pkgname=py3-httpretty
pkgver=1.1.4
pkgrel=1
pkgrel=2
pkgdesc="HTTP client mocking tool for Python"
url="https://github.com/gabrielfalcao/HTTPretty"
arch="noarch"
license="MIT"
depends="python3"
makedepends="python3-dev py3-setuptools"
subpackages="$pkgname-pyc"
source="https://files.pythonhosted.org/packages/source/h/httpretty/httpretty-$pkgver.tar.gz"
replaces="py-httpretty"
provides="py-httpretty=$pkgver-r$pkgrel"

View File

@ -2,7 +2,7 @@
# Maintainer: Michał Polański <michal@polanski.me>
pkgname=py3-httpx
pkgver=0.24.0
pkgrel=1
pkgrel=2
pkgdesc="Next generation HTTP client for Python"
url="https://www.python-httpx.org/"
license="BSD-3-Clause"
@ -16,7 +16,7 @@ depends="
"
makedepends="py3-gpep517 py3-hatchling"
checkdepends="py3-pytest py3-pytest-asyncio py3-pytest-trio py3-socksio py3-trustme uvicorn"
subpackages="$pkgname-doc"
subpackages="$pkgname-doc $pkgname-pyc"
source="https://github.com/encode/httpx/archive/$pkgver/py3-httpx-$pkgver.tar.gz
remove-fancy-pypi-readme.patch
"

View File

@ -2,7 +2,7 @@
# Maintainer: Duncan Bellamy <dunk@denkimushi.com>
pkgname=py3-humanfriendly
pkgver=10.0
pkgrel=3
pkgrel=4
pkgdesc="Human friendly output for text interfaces using Python"
url="https://humanfriendly.readthedocs.io/en/latest/"
arch="noarch"
@ -10,6 +10,7 @@ license="MIT"
depends="python3"
makedepends="py3-setuptools"
checkdepends="bash py3-capturer py3-docutils py3-mock py3-pytest"
subpackages="$pkgname-pyc"
source="https://files.pythonhosted.org/packages/source/h/humanfriendly/humanfriendly-$pkgver.tar.gz
fix-tests.patch
"

View File

@ -2,13 +2,14 @@
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=py3-humanhash3
pkgver=0.0.6
pkgrel=4
pkgrel=5
pkgdesc="Human-readable representations of digests"
url="https://github.com/blag/humanhash"
arch="noarch"
license="Unlicense"
depends="python3"
makedepends="py3-setuptools"
subpackages="$pkgname-pyc"
source="https://pypi.python.org/packages/source/h/humanhash3/humanhash3-$pkgver.tar.gz"
options="!check" # No tests
builddir="$srcdir/humanhash3-$pkgver"

View File

@ -3,7 +3,7 @@
pkgname=py3-humanize
_pkgname=humanize
pkgver=4.6.0
pkgrel=1
pkgrel=2
pkgdesc="Python humanize functions"
options="!check" # No tests are actually run
url="https://pypi.org/project/humanize"
@ -12,6 +12,7 @@ license="MIT"
depends="python3"
makedepends="py3-gpep517 py3-hatchling py3-hatch-vcs"
checkdepends="py3-mock py3-freezegun py3-pytest"
subpackages="$pkgname-pyc"
source="$_pkgname-$pkgver.tar.gz::https://github.com/python-humanize/humanize/archive/$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver

View File

@ -2,7 +2,7 @@
# Maintainer:
pkgname=py3-hyperframe
pkgver=6.0.1
pkgrel=1
pkgrel=2
pkgdesc="HTTP/2 framing layer for Python"
url="https://python-hyper.org/projects/hyperframe/en/stable/"
arch="noarch"
@ -10,6 +10,7 @@ license="MIT"
depends="python3"
checkdepends="py3-pytest"
makedepends="py3-setuptools"
subpackages="$pkgname-pyc"
source="https://files.pythonhosted.org/packages/source/h/hyperframe/hyperframe-$pkgver.tar.gz"
builddir="$srcdir/hyperframe-$pkgver"

View File

@ -3,7 +3,7 @@
pkgname=py3-hyperlink
_pkgname=hyperlink
pkgver=21.0.0
pkgrel=3
pkgrel=4
pkgdesc="Python implementation of immutable URLs"
url="https://github.com/python-hyper/hyperlink"
arch="noarch"
@ -11,6 +11,7 @@ license="MIT"
depends="py3-idna"
makedepends="py3-setuptools"
checkdepends="py3-pytest"
subpackages="$pkgname-pyc"
source="https://files.pythonhosted.org/packages/source/h/hyperlink/hyperlink-$pkgver.tar.gz"
builddir="$srcdir/"$_pkgname-$pkgver

View File

@ -2,7 +2,7 @@
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=py3-hyperopt
pkgver=0.2.7
pkgrel=1
pkgrel=2
pkgdesc="Distributed Asynchronous Hyperparameter Optimization in Python"
url="https://hyperopt.github.io/hyperopt/"
arch="noarch"
@ -20,6 +20,7 @@ depends="
py3-matplotlib
"
makedepends="py3-setuptools"
subpackages="$pkgname-pyc"
source="https://github.com/hyperopt/hyperopt/archive/$pkgver/hyperopt-$pkgver.tar.gz"
options="!check" # Broken on ipython
builddir="$srcdir/hyperopt-$pkgver"

View File

@ -3,7 +3,7 @@
# Maintainer: Michał Polański <michal@polanski.me>
pkgname=py3-hypothesis
pkgver=6.72.0
pkgrel=0
pkgrel=1
pkgdesc="Advanced property-based (QuickCheck-like) testing for Python"
options="!check"
url="https://hypothesis.works/"
@ -12,6 +12,7 @@ license="MPL-2.0"
depends="py3-attrs py3-sortedcontainers"
makedepends="py3-setuptools"
checkdepends="py3-pytest py3-coverage py3-tz py3-numpy py3-dateutil py3-pexpect"
subpackages="$pkgname-pyc"
source="py-hypothesis-$pkgver.tar.gz::https://github.com/HypothesisWorks/hypothesis-python/archive/hypothesis-python-$pkgver.tar.gz
"
builddir="$srcdir/hypothesis-hypothesis-python-$pkgver/hypothesis-python"