mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-06 13:57:14 +02:00
community/py3-paste: upgrade to 3.5.3
* https://github.com/cdent/paste/blob/3.5.3/docs/news.txt
This commit is contained in:
parent
b85a5a5012
commit
54ab01ff55
@ -1,30 +1,42 @@
|
||||
# Contributor: Duncan Bellamy <dunk@denkimushi.com>
|
||||
# Maintainer: Duncan Bellamy <dunk@denkimushi.com>
|
||||
pkgname=py3-paste
|
||||
pkgver=3.5.2
|
||||
pkgrel=2
|
||||
pkgver=3.5.3
|
||||
pkgrel=0
|
||||
pkgdesc="Tools for using a Web Server Gateway Interface stack"
|
||||
url="https://pythonpaste.readthedocs.io/en/latest/"
|
||||
arch="noarch"
|
||||
license="MIT"
|
||||
depends="py3-setuptools py3-six"
|
||||
depends="
|
||||
py3-setuptools
|
||||
py3-six
|
||||
"
|
||||
makedepends="
|
||||
py3-gpep517
|
||||
py3-wheel
|
||||
"
|
||||
checkdepends="py3-pytest"
|
||||
subpackages="$pkgname-pyc"
|
||||
source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/P/Paste/Paste-$pkgver.tar.gz"
|
||||
builddir="$srcdir/Paste-$pkgver"
|
||||
|
||||
build() {
|
||||
python3 setup.py build
|
||||
gpep517 build-wheel \
|
||||
--wheel-dir dist \
|
||||
--output-fd 3 3>&1 >&2
|
||||
}
|
||||
|
||||
check() {
|
||||
PYTHONWARNINGS="ignore::DeprecationWarning" pytest
|
||||
python3 -m venv --clear --without-pip --system-site-packages testenv
|
||||
testenv/bin/python3 -m installer dist/*.whl
|
||||
testenv/bin/python3 -m pytest -p no:warnings
|
||||
}
|
||||
|
||||
package() {
|
||||
python3 setup.py install --skip-build --root="$pkgdir"
|
||||
python3 -m installer -d "$pkgdir" \
|
||||
dist/*.whl
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
a1920dbd7ebea137ca33f8f8c33aad563329d1eea193d84e6aa7fc57690f706c1969e3ba76bbf21a73c59a0fe0f732daa4db15705914ac359814b4332a01bc75 py3-paste-3.5.2.tar.gz
|
||||
3087ea7b6cc45a90b85c473cbff7f018ca961536ff70fbed4610f86dedc82cef0274ccddb767de411ec2955d0c265cb4e797a14a25697870c38667ccd7c4a2d8 py3-paste-3.5.3.tar.gz
|
||||
"
|
||||
|
Loading…
Reference in New Issue
Block a user