mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-25 12:15:32 +03:00
this marginally increases install speed by not checking if it needs a rebuild. also remove --prefix=/usr as it defaults to /usr already. might break a build or two, will fix later
29 lines
830 B
Text
29 lines
830 B
Text
# Contributor: Duncan Bellamy <dunk@denkimushi.com>
|
|
# Maintainer: Duncan Bellamy <dunk@denkimushi.com>
|
|
pkgname=py3-paste
|
|
pkgver=3.5.2
|
|
pkgrel=1
|
|
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"
|
|
checkdepends="py3-pytest"
|
|
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
|
|
}
|
|
|
|
check() {
|
|
PYTHONWARNINGS="ignore::DeprecationWarning" pytest
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --skip-build --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
a1920dbd7ebea137ca33f8f8c33aad563329d1eea193d84e6aa7fc57690f706c1969e3ba76bbf21a73c59a0fe0f732daa4db15705914ac359814b4332a01bc75 py3-paste-3.5.2.tar.gz
|
|
"
|